TMF: Fix a bug where the label of an XML XY chart is not considered
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / schema / org.eclipse.linuxtools.tmf.ui.tracetypeui.exsd
CommitLineData
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>
a926c25c 6 <meta.schema plugin="org.eclipse.linuxtools.tmf.ui" id="tracetypeui" name="TMF Trace Type UI Elements"/>
12c155f5
FC
7 </appinfo>
8 <documentation>
a926c25c 9 This extension point is used to assign UI elements to a trace type defined by org.eclipse.linuxtools.tmf.core.tracetype.
12c155f5
FC
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">
12c155f5 21 <element ref="type"/>
1ec2ca01 22 <element ref="experiment"/>
12c155f5
FC
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
12c155f5 51 <element name="type">
3d40bd63 52 <annotation>
99d7adc6 53 <appinfo>
3d40bd63 54 <meta.element labelAttribute="tracetype"/>
99d7adc6 55 </appinfo>
3d40bd63 56 </annotation>
12c155f5
FC
57 <complexType>
58 <sequence>
12c155f5 59 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
a926c25c 60 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
99d7adc6 61 <element ref="eventTableColumns" minOccurs="0" maxOccurs="1"/>
12c155f5 62 </sequence>
a926c25c 63 <attribute name="tracetype" type="string" use="required">
12c155f5
FC
64 <annotation>
65 <documentation>
66 The unique ID that identifies this trace type.
67 </documentation>
12c155f5 68 <appinfo>
a926c25c 69 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/type/@id"/>
12c155f5
FC
70 </appinfo>
71 </annotation>
72 </attribute>
73 <attribute name="icon" type="string">
74 <annotation>
75 <documentation>
76 The icon associated to the trace type.
77 </documentation>
78 <appinfo>
79 <meta.attribute kind="resource"/>
80 </appinfo>
81 </annotation>
82 </attribute>
12c155f5
FC
83 </complexType>
84 </element>
85
1ec2ca01 86 <element name="experiment">
3d40bd63 87 <annotation>
99d7adc6 88 <appinfo>
3d40bd63 89 <meta.element labelAttribute="tracetype"/>
99d7adc6 90 </appinfo>
3d40bd63 91 </annotation>
1ec2ca01
GB
92 <complexType>
93 <sequence>
94 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
95 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
96 </sequence>
97 <attribute name="tracetype" type="string" use="required">
98 <annotation>
99 <documentation>
100 The unique ID that identifies this experiment type.
101 </documentation>
102 <appinfo>
103 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/experiment/@id"/>
104 </appinfo>
105 </annotation>
106 </attribute>
107 <attribute name="icon" type="string">
108 <annotation>
109 <documentation>
110 The icon associated to the experiment type.
111 </documentation>
112 <appinfo>
113 <meta.attribute kind="resource"/>
114 </appinfo>
115 </annotation>
116 </attribute>
117 </complexType>
118 </element>
119
12c155f5
FC
120 <element name="eventsTableType">
121 <annotation>
122 <documentation>
123 The events table to use for this trace type.
124If omitted, the default events table will be used.
125 </documentation>
126 </annotation>
127 <complexType>
128 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable">
129 <annotation>
130 <documentation>
131 The fully qualified name of a class that extends &lt;samp&gt;TmfEventsTable&lt;/samp&gt; .
132If empty, the default events table will be used.
133 </documentation>
134 <appinfo>
135 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable:"/>
136 </appinfo>
137 </annotation>
138 </attribute>
139 </complexType>
140 </element>
141
a926c25c 142 <element name="defaultEditor">
cfd22ad0
MD
143 <annotation>
144 <documentation>
a926c25c
AM
145 The default editor to use for this trace type.
146If omitted, the default events editor will be used.
cfd22ad0
MD
147 </documentation>
148 </annotation>
149 <complexType>
a926c25c 150 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
cfd22ad0
MD
151 <annotation>
152 <documentation>
a926c25c
AM
153 The id of the editor to use for this trace type.
154If empty, the default events editor will be used.
cfd22ad0 155 </documentation>
cfd22ad0
MD
156 </annotation>
157 </attribute>
158 </complexType>
159 </element>
160
99d7adc6
AM
161 <element name="eventTableColumns">
162 <annotation>
163 <documentation>
164 The event table columns to use with this trace type.
165If omitted, the default columns will be used.
166
167If the &quot;eventsTableType&quot; element is present, we will first try to provide a table of that type (ignoring the contents of &quot;eventTableColumns&quot;). If the requested table type cannot be provided, then we will fall-back to using a default table with the columns defined in &quot;eventTableColumns&quot;.
168 </documentation>
169 </annotation>
170 <complexType>
171 <attribute name="class" type="string">
172 <annotation>
173 <documentation>
174 The fully qualified name of a class that implements &lt;samp&gt;ITmfEventTableColumns&lt;/samp&gt; .
175If empty, the default columns will be used.
176 </documentation>
177 <appinfo>
178 <meta.attribute kind="java" basedOn=":org.eclipse.linuxtools.tmf.ui.viewers.events.columns.ITmfEventTableColumns"/>
179 </appinfo>
180 </annotation>
181 </attribute>
182 </complexType>
183 </element>
184
12c155f5
FC
185 <annotation>
186 <appinfo>
187 <meta.section type="since"/>
188 </appinfo>
189 <documentation>
a926c25c 190 3.0
12c155f5
FC
191 </documentation>
192 </annotation>
193
194 <annotation>
195 <appinfo>
196 <meta.section type="examples"/>
197 </appinfo>
198 <documentation>
1ec2ca01 199 Example use of the extension point: the GDB trace type, which specifies a custom icon and a custom editor, also the generic experiment, which specifies a custom icon. The &apos;type/tracetype&apos; element has to point to an existing tmf.core.tracetype extension!
a926c25c
AM
200
201&lt;extension
202 point=&quot;org.eclipse.linuxtools.tmf.ui.tracetypeui&quot;&gt;
203 &lt;type
204 icon=&quot;icons/obj16/gdb_icon16.png&quot;
205 tracetype=&quot;org.eclipse.linuxtools.gdbtrace.core.type.gdb&quot;&gt;
206 &lt;eventsTableType
207 class=&quot;org.eclipse.linuxtools.internal.gdbtrace.ui.views.events.GdbEventsTable&quot;&gt;
208 &lt;/eventsTableType&gt;
209 &lt;/type&gt;
1ec2ca01
GB
210 &lt;experiment_type
211 tracetype=&quot;org.eclipse.linuxtools.tmf.core.experiment.generic&quot;
212 icon=&quot;icons/elcl16/experiment.gif&quot;&gt;
213 &lt;/experiment_type&gt;
a926c25c 214&lt;/extension&gt;
12c155f5
FC
215 </documentation>
216 </annotation>
217
218 <annotation>
219 <appinfo>
220 <meta.section type="apiinfo"/>
221 </appinfo>
222 <documentation>
a926c25c 223 The &apos;eventsTableType/class&apos; element has to extend TmfEventsTable. It is optional however ; if it is not specified, the default TmfEventsTable will be used.
12c155f5
FC
224 </documentation>
225 </annotation>
226
227 <annotation>
228 <appinfo>
229 <meta.section type="implementation"/>
230 </appinfo>
231 <documentation>
232 [Enter information about supplied implementation of this extension point.]
233 </documentation>
234 </annotation>
235
a926c25c
AM
236 <annotation>
237 <appinfo>
238 <meta.section type="copyright"/>
239 </appinfo>
240 <documentation>
241 Copyright (c) 2014 Ericsson
242
243All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
244 </documentation>
245 </annotation>
12c155f5
FC
246
247</schema>
This page took 0.120518 seconds and 5 git commands to generate.