Commit | Line | Data |
---|---|---|
6de2f761 PT |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | Copyright (c) 2013 Ericsson. | |
4 | ||
5 | All rights reserved. This program and the accompanying materials | |
6 | are made available under the terms of the Eclipse Public License v1.0 | |
7 | which accompanies this distribution, and is available at | |
8 | http://www.eclipse.org/legal/epl-v10.html | |
9 | --> | |
10 | <?eclipse version="3.4"?> | |
11 | <plugin> | |
12 | <extension | |
13 | point="org.eclipse.ui.perspectives"> | |
14 | <perspective | |
15 | class="org.eclipse.linuxtools.internal.gdbtrace.ui.views.GdbPerspectiveFactory" | |
16 | icon="icons/obj16/gdb_icon16.png" | |
17 | id="org.eclipse.linuxtools.gdbtrace.perspective" | |
18 | name="%perspective.name"> | |
19 | </perspective> | |
20 | </extension> | |
21 | <extension | |
22 | point="org.eclipse.linuxtools.tmf.ui.tracetype"> | |
23 | <category | |
24 | id="org.eclipse.linuxtools.gdbtrace.ui.category" | |
25 | name="GDB"> | |
26 | </category> | |
27 | <type | |
28 | category="org.eclipse.linuxtools.gdbtrace.ui.category" | |
8343b1f5 | 29 | event_type="org.eclipse.linuxtools.internal.gdbtrace.core.event.GdbTraceEvent" |
6de2f761 PT |
30 | icon="icons/obj16/gdb_icon16.png" |
31 | id="org.eclipse.linuxtools.gdbtrace.ui.type.gdb" | |
32 | name="GDB Trace" | |
8343b1f5 | 33 | trace_type="org.eclipse.linuxtools.internal.gdbtrace.core.trace.GdbTrace"> |
6de2f761 PT |
34 | <eventsTableType |
35 | class="org.eclipse.linuxtools.internal.gdbtrace.ui.views.events.GdbEventsTable"> | |
36 | </eventsTableType> | |
37 | </type> | |
38 | </extension> | |
39 | <extension | |
40 | point="org.eclipse.ui.commands"> | |
41 | <command | |
42 | description="%commands.project.trace.selectexecutable.description" | |
43 | id="org.eclipse.linuxtools.gdbtrace.ui.command.project.trace.selectexecutable" | |
44 | name="%commands.project.trace.selectexecutable"> | |
45 | </command> | |
46 | </extension> | |
47 | <extension | |
48 | point="org.eclipse.ui.menus"> | |
49 | <menuContribution | |
50 | locationURI="popup:org.eclipse.ui.popup.any?after=additions"> | |
51 | <command | |
52 | commandId="org.eclipse.linuxtools.gdbtrace.ui.command.project.trace.selectexecutable" | |
53 | label="%commands.project.trace.selectexecutable" | |
54 | style="push" | |
55 | tooltip="%commands.project.trace.selectexecutable.description"> | |
56 | <visibleWhen | |
57 | checkEnabled="false"> | |
58 | <with | |
59 | variable="selection"> | |
60 | <iterate | |
61 | ifEmpty="false" | |
62 | operator="and"> | |
63 | <test | |
64 | property="org.eclipse.linuxtools.tmf.ui.traceType" | |
65 | value="org.eclipse.linuxtools.gdbtrace.ui.type.gdb"> | |
66 | </test> | |
67 | </iterate> | |
68 | </with> | |
69 | </visibleWhen> | |
70 | </command> | |
71 | </menuContribution> | |
72 | </extension> | |
73 | <extension | |
74 | point="org.eclipse.ui.handlers"> | |
75 | <handler | |
76 | class="org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.handlers.SelectTraceExecutableHandler" | |
77 | commandId="org.eclipse.linuxtools.gdbtrace.ui.command.project.trace.selectexecutable"> | |
78 | <activeWhen> | |
79 | <iterate | |
80 | ifEmpty="false" | |
81 | operator="and"> | |
82 | <instanceof | |
83 | value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> | |
84 | </instanceof> | |
85 | </iterate> | |
86 | </activeWhen> | |
87 | </handler> | |
88 | </extension> | |
89 | ||
90 | </plugin> |