|
1 <?xml version='1.0' encoding='UTF-8'?> |
|
2 <!-- Schema file written by PDE --> |
|
3 <schema targetNamespace="com.nokia.carbide.templatewizard" xmlns="http://www.w3.org/2001/XMLSchema"> |
|
4 <annotation> |
|
5 <appinfo> |
|
6 <meta.schema plugin="com.nokia.carbide.templatewizard" id="templateProcesses" name="Template Processes"/> |
|
7 </appinfo> |
|
8 <documentation> |
|
9 This extension point defines a set of template processes implementing com.nokia.carbide.templatewizard.process.IProcess which may be referenced in a template's <process id="..." /> element in an alternative to the class="..." and bundle="..." attributes for specifying a precise class. |
|
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="templateProcess"/> |
|
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="templateProcess"> |
|
51 <annotation> |
|
52 <documentation> |
|
53 A single definition of a process element accessible via <process name="..." />. |
|
54 </documentation> |
|
55 </annotation> |
|
56 <complexType> |
|
57 <sequence minOccurs="0" maxOccurs="1"> |
|
58 <element ref="description"/> |
|
59 </sequence> |
|
60 <attribute name="id" type="string" use="required"> |
|
61 <annotation> |
|
62 <documentation> |
|
63 The identifier used to reference the process in template.xml <process name="..." /> |
|
64 </documentation> |
|
65 </annotation> |
|
66 </attribute> |
|
67 <attribute name="bundle" type="string"> |
|
68 <annotation> |
|
69 <documentation> |
|
70 The bundle that provides the class, if not the defining plugin. |
|
71 </documentation> |
|
72 </annotation> |
|
73 </attribute> |
|
74 <attribute name="class" type="string" use="required"> |
|
75 <annotation> |
|
76 <documentation> |
|
77 The implementation of the process. AbstractProcess is a convenient base class but it is not a requirement. |
|
78 </documentation> |
|
79 <appinfo> |
|
80 <meta.attribute kind="java" basedOn="com.nokia.carbide.templatewizard.process.AbstractProcess:com.nokia.carbide.templatewizard.process.IProcess"/> |
|
81 </appinfo> |
|
82 </annotation> |
|
83 </attribute> |
|
84 </complexType> |
|
85 </element> |
|
86 |
|
87 <element name="description" type="string"> |
|
88 <annotation> |
|
89 <documentation> |
|
90 The description for a process, describing the parameters and attributes accepted. |
|
91 </documentation> |
|
92 </annotation> |
|
93 </element> |
|
94 |
|
95 <annotation> |
|
96 <appinfo> |
|
97 <meta.section type="since"/> |
|
98 </appinfo> |
|
99 <documentation> |
|
100 @since 2.1 |
|
101 </documentation> |
|
102 </annotation> |
|
103 |
|
104 <annotation> |
|
105 <appinfo> |
|
106 <meta.section type="examples"/> |
|
107 </appinfo> |
|
108 <documentation> |
|
109 [Enter extension point usage example here.] |
|
110 </documentation> |
|
111 </annotation> |
|
112 |
|
113 <annotation> |
|
114 <appinfo> |
|
115 <meta.section type="apiinfo"/> |
|
116 </appinfo> |
|
117 <documentation> |
|
118 See com.nokia.carbide.templatewizard.processes.IProcess |
|
119 </documentation> |
|
120 </annotation> |
|
121 |
|
122 <annotation> |
|
123 <appinfo> |
|
124 <meta.section type="implementation"/> |
|
125 </appinfo> |
|
126 <documentation> |
|
127 com.nokia.carbide.templatewizard.CopyFiles |
|
128 com.nokia.carbide.templatewizard.CopyFileTree |
|
129 com.nokia.carbide.templatewizard.CreateFolders |
|
130 com.nokia.carbide.templatewizard.CreateTemplateVariable |
|
131 com.nokia.carbide.templatewizard.OpenFileInEditor |
|
132 |
|
133 |
|
134 </documentation> |
|
135 </annotation> |
|
136 |
|
137 |
|
138 </schema> |