1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <?eclipse version="3.0"?>
|
---|
3 |
|
---|
4 | <plugin>
|
---|
5 |
|
---|
6 | <extension
|
---|
7 | point="org.eclipse.ui.editors">
|
---|
8 | <editor
|
---|
9 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
|
---|
10 | contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
|
---|
11 | default="true"
|
---|
12 | extensions="bnf"
|
---|
13 | id="de.ugoe.cs.swe.bnftools.Ebnf"
|
---|
14 | name="Ebnf Editor">
|
---|
15 | </editor>
|
---|
16 | </extension>
|
---|
17 | <extension
|
---|
18 | point="org.eclipse.ui.handlers">
|
---|
19 | <handler
|
---|
20 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
|
---|
21 | commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
|
---|
22 | <activeWhen>
|
---|
23 | <reference
|
---|
24 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
25 | </reference>
|
---|
26 | </activeWhen>
|
---|
27 | </handler>
|
---|
28 | <handler
|
---|
29 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
|
---|
30 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.validate">
|
---|
31 | <activeWhen>
|
---|
32 | <reference
|
---|
33 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
34 | </reference>
|
---|
35 | </activeWhen>
|
---|
36 | </handler>
|
---|
37 | <handler
|
---|
38 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.refactoring.rename.RenameRefactoringHandler"
|
---|
39 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.rename">
|
---|
40 | <activeWhen>
|
---|
41 | <reference
|
---|
42 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
43 | </reference>
|
---|
44 | </activeWhen>
|
---|
45 | </handler>
|
---|
46 | <handler
|
---|
47 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.modelingtools.SaveXMIHandler"
|
---|
48 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.modelingtools.savexmi">
|
---|
49 | <activeWhen>
|
---|
50 | <reference
|
---|
51 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
52 | </reference>
|
---|
53 | </activeWhen>
|
---|
54 | </handler>
|
---|
55 | <handler
|
---|
56 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.modelingtools.SaveNodeModelXMIHandler"
|
---|
57 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.modelingtools.savenodemodelxmi">
|
---|
58 | <activeWhen>
|
---|
59 | <reference
|
---|
60 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
61 | </reference>
|
---|
62 | </activeWhen>
|
---|
63 | </handler>
|
---|
64 | <handler
|
---|
65 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.refactoring.autorenumber.AutoRenumberRefactoringHandler"
|
---|
66 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.autorenumber">
|
---|
67 | <activeWhen>
|
---|
68 | <reference
|
---|
69 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
70 | </reference>
|
---|
71 | </activeWhen>
|
---|
72 | </handler>
|
---|
73 | <handler
|
---|
74 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.refactoring.replacepassthroughrules.ReplaceAllPassthroughRulesRefactoringHandler"
|
---|
75 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.replacepassthroughrules">
|
---|
76 | <activeWhen>
|
---|
77 | <reference
|
---|
78 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
79 | </reference>
|
---|
80 | </activeWhen>
|
---|
81 | </handler>
|
---|
82 | <handler
|
---|
83 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.refactoring.removeunusedrules.RemoveUnusedRulesRefactoringHandler"
|
---|
84 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.removeunusedrules">
|
---|
85 | <activeWhen>
|
---|
86 | <reference
|
---|
87 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
88 | </reference>
|
---|
89 | </activeWhen>
|
---|
90 | </handler>
|
---|
91 | <handler
|
---|
92 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.refactoring.uppercasetokenrules.UppercaseTokenRulesRefactoringHandler"
|
---|
93 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.uppercasetokenrules">
|
---|
94 | <activeWhen>
|
---|
95 | <reference
|
---|
96 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
97 | </reference>
|
---|
98 | </activeWhen>
|
---|
99 | </handler>
|
---|
100 | <handler
|
---|
101 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.refactoring.inlinetokenrules.InlineTokenRulesRefactoringHandler"
|
---|
102 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.inlinetokenrules">
|
---|
103 | <activeWhen>
|
---|
104 | <reference
|
---|
105 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
106 | </reference>
|
---|
107 | </activeWhen>
|
---|
108 | </handler>
|
---|
109 | <handler
|
---|
110 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.refactoring.inlinesinglereferencedrules.InlineSingleReferencedRulesRefactoringHandler"
|
---|
111 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.inlinesinglereferencedrules">
|
---|
112 | <activeWhen>
|
---|
113 | <reference
|
---|
114 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
115 | </reference>
|
---|
116 | </activeWhen>
|
---|
117 | </handler>
|
---|
118 | <handler
|
---|
119 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.formatter.FormatterHandler"
|
---|
120 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.formatter">
|
---|
121 | <activeWhen>
|
---|
122 | <reference
|
---|
123 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
124 | </reference>
|
---|
125 | </activeWhen>
|
---|
126 | </handler>
|
---|
127 | </extension>
|
---|
128 | <extension point="org.eclipse.core.expressions.definitions">
|
---|
129 | <definition id="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
130 | <and>
|
---|
131 | <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
|
---|
132 | <with variable="activeEditor">
|
---|
133 | <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
|
---|
134 | value="de.ugoe.cs.swe.bnftools.Ebnf"
|
---|
135 | forcePluginActivation="true"/>
|
---|
136 | </with>
|
---|
137 | </and>
|
---|
138 | </definition>
|
---|
139 | </extension>
|
---|
140 | <extension
|
---|
141 | point="org.eclipse.ui.preferencePages">
|
---|
142 | <page
|
---|
143 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
|
---|
144 | id="de.ugoe.cs.swe.bnftools.Ebnf"
|
---|
145 | name="Ebnf">
|
---|
146 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/>
|
---|
147 | </page>
|
---|
148 | <page
|
---|
149 | category="de.ugoe.cs.swe.bnftools.Ebnf"
|
---|
150 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
|
---|
151 | id="de.ugoe.cs.swe.bnftools.Ebnf.coloring"
|
---|
152 | name="Syntax Coloring">
|
---|
153 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/>
|
---|
154 | </page>
|
---|
155 | <page
|
---|
156 | category="de.ugoe.cs.swe.bnftools.Ebnf"
|
---|
157 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
|
---|
158 | id="de.ugoe.cs.swe.bnftools.Ebnf.templates"
|
---|
159 | name="Templates">
|
---|
160 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/>
|
---|
161 | </page>
|
---|
162 | <page
|
---|
163 | category="de.ugoe.cs.swe.bnftools.Ebnf"
|
---|
164 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.preferences.ValidationPreferencePage"
|
---|
165 | id="de.ugoe.cs.swe.bnftools.Ebnf.validation"
|
---|
166 | name="Validation Settings">
|
---|
167 | </page>
|
---|
168 | </extension>
|
---|
169 | <extension
|
---|
170 | point="org.eclipse.ui.keywords">
|
---|
171 | <keyword
|
---|
172 | id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"
|
---|
173 | label="Ebnf"/>
|
---|
174 | </extension>
|
---|
175 | <extension
|
---|
176 | point="org.eclipse.ui.commands">
|
---|
177 | <command
|
---|
178 | description="Trigger expensive validation"
|
---|
179 | id="de.ugoe.cs.swe.bnftools.Ebnf.validate"
|
---|
180 | name="Validate">
|
---|
181 | </command>
|
---|
182 | <command
|
---|
183 | description="Trigger custom bnftools formatter"
|
---|
184 | id="de.ugoe.cs.swe.bnftools.Ebnf.formatter"
|
---|
185 | name="Custom Formatter">
|
---|
186 | </command>
|
---|
187 | <command
|
---|
188 | description="Rename Refactoring"
|
---|
189 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.rename"
|
---|
190 | name="Rename">
|
---|
191 | </command>
|
---|
192 | <command
|
---|
193 | description="Save XMI"
|
---|
194 | id="de.ugoe.cs.swe.bnftools.Ebnf.modelingtools.savexmi"
|
---|
195 | name="Save Ecore XMI">
|
---|
196 | </command>
|
---|
197 | <command
|
---|
198 | description="Save Xtext Node Model XMI"
|
---|
199 | id="de.ugoe.cs.swe.bnftools.Ebnf.modelingtools.savenodemodelxmi"
|
---|
200 | name="Save Xtext Node Model XMI">
|
---|
201 | </command>
|
---|
202 | <command
|
---|
203 | description="Auto Renumber Refactoring"
|
---|
204 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.autorenumber"
|
---|
205 | name="Auto Renumber">
|
---|
206 | </command>
|
---|
207 | <command
|
---|
208 | description="Replace All Passthrough Rules Refactoring"
|
---|
209 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.replacepassthroughrules"
|
---|
210 | name="Replace All Passthrough Rules">
|
---|
211 | </command>
|
---|
212 | <command
|
---|
213 | description="Remove Unused Rules Refactoring"
|
---|
214 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.removeunusedrules"
|
---|
215 | name="Remove Unused Rules">
|
---|
216 | </command>
|
---|
217 | <command
|
---|
218 | description="Uppercase Token Rules Refactoring"
|
---|
219 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.uppercasetokenrules"
|
---|
220 | name="Uppercase Token Rules">
|
---|
221 | </command>
|
---|
222 | <command
|
---|
223 | description="Inline Token Rules Refactoring"
|
---|
224 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.inlinetokenrules"
|
---|
225 | name="Inline Token Rules">
|
---|
226 | </command>
|
---|
227 | <command
|
---|
228 | description="Inline All Single References Rules Refactoring"
|
---|
229 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.inlinesinglereferencedrules"
|
---|
230 | name="Inline All Single References Rules">
|
---|
231 | </command>
|
---|
232 | </extension>
|
---|
233 | <extension point="org.eclipse.ui.menus">
|
---|
234 | <menuContribution
|
---|
235 | locationURI="popup:#TextEditorContext?after=group.edit">
|
---|
236 | <command
|
---|
237 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.validate"
|
---|
238 | style="push"
|
---|
239 | tooltip="Trigger expensive validation">
|
---|
240 | <visibleWhen checkEnabled="false">
|
---|
241 | <reference
|
---|
242 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
243 | </reference>
|
---|
244 | </visibleWhen>
|
---|
245 | </command>
|
---|
246 | <command
|
---|
247 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.formatter"
|
---|
248 | style="push"
|
---|
249 | tooltip="Trigger custom bnftools formatting">
|
---|
250 | <visibleWhen checkEnabled="false">
|
---|
251 | <reference
|
---|
252 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
253 | </reference>
|
---|
254 | </visibleWhen>
|
---|
255 | </command>
|
---|
256 | <menu
|
---|
257 | id="org.etsi.bnftools.refactoring.menu"
|
---|
258 | label="Refactoring">
|
---|
259 | <command
|
---|
260 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.rename"
|
---|
261 | style="push"
|
---|
262 | tooltip="Trigger Rename Refactoring">
|
---|
263 | <visibleWhen
|
---|
264 | checkEnabled="false">
|
---|
265 | <reference
|
---|
266 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
267 | </reference>
|
---|
268 | </visibleWhen>
|
---|
269 | </command>
|
---|
270 | <command
|
---|
271 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.autorenumber"
|
---|
272 | style="push"
|
---|
273 | tooltip="Triger Auto Renumber Refactoring">
|
---|
274 | <visibleWhen
|
---|
275 | checkEnabled="false">
|
---|
276 | <reference
|
---|
277 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
278 | </reference>
|
---|
279 | </visibleWhen>
|
---|
280 | </command>
|
---|
281 | <command
|
---|
282 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.replacepassthroughrules"
|
---|
283 | style="push"
|
---|
284 | tooltip="Trigger Replace All Passthrough Rules Refactoring">
|
---|
285 | <visibleWhen
|
---|
286 | checkEnabled="false">
|
---|
287 | <reference
|
---|
288 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
289 | </reference>
|
---|
290 | </visibleWhen>
|
---|
291 | </command>
|
---|
292 | <command
|
---|
293 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.removeunusedrules"
|
---|
294 | style="push"
|
---|
295 | tooltip="Trigger Remove Unused Rules Refactoring">
|
---|
296 | <visibleWhen
|
---|
297 | checkEnabled="false">
|
---|
298 | <reference
|
---|
299 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
300 | </reference>
|
---|
301 | </visibleWhen>
|
---|
302 | </command>
|
---|
303 | <command
|
---|
304 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.uppercasetokenrules"
|
---|
305 | style="push"
|
---|
306 | tooltip="Trigger Uppercase All Token Rules Refactoring">
|
---|
307 | <visibleWhen
|
---|
308 | checkEnabled="false">
|
---|
309 | <reference
|
---|
310 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
311 | </reference>
|
---|
312 | </visibleWhen>
|
---|
313 | </command>
|
---|
314 | <command
|
---|
315 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.inlinetokenrules"
|
---|
316 | style="push"
|
---|
317 | tooltip="Trigger Inline All Token Rules Refactoring">
|
---|
318 | <visibleWhen
|
---|
319 | checkEnabled="false">
|
---|
320 | <reference
|
---|
321 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
322 | </reference>
|
---|
323 | </visibleWhen>
|
---|
324 | </command>
|
---|
325 | <command
|
---|
326 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.refactoring.inlinesinglereferencedrules"
|
---|
327 | style="push"
|
---|
328 | tooltip="Trigger Inline All Single References Rules Refactoring">
|
---|
329 | <visibleWhen
|
---|
330 | checkEnabled="false">
|
---|
331 | <reference
|
---|
332 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
333 | </reference>
|
---|
334 | </visibleWhen>
|
---|
335 | </command>
|
---|
336 | </menu>
|
---|
337 | <menu
|
---|
338 | id="org.etsi.bnftools.modelingtools.menu"
|
---|
339 | label="Modeling Tools">
|
---|
340 | <command
|
---|
341 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.modelingtools.savexmi"
|
---|
342 | style="push"
|
---|
343 | tooltip="Trigger Save XMI">
|
---|
344 | </command>
|
---|
345 | <command
|
---|
346 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.modelingtools.savenodemodelxmi"
|
---|
347 | style="push"
|
---|
348 | tooltip="Trigger Save Nodel Model XMI">
|
---|
349 | </command>
|
---|
350 | </menu>
|
---|
351 | </menuContribution>
|
---|
352 | </extension>
|
---|
353 | <extension point="org.eclipse.ui.menus">
|
---|
354 | <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
|
---|
355 | <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
|
---|
356 | <visibleWhen checkEnabled="false">
|
---|
357 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
358 | </reference>
|
---|
359 | </visibleWhen>
|
---|
360 | </command>
|
---|
361 | </menuContribution>
|
---|
362 | </extension>
|
---|
363 | <extension point="org.eclipse.ui.handlers">
|
---|
364 | <handler
|
---|
365 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
|
---|
366 | commandId="org.eclipse.xtext.ui.editor.FindReferences">
|
---|
367 | <activeWhen>
|
---|
368 | <reference
|
---|
369 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
370 | </reference>
|
---|
371 | </activeWhen>
|
---|
372 | </handler>
|
---|
373 | </extension>
|
---|
374 |
|
---|
375 | <!-- adding resource factories -->
|
---|
376 |
|
---|
377 | <extension
|
---|
378 | point="org.eclipse.emf.ecore.extension_parser">
|
---|
379 | <parser
|
---|
380 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
|
---|
381 | type="bnf">
|
---|
382 | </parser>
|
---|
383 | </extension>
|
---|
384 | <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
|
---|
385 | <resourceServiceProvider
|
---|
386 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
|
---|
387 | uriExtension="bnf">
|
---|
388 | </resourceServiceProvider>
|
---|
389 | </extension>
|
---|
390 |
|
---|
391 |
|
---|
392 |
|
---|
393 |
|
---|
394 | <!-- Quick Outline -->
|
---|
395 | <extension
|
---|
396 | point="org.eclipse.ui.handlers">
|
---|
397 | <handler
|
---|
398 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
|
---|
399 | commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
|
---|
400 | <activeWhen>
|
---|
401 | <reference
|
---|
402 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened">
|
---|
403 | </reference>
|
---|
404 | </activeWhen>
|
---|
405 | </handler>
|
---|
406 | </extension>
|
---|
407 | <extension
|
---|
408 | point="org.eclipse.ui.commands">
|
---|
409 | <command
|
---|
410 | description="Open the quick outline."
|
---|
411 | id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
|
---|
412 | name="Quick Outline">
|
---|
413 | </command>
|
---|
414 | </extension>
|
---|
415 | <extension point="org.eclipse.ui.menus">
|
---|
416 | <menuContribution
|
---|
417 | locationURI="popup:#TextEditorContext?after=group.open">
|
---|
418 | <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
|
---|
419 | style="push"
|
---|
420 | tooltip="Open Quick Outline">
|
---|
421 | <visibleWhen checkEnabled="false">
|
---|
422 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"/>
|
---|
423 | </visibleWhen>
|
---|
424 | </command>
|
---|
425 | </menuContribution>
|
---|
426 | </extension>
|
---|
427 | <!-- quickfix marker resolution generator -->
|
---|
428 | <extension
|
---|
429 | point="org.eclipse.ui.ide.markerResolution">
|
---|
430 | <markerResolutionGenerator
|
---|
431 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator">
|
---|
432 | </markerResolutionGenerator>
|
---|
433 | </extension>
|
---|
434 | <extension
|
---|
435 | point="org.eclipse.ui.views">
|
---|
436 | <view
|
---|
437 | allowMultiple="false"
|
---|
438 | category="de.ugoe.cs.swe.bnftools.ebnf.ui.category"
|
---|
439 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.views.syntaxdiagram.SyntaxDiagramView"
|
---|
440 | id="org.etsi.bnftools.views.syntaxdiagram.SyntaxDiagramView"
|
---|
441 | name="Syntax Diagram">
|
---|
442 | </view>
|
---|
443 | <category
|
---|
444 | id="de.ugoe.cs.swe.bnftools.ebnf.ui.category"
|
---|
445 | name="Ebnf">
|
---|
446 | </category>
|
---|
447 | </extension>
|
---|
448 |
|
---|
449 | <!--
|
---|
450 | <extension
|
---|
451 | point="org.eclipse.ui.popupMenus">
|
---|
452 | <objectContribution
|
---|
453 | adaptable="false"
|
---|
454 | id="de.ugoe.cs.swe.bnftools.Ebnf.PackageConsistencyCheckerContribution"
|
---|
455 | objectClass="org.eclipse.core.resources.IFile">
|
---|
456 | <action
|
---|
457 | class="de.ugoe.cs.swe.bnftools.ui.actions.PackageConsistencyCheckerAction"
|
---|
458 | id="de.ugoe.cs.swe.bnftools.ebnf.ui.PackageConsistencyCheckerAction"
|
---|
459 | label="[bnftools] Validate delta against updated core grammar">
|
---|
460 | </action>
|
---|
461 | </objectContribution>
|
---|
462 | </extension>
|
---|
463 | -->
|
---|
464 | <extension
|
---|
465 | point="org.eclipse.ui.popupMenus">
|
---|
466 | <objectContribution
|
---|
467 | adaptable="false"
|
---|
468 | id="de.ugoe.cs.swe.bnftools.Ebnf.GenerateCompositeBNFGrammarContribution"
|
---|
469 | objectClass="org.eclipse.core.resources.IFile">
|
---|
470 | <action
|
---|
471 | class="de.ugoe.cs.swe.bnftools.ui.actions.GenerateCompositeBNFAction"
|
---|
472 | id="de.ugoe.cs.swe.bnftools.ebnf.ui.GenerateCompositeBNFAction"
|
---|
473 | label="[bnftools] Generate composite grammar (from merge grammar)">
|
---|
474 | </action>
|
---|
475 | </objectContribution>
|
---|
476 | </extension>
|
---|
477 |
|
---|
478 |
|
---|
479 | <extension
|
---|
480 | point="org.eclipse.ui.popupMenus">
|
---|
481 | <objectContribution
|
---|
482 | adaptable="false"
|
---|
483 | id="de.ugoe.cs.swe.bnftools.Ebnf.GenerateDefaultMergeDSLMenuContribution"
|
---|
484 | objectClass="org.eclipse.core.resources.IFile">
|
---|
485 | <action
|
---|
486 | class="de.ugoe.cs.swe.bnftools.ui.actions.GenerateDefaultMergeDSLAction"
|
---|
487 | id="de.ugoe.cs.swe.bnftools.ebnf.ui.GenerateDefaultMergeDSLAction"
|
---|
488 | label="[bnftools] Generate merge grammar (from core grammar)">
|
---|
489 | </action>
|
---|
490 | </objectContribution>
|
---|
491 | </extension>
|
---|
492 |
|
---|
493 |
|
---|
494 | <extension
|
---|
495 | point="org.eclipse.ui.popupMenus">
|
---|
496 | <objectContribution
|
---|
497 | adaptable="false"
|
---|
498 | id="de.ugoe.cs.swe.bnftools.Ebnf.GenerateDeltaBnfMenuContribution"
|
---|
499 | objectClass="org.eclipse.core.resources.IFile">
|
---|
500 | <action
|
---|
501 | class="de.ugoe.cs.swe.bnftools.ui.actions.GenerateDeltaBnfAction"
|
---|
502 | id="de.ugoe.cs.swe.bnftools.ebnf.ui.GenerateDeltaBnfAction"
|
---|
503 | label="[bnftools] Generate delta grammar (from extension/package grammar)">
|
---|
504 | </action>
|
---|
505 | </objectContribution>
|
---|
506 | </extension>
|
---|
507 |
|
---|
508 |
|
---|
509 | </plugin>
|
---|