01f14a51d88a62c08ffcf12801543e15c9ed2154
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.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 </sequence>
62 <attribute name="tracetype" type="string" use="required">
63 <annotation>
64 <documentation>
65 The unique ID that identifies this trace type.
66 </documentation>
67 <appinfo>
68 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/type/@id"/>
69 </appinfo>
70 </annotation>
71 </attribute>
72 <attribute name="icon" type="string">
73 <annotation>
74 <documentation>
75 The icon associated to the trace type.
76 </documentation>
77 <appinfo>
78 <meta.attribute kind="resource"/>
79 </appinfo>
80 </annotation>
81 </attribute>
82 </complexType>
83 </element>
84
85 <element name="experiment">
86 <annotation>
87 <appinfo>
88 <meta.element labelAttribute="tracetype"/>
89 </appinfo>
90 </annotation>
91 <complexType>
92 <sequence>
93 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
94 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
95 </sequence>
96 <attribute name="tracetype" type="string" use="required">
97 <annotation>
98 <documentation>
99 The unique ID that identifies this experiment type.
100 </documentation>
101 <appinfo>
102 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/experiment/@id"/>
103 </appinfo>
104 </annotation>
105 </attribute>
106 <attribute name="icon" type="string">
107 <annotation>
108 <documentation>
109 The icon associated to the experiment type.
110 </documentation>
111 <appinfo>
112 <meta.attribute kind="resource"/>
113 </appinfo>
114 </annotation>
115 </attribute>
116 </complexType>
117 </element>
118
119 <element name="eventsTableType">
120 <annotation>
121 <documentation>
122 The events table to use for this trace type.
123 If omitted, the default events table will be used.
124 </documentation>
125 </annotation>
126 <complexType>
127 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable">
128 <annotation>
129 <documentation>
130 The fully qualified name of a class that extends &lt;samp&gt;TmfEventsTable&lt;/samp&gt; .
131 If empty, the default events table will be used.
132 </documentation>
133 <appinfo>
134 <meta.attribute kind="java" basedOn="org.eclipse.tracecompass.tmf.ui.viewers.events.TmfEventsTable:"/>
135 </appinfo>
136 </annotation>
137 </attribute>
138 </complexType>
139 </element>
140
141 <element name="defaultEditor">
142 <annotation>
143 <documentation>
144 The default editor to use for this trace type.
145 If omitted, the default events editor will be used.
146 </documentation>
147 </annotation>
148 <complexType>
149 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
150 <annotation>
151 <documentation>
152 The id of the editor to use for this trace type.
153 If empty, the default events editor will be used.
154 </documentation>
155 </annotation>
156 </attribute>
157 </complexType>
158 </element>
159
160 <annotation>
161 <appinfo>
162 <meta.section type="since"/>
163 </appinfo>
164 <documentation>
165 3.0
166 </documentation>
167 </annotation>
168
169 <annotation>
170 <appinfo>
171 <meta.section type="examples"/>
172 </appinfo>
173 <documentation>
174 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!
175
176 &lt;extension
177 point=&quot;org.eclipse.linuxtools.tmf.ui.tracetypeui&quot;&gt;
178 &lt;type
179 icon=&quot;icons/obj16/gdb_icon16.png&quot;
180 tracetype=&quot;org.eclipse.linuxtools.gdbtrace.core.type.gdb&quot;&gt;
181 &lt;eventsTableType
182 class=&quot;org.eclipse.linuxtools.internal.gdbtrace.ui.views.events.GdbEventsTable&quot;&gt;
183 &lt;/eventsTableType&gt;
184 &lt;/type&gt;
185 &lt;experiment_type
186 tracetype=&quot;org.eclipse.linuxtools.tmf.core.experiment.generic&quot;
187 icon=&quot;icons/elcl16/experiment.gif&quot;&gt;
188 &lt;/experiment_type&gt;
189 &lt;/extension&gt;
190 </documentation>
191 </annotation>
192
193 <annotation>
194 <appinfo>
195 <meta.section type="apiinfo"/>
196 </appinfo>
197 <documentation>
198 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.
199 </documentation>
200 </annotation>
201
202 <annotation>
203 <appinfo>
204 <meta.section type="implementation"/>
205 </appinfo>
206 <documentation>
207 [Enter information about supplied implementation of this extension point.]
208 </documentation>
209 </annotation>
210
211 <annotation>
212 <appinfo>
213 <meta.section type="copyright"/>
214 </appinfo>
215 <documentation>
216 Copyright (c) 2014 Ericsson
217
218 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;
219 </documentation>
220 </annotation>
221
222 </schema>
This page took 0.038053 seconds and 4 git commands to generate.