]> gerrit.simantics Code Review - simantics/platform.git/blob - 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
1 <?xml version='1.0' encoding='UTF-8'?>\r
2 <!-- Schema file written by PDE -->\r
3 <schema targetNamespace="org.simantics.db.services" xmlns="http://www.w3.org/2001/XMLSchema">\r
4 <annotation>\r
5       <appInfo>\r
6          <meta.schema plugin="org.simantics.db.services" id="sessionService" name="Session Service"/>\r
7       </appInfo>\r
8       <documentation>\r
9          An extension point for defining initializer classes for database session services.\r
10 These services are accessible through the simantics database ServiceLocator interface of the database Session interface.\r
11       </documentation>\r
12    </annotation>\r
13 \r
14    <element name="extension">\r
15       <annotation>\r
16          <appInfo>\r
17             <meta.element />\r
18          </appInfo>\r
19       </annotation>\r
20       <complexType>\r
21          <sequence minOccurs="0" maxOccurs="unbounded">\r
22             <element ref="service"/>\r
23          </sequence>\r
24          <attribute name="point" type="string" use="required">\r
25             <annotation>\r
26                <documentation>\r
27                   \r
28                </documentation>\r
29             </annotation>\r
30          </attribute>\r
31          <attribute name="id" type="string">\r
32             <annotation>\r
33                <documentation>\r
34                   \r
35                </documentation>\r
36             </annotation>\r
37          </attribute>\r
38          <attribute name="name" type="string">\r
39             <annotation>\r
40                <documentation>\r
41                   \r
42                </documentation>\r
43                <appInfo>\r
44                   <meta.attribute translatable="true"/>\r
45                </appInfo>\r
46             </annotation>\r
47          </attribute>\r
48       </complexType>\r
49    </element>\r
50 \r
51    <element name="service">\r
52       <annotation>\r
53          <appInfo>\r
54             <meta.element labelAttribute="id"/>\r
55          </appInfo>\r
56       </annotation>\r
57       <complexType>\r
58          <attribute name="id" type="string">\r
59             <annotation>\r
60                <documentation>\r
61                   An ID for referencing this initializer elsewhere.\r
62                </documentation>\r
63             </annotation>\r
64          </attribute>\r
65          <attribute name="class" type="string" use="required">\r
66             <annotation>\r
67                <documentation>\r
68                   The class that implements the ServiceInitializer interface.\r
69                </documentation>\r
70                <appInfo>\r
71                   <meta.attribute kind="java" basedOn=":org.simantics.db.services.ServiceInitializer"/>\r
72                </appInfo>\r
73             </annotation>\r
74          </attribute>\r
75       </complexType>\r
76    </element>\r
77 \r
78    <annotation>\r
79       <appInfo>\r
80          <meta.section type="apiInfo"/>\r
81       </appInfo>\r
82       <documentation>\r
83          [Enter API information here.]\r
84       </documentation>\r
85    </annotation>\r
86 \r
87    <annotation>\r
88       <appInfo>\r
89          <meta.section type="since"/>\r
90       </appInfo>\r
91       <documentation>\r
92          [Enter the first release in which this extension point appears.]\r
93       </documentation>\r
94    </annotation>\r
95 \r
96    <annotation>\r
97       <appInfo>\r
98          <meta.section type="examples"/>\r
99       </appInfo>\r
100       <documentation>\r
101          [Enter extension point usage example here.]\r
102       </documentation>\r
103    </annotation>\r
104 \r
105    <annotation>\r
106       <appInfo>\r
107          <meta.section type="implementation"/>\r
108       </appInfo>\r
109       <documentation>\r
110          [Enter information about supplied implementation of this extension point.]\r
111       </documentation>\r
112    </annotation>\r
113 \r
114 \r
115 </schema>\r