blob: 296c2584f87f562f26af453951bae4cc719b3557 (
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
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="editorPageBindings" name="%ExtensionPoint.editorPageBindings.name" schema="schema/editorPageBindings.exsd"/>
<extension-point id="editorPages" name="%ExtensionPoint.editorPages.name" schema="schema/editorPages.exsd"/>
<!-- Common Navigator contributions -->
<extension point="org.eclipse.ui.navigator.viewer">
<viewer
helpContext="org.eclipse.tm.te.ui.views.TargetExplorer"
viewerId="org.eclipse.tm.te.ui.views.TargetExplorer">
<popupMenu
id="org.eclipse.tm.te.ui.views.TargetExplorer#Popup"
allowsPlatformContributions="true">
<insertionPoint name="group.new" separator="true"/>
<insertionPoint name="group.goto"/>
<insertionPoint name="group.expandto" separator="true"/>
<insertionPoint name="group.expand"/>
<insertionPoint name="group.open" separator="true"/>
<insertionPoint name="group.openWith"/>
<insertionPoint name="group.connect" separator="true"/>
<insertionPoint name="group.symbols" separator="true"/>
<insertionPoint name="group.symbols.rd"/>
<insertionPoint name="group.symbols.loadunload"/>
<insertionPoint name="group.symbols.additions"/>
<insertionPoint name="group.launch" separator="true"/>
<insertionPoint name="group.launch.rundebug"/>
<insertionPoint name="group.launch.modes"/>
<insertionPoint name="group.launch.additions"/>
<insertionPoint name="group.show" separator="true"/>
<insertionPoint name="group.edit" separator="true"/>
<insertionPoint name="group.delete"/>
<insertionPoint name="group.build" separator="true"/>
<insertionPoint name="group.refresh" separator="true"/>
<insertionPoint name="group.reorganize"/>
<insertionPoint name="group.reorder"/>
<insertionPoint name="group.port"/>
<insertionPoint name="group.generate" separator="true"/>
<insertionPoint name="group.search" separator="true"/>
<insertionPoint name="group.connection" separator="true"/>
<insertionPoint name="group.operations" separator="true"/>
<insertionPoint name="group.analysis" separator="true"/>
<insertionPoint name="additions" separator="true"/>
<insertionPoint name="group.properties" separator="true"/>
</popupMenu>
<options>
<property
name="org.eclipse.ui.navigator.hideLinkWithEditorAction"
value="true">
</property>
</options>
</viewer>
<viewerActionBinding
viewerId="org.eclipse.tm.te.ui.views.TargetExplorer">
<includes>
<actionExtension
pattern="org.eclipse.tm.te.ui.views.actions.*">
</actionExtension>
</includes>
</viewerActionBinding>
</extension>
<extension point="org.eclipse.ui.navigator.navigatorContent">
<actionProvider
class="org.eclipse.tm.te.ui.views.internal.actions.NewActionProvider"
id="org.eclipse.tm.te.ui.views.actions.NewActionProvider">
<enablement>
</enablement>
</actionProvider>
</extension>
<!-- View contributions -->
<extension point="org.eclipse.ui.views">
<category
id="org.eclipse.tm.te.ui.views.category"
name="%ViewCategory.name">
</category>
<view
category="org.eclipse.tm.te.ui.views.category"
class="org.eclipse.tm.te.ui.views.internal.View"
icon="icons/eview16/targets_view.gif"
id="org.eclipse.tm.te.ui.views.TargetExplorer"
name="%TargetExplorer.name"
restorable="true">
</view>
</extension>
<!-- Target Explorer Perspective -->
<extension point="org.eclipse.ui.perspectives">
<perspective
class="org.eclipse.tm.te.ui.views.perspective.PerspectiveFactory"
icon="icons/eview16/editor.gif"
id="org.eclipse.tm.te.ui.perspective"
name="%Perspective.name">
</perspective>
</extension>
<!-- Perspective contributions -->
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="org.eclipse.tm.te.ui.perspective">
<!-- Run/Debug actions should be available -->
<actionSet id="org.eclipse.debug.ui.launchActionSet"/>
<!-- Register the view shortcuts -->
<viewShortcut id="org.eclipse.tm.te.ui.views.TargetExplorer"/>
</perspectiveExtension>
</extension>
<!-- Editor contributions -->
<extension point="org.eclipse.ui.editors">
<editor
class="org.eclipse.tm.te.ui.views.internal.editor.Editor"
default="false"
icon="icons/eview16/prop_ps.gif"
id="org.eclipse.tm.te.ui.view.Editor"
name="%Editor.name">
</editor>
</extension>
<!-- Target Explorer menu contributions -->
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:org.eclipse.tm.te.ui.views.TargetExplorer#Popup?after=group.properties">
<command
commandId="org.eclipse.ui.file.properties"
helpContextId="org.eclipse.tm.te.ui.views.command_Properties"
id="properties"
label="%PropertiesAction.label"
tooltip="%PropertiesAction.tooltip">
<visibleWhen>
<with variable="selection">
<count value="1"/>
<iterate operator="and" ifEmpty="false">
<test property="org.eclipse.tm.te.ui.views.hasApplicableEditorBindings" value="true"/>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<!-- Command contributions -->
<extension point="org.eclipse.ui.commands">
<category
id="org.eclipse.tm.te.ui.commands.category"
name="%Command.category.name">
</category>
<!-- Definition of the Common Navigator global retargetable open
action id as command.
-->
<command
categoryId="org.eclipse.tm.te.ui.commands.category"
helpContextId="org.eclipse.ui.navigator.Open"
id="org.eclipse.ui.navigator.Open"
name="%Command.open.name">
</command>
</extension>
<!-- Handler contributions -->
<extension point="org.eclipse.ui.handlers">
<handler
commandId="org.eclipse.ui.file.properties"
class="org.eclipse.tm.te.ui.views.internal.handler.PropertiesCommandHandler">
<enabledWhen>
<with variable="selection">
<count value="1"/>
</with>
</enabledWhen>
<activeWhen>
<and>
<with variable="activePartId">
<equals value="org.eclipse.tm.te.ui.views.TargetExplorer"/>
</with>
<with variable="selection">
<iterate operator="and" ifEmpty="false">
<test property="org.eclipse.tm.te.ui.views.hasApplicableEditorBindings" value="true"/>
</iterate>
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.navigator.Open"
class="org.eclipse.tm.te.ui.views.internal.handler.OpenCommandHandler">
<enabledWhen>
<with variable="selection">
<count value="1"/>
</with>
</enabledWhen>
<activeWhen>
<with variable="activePartId">
<equals value="org.eclipse.tm.te.ui.views.TargetExplorer"/>
</with>
</activeWhen>
</handler>
</extension>
<!-- Eclipse core expressions property tester -->
<extension point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.tm.te.ui.views.internal.expressions.EditorPropertyTester"
id="org.eclipse.tm.te.ui.views.EditorPropertyTester"
namespace="org.eclipse.tm.te.ui.views"
properties="hasApplicableEditorBindings"
type="java.lang.Object">
</propertyTester>
</extension>
</plugin>
|