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">
6 <meta.schema plugin="org.eclipse.linuxtools.tmf.ui" id="tracetype" name="TMF Trace Type"/>
9 This extension point is used to contribute new trace types to the generic components of the TMF framework.
13 <element name="extension">
20 <choice minOccurs="0" maxOccurs="unbounded">
21 <element ref="category"/>
24 <attribute name="point" type="string" use="required">
27 a fully qualified identifier of the target extension point
31 <attribute name="id" type="string">
34 an optional identifier of the extension instance
38 <attribute name="name" type="string">
41 an optional name of the extension instance
44 <meta.attribute translatable="true"/>
51 <element name="category">
53 <attribute name="id" type="string" use="required">
56 a unique name that will be used to identify this category
60 <attribute name="name" type="string" use="required">
63 a translatable name that will be used in the UI for this category
73 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
74 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
75 <element ref="statisticsViewerType" minOccurs="0" maxOccurs="1"/>
77 <attribute name="id" type="string" use="required">
80 The unique ID that identifies this trace type.
84 <attribute name="name" type="string" use="required">
87 The type name as it is displayed to the end user.
91 <attribute name="category" type="string">
94 An optional attribute that is composed of the category ID. The referenced category must be declared in a corresponding category element.
97 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.ui.tracetype/category/@id"/>
101 <attribute name="trace_type" type="string" use="required">
104 The fully qualified name of a class that implements the <samp>ITmfTrace</samp> interface.
107 <meta.attribute kind="java" basedOn=":org.eclipse.linuxtools.tmf.core.trace.ITmfTrace"/>
111 <attribute name="event_type" type="string" use="required">
114 The fully qualified name of a class that implements the <samp>ITmfEvent</samp> interface
117 <meta.attribute kind="java" basedOn=":org.eclipse.linuxtools.tmf.core.event.ITmfEvent"/>
121 <attribute name="icon" type="string">
124 The icon associated to the trace type.
127 <meta.attribute kind="resource"/>
134 <element name="defaultEditor">
137 The default editor to use for this trace type.
138 If omitted, the trace will open in the Events view.
142 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
145 The id of the editor to use for this trace type.
146 If empty, the trace will open in the Events view.
153 <element name="eventsTableType">
156 The events table to use for this trace type.
157 If omitted, the default events table will be used.
161 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable">
164 The fully qualified name of a class that extends <samp>TmfEventsTable</samp> .
165 If empty, the default events table will be used.
168 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable:"/>
175 <element name="statisticsViewerType">
178 The statistics viewer to use for this trace type.
179 If omitted, the default statistics viewer will be used.
183 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.statistics.TmfStatisticsViewer">
186 The fully qualified name of a class that extends <samp>TmfStatisticsViewer</samp> .
187 If empty, the default statistics viewer will be used.
190 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.statistics.TmfStatisticsViewer:"/>
199 <meta.section type="since"/>
208 <meta.section type="examples"/>
211 [Enter extension point usage example here.]
217 <meta.section type="apiinfo"/>
220 [Enter API information here.]
226 <meta.section type="implementation"/>
229 [Enter information about supplied implementation of this extension point.]