]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.g3d/schema/toolbarCommand.exsd
3D framework (Simca 2012)
[simantics/3d.git] / org.simantics.g3d / schema / toolbarCommand.exsd
1 <?xml version='1.0' encoding='UTF-8'?>\r
2 <!-- Schema file written by PDE -->\r
3 <schema targetNamespace="org.simantics.g3d" xmlns="http://www.w3.org/2001/XMLSchema">\r
4 <annotation>\r
5       <appinfo>\r
6          <meta.schema plugin="org.simantics.g3d" id="toolbarCommand" name="toolbarCommand"/>\r
7       </appinfo>\r
8       <documentation>\r
9          [Enter description of this extension point.]\r
10       </documentation>\r
11    </annotation>\r
12 \r
13    <element name="extension">\r
14       <annotation>\r
15          <appinfo>\r
16             <meta.element />\r
17          </appinfo>\r
18       </annotation>\r
19       <complexType>\r
20          <sequence>\r
21             <element ref="command" minOccurs="0" maxOccurs="unbounded"/>\r
22          </sequence>\r
23          <attribute name="point" type="string" use="required">\r
24             <annotation>\r
25                <documentation>\r
26                   \r
27                </documentation>\r
28             </annotation>\r
29          </attribute>\r
30          <attribute name="id" type="string">\r
31             <annotation>\r
32                <documentation>\r
33                   \r
34                </documentation>\r
35             </annotation>\r
36          </attribute>\r
37          <attribute name="name" type="string">\r
38             <annotation>\r
39                <documentation>\r
40                   \r
41                </documentation>\r
42                <appinfo>\r
43                   <meta.attribute translatable="true"/>\r
44                </appinfo>\r
45             </annotation>\r
46          </attribute>\r
47       </complexType>\r
48    </element>\r
49 \r
50    <element name="command">\r
51       <complexType>\r
52          <attribute name="commandId" type="string" use="required">\r
53             <annotation>\r
54                <documentation>\r
55                   \r
56                </documentation>\r
57             </annotation>\r
58          </attribute>\r
59          <attribute name="toolbarId" type="string" use="required">\r
60             <annotation>\r
61                <documentation>\r
62                   \r
63                </documentation>\r
64             </annotation>\r
65          </attribute>\r
66          <attribute name="name" type="string" use="required">\r
67             <annotation>\r
68                <documentation>\r
69                   \r
70                </documentation>\r
71             </annotation>\r
72          </attribute>\r
73          <attribute name="type" use="required">\r
74             <annotation>\r
75                <documentation>\r
76                   \r
77                </documentation>\r
78             </annotation>\r
79             <simpleType>\r
80                <restriction base="string">\r
81                   <enumeration value="push">\r
82                   </enumeration>\r
83                   <enumeration value="toggle">\r
84                   </enumeration>\r
85                   <enumeration value="radio">\r
86                   </enumeration>\r
87                   <enumeration value="combo">\r
88                   </enumeration>\r
89                </restriction>\r
90             </simpleType>\r
91          </attribute>\r
92          <attribute name="value" type="string">\r
93             <annotation>\r
94                <documentation>\r
95                   Used with radio buttons.\r
96                </documentation>\r
97             </annotation>\r
98          </attribute>\r
99          <attribute name="image" type="string">\r
100             <annotation>\r
101                <documentation>\r
102                   \r
103                </documentation>\r
104                <appinfo>\r
105                   <meta.attribute kind="resource"/>\r
106                </appinfo>\r
107             </annotation>\r
108          </attribute>\r
109       </complexType>\r
110    </element>\r
111 \r
112    <annotation>\r
113       <appinfo>\r
114          <meta.section type="since"/>\r
115       </appinfo>\r
116       <documentation>\r
117          [Enter the first release in which this extension point appears.]\r
118       </documentation>\r
119    </annotation>\r
120 \r
121    <annotation>\r
122       <appinfo>\r
123          <meta.section type="examples"/>\r
124       </appinfo>\r
125       <documentation>\r
126          [Enter extension point usage example here.]\r
127       </documentation>\r
128    </annotation>\r
129 \r
130    <annotation>\r
131       <appinfo>\r
132          <meta.section type="apiinfo"/>\r
133       </appinfo>\r
134       <documentation>\r
135          [Enter API information here.]\r
136       </documentation>\r
137    </annotation>\r
138 \r
139    <annotation>\r
140       <appinfo>\r
141          <meta.section type="implementation"/>\r
142       </appinfo>\r
143       <documentation>\r
144          [Enter information about supplied implementation of this extension point.]\r
145       </documentation>\r
146    </annotation>\r
147 \r
148 \r
149 </schema>\r