Commit | Line | Data |
---|---|---|
12c155f5 FC |
1 | <?xml version='1.0' encoding='UTF-8'?> |
2 | <!-- Schema file written by PDE --> | |
8636b448 | 3 | <schema targetNamespace="org.eclipse.linuxtools.tmf.ui" xmlns="http://www.w3.org/2001/XMLSchema"> |
12c155f5 FC |
4 | <annotation> |
5 | <appinfo> | |
8636b448 | 6 | <meta.schema plugin="org.eclipse.linuxtools.tmf.ui" id="tracetype" name="TMF Trace Type"/> |
12c155f5 FC |
7 | </appinfo> |
8 | <documentation> | |
9 | This extension point is used to contribute new trace types to the generic components of the TMF framework. | |
10 | </documentation> | |
11 | </annotation> | |
12 | ||
13 | <element name="extension"> | |
14 | <annotation> | |
15 | <appinfo> | |
16 | <meta.element /> | |
17 | </appinfo> | |
18 | </annotation> | |
19 | <complexType> | |
20 | <choice minOccurs="0" maxOccurs="unbounded"> | |
21 | <element ref="category"/> | |
22 | <element ref="type"/> | |
23 | </choice> | |
24 | <attribute name="point" type="string" use="required"> | |
25 | <annotation> | |
26 | <documentation> | |
27 | a fully qualified identifier of the target extension point | |
28 | </documentation> | |
29 | </annotation> | |
30 | </attribute> | |
31 | <attribute name="id" type="string"> | |
32 | <annotation> | |
33 | <documentation> | |
34 | an optional identifier of the extension instance | |
35 | </documentation> | |
36 | </annotation> | |
37 | </attribute> | |
38 | <attribute name="name" type="string"> | |
39 | <annotation> | |
40 | <documentation> | |
41 | an optional name of the extension instance | |
42 | </documentation> | |
43 | <appinfo> | |
44 | <meta.attribute translatable="true"/> | |
45 | </appinfo> | |
46 | </annotation> | |
47 | </attribute> | |
48 | </complexType> | |
49 | </element> | |
50 | ||
51 | <element name="category"> | |
52 | <complexType> | |
53 | <attribute name="id" type="string" use="required"> | |
54 | <annotation> | |
55 | <documentation> | |
56 | a unique name that will be used to identify this category | |
57 | </documentation> | |
58 | </annotation> | |
59 | </attribute> | |
60 | <attribute name="name" type="string" use="required"> | |
61 | <annotation> | |
62 | <documentation> | |
63 | a translatable name that will be used in the UI for this category | |
64 | </documentation> | |
65 | </annotation> | |
66 | </attribute> | |
67 | </complexType> | |
68 | </element> | |
69 | ||
70 | <element name="type"> | |
71 | <complexType> | |
72 | <sequence> | |
73 | <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/> | |
74 | <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/> | |
75 | </sequence> | |
76 | <attribute name="id" type="string" use="required"> | |
77 | <annotation> | |
78 | <documentation> | |
79 | The unique ID that identifies this trace type. | |
80 | </documentation> | |
81 | </annotation> | |
82 | </attribute> | |
83 | <attribute name="name" type="string" use="required"> | |
84 | <annotation> | |
85 | <documentation> | |
86 | The type name as it is displayed to the end user. | |
87 | </documentation> | |
88 | </annotation> | |
89 | </attribute> | |
90 | <attribute name="category" type="string"> | |
91 | <annotation> | |
92 | <documentation> | |
3118edf1 | 93 | An optional attribute that is composed of the category ID. The referenced category must be declared in a corresponding category element. |
12c155f5 FC |
94 | </documentation> |
95 | <appinfo> | |
8636b448 | 96 | <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.ui.tracetype/category/@id"/> |
12c155f5 FC |
97 | </appinfo> |
98 | </annotation> | |
99 | </attribute> | |
100 | <attribute name="trace_type" type="string" use="required"> | |
101 | <annotation> | |
102 | <documentation> | |
103 | The fully qualified name of a class that implements the <samp>ITmfTrace</samp> interface. | |
104 | </documentation> | |
105 | <appinfo> | |
f5f342dd | 106 | <meta.attribute kind="java" basedOn=":org.eclipse.linuxtools.tmf.core.trace.ITmfTrace"/> |
12c155f5 FC |
107 | </appinfo> |
108 | </annotation> | |
109 | </attribute> | |
110 | <attribute name="event_type" type="string" use="required"> | |
111 | <annotation> | |
112 | <documentation> | |
3118edf1 | 113 | The fully qualified name of a class that implements the <samp>ITmfEvent</samp> interface |
12c155f5 FC |
114 | </documentation> |
115 | <appinfo> | |
3118edf1 | 116 | <meta.attribute kind="java" basedOn=":org.eclipse.linuxtools.tmf.core.event.ITmfEvent"/> |
12c155f5 FC |
117 | </appinfo> |
118 | </annotation> | |
119 | </attribute> | |
120 | <attribute name="icon" type="string"> | |
121 | <annotation> | |
122 | <documentation> | |
123 | The icon associated to the trace type. | |
124 | </documentation> | |
125 | <appinfo> | |
126 | <meta.attribute kind="resource"/> | |
127 | </appinfo> | |
128 | </annotation> | |
129 | </attribute> | |
130 | </complexType> | |
131 | </element> | |
132 | ||
133 | <element name="defaultEditor"> | |
134 | <annotation> | |
135 | <documentation> | |
136 | The default editor to use for this trace type. | |
137 | If omitted, the trace will open in the Events view. | |
138 | </documentation> | |
139 | </annotation> | |
140 | <complexType> | |
141 | <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events"> | |
142 | <annotation> | |
143 | <documentation> | |
144 | The id of the editor to use for this trace type. | |
145 | If empty, the trace will open in the Events view. | |
146 | </documentation> | |
147 | </annotation> | |
148 | </attribute> | |
149 | </complexType> | |
150 | </element> | |
151 | ||
152 | <element name="eventsTableType"> | |
153 | <annotation> | |
154 | <documentation> | |
155 | The events table to use for this trace type. | |
156 | If omitted, the default events table will be used. | |
157 | </documentation> | |
158 | </annotation> | |
159 | <complexType> | |
160 | <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable"> | |
161 | <annotation> | |
162 | <documentation> | |
163 | The fully qualified name of a class that extends <samp>TmfEventsTable</samp> . | |
164 | If empty, the default events table will be used. | |
165 | </documentation> | |
166 | <appinfo> | |
167 | <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable:"/> | |
168 | </appinfo> | |
169 | </annotation> | |
170 | </attribute> | |
171 | </complexType> | |
172 | </element> | |
173 | ||
174 | <annotation> | |
175 | <appinfo> | |
176 | <meta.section type="since"/> | |
177 | </appinfo> | |
178 | <documentation> | |
179 | 0.9 | |
180 | </documentation> | |
181 | </annotation> | |
182 | ||
183 | <annotation> | |
184 | <appinfo> | |
185 | <meta.section type="examples"/> | |
186 | </appinfo> | |
187 | <documentation> | |
188 | [Enter extension point usage example here.] | |
189 | </documentation> | |
190 | </annotation> | |
191 | ||
192 | <annotation> | |
193 | <appinfo> | |
194 | <meta.section type="apiinfo"/> | |
195 | </appinfo> | |
196 | <documentation> | |
197 | [Enter API information here.] | |
198 | </documentation> | |
199 | </annotation> | |
200 | ||
201 | <annotation> | |
202 | <appinfo> | |
203 | <meta.section type="implementation"/> | |
204 | </appinfo> | |
205 | <documentation> | |
206 | [Enter information about supplied implementation of this extension point.] | |
207 | </documentation> | |
208 | </annotation> | |
209 | ||
210 | ||
211 | </schema> |