]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.ui/schema/doubleClick.exsd
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.ui / schema / doubleClick.exsd
1 <?xml version='1.0' encoding='UTF-8'?>\r
2 <!-- Schema file written by PDE -->\r
3 <schema targetNamespace="org.simantics.ui" xmlns="http://www.w3.org/2001/XMLSchema">\r
4 <annotation>\r
5       <appInfo>\r
6          <meta.schema plugin="org.simantics.ui" id="doubleClick" name="Double Click"/>\r
7       </appInfo>\r
8       <documentation>\r
9          This extension point is used to define Ontology Explorer behaviour when the user selects a tree element by a double click or other default selection mechanism used on the current platform. \r
10 \r
11 &lt;p&gt;\r
12 The behaviour should be based on the type of the double clicked node.\r
13 &lt;/p&gt;\r
14       </documentation>\r
15    </annotation>\r
16 \r
17    <element name="extension">\r
18       <annotation>\r
19          <appInfo>\r
20             <meta.element />\r
21          </appInfo>\r
22       </annotation>\r
23       <complexType>\r
24          <sequence minOccurs="0" maxOccurs="unbounded">\r
25             <element ref="doubleClickAction"/>\r
26          </sequence>\r
27          <attribute name="point" type="string" use="required">\r
28             <annotation>\r
29                <documentation>\r
30                   \r
31                </documentation>\r
32             </annotation>\r
33          </attribute>\r
34          <attribute name="id" type="string">\r
35             <annotation>\r
36                <documentation>\r
37                   \r
38                </documentation>\r
39             </annotation>\r
40          </attribute>\r
41          <attribute name="name" type="string">\r
42             <annotation>\r
43                <documentation>\r
44                   \r
45                </documentation>\r
46                <appInfo>\r
47                   <meta.attribute translatable="true"/>\r
48                </appInfo>\r
49             </annotation>\r
50          </attribute>\r
51       </complexType>\r
52    </element>\r
53 \r
54    <element name="doubleClickAction">\r
55       <complexType>\r
56          <attribute name="name" type="string">\r
57             <annotation>\r
58                <documentation>\r
59                   \r
60                </documentation>\r
61             </annotation>\r
62          </attribute>\r
63          <attribute name="class" type="string" use="required">\r
64             <annotation>\r
65                <documentation>\r
66                   \r
67                </documentation>\r
68                <appInfo>\r
69                   <meta.attribute kind="java" basedOn=":org.simantics.ui.IDoubleClickAction"/>\r
70                </appInfo>\r
71             </annotation>\r
72          </attribute>\r
73          <attribute name="priority" type="string">\r
74             <annotation>\r
75                <documentation>\r
76                   A floating point number that is used to determine the consultation order of active doubleClickAction extensions. The extensions are consulted in descending priority order.\r
77                </documentation>\r
78             </annotation>\r
79          </attribute>\r
80       </complexType>\r
81    </element>\r
82 \r
83    <annotation>\r
84       <appInfo>\r
85          <meta.section type="apiInfo"/>\r
86       </appInfo>\r
87       <documentation>\r
88          Implement fi.vtt.simantics.ode.ui.IDoubleClickAction.\r
89       </documentation>\r
90    </annotation>\r
91 \r
92    <annotation>\r
93       <appInfo>\r
94          <meta.section type="since"/>\r
95       </appInfo>\r
96       <documentation>\r
97          [Enter the first release in which this extension point appears.]\r
98       </documentation>\r
99    </annotation>\r
100 \r
101    <annotation>\r
102       <appInfo>\r
103          <meta.section type="examples"/>\r
104       </appInfo>\r
105       <documentation>\r
106          [Enter extension point usage example here.]\r
107       </documentation>\r
108    </annotation>\r
109 \r
110    <annotation>\r
111       <appInfo>\r
112          <meta.section type="implementation"/>\r
113       </appInfo>\r
114       <documentation>\r
115          [Enter information about supplied implementation of this extension point.]\r
116       </documentation>\r
117    </annotation>\r
118 \r
119 \r
120 </schema>\r