1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- Schema file written by PDE -->
3 <schema targetNamespace="org.eclipse.linuxtools.tmf" xmlns="http://www.w3.org/2001/XMLSchema">
6 <meta.schema plugin="org.eclipse.linuxtools.tmf" id="org.eclipse.linuxtools.tmf.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"/>
76 <attribute name="id" type="string" use="required">
79 The unique ID that identifies this trace type.
83 <attribute name="name" type="string" use="required">
86 The type name as it is displayed to the end user.
90 <attribute name="category" type="string">
93 an optional attribute that is composed of the category ID. The referenced category must be declared in a corresponding category element.
96 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.tracetype/category/@id"/>
100 <attribute name="trace_type" type="string" use="required">
103 The fully qualified name of a class that implements the <samp>ITmfTrace</samp> interface.
106 <meta.attribute kind="java" basedOn=":org.eclipse.linuxtools.tmf.trace.ITmfTrace"/>
110 <attribute name="event_type" type="string" use="required">
113 The fully qualified name of a class that extends <samp>TmfEvent</samp> .
116 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.event.TmfEvent:"/>
120 <attribute name="icon" type="string">
123 The icon associated to the trace type.
126 <meta.attribute kind="resource"/>
133 <element name="defaultEditor">
136 The default editor to use for this trace type.
137 If omitted, the trace will open in the Events view.
141 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
144 The id of the editor to use for this trace type.
145 If empty, the trace will open in the Events view.
152 <element name="eventsTableType">
155 The events table to use for this trace type.
156 If omitted, the default events table will be used.
160 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable">
163 The fully qualified name of a class that extends <samp>TmfEventsTable</samp> .
164 If empty, the default events table will be used.
167 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable:"/>
176 <meta.section type="since"/>
185 <meta.section type="examples"/>
188 [Enter extension point usage example here.]
194 <meta.section type="apiinfo"/>
197 [Enter API information here.]
203 <meta.section type="implementation"/>
206 [Enter information about supplied implementation of this extension point.]