]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/schema/doubleClick.exsd
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.ui / schema / doubleClick.exsd
diff --git a/bundles/org.simantics.ui/schema/doubleClick.exsd b/bundles/org.simantics.ui/schema/doubleClick.exsd
new file mode 100644 (file)
index 0000000..7d5cfd4
--- /dev/null
@@ -0,0 +1,120 @@
+<?xml version='1.0' encoding='UTF-8'?>\r
+<!-- Schema file written by PDE -->\r
+<schema targetNamespace="org.simantics.ui" xmlns="http://www.w3.org/2001/XMLSchema">\r
+<annotation>\r
+      <appInfo>\r
+         <meta.schema plugin="org.simantics.ui" id="doubleClick" name="Double Click"/>\r
+      </appInfo>\r
+      <documentation>\r
+         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
+\r
+&lt;p&gt;\r
+The behaviour should be based on the type of the double clicked node.\r
+&lt;/p&gt;\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <element name="extension">\r
+      <annotation>\r
+         <appInfo>\r
+            <meta.element />\r
+         </appInfo>\r
+      </annotation>\r
+      <complexType>\r
+         <sequence minOccurs="0" maxOccurs="unbounded">\r
+            <element ref="doubleClickAction"/>\r
+         </sequence>\r
+         <attribute name="point" type="string" use="required">\r
+            <annotation>\r
+               <documentation>\r
+                  \r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="id" type="string">\r
+            <annotation>\r
+               <documentation>\r
+                  \r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="name" type="string">\r
+            <annotation>\r
+               <documentation>\r
+                  \r
+               </documentation>\r
+               <appInfo>\r
+                  <meta.attribute translatable="true"/>\r
+               </appInfo>\r
+            </annotation>\r
+         </attribute>\r
+      </complexType>\r
+   </element>\r
+\r
+   <element name="doubleClickAction">\r
+      <complexType>\r
+         <attribute name="name" type="string">\r
+            <annotation>\r
+               <documentation>\r
+                  \r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="class" type="string" use="required">\r
+            <annotation>\r
+               <documentation>\r
+                  \r
+               </documentation>\r
+               <appInfo>\r
+                  <meta.attribute kind="java" basedOn=":org.simantics.ui.IDoubleClickAction"/>\r
+               </appInfo>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="priority" type="string">\r
+            <annotation>\r
+               <documentation>\r
+                  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
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+      </complexType>\r
+   </element>\r
+\r
+   <annotation>\r
+      <appInfo>\r
+         <meta.section type="apiInfo"/>\r
+      </appInfo>\r
+      <documentation>\r
+         Implement fi.vtt.simantics.ode.ui.IDoubleClickAction.\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <annotation>\r
+      <appInfo>\r
+         <meta.section type="since"/>\r
+      </appInfo>\r
+      <documentation>\r
+         [Enter the first release in which this extension point appears.]\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <annotation>\r
+      <appInfo>\r
+         <meta.section type="examples"/>\r
+      </appInfo>\r
+      <documentation>\r
+         [Enter extension point usage example here.]\r
+      </documentation>\r
+   </annotation>\r
+\r
+   <annotation>\r
+      <appInfo>\r
+         <meta.section type="implementation"/>\r
+      </appInfo>\r
+      <documentation>\r
+         [Enter information about supplied implementation of this extension point.]\r
+      </documentation>\r
+   </annotation>\r
+\r
+\r
+</schema>\r