Repository navigation
Expand file tree
/
Copy pathplugin.xml
More file actions
202 lines (201 loc) · 7.99 KB
/
Copy pathplugin.xml
File metadata and controls
202 lines (201 loc) · 7.99 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.editors">
<editor
class="processing.plugin.ui.editor.ProcessingEditor"
default="true"
extensions="pde"
id="processing.plugin.ui.ProcessingEditor"
name="Processing Sketch Editor">
</editor>
</extension>
<extension
point="org.eclipse.core.filebuffers.documentSetup">
<participant
class="processing.plugin.ui.editor.ProcessingDocumentSetupParticipant"
extensions="pde">
</participant>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="processing.plugin.ui.preferences.CorePreferencePage"
id="processing.plugin.ui.preferences.CorePreferencePage"
name="Processing">
</page>
</extension>
<extension point="org.eclipse.ui.newWizards">
<category
id="processing.plugin.ui.newWizards"
name="Processing">
</category>
<wizard
category="processing.plugin.ui.newWizards"
class="processing.plugin.ui.wizards.NewSketchWizard"
finalPerspective="processing.plugin.ui.sketchingPerspective"
icon="Resources/16x16_icon.gif"
id="processing.plugin.ui.wizards.NewSketchWizard"
name="Processing Sketch"
project="true">
</wizard>
</extension>
<extension point="org.eclipse.ui.exportWizards">
<category
id="processing.plugin.ui.exportWizards"
name="Processing">
</category>
<wizard
category="processing.plugin.ui.exportWizards"
class="processing.plugin.ui.wizards.ExportAsAppletWizard"
icon="Resources/16x16_icon.gif"
id="processing.plugin.ui.wizards.exportAsAppletWizard"
name="Export Sketch as Applet">
</wizard>
</extension>
<extension point="org.eclipse.ui.importWizards">
<category
id="processing.plugin.ui.importWizards"
name="Processing">
</category>
<wizard
category="processing.plugin.ui.importWizards"
class="processing.plugin.ui.wizards.ImportSketchWizard"
icon="Resources/16x16_icon.gif"
id="processing.plugin.ui.wizards.importSketchWizard"
name="Import Sketch Wizard">
</wizard>
</extension>
<extension point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
class="processing.plugin.ui.launching.RunSketchAsAppletShortcut"
description="Runs the Sketch as an applet, equivalent to the PDE run button."
icon="Resources/16x16_icon.gif"
id="processing.plugin.ui.launching.runSketchAsApplet"
label="Processing Sketch (Applet)"
modes="run">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1" />
<iterate>
<or>
<test property="org.eclipse.jdt.launching.hasProjectNature" args="processing.plugin.core.sketchNature"/>
<test property="org.eclipse.debug.ui.matchesPattern" value="*.pde"/>
</or>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
</extension>
<extension point="org.eclipse.ui.perspectives">
<perspective
class="processing.plugin.ui.perspective.Sketching"
icon="Resources/16x16_icon.gif"
id="processing.plugin.ui.sketchingPerspective"
name="Processing">
<description>
Write Processing sketches.
</description>
</perspective>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="processing.plugin.ui.sketchingPerspective">
<newWizardShortcut id="processing.plugin.ui.wizards.NewSketchWizard" />
<newWizardShortcut id="org.eclipse.ui.wizards.new.file" />
<newWizardShortcut id="org.eclipse.ui.wizards.new.folder" />
<perspectiveShortcut id="org.eclipse.jdt.ui.JavaPerspective" />
<viewShortcut id="org.eclipse.ui.navigator.ProjectExplorer" />
<viewShortcut id="org.eclipse.ui.views.ProblemView" />
<viewShortcut id="org.eclipse.ui.views.ResourceNavigator" />
<viewShortcut id="org.eclipse.ui.console.ConsoleView" />
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.ui.resourcePerspective">
<view
id="processing.plugin.ui.views.sketchView"
ratio="0.2"
relationship="stack"
relative="org.eclipse.ui.navigator.ProjectExplorer">
</view>
</perspectiveExtension>
</extension>
<extension point="org.eclipse.ui.views">
<view
class="org.eclipse.ui.navigator.CommonNavigator"
icon="Resources/16x16_icon.gif"
id="processing.plugin.ui.views.sketchView"
name="Sketch Navigator">
</view>
</extension>
<extension point="org.eclipse.ui.navigator.viewer">
<viewerActionBinding
viewerId="processing.plugin.ui.views.sketchView">
<includes>
<actionExtension pattern="org.eclipse.ui.navigator.resources.*" />
</includes>
</viewerActionBinding>
<viewerContentBinding viewerId="processing.plugin.ui.views.sketchView">
<includes>
<contentExtension pattern="org.eclipse.ui.navigator.resourceContent" />
<contentExtension pattern="org.eclipse.ui.navigator.resources.filters.*" />
<contentExtension pattern="org.eclipse.ui.navigator.resources.linkHelper" />
<contentExtension pattern="org.eclipse.ui.navigator.resources.workingSets" />
<contentExtension pattern="processing.plugin.ui.filters.excludeGenerated" />
<contentExtension pattern="processing.plugin.ui.filters.excludeNonSketches" />
</includes>
</viewerContentBinding>
</extension>
<extension point="org.eclipse.ui.navigator.navigatorContent">
<commonFilter
activeByDefault="true"
description="Exclude derived resources generated during the Sketch building process."
id="processing.plugin.ui.filters.excludeGenerated"
name="Generated Folder"
visibleInUI="true">
<filterExpression>
<test property="org.eclipse.core.resources.name" value="generated" />
</filterExpression>
</commonFilter>
<commonFilter
activeByDefault="true"
description="Hides projects that are not Processing Sketches"
id="processing.plugin.ui.filters.excludeNonSketches"
name="Non-Sketch Projects"
visibleInUI="true">
<filterExpression>
<instanceof value="org.eclipse.core.resources.IProject" />
<and>
<not>
<test args="processing.plugin.core.sketchNature" property="org.eclipse.jdt.launching.hasProjectNature" />
</not>
</and>
</filterExpression>
</commonFilter>
<commonWizard
type="new"
wizardId="processing.plugin.ui.wizards.NewSketchWizard">
<enablement></enablement>
</commonWizard>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.debug.ui.category.run"
description="Run a Processing sketch as an applet"
id="processing.plugin.ui.launchApplet"
name="Processing Sketch Launch (Applet)">
<!-- the above command needs a defaultHandler before it is functional -->
</command>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="processing.plugin.ui.launchApplet"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+R">
</key>
</extension>
</plugin>