|
1 <?xml version='1.0' encoding='UTF-8'?> |
|
2 <!-- Schema file written by PDE --> |
|
3 <schema targetNamespace="org.symbian.tools.tmw.ui" xmlns="http://www.w3.org/2001/XMLSchema"> |
|
4 <annotation> |
|
5 <appinfo> |
|
6 <meta.schema plugin="org.symbian.tools.tmw.ui" id="projectTemplate" name="Mobile Application Project Templates"/> |
|
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="template"/> |
|
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="template"> |
|
51 <annotation> |
|
52 <documentation> |
|
53 Template may have several archive and/or installer objects - i.e. if it consists of the "static" and "dynamic" portions |
|
54 </documentation> |
|
55 </annotation> |
|
56 <complexType> |
|
57 <choice minOccurs="1" maxOccurs="unbounded"> |
|
58 <element ref="archive"/> |
|
59 <element ref="installer"/> |
|
60 <element ref="description"/> |
|
61 <element ref="required-facet"/> |
|
62 <element ref="supported-runtime"/> |
|
63 </choice> |
|
64 <attribute name="name" type="string" use="required"> |
|
65 <annotation> |
|
66 <documentation> |
|
67 |
|
68 </documentation> |
|
69 <appinfo> |
|
70 <meta.attribute translatable="true"/> |
|
71 </appinfo> |
|
72 </annotation> |
|
73 </attribute> |
|
74 <attribute name="icon" type="string"> |
|
75 <annotation> |
|
76 <documentation> |
|
77 |
|
78 </documentation> |
|
79 <appinfo> |
|
80 <meta.attribute kind="resource"/> |
|
81 </appinfo> |
|
82 </annotation> |
|
83 </attribute> |
|
84 <attribute name="weight" type="string"> |
|
85 <annotation> |
|
86 <documentation> |
|
87 |
|
88 </documentation> |
|
89 </annotation> |
|
90 </attribute> |
|
91 </complexType> |
|
92 </element> |
|
93 |
|
94 <element name="installer"> |
|
95 <annotation> |
|
96 <documentation> |
|
97 This allows contribution of the templates that are programmatic (i.e. can have a more complex behavior). |
|
98 </documentation> |
|
99 </annotation> |
|
100 <complexType> |
|
101 <attribute name="class" type="string" use="required"> |
|
102 <annotation> |
|
103 <documentation> |
|
104 |
|
105 </documentation> |
|
106 <appinfo> |
|
107 <meta.attribute kind="java" basedOn=":org.symbian.tools.tmw.ui.project.ITemplateInstaller"/> |
|
108 </appinfo> |
|
109 </annotation> |
|
110 </attribute> |
|
111 </complexType> |
|
112 </element> |
|
113 |
|
114 <element name="archive"> |
|
115 <annotation> |
|
116 <documentation> |
|
117 Zip file that contains project templates using Apache Velocity markup |
|
118 </documentation> |
|
119 </annotation> |
|
120 <complexType> |
|
121 <attribute name="file" type="string" use="required"> |
|
122 <annotation> |
|
123 <documentation> |
|
124 |
|
125 </documentation> |
|
126 <appinfo> |
|
127 <meta.attribute kind="resource"/> |
|
128 </appinfo> |
|
129 </annotation> |
|
130 </attribute> |
|
131 </complexType> |
|
132 </element> |
|
133 |
|
134 <element name="description" type="string"> |
|
135 <annotation> |
|
136 <appinfo> |
|
137 <meta.element translatable="true"/> |
|
138 </appinfo> |
|
139 </annotation> |
|
140 </element> |
|
141 |
|
142 <element name="supported-runtime"> |
|
143 <complexType> |
|
144 <attribute name="id" type="string" use="required"> |
|
145 <annotation> |
|
146 <documentation> |
|
147 |
|
148 </documentation> |
|
149 <appinfo> |
|
150 <meta.attribute kind="identifier" basedOn="org.symbian.tools.tmw.core.runtimes/runtime/@component-id"/> |
|
151 </appinfo> |
|
152 </annotation> |
|
153 </attribute> |
|
154 <attribute name="version" type="string" use="required"> |
|
155 <annotation> |
|
156 <documentation> |
|
157 |
|
158 </documentation> |
|
159 </annotation> |
|
160 </attribute> |
|
161 </complexType> |
|
162 </element> |
|
163 |
|
164 <element name="required-facet"> |
|
165 <complexType> |
|
166 <attribute name="id" type="string" use="required"> |
|
167 <annotation> |
|
168 <documentation> |
|
169 |
|
170 </documentation> |
|
171 <appinfo> |
|
172 <meta.attribute kind="identifier" basedOn="org.eclipse.wst.common.project.facet.core.facets/action/@id"/> |
|
173 </appinfo> |
|
174 </annotation> |
|
175 </attribute> |
|
176 <attribute name="version" type="string" use="required"> |
|
177 <annotation> |
|
178 <documentation> |
|
179 |
|
180 </documentation> |
|
181 </annotation> |
|
182 </attribute> |
|
183 </complexType> |
|
184 </element> |
|
185 |
|
186 <element name="empty-project"> |
|
187 <annotation> |
|
188 <documentation> |
|
189 This element describes contents that will be added to all projects for given runtime. |
|
190 </documentation> |
|
191 </annotation> |
|
192 <complexType> |
|
193 <choice minOccurs="1" maxOccurs="unbounded"> |
|
194 <element ref="template"/> |
|
195 <element ref="installer"/> |
|
196 </choice> |
|
197 <attribute name="runtime-id" type="string" use="required"> |
|
198 <annotation> |
|
199 <documentation> |
|
200 |
|
201 </documentation> |
|
202 <appinfo> |
|
203 <meta.attribute kind="identifier" basedOn="org.symbian.tools.tmw.core.runtimes/runtime/@component-id"/> |
|
204 </appinfo> |
|
205 </annotation> |
|
206 </attribute> |
|
207 <attribute name="version" type="string" use="required"> |
|
208 <annotation> |
|
209 <documentation> |
|
210 |
|
211 </documentation> |
|
212 </annotation> |
|
213 </attribute> |
|
214 </complexType> |
|
215 </element> |
|
216 |
|
217 <annotation> |
|
218 <appinfo> |
|
219 <meta.section type="since"/> |
|
220 </appinfo> |
|
221 <documentation> |
|
222 [Enter the first release in which this extension point appears.] |
|
223 </documentation> |
|
224 </annotation> |
|
225 |
|
226 <annotation> |
|
227 <appinfo> |
|
228 <meta.section type="examples"/> |
|
229 </appinfo> |
|
230 <documentation> |
|
231 [Enter extension point usage example here.] |
|
232 </documentation> |
|
233 </annotation> |
|
234 |
|
235 <annotation> |
|
236 <appinfo> |
|
237 <meta.section type="apiinfo"/> |
|
238 </appinfo> |
|
239 <documentation> |
|
240 [Enter API information here.] |
|
241 </documentation> |
|
242 </annotation> |
|
243 |
|
244 <annotation> |
|
245 <appinfo> |
|
246 <meta.section type="implementation"/> |
|
247 </appinfo> |
|
248 <documentation> |
|
249 [Enter information about supplied implementation of this extension point.] |
|
250 </documentation> |
|
251 </annotation> |
|
252 |
|
253 |
|
254 </schema> |