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">
23 <attribute name="point" type="string" use="required">
26 a fully qualified identifier of the target extension point
30 <attribute name="id" type="string">
33 an optional identifier of the extension instance
37 <attribute name="name" type="string">
40 an optional name of the extension instance
43 <meta.attribute translatable="true"/>
53 <element ref="eventsTableType" minOccurs="0" maxOccurs="1"/>
54 <element ref="defaultEditor" minOccurs="0" maxOccurs="1"/>
56 <attribute name="tracetype" type="string" use="required">
59 The unique ID that identifies this trace type.
62 <meta.attribute kind="identifier" basedOn="org.eclipse.linuxtools.tmf.core.tracetype/type/@id"/>
66 <attribute name="icon" type="string">
69 The icon associated to the trace type.
72 <meta.attribute kind="resource"/>
79 <element name="eventsTableType">
82 The events table to use for this trace type.
83 If omitted, the default events table will be used.
87 <attribute name="class" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable">
90 The fully qualified name of a class that extends <samp>TmfEventsTable</samp> .
91 If empty, the default events table will be used.
94 <meta.attribute kind="java" basedOn="org.eclipse.linuxtools.tmf.ui.viewers.events.TmfEventsTable:"/>
101 <element name="defaultEditor">
104 The default editor to use for this trace type.
105 If omitted, the default events editor will be used.
109 <attribute name="id" type="string" use="default" value="org.eclipse.linuxtools.tmf.ui.editors.events">
112 The id of the editor to use for this trace type.
113 If empty, the default events editor will be used.
122 <meta.section type="since"/>
131 <meta.section type="examples"/>
134 Example use of the extension point: the GDB trace type, which specifies a custom icon and a custom editor. The 'type/tracetype' element has to point to an existing tmf.core.tracetype extension!
137 point="org.eclipse.linuxtools.tmf.ui.tracetypeui">
139 icon="icons/obj16/gdb_icon16.png"
140 tracetype="org.eclipse.linuxtools.gdbtrace.core.type.gdb">
142 class="org.eclipse.linuxtools.internal.gdbtrace.ui.views.events.GdbEventsTable">
143 </eventsTableType>
151 <meta.section type="apiinfo"/>
154 The 'eventsTableType/class' element has to extend TmfEventsTable. It is optional however ; if it is not specified, the default TmfEventsTable will be used.
160 <meta.section type="implementation"/>
163 [Enter information about supplied implementation of this extension point.]
169 <meta.section type="copyright"/>
172 Copyright (c) 2014 Ericsson
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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>