ctf: make CTFCallsite.java more inline with coding style
[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
FC
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
12c155f5
FC
50 <element name="type">
51 <complexType>
52 <sequence>
12c155f5 53 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
a926c25c 54 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
12c155f5 55 </sequence>
a926c25c 56 <attribute name="tracetype" type="string" use="required">
12c155f5
FC
57 <annotation>
58 <documentation>
59 The unique ID that identifies this trace type.
60 </documentation>
12c155f5 61 <appinfo>
a926c25c 62 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/type/@id"/>
12c155f5
FC
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>
12c155f5
FC
76 </complexType>
77 </element>
78
79 <element name="eventsTableType">
80 <annotation>
81 <documentation>
82 The events table to use for this trace type.
83If 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; .
91If 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
a926c25c 101 <element name="defaultEditor">
cfd22ad0
MD
102 <annotation>
103 <documentation>
a926c25c
AM
104 The default editor to use for this trace type.
105If omitted, the default events editor will be used.
cfd22ad0
MD
106 </documentation>
107 </annotation>
108 <complexType>
a926c25c 109 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
cfd22ad0
MD
110 <annotation>
111 <documentation>
a926c25c
AM
112 The id of the editor to use for this trace type.
113If empty, the default events editor will be used.
cfd22ad0 114 </documentation>
cfd22ad0
MD
115 </annotation>
116 </attribute>
117 </complexType>
118 </element>
119
12c155f5
FC
120 <annotation>
121 <appinfo>
122 <meta.section type="since"/>
123 </appinfo>
124 <documentation>
a926c25c 125 3.0
12c155f5
FC
126 </documentation>
127 </annotation>
128
129 <annotation>
130 <appinfo>
131 <meta.section type="examples"/>
132 </appinfo>
133 <documentation>
a926c25c
AM
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;
12c155f5
FC
146 </documentation>
147 </annotation>
148
149 <annotation>
150 <appinfo>
151 <meta.section type="apiinfo"/>
152 </appinfo>
153 <documentation>
a926c25c 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.
12c155f5
FC
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
a926c25c
AM
167 <annotation>
168 <appinfo>
169 <meta.section type="copyright"/>
170 </appinfo>
171 <documentation>
172 Copyright (c) 2014 Ericsson
173
174All 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>
12c155f5
FC
177
178</schema>
This page took 0.047471 seconds and 5 git commands to generate.