1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <?eclipse version="3.2"?> |
---|
3 | <plugin> |
---|
4 | <extension |
---|
5 | point="org.eclipse.ui.editors"> |
---|
6 | <editor |
---|
7 | class="org.refal.rfpdt.editor.RfpEditor" |
---|
8 | contributorClass="org.refal.rfpdt.ui.actions.RfpEditorActionContributor" |
---|
9 | default="true" |
---|
10 | extensions="rf,rfi" |
---|
11 | icon="icons/rfpicon16.gif" |
---|
12 | id="org.refal.rfpdt.editor.rfpEditor" |
---|
13 | name="Refal Plus Editor"> |
---|
14 | </editor> |
---|
15 | </extension> |
---|
16 | <extension |
---|
17 | id="rfpDocumentSetupParticipant" |
---|
18 | name="Refal Plus Document Setup Participant" |
---|
19 | point="org.eclipse.core.filebuffers.documentSetup"> |
---|
20 | <participant |
---|
21 | class="org.refal.rfpdt.editor.RfpDocumentSetupParticipant" |
---|
22 | extensions="rf,rfi"/> |
---|
23 | </extension> |
---|
24 | <extension |
---|
25 | point="org.eclipse.ui.contexts"> |
---|
26 | <context |
---|
27 | name="Editing Refal Plus Source" |
---|
28 | description="Editing source in a Refal Plus editor" |
---|
29 | parentId="org.eclipse.ui.textEditorScope" |
---|
30 | id="org.refal.rfpdt.editor.rfpEditorScope"> |
---|
31 | </context> |
---|
32 | </extension> |
---|
33 | <extension |
---|
34 | point="org.eclipse.ui.popupMenus"> |
---|
35 | <viewerContribution |
---|
36 | id="org.refal.rfpdt.editor.editorContextMenu" |
---|
37 | targetID="#TextEditorContext"> |
---|
38 | <action |
---|
39 | class="org.refal.rfpdt.ui.actions.ToggleCommentAction" |
---|
40 | definitionId="org.refal.rfpdt.editor.commands.toggleComment" |
---|
41 | id="org.refal.rfpdt.editor.editorContextMenu.toggleComment" |
---|
42 | label="Toggle Comment" |
---|
43 | menubarPath="group.edit"/> |
---|
44 | <action |
---|
45 | class="org.refal.rfpdt.ui.actions.IndentAction" |
---|
46 | definitionId="org.refal.rfpdt.editor.commands.correctIndent" |
---|
47 | id="org.refal.rfpdt.editor.editorContextMenu.correctIndent" |
---|
48 | label="Correct &Indentation" |
---|
49 | menubarPath="group.edit"/> |
---|
50 | </viewerContribution> |
---|
51 | <viewerContribution |
---|
52 | id="org.refal.rfpdt.editor.rulerContextMenu" |
---|
53 | targetID="#TextRulerContext"> |
---|
54 | <action |
---|
55 | label="Toggle Breakpoint" |
---|
56 | icon="icons/brkp16.gif" |
---|
57 | class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate" |
---|
58 | menubarPath="debug" |
---|
59 | id="org.refal.rfpdt.editor.rulerContextMenu.toggleBreakpointAction"/> |
---|
60 | </viewerContribution> |
---|
61 | </extension> |
---|
62 | <extension |
---|
63 | point="org.eclipse.ui.editorActions"> |
---|
64 | <editorContribution |
---|
65 | id="org.refal.rfpdt.editor.rfpEditorActions" |
---|
66 | targetID="org.refal.rfpdt.editor.rfpEditor"> |
---|
67 | <menu |
---|
68 | id="org.refal.rfpdt.editor.rfpEditorSourceMenu" |
---|
69 | label="&Source" |
---|
70 | path="edit"> |
---|
71 | <groupMarker name="content"/> |
---|
72 | <separator name="additions"/> |
---|
73 | </menu> |
---|
74 | <action |
---|
75 | class="org.refal.rfpdt.ui.actions.ToggleCommentAction" |
---|
76 | definitionId="org.refal.rfpdt.editor.commands.toggleComment" |
---|
77 | id="org.refal.rfpdt.editor.toggleCommentActionInSourceMenu" |
---|
78 | label="Togg&le Comment" |
---|
79 | menubarPath="org.refal.rfpdt.editor.rfpEditorSourceMenu/content"/> |
---|
80 | <action |
---|
81 | class="org.refal.rfpdt.ui.actions.IndentAction" |
---|
82 | definitionId="org.refal.rfpdt.editor.commands.correctIndent" |
---|
83 | id="org.refal.rfpdt.editor.correctIdentActionInSourceMenu" |
---|
84 | label="Correct &Indentation" |
---|
85 | menubarPath="org.refal.rfpdt.editor.rfpEditorSourceMenu/content"/> |
---|
86 | <action |
---|
87 | class="org.refal.rfpdt.ui.actions.FormatAction" |
---|
88 | definitionId="org.refal.rfpdt.editor.commands.format" |
---|
89 | id="org.refal.rfpdt.editor.formatActionInSourceMenu" |
---|
90 | label="&Format" |
---|
91 | menubarPath="org.refal.rfpdt.editor.rfpEditorSourceMenu/content"/> |
---|
92 | <action |
---|
93 | label="Not used" |
---|
94 | class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate" |
---|
95 | style="push" |
---|
96 | actionID="RulerDoubleClick" |
---|
97 | id="org.refal.rfpdt.editor.doubleClickBreakpointAction"/> |
---|
98 | </editorContribution> |
---|
99 | </extension> |
---|
100 | <extension |
---|
101 | point="org.eclipse.ui.commands"> |
---|
102 | <category |
---|
103 | description="Refal Plus editor commands" |
---|
104 | id="org.refal.rfpdt.editor.commands" |
---|
105 | name="Refal Plus"/> |
---|
106 | <command |
---|
107 | categoryId="org.refal.rfpdt.editor.commands" |
---|
108 | description="Comment/Uncomment selected lines" |
---|
109 | id="org.refal.rfpdt.editor.commands.toggleComment" |
---|
110 | name="Toggle Comment"/> |
---|
111 | <command |
---|
112 | categoryId="org.refal.rfpdt.editor.commands" |
---|
113 | description="Correct indentation of selected lines" |
---|
114 | id="org.refal.rfpdt.editor.commands.correctIndent" |
---|
115 | name="Correct Indentation"/> |
---|
116 | <command |
---|
117 | categoryId="org.refal.rfpdt.editor.commands" |
---|
118 | description="Correct indentation of selected lines" |
---|
119 | id="org.refal.rfpdt.editor.commands.format" |
---|
120 | name="Format"/> |
---|
121 | <command |
---|
122 | categoryId="org.refal.rfpdt.editor.commands" |
---|
123 | description="Moves the cursor to the matching bracket" |
---|
124 | id="org.refal.rfpdt.editor.goto.matching.bracket" |
---|
125 | name="Go to Matching Bracket"/> |
---|
126 | </extension> |
---|
127 | <extension |
---|
128 | point="org.eclipse.ui.bindings"> |
---|
129 | <key |
---|
130 | commandId="org.refal.rfpdt.editor.commands.toggleComment" |
---|
131 | contextId="org.refal.rfpdt.editor.rfpEditorScope" |
---|
132 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
---|
133 | sequence="Ctrl+/"/> |
---|
134 | <key |
---|
135 | commandId="org.refal.rfpdt.editor.commands.correctIndent" |
---|
136 | contextId="org.refal.rfpdt.editor.rfpEditorScope" |
---|
137 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
---|
138 | sequence="Ctrl+I"/> |
---|
139 | <key |
---|
140 | commandId="org.refal.rfpdt.editor.commands.format" |
---|
141 | contextId="org.refal.rfpdt.editor.rfpEditorScope" |
---|
142 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
---|
143 | sequence="Ctrl+Shift+F"/> |
---|
144 | <key |
---|
145 | commandId="org.refal.rfpdt.editor.goto.matching.bracket" |
---|
146 | contextId="org.refal.rfpdt.editor.rfpEditorScope" |
---|
147 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
---|
148 | sequence="M1+M2+P"/> |
---|
149 | </extension> |
---|
150 | <extension |
---|
151 | point="org.eclipse.ui.preferencePages"> |
---|
152 | <page |
---|
153 | name="%preferencePageName" |
---|
154 | class="org.refal.rfpdt.editor.preferences.BasePreferencePage" |
---|
155 | id="org.refal.rfpdt.editor.preferences.basePreferencePage"/> |
---|
156 | <page |
---|
157 | name="%codeStylePreferencePageName" |
---|
158 | category="org.refal.rfpdt.editor.preferences.basePreferencePage" |
---|
159 | class="org.refal.rfpdt.editor.preferences.CodeStylePreferencePage" |
---|
160 | id="org.refal.rfpdt.editor.preferences.codeStylePreferencePage"/> |
---|
161 | <page |
---|
162 | name="%syntaxColoringPreferencePageName" |
---|
163 | category="org.refal.rfpdt.editor.preferences.basePreferencePage" |
---|
164 | class="org.refal.rfpdt.editor.preferences.SyntaxColoringPreferencePage" |
---|
165 | id="org.refal.rfpdt.editor.preferences.syntaxColoringPreferencePage"/> |
---|
166 | </extension> |
---|
167 | <extension |
---|
168 | point="org.eclipse.ui.keywords"> |
---|
169 | <keyword |
---|
170 | id="org.refal.rfpdt.editor.preferenceKeywords.general" |
---|
171 | label="org.refal.rfpdt.editor.general"/> |
---|
172 | </extension> |
---|
173 | <extension |
---|
174 | point="org.eclipse.ui.propertyPages"> |
---|
175 | <page |
---|
176 | name="%rfpCodeStylePreferencePageName" |
---|
177 | class="org.refal.rfpdt.editor.preferences.CodeStylePreferencePage" |
---|
178 | id="org.refal.rfpdt.editor.property.codeStylePreferencePage"> |
---|
179 | <enabledWhen> |
---|
180 | <adapt type="org.eclipse.core.resources.IProject"> |
---|
181 | <test |
---|
182 | property="org.eclipse.core.resources.projectNature" |
---|
183 | value="org.refal.rfpdt.core.rfpNature"/> |
---|
184 | </adapt> |
---|
185 | </enabledWhen> |
---|
186 | </page> |
---|
187 | </extension> |
---|
188 | <extension |
---|
189 | point="org.eclipse.core.runtime.adapters"> |
---|
190 | <factory |
---|
191 | adaptableType="org.refal.rfpdt.editor.RfpEditor" |
---|
192 | class="org.refal.rfpdt.ui.actions.RetargettableActionAdapterFactory"> |
---|
193 | <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/> |
---|
194 | </factory> |
---|
195 | </extension> |
---|
196 | <extension |
---|
197 | point="org.eclipse.ui.newWizards"> |
---|
198 | <wizard |
---|
199 | category="org.refal.rfpdt.newWizardCategory" |
---|
200 | class="org.refal.rfpdt.ui.wizards.NewRfpProjectWizard" |
---|
201 | finalPerspective="org.refal.rfpdt.rfpPerspective" |
---|
202 | icon="icons/rfp_prj16.gif" |
---|
203 | id="org.refal.rfpdt.wizards.newRfpProjectWizard" |
---|
204 | name="Refal Plus Project" |
---|
205 | project="true"/> |
---|
206 | <primaryWizard id="org.refal.rfpdt.wizards.newRfpProjectWizard"/> |
---|
207 | <category |
---|
208 | id="org.refal.rfpdt.newWizardCategory" |
---|
209 | name="Refal Plus"/> |
---|
210 | </extension> |
---|
211 | <extension |
---|
212 | point="org.eclipse.ui.ide.projectNatureImages"> |
---|
213 | <image |
---|
214 | icon="icons/rfp_over.gif" |
---|
215 | id="org.refal.rfpdt.core.natureImage" |
---|
216 | natureId="org.refal.rfpdt.core.rfpNature"/> |
---|
217 | </extension> |
---|
218 | <extension |
---|
219 | point="org.eclipse.debug.ui.launchConfigurationTypeImages"> |
---|
220 | <launchConfigurationTypeImage |
---|
221 | configTypeID="org.refal.rfpdt.launching.rfpApplication" |
---|
222 | icon="icons/rfp_app16.gif" |
---|
223 | id="org.refal.rfpdt.launch.launchConfigurationTypeImage"/> |
---|
224 | </extension> |
---|
225 | <extension |
---|
226 | point="org.eclipse.debug.ui.launchConfigurationTabGroups"> |
---|
227 | <launchConfigurationTabGroup |
---|
228 | class="org.refal.rfpdt.ui.launching.RfpTabGroup" |
---|
229 | id="org.refal.rfpdt.launch.launchConfigurationTabGroup" |
---|
230 | type="org.refal.rfpdt.launching.rfpApplication"> |
---|
231 | <launchMode |
---|
232 | mode="debug" |
---|
233 | perspective="org.eclipse.debug.ui.DebugPerspective" |
---|
234 | description="Debug a Refal Plus application"> |
---|
235 | </launchMode> |
---|
236 | <launchMode |
---|
237 | mode="run" |
---|
238 | description="Run a Refal Plus application"> |
---|
239 | </launchMode> |
---|
240 | </launchConfigurationTabGroup> |
---|
241 | </extension> |
---|
242 | <extension |
---|
243 | point="org.eclipse.debug.ui.launchShortcuts"> |
---|
244 | <shortcut |
---|
245 | class="org.refal.rfpdt.ui.launching.RfpLaunchShortcut" |
---|
246 | icon="icons/rfp_app16.gif" |
---|
247 | id="org.refal.rfpdt.launch.shortcut" |
---|
248 | label="Refal Plus Application" |
---|
249 | modes="run, debug"> |
---|
250 | <contextualLaunch> |
---|
251 | <enablement> |
---|
252 | <with variable="selection"> |
---|
253 | <count value="1"/> |
---|
254 | <iterate> |
---|
255 | <or> |
---|
256 | <test |
---|
257 | property="org.eclipse.debug.ui.matchesPattern" |
---|
258 | value="*.rf*"/> |
---|
259 | </or> |
---|
260 | </iterate> |
---|
261 | </with> |
---|
262 | </enablement> |
---|
263 | </contextualLaunch> |
---|
264 | <perspective |
---|
265 | id="org.eclipse.jdt.ui.JavaPerspective"> |
---|
266 | </perspective> |
---|
267 | </shortcut> |
---|
268 | </extension> |
---|
269 | <extension |
---|
270 | point="org.eclipse.ui.commands"> |
---|
271 | <command |
---|
272 | categoryId="org.eclipse.debug.ui.category.run" |
---|
273 | description="Run Refal Plus Application" |
---|
274 | id="org.refal.rfpdt.launch.shortcut.run" |
---|
275 | name="Run Refal Plus Application"/> |
---|
276 | </extension> |
---|
277 | <extension |
---|
278 | point="org.eclipse.ui.bindings"> |
---|
279 | <key |
---|
280 | commandId="org.refal.rfpdt.launch.shortcut.run" |
---|
281 | contextId="org.eclipse.ui.globalScope" |
---|
282 | schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
---|
283 | sequence="M3+M2+X R"/> |
---|
284 | </extension> |
---|
285 | <extension |
---|
286 | point="org.eclipse.jdt.ui.classpathContainerPage"> |
---|
287 | <classpathContainerPage |
---|
288 | class="org.refal.rfpdt.ui.launching.RfpContainerWizardPage" |
---|
289 | id="org.refal.rfpdt.ui.rfpContainerPage" |
---|
290 | name="Refal Plus Library"> |
---|
291 | </classpathContainerPage> |
---|
292 | </extension> |
---|
293 | </plugin> |
---|