1a1dba8572259f06813d48216a69634b2ae1e8bf
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / schema / org.eclipse.linuxtools.tmf.ui.tracetypeui.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="tracetypeui" name="TMF Trace Type UI Elements"/>
7 </appinfo>
8 <documentation>
9 This extension point is used to assign UI elements to a trace type defined by org.eclipse.linuxtools.tmf.core.tracetype.
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="type"/>
22 <element ref="experiment"/>
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="type">
52 <annotation>
53 <appinfo>
54 <meta.element labelAttribute="tracetype"/>
55 </appinfo>
56 </annotation>
57 <complexType>
58 <sequence>
59 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
60 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
61 <element ref="eventTableColumns" minOccurs="0" maxOccurs="1"/>
62 </sequence>
63 <attribute name="tracetype" type="string" use="required">
64 <annotation>
65 <documentation>
66 The unique ID that identifies this trace type.
67 </documentation>
68 <appinfo>
69 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/type/@id"/>
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>
83 </complexType>
84 </element>
85
86 <element name="experiment">
87 <annotation>
88 <appinfo>
89 <meta.element labelAttribute="tracetype"/>
90 </appinfo>
91 </annotation>
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
120 <element name="eventsTableType">
121 <annotation>
122 <documentation>
123 The events table to use for this trace type.
124 If 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; .
132 If 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
142 <element name="defaultEditor">
143 <annotation>
144 <documentation>
145 The default editor to use for this trace type.
146 If omitted, the default events editor will be used.
147 </documentation>
148 </annotation>
149 <complexType>
150 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
151 <annotation>
152 <documentation>
153 The id of the editor to use for this trace type.
154 If empty, the default events editor will be used.
155 </documentation>
156 </annotation>
157 </attribute>
158 </complexType>
159 </element>
160
161 <element name="eventTableColumns">
162 <annotation>
163 <documentation>
164 The event table columns to use with this trace type.
165 If omitted, the default columns will be used.
166
167 If 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; .
175 If 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
185 <annotation>
186 <appinfo>
187 <meta.section type="since"/>
188 </appinfo>
189 <documentation>
190 3.0
191 </documentation>
192 </annotation>
193
194 <annotation>
195 <appinfo>
196 <meta.section type="examples"/>
197 </appinfo>
198 <documentation>
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!
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;
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;
214 &lt;/extension&gt;
215 </documentation>
216 </annotation>
217
218 <annotation>
219 <appinfo>
220 <meta.section type="apiinfo"/>
221 </appinfo>
222 <documentation>
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.
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
236 <annotation>
237 <appinfo>
238 <meta.section type="copyright"/>
239 </appinfo>
240 <documentation>
241 Copyright (c) 2014 Ericsson
242
243 All 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>
246
247 </schema>
This page took 0.037038 seconds and 4 git commands to generate.