-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·371 lines (342 loc) · 13.4 KB
/
plugin.xml
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension-point id="br.ufma.deinf.laws.ncleclipse" name="NCL Eclipse Extension Point" schema="schema/br.ufma.deinf.laws.ncleclipse.exsd"/>
<extension
point="org.eclipse.ui.editors">
<editor
class="br.ufma.deinf.laws.ncleclipse.NCLMultiPageEditor"
contributorClass="br.ufma.deinf.laws.ncleclipse.NCLMultiPageActionBarContributor"
default="true"
extensions="ncl,conn"
icon="icons/sample.gif"
id="br.ufma.deinf.laws.ncleclipse.editors.NCLMultiPageEditor"
name="NCL Eclipse">
</editor>
</extension>
<!--Editor Actions -->
<extension
point="org.eclipse.ui.bindings">
<key
commandId="br.ufma.deinf.laws.ncleclipse.actions.format"
contextId="org.eclipse.ui.globalScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Ctrl+Shift+F"/>
<key
commandId="org.eclipse.ui.edit.text.gotoLastEditPosition"
contextId="org.eclipse.ui.textEditorScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Ctrl+Q"/>
<key
commandId="br.ufma.deinf.laws.ncleclipse.actions.format"
contextId="org.eclipse.ui.textEditorScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Ctrl+Alt+SPACE">
</key>
</extension>
<!-- extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Sample Action Set"
visible="true"
id="br.ufma.deinf.laws.ncleclipse.actionSet">
<action
id = "br.ufma.deinf.laws.ncleclipse.actions.play"
class="br.ufma.deinf.laws.ncleclipse.actions.Play"
toolbarPath="Normal/exampleGroup"
icon="icons/play.gif"
label="Play"
tooltip="Play the NCL File">
</action>
<action
id = "br.ufma.deinf.laws.ncleclipse.actions.stop"
class="br.ufma.deinf.laws.ncleclipse.actions.Stop"
toolbarPath="Normal/exampleGroup"
icon="icons/stop.gif"
label="Play"
tooltip="Play the NCL File">
</action>
</actionSet>
</extension -->
<!-- End of Editor Actions -->
<!-- Wizards -->
<extension
point="org.eclipse.ui.newWizards">
<category
id="ncleclipse"
name="NCL">
</category>
<wizard
category="ncleclipse"
class="br.ufma.deinf.laws.ncleclipse.wizards.NCLNewWizard"
icon="icons/sample.gif"
id="ncleclipse.wizards.NCLNewWizard"
name="NCL Document">
</wizard>
<wizard
category="ncleclipse"
class="br.ufma.deinf.laws.ncleclipse.wizards.ConnectorBaseNewWizard"
icon="icons/sample.gif"
id="ncleclipse.wizards.ConnectorBaseNewWizard"
name="Connector Base Document">
</wizard>
<wizard
category="ncleclipse"
class="br.ufma.deinf.laws.ncleclipse.wizards.NCLProject"
finalPerspective="ncleclipse.perspective"
icon="icons/project.png"
id="ncl30-eclipse.NCLProject"
name="NCL Project"
project="true">
</wizard>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.jdt.ui.category.source"
description="%ActionDefinition.format.description"
id="br.ufma.deinf.laws.ncleclipse.actions.format"
name="%ActionDefinition.format.name">
</command>
</extension>
<!-- Error marker -->
<extension id="br.ufma.deinf.laws.ncleclipse.problemmarker"
name="NCL Error"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker"/>
<super type="org.eclipse.core.resources.textmarker"/>
<attribute name="br.ufma.deinf.laws.ncleclipse.problemmarker.NCLValidatorMessage"/>
<attribute name="br.ufma.deinf.laws.ncleclipse.problemmarker.NCLSourceDocument"/>
<persistent value="true"/>
</extension>
<!-- Preferences pages -->
<extension point="org.eclipse.ui.preferencePages">
<page
category="br.ufma.deinf.laws.ncleclipse.preferences.NCL"
class="br.ufma.deinf.laws.ncleclipse.preferences.ViewsPreferencePage"
id="br.ufma.deinf.laws.ncleclipse.preferences.NCLEclipseViewsPreferencePage"
name="NCL Eclipse Views Preferences">
</page>
<page
category="br.ufma.deinf.laws.ncleclipse.preferences.NCL"
class="br.ufma.deinf.laws.ncleclipse.preferences.RunSSHPreferencePage"
id="br.ufma.deinf.laws.ncleclipse.preferences.RunSSHPreferencePage"
name="Remote Ginga-NCL Play">
</page>
<!-- Disabled by now
<page
category="br.ufma.deinf.laws.ncleclipse.preferences.NCL"
class="br.ufma.deinf.laws.ncleclipse.preferences.RunLocalGingaPreferencePage"
id="br.ufma.deinf.laws.ncleclipse.preferences.RunLocalGingaPreferencePage"
name="Run Ginga-NCL">
</page>
<page
category="br.ufma.deinf.laws.ncleclipse.preferences.NCL"
class="br.ufma.deinf.laws.ncleclipse.preferences.Language"
id="br.ufma.deinf.laws.ncleclipse.preferences.Language"
name="NCL Language">
</page-->
</extension>
<extension point="org.eclipse.core.runtime.preferences">
<initializer
class="br.ufma.deinf.laws.ncleclipse.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
class="br.ufma.deinf.laws.ncleclipse.preferences.NCLPreferencePage"
id="br.ufma.deinf.laws.ncleclipse.preferences.NCL"
name="NCL"/>
</extension>
<!-- Launch Configuration :: Running NCL document -->
<!-- Removido ateh que Exista uma versao do Ginga para windows -->
<extension point="org.eclipse.debug.ui.launchShortcuts">
<shortcut label="NCL Application"
icon="icons/sample.gif"
modes="run, debug"
class="br.ufma.deinf.laws.ncleclipse.launch.LaunchShortcut"
id="br.ufma.deinf.laws.ncleclipse.launch.LaunchShortcut">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
</with>
</enablement>
<contextLabel mode="run" label="NCL Application"/>
</contextualLaunch>
</shortcut>
</extension>
<!-- extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
delegate="br.ufma.deinf.laws.ncleclipse.launch.GingaLaunchConfiguration"
id="br.ufma.deinf.laws.ncleclipse.launching.GingaEmulatorConfiguration"
modes="run,debug"
name="Ginga Player">
</launchConfigurationType>
<launchConfigurationType
delegate="br.ufma.deinf.laws.ncleclipse.launch.GingaVMLaunchConfiguration"
id="br.ufma.deinf.laws.ncleclipse.launching.GingaVMConfiguration"
modes="run, debug"
name="Ginga Virtual Machine">
</launchConfigurationType>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
configTypeID="br.ufma.deinf.laws.ncleclipse.launching.GingaVMConfiguration"
icon="icons/gingavm-launching.gif"
id="br.ufma.deinf.laws.nleclipse.launching.ui.GingaVMLaunchConfigurationTypeImage">
</launchConfigurationTypeImage>
<launchConfigurationTypeImage
configTypeID="br.ufma.deinf.laws.ncleclipse.launching.GingaEmulatorConfiguration"
icon="icons/gingaemulator-launching.gif"
id="br.ufma.deinf.laws.nleclipse.launching.ui.GingaLaunchConfigurationTypeImage">
</launchConfigurationTypeImage>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
class="br.ufma.deinf.laws.ncleclipse.launch.ui.GingaVMTabGroup"
id="br.ufma.deinf.laws.ncleclipse.launch.ui.GingaVMLauchConfigurationTabGroup"
type="br.ufma.deinf.laws.ncleclipse.launching.GingaVMConfiguration">
</launchConfigurationTabGroup>
<launchConfigurationTabGroup
class="br.ufma.deinf.laws.ncleclipse.launch.ui.GingaLaunchTabGroup"
id="br.ufma.deinf.laws.ncleclipse.launch.ui.GingaLauchConfigurationTabGroup"
type="br.ufma.deinf.laws.ncleclipse.launching.GingaEmulatorConfiguration">
</launchConfigurationTabGroup>
</extension>-->
<!-- History Navigation -->
<extension point="org.eclipse.ui.commands">
<command id="br.ufma.deinf.laws.ncleclipse.actions.navigation.backward"
name="NCL Backward Navigation"/>
<command id="br.ufma.deinf.laws.ncleclipse.actions.navigation.forward"
name="NCL Backward Navigation"/>
</extension>
<extension point="org.eclipse.ui.handlers">
<handler class="br.ufma.deinf.laws.ncleclipse.navigation.NCLBackwardNavigation"
commandId="br.ufma.deinf.laws.ncleclipse.actions.navigation.backward">
</handler>
<handler class="br.ufma.deinf.laws.ncleclipse.navigation.NCLForwardNavigation"
commandId="br.ufma.deinf.laws.ncleclipse.actions.navigation.forward">
</handler>
<handler class="br.ufma.deinf.laws.ncleclipse.actions.CommentSelection"
commandId="br.ufma.deinf.laws.ncleclipse.actions.CommentSelection">
</handler>
</extension>
<extension point="org.eclipse.ui.bindings">
<key commandId="br.ufma.deinf.laws.ncleclipse.actions.navigation.backward"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Alt+ARROW_LEFT"
contextId="org.eclipse.ui.textEditorScope">
</key>
<key commandId="br.ufma.deinf.laws.ncleclipse.actions.navigation.forward"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Alt+ARROW_RIGHT"
contextId="org.eclipse.ui.textEditorScope">
</key>
</extension>
<extension
point="org.eclipse.ui.editorActions">
<!-- <editorContribution
id="br.ufma.deinf.laws.ncleclipse.actions.nclintime.start"
targetID="br.ufma.deinf.laws.ncleclipse.editors.NCLMultiPageEditor">
<action
class="br.ufma.deinf.laws.ncleclipse.nclinTime.NCLInTime"
icon="icons/rec.png"
id="ncl30-eclipse.start"
label="Start record"
style="toggle"
toolbarPath="Normal/additions">
</action>
</editorContribution>-->
<editorContribution
id="br.ufma.deinf.laws.ncleclipse.actions.CommentSelectionAction"
targetID="br.ufma.deinf.laws.ncleclipse.editors.NCLMultiPageEditor">
<action
accelerator="Ctrl+Shift+/"
class="br.ufma.deinf.laws.ncleclipse.actions.CommentSelectionAction"
id="ncl30-eclipse.commentSelection"
label="Comment/Uncomment Selection">
</action>
</editorContribution>
</extension>
<extension
point="org.eclipse.ui.views">
<view
class="org.eclipse.ui.views.navigator.ResourceNavigator"
icon="icons/sample.gif"
id="ncleclipse.navigator"
name="Navigator View">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="br.ufma.deinf.laws.ncleclipse.perspective.PerspectiveFactory"
icon="icons/sample.gif"
id="ncleclipse.perspective"
name="NCL">
</perspective>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="ncleclipse.perspective">
<view
id="ncleclipse.navigator"
minimized="false"
ratio="0.25"
relationship="left"
relative="org.eclipse.ui.editors">
</view>
</perspectiveExtension>
</extension>
<extension
id="ncleclipse.NCLNature"
name="ncleclipse.NCLNature"
point="org.eclipse.core.resources.natures">
<runtime>
<run
class="br.ufma.deinf.laws.ncleclipse.natures.NCLNatures">
</run>
</runtime>
</extension>
<extension
point="org.eclipse.ui.ide.projectNatureImages">
<image
icon="icons/projectSample.png"
id="ncleclipse.projectImage"
natureId="ncleclipse.NCLNature">
</image>
</extension>
<!--
<extension
point="org.eclipse.rse.ui.archivehandlers">
<archivehandler
class="systemarchivehandler.SystemArchiveHandler1"
fileNameExtension="ncl30-eclipse.archivehandler1"
id="ncl30-eclipse.archivehandler1"
name="ncl30-eclipse.archivehandler1">
</archivehandler>
</extension>
-->
<!-- extension point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
markerType="br.ufma.deinf.laws.ncleclipse.problemmarker"
class="br.ufma.deinf.laws.ncleclipse.correction.NCLErrorFixer"/>
</extension -->
<extension
point="org.eclipse.ui.popupMenus">
<viewerContribution
id="ncl30-eclipse.viewerContribution"
targetID="#TextEditorContext">
<action
class="br.ufma.deinf.laws.ncleclipse.actions.CommentSelectionAction"
id="ncl30-eclipse.CommentSelectionAction"
label="Comment/Uncomment Selection"
menubarPath="additions">
</action>
</viewerContribution>
</extension>
</plugin>