plugin.xml 5.55 KB
Newer Older
balaskoa's avatar
balaskoa committed
1
<?xml version="1.0" encoding="UTF-8"?>
Elemer Lelik's avatar
Elemer Lelik committed
2
<!--
balaskoa's avatar
balaskoa committed
3
 Copyright (c) 2000-2018 Ericsson Telecom AB
Elemer Lelik's avatar
Elemer Lelik committed
4
5
6
7
8
9

 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
 -->
balaskoa's avatar
balaskoa committed
10
<?eclipse version="4.6"?>
balaskoa's avatar
balaskoa committed
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<plugin>
  <extension
    point="org.eclipse.ui.popupMenus">
    <objectContribution
      objectClass="org.eclipse.core.resources.IProject"
      adaptable = "true"
      id="org.eclipse.titan.debug.actions.ProjectReAnalyzer">
      <menu
        id = "TITAN_popup_Menu"
        label = "Titan debug">
        <separator name = "group1"/>
        <separator name = "group2"/>
      </menu>
      <action
        label="Force Re-Analysis of projects"
        class="org.eclipse.titan.debug.actions.ProjectReAnalyzer"
        menubarPath = "TITAN_popup_Menu/group1"
        enablesFor="1"
        id="org.eclipse.titan.debug.actions.ProjectReAnalyzer">
      </action>
      <action
        label="Force Semantic Re-Analysis of projects"
        class="org.eclipse.titan.debug.actions.ProjectSemanticReAnalyzer"
        menubarPath = "TITAN_popup_Menu/group1"
        enablesFor="1"
        id="org.eclipse.titan.debug.actions.ProjectSemanticReAnalyzer">
      </action>
      <action
        label="Export debug info of AST"
        class="org.eclipse.titan.debug.actions.Export_Debug_AST_Action"
        menubarPath = "TITAN_popup_Menu/group1"
        enablesFor="1"
        id="org.eclipse.titan.debug.actions.Export_Debug_AST_Action">
      </action>
    </objectContribution>
    <viewerContribution
      id="org.eclipse.titan.designer.editors.popup"
      targetID="org.eclipse.titan.designer.editors.ttcn3editor.context">
      <menu
        id="org.eclipse.titan.debug.menu.ContextMenu"
        label="Titan Debug">
        <separator name="organize"/>
      </menu>
      <action
	        id="org.eclipse.titan.debug.commands.Export_Debug_AST"
	        definitionId="org.eclipse.titan.debug.commands.Export_Debug_ASTCommand"
	        label="Export Debug AST"
	        icon="icons/titan.gif"
	        menubarPath="org.eclipse.titan.debug.menu.ContextMenu/organize"
	        class="org.eclipse.titan.debug.actions.Export_Debug_AST">
	      </action>
      <action
        id="org.eclipse.titan.debug.commands.ProjectReanalyzer"
        definitionId="org.eclipse.titan.debug.commands.ProjectReanalyzer"
        label="Force Re-Analysis of projects"
        icon="icons/titan.gif"
        menubarPath="org.eclipse.titan.debug.menu.ContextMenu/organize"
        class="org.eclipse.titan.debug.actions.ProjectReAnalyzerEditor"/>
      </viewerContribution>
    </extension>
    <extension
      point="org.eclipse.ui.editorActions">
      <editorContribution
      id="org.eclipse.titan.designer.editors.ttcn3editor.actions"
      targetID="org.eclipse.titan.designer.editors.ttcn3editor.TTCN3Editor">
	      <action
	        id="org.eclipse.titan.debug.actions.Export_Debug_AST"
	        definitionId="org.eclipse.titan.debug.actions.Export_Debug_AST"
	        label="Export Debug AST"
	        icon="icons/titan.gif"
	        class="org.eclipse.titan.debug.actions.Export_Debug_AST">
	      </action>
      </editorContribution>
    </extension>
      <extension
    point="org.eclipse.ui.commands">
    <category
	  id="org.eclipse.titan.debug.commands.Commands"
      name="Titan Debug commands"/>
            <command
      categoryId="org.eclipse.titan.debug.commands.Commands"
      description="Export debug information to console"
      id="org.eclipse.titan.debug.commands.Export_Debug_ASTCommand"
      name="Export Debug AST"/>
      <command
      categoryId="org.eclipse.titan.debug.commands.Commands"
      description="Check a module for code smells"
      id="org.eclipse.titan.debug.commands.ProjectReanalyzer"
      name="Re-Analyze projects"/>
   </extension>
     <extension
    point="org.eclipse.ui.editorActions">
    <editorContribution
      id="org.eclipse.titan.designer.editors.ttcn3editor.actions"
      targetID="org.eclipse.titan.designer.editors.ttcn3editor.TTCN3Editor">
      <action
	        id="org.eclipse.titan.debug.actions.Export_Debug_AST"
	        definitionId="org.eclipse.titan.debug.commands.Export_Debug_ASTCommand"
	        label="Export Debug AST"
	        icon="icons/titan.gif"
	        class="org.eclipse.titan.debug.actions.Export_Debug_AST">
	      </action>
	      <action
        id="org.eclipse.titan.debug.commands.ProjectReanalyzer"
        definitionId="org.eclipse.titan.debug.commands.ProjectReanalyzer"
        label="Force Re-Analysis of projects"
        class="org.eclipse.titan.debug.actions.ProjectReAnalyzerEditor"/>
	      </editorContribution>
	</extension>

  <extension
    point="org.eclipse.ui.menus">
    <menuContribution
      allPopups="false"
      locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
      <toolbar
            id="org.eclipse.ttian.debug.toolbar"
            label="Titan debug toolbar">
        <command
          commandId="org.eclipse.titan.debug.commands.ProjectReanalyzer"
          icon="icons/titan.gif"
          label="Re-Analysis"
          style="push"
          tooltip="Force Re-Analysis of projects">
        </command>
      </toolbar>
    </menuContribution>
  </extension>
  <extension
    point="org.eclipse.ui.bindings">
    <key
      commandId="org.eclipse.titan.debug.commands.ProjectReanalyzer"
      contextId="org.eclipse.titan.designer.editors.TTCN3EditorScope"
      schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
      sequence="CTRL+SHIFT+R"/>
  </extension>
</plugin>