Merge branch 'master' into lttng-kepler
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / schema / org.eclipse.linuxtools.tmf.ui.tracetype.exsd
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.eclipse.linuxtools.tmf.ui" xmlns="http://www.w3.org/2001/XMLSchema">
4 <annotation>
5 <appinfo>
6 <meta.schema plugin="org.eclipse.linuxtools.tmf.ui" id="tracetype" name="TMF Trace Type"/>
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 <element ref="statisticsViewerType" minOccurs="0" maxOccurs="1"/>
76 </sequence>
77 <attribute name="id" type="string" use="required">
78 <annotation>
79 <documentation>
80 The unique ID that identifies this trace type.
81 </documentation>
82 </annotation>
83 </attribute>
84 <attribute name="name" type="string" use="required">
85 <annotation>
86 <documentation>
87 The type name as it is displayed to the end user.
88 </documentation>
89 </annotation>
90 </attribute>
91 <attribute name="category" type="string">
92 <annotation>
93 <documentation>
94 An optional attribute that is composed of the category ID. The referenced category must be declared in a corresponding category element.
95 </documentation>
96 <appinfo>
97 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.ui.tracetype/category/@id"/>
98 </appinfo>
99 </annotation>
100 </attribute>
101 <attribute name="trace_type" type="string" use="required">
102 <annotation>
103 <documentation>
104 The fully qualified name of a class that implements the &lt;samp&gt;ITmfTrace&lt;/samp&gt; interface.
105 </documentation>
106 <appinfo>
107 <meta.attribute kind="java" basedOn=":org.eclipse.linuxtools.tmf.core.trace.ITmfTrace"/>
108 </appinfo>
109 </annotation>
110 </attribute>
111 <attribute name="event_type" type="string" use="required">
112 <annotation>
113 <documentation>
114 The fully qualified name of a class that implements the &lt;samp&gt;ITmfEvent&lt;/samp&gt; interface
115 </documentation>
116 <appinfo>
117 <meta.attribute kind="java" basedOn=":org.eclipse.linuxtools.tmf.core.event.ITmfEvent"/>
118 </appinfo>
119 </annotation>
120 </attribute>
121 <attribute name="icon" type="string">
122 <annotation>
123 <documentation>
124 The icon associated to the trace type.
125 </documentation>
126 <appinfo>
127 <meta.attribute kind="resource"/>
128 </appinfo>
129 </annotation>
130 </attribute>
131 </complexType>
132 </element>
133
134 <element name="defaultEditor">
135 <annotation>
136 <documentation>
137 The default editor to use for this trace type.
138 If omitted, the trace will open in the Events view.
139 </documentation>
140 </annotation>
141 <complexType>
142 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
143 <annotation>
144 <documentation>
145 The id of the editor to use for this trace type.
146 If empty, the trace will open in the Events view.
147 </documentation>
148 </annotation>
149 </attribute>
150 </complexType>
151 </element>
152
153 <element name="eventsTableType">
154 <annotation>
155 <documentation>
156 The events table to use for this trace type.
157 If omitted, the default events table will be used.
158 </documentation>
159 </annotation>
160 <complexType>
161 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable">
162 <annotation>
163 <documentation>
164 The fully qualified name of a class that extends &lt;samp&gt;TmfEventsTable&lt;/samp&gt; .
165 If empty, the default events table will be used.
166 </documentation>
167 <appinfo>
168 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable:"/>
169 </appinfo>
170 </annotation>
171 </attribute>
172 </complexType>
173 </element>
174
175 <element name="statisticsViewerType">
176 <annotation>
177 <documentation>
178 The statistics viewer to use for this trace type.
179 If omitted, the default statistics viewer will be used.
180 </documentation>
181 </annotation>
182 <complexType>
183 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.statistics.TmfStatisticsViewer">
184 <annotation>
185 <documentation>
186 The fully qualified name of a class that extends &lt;samp&gt;TmfStatisticsViewer&lt;/samp&gt; .
187 If empty, the default statistics viewer will be used.
188 </documentation>
189 <appinfo>
190 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.statistics.TmfStatisticsViewer:"/>
191 </appinfo>
192 </annotation>
193 </attribute>
194 </complexType>
195 </element>
196
197 <annotation>
198 <appinfo>
199 <meta.section type="since"/>
200 </appinfo>
201 <documentation>
202 0.9
203 </documentation>
204 </annotation>
205
206 <annotation>
207 <appinfo>
208 <meta.section type="examples"/>
209 </appinfo>
210 <documentation>
211 [Enter extension point usage example here.]
212 </documentation>
213 </annotation>
214
215 <annotation>
216 <appinfo>
217 <meta.section type="apiinfo"/>
218 </appinfo>
219 <documentation>
220 [Enter API information here.]
221 </documentation>
222 </annotation>
223
224 <annotation>
225 <appinfo>
226 <meta.section type="implementation"/>
227 </appinfo>
228 <documentation>
229 [Enter information about supplied implementation of this extension point.]
230 </documentation>
231 </annotation>
232
233
234 </schema>
This page took 0.041744 seconds and 5 git commands to generate.