]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.runtime/schema/package.exsd
Don't assume that Element provides TerminalTopology
[simantics/platform.git] / bundles / org.simantics.scl.runtime / schema / package.exsd
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.simantics.scl.osgi" xmlns="http://www.w3.org/2001/XMLSchema">
4 <annotation>
5       <appinfo>
6          <meta.schema plugin="org.simantics.scl.osgi" id="package" name="SCL Package Declaration"/>
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="1" maxOccurs="unbounded">
21             <element ref="package"/>
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="package">
51       <complexType>
52          <attribute name="directory" type="string" use="default" value="scl">
53             <annotation>
54                <documentation>
55                   Directory containing SCL source code
56                </documentation>
57                <appinfo>
58                   <meta.attribute kind="resource"/>
59                </appinfo>
60             </annotation>
61          </attribute>
62          <attribute name="URI" type="string" use="required">
63             <annotation>
64                <documentation>
65                   URI of the SCL package
66                </documentation>
67             </annotation>
68          </attribute>
69       </complexType>
70    </element>
71
72    <annotation>
73       <appinfo>
74          <meta.section type="since"/>
75       </appinfo>
76       <documentation>
77          [Enter the first release in which this extension point appears.]
78       </documentation>
79    </annotation>
80
81    <annotation>
82       <appinfo>
83          <meta.section type="examples"/>
84       </appinfo>
85       <documentation>
86          [Enter extension point usage example here.]
87       </documentation>
88    </annotation>
89
90    <annotation>
91       <appinfo>
92          <meta.section type="apiinfo"/>
93       </appinfo>
94       <documentation>
95          [Enter API information here.]
96       </documentation>
97    </annotation>
98
99    <annotation>
100       <appinfo>
101          <meta.section type="implementation"/>
102       </appinfo>
103       <documentation>
104          [Enter information about supplied implementation of this extension point.]
105       </documentation>
106    </annotation>
107
108
109 </schema>