Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6ba6e75329180fa5d4a72858a0a5f5d2d75082d4 (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
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>

   <extension
         point="org.eclipse.ui.commands">
      <category
            name="Sample Category"
            id="cdtAST2.commands.category">
      </category>
      <command
            name="CallGraph Command"
            categoryId="cdtAST2.commands.category"
            id="cdtAST2.commands.cgCommand">
      </command>
       <command
            name="CFG Command"
            categoryId="cdtAST2.commands.category"
            id="cdtAST2.commands.cfgCommand">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            commandId="cdtAST2.commands.cgCommand"
            class="org.eclipse.ptp.pldt.sampleCDTstaticAnalysis.handlers.BuildCallGraphHandler">
      </handler>
      <handler
            commandId="cdtAST2.commands.cfgCommand"
            class="org.eclipse.ptp.pldt.sampleCDTstaticAnalysis.handlers.BuildCFGraphHandler">
      </handler>
   </extension>
   <extension
         point="org.eclipse.ui.bindings">
      <key
            commandId="cdtAST2.commands.cgCommand"
            contextId="org.eclipse.ui.contexts.window"
            sequence="M1+6"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
      </key>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="menu:org.eclipse.ui.main.menu?after=additions">
         <menu
               label="Sample Menu"
               mnemonic="M"
               id="cdtAST2.menus.sampleMenu">
            <command
                  commandId="cdtAST2.commands.cgCommand"
                  icon="icons/graphW.gif"
                  id="cdtAST2.menus.cgCommand"
                  label="Walk AST tree"
                  mnemonic="S"
                  tooltip="Walk AST Tree tooltip">
            </command>
         </menu>
      </menuContribution>
      <menuContribution
            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
         <toolbar
               id="cdtAST2.toolbars.sampleToolbar">
            <command
                  commandId="cdtAST2.commands.cgCommand"
                  icon="icons/callsC.gif"
                  id="cdtAST2.toolbars.buildCallGraphCommand"
                  label="Build Call Graph"
                  tooltip="Build Call Graph">
            </command>
             <command
                  commandId="cdtAST2.commands.cfgCommand"
                  icon="icons/callsCF.gif"
                  id="cdtAST2.toolbars.buildCallGraphCommand"
                  label="Build CFGraph"
                  tooltip="Build Control Flow Graph">
            </command>
         </toolbar>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            label="Sample Action Set"
            visible="true"
            id="cdtAST2.actionSet">
         <action
               label="Walk AST"
               icon="icons/graphW.gif"
               class="org.eclipse.ptp.pldt.sampleCDTstaticAnalysis.actions.ASTWalkerAction"
               tooltip="Walk AST tooltip"
               menubarPath="sampleMenu/sampleGroup"
               toolbarPath="sampleGroup"
               id="cdtast2.actions.SampleAction">
         </action>
      </actionSet>
   </extension>

</plugin>

Back to the top