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