]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.services/schema/sessionService.exsd
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db.services / schema / sessionService.exsd
diff --git a/bundles/org.simantics.db.services/schema/sessionService.exsd b/bundles/org.simantics.db.services/schema/sessionService.exsd
new file mode 100644 (file)
index 0000000..211eaab
--- /dev/null
@@ -0,0 +1,115 @@
+<?xml version='1.0' encoding='UTF-8'?>\r
+<!-- Schema file written by PDE -->\r
+<schema targetNamespace="org.simantics.db.services" xmlns="http://www.w3.org/2001/XMLSchema">\r
+<annotation>\r
+      <appInfo>\r
+         <meta.schema plugin="org.simantics.db.services" id="sessionService" name="Session Service"/>\r
+      </appInfo>\r
+      <documentation>\r
+         An extension point for defining initializer classes for database session services.\r
+These services are accessible through the simantics database ServiceLocator interface of the database Session interface.\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="service"/>\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="service">\r
+      <annotation>\r
+         <appInfo>\r
+            <meta.element labelAttribute="id"/>\r
+         </appInfo>\r
+      </annotation>\r
+      <complexType>\r
+         <attribute name="id" type="string">\r
+            <annotation>\r
+               <documentation>\r
+                  An ID for referencing this initializer elsewhere.\r
+               </documentation>\r
+            </annotation>\r
+         </attribute>\r
+         <attribute name="class" type="string" use="required">\r
+            <annotation>\r
+               <documentation>\r
+                  The class that implements the ServiceInitializer interface.\r
+               </documentation>\r
+               <appInfo>\r
+                  <meta.attribute kind="java" basedOn=":org.simantics.db.services.ServiceInitializer"/>\r
+               </appInfo>\r
+            </annotation>\r
+         </attribute>\r
+      </complexType>\r
+   </element>\r
+\r
+   <annotation>\r
+      <appInfo>\r
+         <meta.section type="apiInfo"/>\r
+      </appInfo>\r
+      <documentation>\r
+         [Enter API information here.]\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