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="tracetypeui" name="TMF Trace Type UI Elements"/>
9 This extension point is used to assign UI elements to a trace type defined by org.eclipse.linuxtools.tmf.core.tracetype.
13 <element name="extension">
20 <choice minOccurs="0" maxOccurs="unbounded">
22 <element ref="experiment"/>
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"/>
54 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
55 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
57 <attribute name="tracetype" type="string" use="required">
60 The unique ID that identifies this trace type.
63 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/type/@id"/>
67 <attribute name="icon" type="string">
70 The icon associated to the trace type.
73 <meta.attribute kind="resource"/>
80 <element name="experiment">
83 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
84 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
86 <attribute name="tracetype" type="string" use="required">
89 The unique ID that identifies this experiment type.
92 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/experiment/@id"/>
96 <attribute name="icon" type="string">
99 The icon associated to the experiment type.
102 <meta.attribute kind="resource"/>
109 <element name="eventsTableType">
112 The events table to use for this trace type.
113 If omitted, the default events table will be used.
117 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable">
120 The fully qualified name of a class that extends <samp>TmfEventsTable</samp> .
121 If empty, the default events table will be used.
124 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable:"/>
131 <element name="defaultEditor">
134 The default editor to use for this trace type.
135 If omitted, the default events editor will be used.
139 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
142 The id of the editor to use for this trace type.
143 If empty, the default events editor will be used.
152 <meta.section type="since"/>
161 <meta.section type="examples"/>
164 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 'type/tracetype' element has to point to an existing tmf.core.tracetype extension!
167 point="org.eclipse.linuxtools.tmf.ui.tracetypeui">
169 icon="icons/obj16/gdb_icon16.png"
170 tracetype="org.eclipse.linuxtools.gdbtrace.core.type.gdb">
172 class="org.eclipse.linuxtools.internal.gdbtrace.ui.views.events.GdbEventsTable">
173 </eventsTableType>
176 tracetype="org.eclipse.linuxtools.tmf.core.experiment.generic"
177 icon="icons/elcl16/experiment.gif">
178 </experiment_type>
185 <meta.section type="apiinfo"/>
188 The 'eventsTableType/class' element has to extend TmfEventsTable. It is optional however ; if it is not specified, the default TmfEventsTable will be used.
194 <meta.section type="implementation"/>
197 [Enter information about supplied implementation of this extension point.]
203 <meta.section type="copyright"/>
206 Copyright (c) 2014 Ericsson
208 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>