]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.reflection/schema/binding.exsd
foobaz
[simantics/platform.git] / bundles / org.simantics.scl.reflection / schema / binding.exsd
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.simantics.scl.reflection" xmlns="http://www.w3.org/2001/XMLSchema">
4 <annotation>
5       <appinfo>
6          <meta.schema plugin="org.simantics.scl.reflection" id="binding" name="SCL Value Binding"/>
7       </appinfo>
8       <documentation>
9          [Enter description of this extension point.]
10       </documentation>
11    </annotation>
12
13    <element name="extension">
14       <annotation>
15          <appinfo>
16             <meta.element />
17          </appinfo>
18       </annotation>
19       <complexType>
20          <sequence minOccurs="0" maxOccurs="unbounded">
21             <element ref="namespace"/>
22          </sequence>
23          <attribute name="point" type="string" use="required">
24             <annotation>
25                <documentation>
26                   
27                </documentation>
28             </annotation>
29          </attribute>
30          <attribute name="id" type="string">
31             <annotation>
32                <documentation>
33                   
34                </documentation>
35             </annotation>
36          </attribute>
37          <attribute name="name" type="string">
38             <annotation>
39                <documentation>
40                   
41                </documentation>
42                <appinfo>
43                   <meta.attribute translatable="true"/>
44                </appinfo>
45             </annotation>
46          </attribute>
47       </complexType>
48    </element>
49
50    <element name="namespace">
51       <annotation>
52          <documentation>
53             Represents a library or type in semantic graph. If the element is the root of the extension, path is an absolute uri of the resource. Otherwise it is relative path from its parent element.
54          </documentation>
55       </annotation>
56       <complexType>
57          <choice minOccurs="0" maxOccurs="unbounded">
58             <element ref="class"/>
59             <element ref="namespace"/>
60             <element ref="import"/>
61             <element ref="externalClass"/>
62             <element ref="externalMethod"/>
63          </choice>
64          <attribute name="path" type="string" use="required">
65             <annotation>
66                <documentation>
67                   
68                </documentation>
69             </annotation>
70          </attribute>
71       </complexType>
72    </element>
73
74    <element name="class">
75       <annotation>
76          <documentation>
77             Declares a Java class to be searched for annotations.
78          </documentation>
79       </annotation>
80       <complexType>
81          <attribute name="className" type="string" use="required">
82             <annotation>
83                <documentation>
84                   
85                </documentation>
86                <appinfo>
87                   <meta.attribute kind="java"/>
88                </appinfo>
89             </annotation>
90          </attribute>
91       </complexType>
92    </element>
93
94    <element name="import">
95       <complexType>
96          <attribute name="path" type="string" use="required">
97             <annotation>
98                <documentation>
99                   Path to be imported
100                </documentation>
101             </annotation>
102          </attribute>
103          <attribute name="localName" type="string" use="default" value="">
104             <annotation>
105                <documentation>
106                   Local name that can be used in the declarations to refer the path.
107                </documentation>
108             </annotation>
109          </attribute>
110       </complexType>
111    </element>
112
113    <element name="externalClass">
114       <complexType>
115          <attribute name="className" type="string">
116             <annotation>
117                <documentation>
118                   
119                </documentation>
120                <appinfo>
121                   <meta.attribute kind="java"/>
122                </appinfo>
123             </annotation>
124          </attribute>
125          <attribute name="alternativeName" type="string">
126             <annotation>
127                <documentation>
128                   
129                </documentation>
130             </annotation>
131          </attribute>
132       </complexType>
133    </element>
134
135    <element name="externalMethod">
136       <complexType>
137          <attribute name="className" type="string">
138             <annotation>
139                <documentation>
140                   
141                </documentation>
142                <appinfo>
143                   <meta.attribute kind="java"/>
144                </appinfo>
145             </annotation>
146          </attribute>
147          <attribute name="methodName" type="string">
148             <annotation>
149                <documentation>
150                   
151                </documentation>
152             </annotation>
153          </attribute>
154          <attribute name="alternativeName" type="string" use="required">
155             <annotation>
156                <documentation>
157                   
158                </documentation>
159             </annotation>
160          </attribute>
161       </complexType>
162    </element>
163
164    <annotation>
165       <appinfo>
166          <meta.section type="since"/>
167       </appinfo>
168       <documentation>
169          [Enter the first release in which this extension point appears.]
170       </documentation>
171    </annotation>
172
173    <annotation>
174       <appinfo>
175          <meta.section type="examples"/>
176       </appinfo>
177       <documentation>
178          [Enter extension point usage example here.]
179       </documentation>
180    </annotation>
181
182    <annotation>
183       <appinfo>
184          <meta.section type="apiinfo"/>
185       </appinfo>
186       <documentation>
187          [Enter API information here.]
188       </documentation>
189    </annotation>
190
191    <annotation>
192       <appinfo>
193          <meta.section type="implementation"/>
194       </appinfo>
195       <documentation>
196          [Enter information about supplied implementation of this extension point.]
197       </documentation>
198    </annotation>
199
200
201 </schema>