tmf: Move the tmftracetype extension point to tmf.core
[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 </choice>
23 <attribute name="point" type="string" use="required">
24 <annotation>
25 <documentation>
26 a fully qualified identifier of the target extension point
27 </documentation>
28 </annotation>
29 </attribute>
30 <attribute name="id" type="string">
31 <annotation>
32 <documentation>
33 an optional identifier of the extension instance
34 </documentation>
35 </annotation>
36 </attribute>
37 <attribute name="name" type="string">
38 <annotation>
39 <documentation>
40 an optional name of the extension instance
41 </documentation>
42 <appinfo>
43 <meta.attribute translatable="true"/>
44 </appinfo>
45 </annotation>
46 </attribute>
47 </complexType>
48 </element>
49
50 <element name="type">
51 <complexType>
52 <sequence>
53 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
54 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
55 </sequence>
56 <attribute name="tracetype" type="string" use="required">
57 <annotation>
58 <documentation>
59 The unique ID that identifies this trace type.
60 </documentation>
61 <appinfo>
62 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/type/@id"/>
63 </appinfo>
64 </annotation>
65 </attribute>
66 <attribute name="icon" type="string">
67 <annotation>
68 <documentation>
69 The icon associated to the trace type.
70 </documentation>
71 <appinfo>
72 <meta.attribute kind="resource"/>
73 </appinfo>
74 </annotation>
75 </attribute>
76 </complexType>
77 </element>
78
79 <element name="eventsTableType">
80 <annotation>
81 <documentation>
82 The events table to use for this trace type.
83 If omitted, the default events table will be used.
84 </documentation>
85 </annotation>
86 <complexType>
87 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable">
88 <annotation>
89 <documentation>
90 The fully qualified name of a class that extends &lt;samp&gt;TmfEventsTable&lt;/samp&gt; .
91 If empty, the default events table will be used.
92 </documentation>
93 <appinfo>
94 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable:"/>
95 </appinfo>
96 </annotation>
97 </attribute>
98 </complexType>
99 </element>
100
101 <element name="defaultEditor">
102 <annotation>
103 <documentation>
104 The default editor to use for this trace type.
105 If omitted, the default events editor will be used.
106 </documentation>
107 </annotation>
108 <complexType>
109 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
110 <annotation>
111 <documentation>
112 The id of the editor to use for this trace type.
113 If empty, the default events editor will be used.
114 </documentation>
115 </annotation>
116 </attribute>
117 </complexType>
118 </element>
119
120 <annotation>
121 <appinfo>
122 <meta.section type="since"/>
123 </appinfo>
124 <documentation>
125 3.0
126 </documentation>
127 </annotation>
128
129 <annotation>
130 <appinfo>
131 <meta.section type="examples"/>
132 </appinfo>
133 <documentation>
134 Example use of the extension point: the GDB trace type, which specifies a custom icon and a custom editor. The &apos;type/tracetype&apos; element has to point to an existing tmf.core.tracetype extension!
135
136 &lt;extension
137 point=&quot;org.eclipse.linuxtools.tmf.ui.tracetypeui&quot;&gt;
138 &lt;type
139 icon=&quot;icons/obj16/gdb_icon16.png&quot;
140 tracetype=&quot;org.eclipse.linuxtools.gdbtrace.core.type.gdb&quot;&gt;
141 &lt;eventsTableType
142 class=&quot;org.eclipse.linuxtools.internal.gdbtrace.ui.views.events.GdbEventsTable&quot;&gt;
143 &lt;/eventsTableType&gt;
144 &lt;/type&gt;
145 &lt;/extension&gt;
146 </documentation>
147 </annotation>
148
149 <annotation>
150 <appinfo>
151 <meta.section type="apiinfo"/>
152 </appinfo>
153 <documentation>
154 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.
155 </documentation>
156 </annotation>
157
158 <annotation>
159 <appinfo>
160 <meta.section type="implementation"/>
161 </appinfo>
162 <documentation>
163 [Enter information about supplied implementation of this extension point.]
164 </documentation>
165 </annotation>
166
167 <annotation>
168 <appinfo>
169 <meta.section type="copyright"/>
170 </appinfo>
171 <documentation>
172 Copyright (c) 2014 Ericsson
173
174 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;
175 </documentation>
176 </annotation>
177
178 </schema>
This page took 0.042717 seconds and 5 git commands to generate.