-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
375 lines (358 loc) · 15.5 KB
/
plugin.xml
File metadata and controls
375 lines (358 loc) · 15.5 KB
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
372
373
374
375
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.editors">
<editor
name="UnrealScript Editor"
extensions="uc"
icon="icons/uc.png"
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
class="com.patrick_vane.unrealscript.editor.UnrealScriptEditor"
id="patrick_vane_unrealscript_editor.editors.UnrealScriptEditor">
</editor>
<editor
class="com.patrick_vane.unrealscript.editor.UnrealScriptEditor"
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
extensions="uci"
icon="icons/uc.png"
id="patrick_vane_unrealscript_editor.editors.UnrealScriptEditor"
name="UnrealScript Preprocessor Editor">
</editor>
</extension>
<extension
id="patrick_vane_unrealscript_editor.markers.problem"
name="UnrealScript Syntax Problem"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.core.resources.problemmarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="com.patrick_vane.unrealscript.editor.perspective.UDKPerspective"
fixed="false"
icon="icons/perspective.png"
id="patrick_vane_unrealscript_editor.editors.perspective.UnrealScriptPerspective"
name="UDK">
</perspective>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="patrick_vane_unrealscript_editor.editors.perspective.UnrealScriptPerspective">
<newWizardShortcut
id="com.patrick_vane.unrealscript.editor.new_file_wizard">
</newWizardShortcut>
<newWizardShortcut
id="org.eclipse.ui.wizards.new.folder">
</newWizardShortcut>
<newWizardShortcut
id="org.eclipse.ui.wizards.new.file">
</newWizardShortcut>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
name="UDK"
id="patrick_vane_unrealscript_editor.editors.commandcategory.udk">
</category>
<command
categoryId="patrick_vane_unrealscript_editor.editors.commandcategory.udk"
defaultHandler="com.patrick_vane.unrealscript.editor.perspective.handlers.ImportProject"
description="Import Project"
id="patrick_vane_unrealscript_editor.editors.command.import_project"
name="Import Project">
</command>
<command
categoryId="patrick_vane_unrealscript_editor.editors.commandcategory.udk"
defaultHandler="com.patrick_vane.unrealscript.editor.perspective.handlers.CompilerSettings"
description="Configure Compiler"
id="patrick_vane_unrealscript_editor.editors.command.compiler_settings"
name="Configure Compiler">
</command>
<command
categoryId="patrick_vane_unrealscript_editor.editors.commandcategory.udk"
defaultHandler="com.patrick_vane.unrealscript.editor.perspective.handlers.ExecuterSettings"
description="Configure Executer"
id="patrick_vane_unrealscript_editor.editors.command.executer_settings"
name="Configure Executer">
</command>
<command
categoryId="patrick_vane_unrealscript_editor.editors.commandcategory.udk"
defaultHandler="com.patrick_vane.unrealscript.editor.perspective.handlers.RunEditor"
description="Run Editor"
id="patrick_vane_unrealscript_editor.editors.command.run_editor"
name="Run Editor">
</command>
<command
categoryId="patrick_vane_unrealscript_editor.editors.commandcategory.udk"
defaultHandler="com.patrick_vane.unrealscript.editor.perspective.handlers.RunGame"
description="Run Game"
id="patrick_vane_unrealscript_editor.editors.command.run_game"
name="Run Game">
</command>
<command
categoryId="patrick_vane_unrealscript_editor.editors.commandcategory.udk"
defaultHandler="com.patrick_vane.unrealscript.editor.perspective.handlers.Compile"
description="Compile"
id="patrick_vane_unrealscript_editor.editors.command.compile"
name="Compile">
</command>
<command
categoryId="patrick_vane_unrealscript_editor.editors.commandcategory.udk"
defaultHandler="com.patrick_vane.unrealscript.editor.perspective.handlers.OpenInTypeHierarchy"
description="Open In Type Hierarchy"
id="patrick_vane_unrealscript_editor.editors.command.open_in_type_hierachy"
name="Open In Type Hierarchy">
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="patrick_vane_unrealscript_editor.editors.toolbar.udk"
label="UDK">
<command
commandId="patrick_vane_unrealscript_editor.editors.command.import_project"
icon="icons/buttons/import.png"
style="push"
tooltip="Import Project">
<visibleWhen
checkEnabled="true">
<reference
definitionId="patrick_vane_unrealscript_editor.editors.perspective.definition.isUDKPerspectiveActive">
</reference>
</visibleWhen>
</command>
<command
commandId="patrick_vane_unrealscript_editor.editors.command.compiler_settings"
icon="icons/buttons/settings_compiler.png"
style="push"
tooltip="Configure Compiler">
<visibleWhen
checkEnabled="true">
<reference
definitionId="patrick_vane_unrealscript_editor.editors.definition.isUDKPerspectiveActiveAndIsUDKProjectSelected">
</reference>
</visibleWhen>
</command>
<command
commandId="patrick_vane_unrealscript_editor.editors.command.executer_settings"
icon="icons/buttons/settings_game.png"
style="push"
tooltip="Configure Executer">
<visibleWhen
checkEnabled="true">
<reference
definitionId="patrick_vane_unrealscript_editor.editors.definition.isUDKPerspectiveActiveAndIsUDKProjectSelected">
</reference>
</visibleWhen>
</command>
<command
commandId="patrick_vane_unrealscript_editor.editors.command.run_editor"
icon="icons/buttons/editor.png"
id="patrick_vane_unrealscript_editor.editors.command.run_editor.button"
style="pulldown"
tooltip="Run Editor">
<visibleWhen
checkEnabled="true">
<reference
definitionId="patrick_vane_unrealscript_editor.editors.definition.isUDKPerspectiveActiveAndIsUDKProjectSelected">
</reference>
</visibleWhen>
</command>
<command
commandId="patrick_vane_unrealscript_editor.editors.command.run_game"
icon="icons/buttons/game.png"
id="patrick_vane_unrealscript_editor.editors.command.run_game.button"
style="pulldown"
tooltip="Run Game">
<visibleWhen
checkEnabled="true">
<reference
definitionId="patrick_vane_unrealscript_editor.editors.definition.isUDKPerspectiveActiveAndIsUDKProjectSelected">
</reference>
</visibleWhen>
</command>
<command
commandId="patrick_vane_unrealscript_editor.editors.command.compile"
icon="icons/buttons/compile.png"
style="push"
tooltip="Compile">
<visibleWhen
checkEnabled="true">
<reference
definitionId="patrick_vane_unrealscript_editor.editors.definition.isUDKPerspectiveActiveAndIsUDKProjectSelected">
</reference>
</visibleWhen>
</command>
</toolbar>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="menu:patrick_vane_unrealscript_editor.editors.command.run_game.button">
<dynamic
class="com.patrick_vane.unrealscript.editor.perspective.handlers.RunGameContributionItem"
id="patrick_vane_unrealscript_editor.editors.command.run_game.button.contribution_item">
</dynamic>
</menuContribution>
<menuContribution
allPopups="true"
locationURI="menu:patrick_vane_unrealscript_editor.editors.command.run_editor.button">
<dynamic
class="com.patrick_vane.unrealscript.editor.perspective.handlers.RunEditorContributionItem"
id="patrick_vane_unrealscript_editor.editors.command.run_editor.button.contribution_item">
</dynamic>
</menuContribution>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="com.patrick_vane.unrealscript.editor.perspective.UDKPerspectiveTester"
id="patrick_vane_unrealscript_editor.editors.perspective.UDKPerspectiveTester"
namespace="patrick_vane_unrealscript_editor.editors.perspective.UDKPerspectiveTester"
properties="isUDKPerspectiveActive"
type="java.lang.Object">
</propertyTester>
<propertyTester
class="com.patrick_vane.unrealscript.editor.perspective.UDKProjectActiveOrSelectedTester"
id="patrick_vane_unrealscript_editor.editors.perspective.UDKProjectActiveOrSelectedTester"
namespace="patrick_vane_unrealscript_editor.editors.perspective.UDKProjectActiveOrSelectedTester"
properties="isUDKProjectSelected"
type="java.lang.Object">
</propertyTester>
</extension>
<extension point="org.eclipse.core.expressions.definitions">
<definition id="patrick_vane_unrealscript_editor.editors.perspective.definition.isUDKPerspectiveActive">
<with variable="activeWorkbenchWindow.activePerspective">
<test
forcePluginActivation="true"
property="patrick_vane_unrealscript_editor.editors.perspective.UDKPerspectiveTester.isUDKPerspectiveActive">
</test>
</with>
</definition>
<definition
id="patrick_vane_unrealscript_editor.editors.perspective.definition.isUDKProjectSelected">
<with
variable="activeWorkbenchWindow.activePerspective">
<test
forcePluginActivation="true"
property="patrick_vane_unrealscript_editor.editors.perspective.UDKProjectActiveOrSelectedTester.isUDKProjectSelected">
</test>
</with>
</definition>
<definition
id="patrick_vane_unrealscript_editor.editors.definition.isUDKPerspectiveActiveAndIsUDKProjectSelected">
<with
variable="activeWorkbenchWindow.activePerspective">
<test
forcePluginActivation="true"
property="patrick_vane_unrealscript_editor.editors.perspective.UDKPerspectiveTester.isUDKPerspectiveActive">
</test>
<and></and>
<test
forcePluginActivation="true"
property="patrick_vane_unrealscript_editor.editors.perspective.UDKProjectActiveOrSelectedTester.isUDKProjectSelected">
</test>
</with>
</definition>
</extension>
<extension
point="org.eclipse.ui.startup">
<startup
class="com.patrick_vane.unrealscript.editor.UnrealScriptStartup">
</startup>
</extension>
<extension
point="org.eclipse.ui.views">
<view
allowMultiple="false"
category="com.patrick_vane.unrealscript.editor.views.UDK"
class="com.patrick_vane.unrealscript.editor.class_hierarchy.TypeHierarchyView"
icon="icons/hierarchy.gif"
id="com.patrick_vane.unrealscript.editor.class_hierarchy.TypeHierarchyView"
name="Type Hierarchy"
restorable="true">
</view>
<category
id="com.patrick_vane.unrealscript.editor.views.UDK"
name="UDK">
</category>
</extension>
<extension
point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
<hyperlinkDetector
activate="true"
class="com.patrick_vane.unrealscript.editor.extra.HyperlinkDetector"
id="com.patrick_vane.unrealscript.editor.hyperlink_ctrl.detector"
modifierKeys="Ctrl"
name="com.patrick_vane.unrealscript.editor.hyperlink_ctrl.detector"
targetId="com.patrick_vane.unrealscript.editor.hyperlink_ctrl.targets">
</hyperlinkDetector>
</extension>
<extension
point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
<target
id="com.patrick_vane.unrealscript.editor.hyperlink_ctrl.targets"
name="com.patrick_vane.unrealscript.editor.hyperlink_ctrl.targets">
</target>
</extension>
<extension
point="org.eclipse.ui.newWizards">
<wizard
canFinishEarly="false"
category="com.patrick_vane.unrealscript.editor.wizard_category"
class="com.patrick_vane.unrealscript.editor.extra.NewFileWizard"
hasPages="true"
icon="icons/uc.png"
id="com.patrick_vane.unrealscript.editor.new_file_wizard"
name="Class"
project="false">
<description>
Creates a new UnrealScript class.
</description>
</wizard>
<category
id="com.patrick_vane.unrealscript.editor.wizard_category"
name="UDK">
</category>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="patrick_vane_unrealscript_editor.editors.command.open_in_type_hierachy"
contextId="patrick_vane_unrealscript_editor.editors.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="F4">
</key>
<key
commandId="patrick_vane_unrealscript_editor.editors.command.compile"
contextId="patrick_vane_unrealscript_editor.editors.context"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Ctrl+Shift+Space">
</key>
</extension>
<extension
point="org.eclipse.ui.contexts">
<context
id="patrick_vane_unrealscript_editor.editors.context"
name="patrick_vane_unrealscript_editor.editors.context"
parentId="org.eclipse.ui.contexts.window">
</context>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="com.patrick_vane.unrealscript.editor.preferences.UDKPreferencesPage"
id="patrick_vane_unrealscript_editor.editors.preferences.udk"
name="UDK">
</page>
</extension>
</plugin>