Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a559494823bbe54a08edcaafe4f56d9ce36f1e60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<!--
   Copyright (c) 2013 Ericsson.

   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
   http://www.eclipse.org/legal/epl-v10.html
-->
<?eclipse version="3.4"?>
<plugin>
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            class="org.eclipse.linuxtools.internal.gdbtrace.ui.views.GdbPerspectiveFactory"
            icon="icons/obj16/gdb_icon16.png"
            id="org.eclipse.linuxtools.gdbtrace.perspective"
            name="%perspective.name">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.linuxtools.tmf.ui.tracetype">
      <category
            id="org.eclipse.linuxtools.gdbtrace.ui.category"
            name="GDB">
      </category>
      <type
            category="org.eclipse.linuxtools.gdbtrace.ui.category"
            event_type="org.eclipse.linuxtools.internal.gdbtrace.core.event.GdbTraceEvent"
            icon="icons/obj16/gdb_icon16.png"
            id="org.eclipse.linuxtools.gdbtrace.ui.type.gdb"
            name="GDB Trace"
            trace_type="org.eclipse.linuxtools.internal.gdbtrace.core.trace.GdbTrace">
         <eventsTableType
               class="org.eclipse.linuxtools.internal.gdbtrace.ui.views.events.GdbEventsTable">
         </eventsTableType>
      </type>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            description="%commands.project.trace.selectexecutable.description"
            id="org.eclipse.linuxtools.gdbtrace.ui.command.project.trace.selectexecutable"
            name="%commands.project.trace.selectexecutable">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="popup:org.eclipse.ui.popup.any?after=additions">
         <command
               commandId="org.eclipse.linuxtools.gdbtrace.ui.command.project.trace.selectexecutable"
               label="%commands.project.trace.selectexecutable"
               style="push"
               tooltip="%commands.project.trace.selectexecutable.description">
            <visibleWhen
                  checkEnabled="false">
               <with
                     variable="selection">
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <test
                           property="org.eclipse.linuxtools.tmf.ui.traceType"
                           value="org.eclipse.linuxtools.gdbtrace.ui.type.gdb">
                     </test>
                  </iterate>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            class="org.eclipse.linuxtools.internal.gdbtrace.ui.views.project.handlers.SelectTraceExecutableHandler"
            commandId="org.eclipse.linuxtools.gdbtrace.ui.command.project.trace.selectexecutable">
         <activeWhen>
            <iterate
                  ifEmpty="false"
                  operator="and">
               <instanceof
                     value="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement">
               </instanceof>
            </iterate>
         </activeWhen>
      </handler>
   </extension>

</plugin>

Back to the top