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 | <!-- copy qualified name --> |
---|
38 | <handler |
---|
39 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler" |
---|
40 | commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"> |
---|
41 | <activeWhen> |
---|
42 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened" /> |
---|
43 | </activeWhen> |
---|
44 | </handler> |
---|
45 | <handler |
---|
46 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler" |
---|
47 | commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"> |
---|
48 | <activeWhen> |
---|
49 | <and> |
---|
50 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.XtextEditor.opened" /> |
---|
51 | <iterate> |
---|
52 | <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> |
---|
53 | </iterate> |
---|
54 | </and> |
---|
55 | </activeWhen> |
---|
56 | </handler> |
---|
57 | </extension> |
---|
58 | <extension point="org.eclipse.core.expressions.definitions"> |
---|
59 | <definition id="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
60 | <and> |
---|
61 | <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> |
---|
62 | <with variable="activeEditor"> |
---|
63 | <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" |
---|
64 | value="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
65 | forcePluginActivation="true"/> |
---|
66 | </with> |
---|
67 | </and> |
---|
68 | </definition> |
---|
69 | <definition id="de.ugoe.cs.swe.bnftools.Ebnf.XtextEditor.opened"> |
---|
70 | <and> |
---|
71 | <reference definitionId="isXtextEditorActive"/> |
---|
72 | <with variable="activeEditor"> |
---|
73 | <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" |
---|
74 | value="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
75 | forcePluginActivation="true"/> |
---|
76 | </with> |
---|
77 | </and> |
---|
78 | </definition> |
---|
79 | </extension> |
---|
80 | <extension |
---|
81 | point="org.eclipse.ui.preferencePages"> |
---|
82 | <page |
---|
83 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" |
---|
84 | id="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
85 | name="Ebnf"> |
---|
86 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
87 | </page> |
---|
88 | <page |
---|
89 | category="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
90 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" |
---|
91 | id="de.ugoe.cs.swe.bnftools.Ebnf.coloring" |
---|
92 | name="Syntax Coloring"> |
---|
93 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
94 | </page> |
---|
95 | <page |
---|
96 | category="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
97 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" |
---|
98 | id="de.ugoe.cs.swe.bnftools.Ebnf.templates" |
---|
99 | name="Templates"> |
---|
100 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
101 | </page> |
---|
102 | </extension> |
---|
103 | <extension |
---|
104 | point="org.eclipse.ui.propertyPages"> |
---|
105 | <page |
---|
106 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" |
---|
107 | id="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
108 | name="Ebnf"> |
---|
109 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
110 | <enabledWhen> |
---|
111 | <adapt type="org.eclipse.core.resources.IProject"/> |
---|
112 | </enabledWhen> |
---|
113 | <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> |
---|
114 | </page> |
---|
115 | </extension> |
---|
116 | <extension |
---|
117 | point="org.eclipse.ui.keywords"> |
---|
118 | <keyword |
---|
119 | id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf" |
---|
120 | label="Ebnf"/> |
---|
121 | </extension> |
---|
122 | <extension |
---|
123 | point="org.eclipse.ui.commands"> |
---|
124 | <command |
---|
125 | description="Trigger expensive validation" |
---|
126 | id="de.ugoe.cs.swe.bnftools.Ebnf.validate" |
---|
127 | name="Validate"> |
---|
128 | </command> |
---|
129 | <!-- copy qualified name --> |
---|
130 | <command |
---|
131 | id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" |
---|
132 | categoryId="org.eclipse.ui.category.edit" |
---|
133 | description="Copy the qualified name for the selected element" |
---|
134 | name="Copy Qualified Name"> |
---|
135 | </command> |
---|
136 | <command |
---|
137 | id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" |
---|
138 | categoryId="org.eclipse.ui.category.edit" |
---|
139 | description="Copy the qualified name for the selected element" |
---|
140 | name="Copy Qualified Name"> |
---|
141 | </command> |
---|
142 | </extension> |
---|
143 | <extension point="org.eclipse.ui.menus"> |
---|
144 | <menuContribution |
---|
145 | locationURI="popup:#TextEditorContext?after=group.edit"> |
---|
146 | <command |
---|
147 | commandId="de.ugoe.cs.swe.bnftools.Ebnf.validate" |
---|
148 | style="push" |
---|
149 | tooltip="Trigger expensive validation"> |
---|
150 | <visibleWhen checkEnabled="false"> |
---|
151 | <reference |
---|
152 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
153 | </reference> |
---|
154 | </visibleWhen> |
---|
155 | </command> |
---|
156 | </menuContribution> |
---|
157 | <!-- copy qualified name --> |
---|
158 | <menuContribution locationURI="popup:#TextEditorContext?after=copy"> |
---|
159 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" |
---|
160 | style="push" tooltip="Copy Qualified Name"> |
---|
161 | <visibleWhen checkEnabled="false"> |
---|
162 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened" /> |
---|
163 | </visibleWhen> |
---|
164 | </command> |
---|
165 | </menuContribution> |
---|
166 | <menuContribution locationURI="menu:edit?after=copy"> |
---|
167 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName" |
---|
168 | style="push" tooltip="Copy Qualified Name"> |
---|
169 | <visibleWhen checkEnabled="false"> |
---|
170 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened" /> |
---|
171 | </visibleWhen> |
---|
172 | </command> |
---|
173 | </menuContribution> |
---|
174 | <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions"> |
---|
175 | <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName" |
---|
176 | style="push" tooltip="Copy Qualified Name"> |
---|
177 | <visibleWhen checkEnabled="false"> |
---|
178 | <and> |
---|
179 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.XtextEditor.opened" /> |
---|
180 | <iterate> |
---|
181 | <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" /> |
---|
182 | </iterate> |
---|
183 | </and> |
---|
184 | </visibleWhen> |
---|
185 | </command> |
---|
186 | </menuContribution> |
---|
187 | </extension> |
---|
188 | <extension point="org.eclipse.ui.menus"> |
---|
189 | <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> |
---|
190 | <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> |
---|
191 | <visibleWhen checkEnabled="false"> |
---|
192 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
193 | </reference> |
---|
194 | </visibleWhen> |
---|
195 | </command> |
---|
196 | </menuContribution> |
---|
197 | </extension> |
---|
198 | <extension point="org.eclipse.ui.handlers"> |
---|
199 | <handler |
---|
200 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" |
---|
201 | commandId="org.eclipse.xtext.ui.editor.FindReferences"> |
---|
202 | <activeWhen> |
---|
203 | <reference |
---|
204 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
205 | </reference> |
---|
206 | </activeWhen> |
---|
207 | </handler> |
---|
208 | </extension> |
---|
209 | |
---|
210 | <!-- adding resource factories --> |
---|
211 | |
---|
212 | <extension |
---|
213 | point="org.eclipse.emf.ecore.extension_parser"> |
---|
214 | <parser |
---|
215 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" |
---|
216 | type="bnf"> |
---|
217 | </parser> |
---|
218 | </extension> |
---|
219 | <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> |
---|
220 | <resourceServiceProvider |
---|
221 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" |
---|
222 | uriExtension="bnf"> |
---|
223 | </resourceServiceProvider> |
---|
224 | </extension> |
---|
225 | |
---|
226 |
|
---|
227 | <!-- marker definitions for de.ugoe.cs.swe.bnftools.Ebnf -->
|
---|
228 | <extension
|
---|
229 | id="ebnf.check.fast"
|
---|
230 | name="Ebnf Problem"
|
---|
231 | point="org.eclipse.core.resources.markers">
|
---|
232 | <super type="org.eclipse.xtext.ui.check.fast"/>
|
---|
233 | <persistent value="true"/>
|
---|
234 | </extension>
|
---|
235 | <extension
|
---|
236 | id="ebnf.check.normal"
|
---|
237 | name="Ebnf Problem"
|
---|
238 | point="org.eclipse.core.resources.markers">
|
---|
239 | <super type="org.eclipse.xtext.ui.check.normal"/>
|
---|
240 | <persistent value="true"/>
|
---|
241 | </extension>
|
---|
242 | <extension
|
---|
243 | id="ebnf.check.expensive"
|
---|
244 | name="Ebnf Problem"
|
---|
245 | point="org.eclipse.core.resources.markers">
|
---|
246 | <super type="org.eclipse.xtext.ui.check.expensive"/>
|
---|
247 | <persistent value="true"/>
|
---|
248 | </extension>
|
---|
249 | |
---|
250 | <!-- --> |
---|
251 | |
---|
252 | <extension |
---|
253 | point="org.eclipse.xtext.builder.participant"> |
---|
254 | <participant |
---|
255 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"> |
---|
256 | </participant> |
---|
257 | </extension> |
---|
258 | |
---|
259 | |
---|
260 | <!--this is for using a button for generation |
---|
261 | <extension |
---|
262 | point="org.eclipse.ui.handlers"> |
---|
263 | <handler |
---|
264 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.handler.GenerationHandler" |
---|
265 | commandId="de.ugoe.cs.swe.bnftools.ui.handler.GenerationCommand"> |
---|
266 | </handler> |
---|
267 | |
---|
268 | </extension> |
---|
269 | |
---|
270 | <extension |
---|
271 | point="org.eclipse.ui.commands"> |
---|
272 | <command name="Generate Code" |
---|
273 | id="de.ugoe.cs.swe.bnftools.ui.handler.GenerationCommand"> |
---|
274 | </command> |
---|
275 | </extension> |
---|
276 | |
---|
277 | <extension point="org.eclipse.ui.menus"> |
---|
278 | <menuContribution locationURI="popup:org.eclipse.jdt.ui.PackageExplorer"> |
---|
279 | <command |
---|
280 | commandId="de.ugoe.cs.swe.bnftools.ui.handler.GenerationCommand" |
---|
281 | style="push"> |
---|
282 | <visibleWhen |
---|
283 | checkEnabled="false"> |
---|
284 | <iterate> |
---|
285 | <adapt type="org.eclipse.core.resources.IResource"> |
---|
286 | <test property="org.eclipse.core.resources.name" |
---|
287 | value="*.bnf"/> |
---|
288 | </adapt> |
---|
289 | </iterate> |
---|
290 | </visibleWhen> |
---|
291 | </command> |
---|
292 | </menuContribution> |
---|
293 | </extension> |
---|
294 | --> |
---|
295 | |
---|
296 | |
---|
297 | <extension |
---|
298 | point="org.eclipse.ui.preferencePages"> |
---|
299 | <page |
---|
300 | category="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
301 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" |
---|
302 | id="de.ugoe.cs.swe.bnftools.Ebnf.compiler.preferencePage" |
---|
303 | name="Compiler"> |
---|
304 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
305 | </page> |
---|
306 | </extension> |
---|
307 | <extension |
---|
308 | point="org.eclipse.ui.propertyPages"> |
---|
309 | <page |
---|
310 | category="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
311 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" |
---|
312 | id="de.ugoe.cs.swe.bnftools.Ebnf.compiler.propertyPage" |
---|
313 | name="Compiler"> |
---|
314 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
315 | <enabledWhen> |
---|
316 | <adapt type="org.eclipse.core.resources.IProject"/> |
---|
317 | </enabledWhen> |
---|
318 | <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> |
---|
319 | </page> |
---|
320 | </extension> |
---|
321 | |
---|
322 | <!-- Quick Outline --> |
---|
323 | <extension |
---|
324 | point="org.eclipse.ui.handlers"> |
---|
325 | <handler |
---|
326 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" |
---|
327 | commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> |
---|
328 | <activeWhen> |
---|
329 | <reference |
---|
330 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
331 | </reference> |
---|
332 | </activeWhen> |
---|
333 | </handler> |
---|
334 | </extension> |
---|
335 | <extension |
---|
336 | point="org.eclipse.ui.commands"> |
---|
337 | <command |
---|
338 | description="Open the quick outline." |
---|
339 | id="org.eclipse.xtext.ui.editor.outline.QuickOutline" |
---|
340 | name="Quick Outline"> |
---|
341 | </command> |
---|
342 | </extension> |
---|
343 | <extension point="org.eclipse.ui.menus"> |
---|
344 | <menuContribution |
---|
345 | locationURI="popup:#TextEditorContext?after=group.open"> |
---|
346 | <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" |
---|
347 | style="push" |
---|
348 | tooltip="Open Quick Outline"> |
---|
349 | <visibleWhen checkEnabled="false"> |
---|
350 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"/> |
---|
351 | </visibleWhen> |
---|
352 | </command> |
---|
353 | </menuContribution> |
---|
354 | </extension> |
---|
355 | <!-- quickfix marker resolution generator for de.ugoe.cs.swe.bnftools.Ebnf --> |
---|
356 | <extension |
---|
357 | point="org.eclipse.ui.ide.markerResolution"> |
---|
358 | <markerResolutionGenerator |
---|
359 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
---|
360 | markerType="de.ugoe.cs.swe.bnftools.ui.ebnf.check.fast"> |
---|
361 | <attribute |
---|
362 | name="FIXABLE_KEY" |
---|
363 | value="true"> |
---|
364 | </attribute> |
---|
365 | </markerResolutionGenerator> |
---|
366 | <markerResolutionGenerator |
---|
367 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
---|
368 | markerType="de.ugoe.cs.swe.bnftools.ui.ebnf.check.normal"> |
---|
369 | <attribute |
---|
370 | name="FIXABLE_KEY" |
---|
371 | value="true"> |
---|
372 | </attribute> |
---|
373 | </markerResolutionGenerator> |
---|
374 | <markerResolutionGenerator |
---|
375 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
---|
376 | markerType="de.ugoe.cs.swe.bnftools.ui.ebnf.check.expensive"> |
---|
377 | <attribute |
---|
378 | name="FIXABLE_KEY" |
---|
379 | value="true"> |
---|
380 | </attribute> |
---|
381 | </markerResolutionGenerator> |
---|
382 | </extension> |
---|
383 | <!-- Rename Refactoring --> |
---|
384 | <extension point="org.eclipse.ui.handlers"> |
---|
385 | <handler |
---|
386 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler" |
---|
387 | commandId="org.eclipse.xtext.ui.refactoring.RenameElement"> |
---|
388 | <activeWhen> |
---|
389 | <reference |
---|
390 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
391 | </reference> |
---|
392 | </activeWhen> |
---|
393 | </handler> |
---|
394 | </extension> |
---|
395 | <extension point="org.eclipse.ui.menus"> |
---|
396 | <menuContribution |
---|
397 | locationURI="popup:#TextEditorContext?after=group.edit"> |
---|
398 | <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement" |
---|
399 | style="push"> |
---|
400 | <visibleWhen checkEnabled="false"> |
---|
401 | <reference |
---|
402 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
403 | </reference> |
---|
404 | </visibleWhen> |
---|
405 | </command> |
---|
406 | </menuContribution> |
---|
407 | </extension> |
---|
408 | <extension point="org.eclipse.ui.preferencePages"> |
---|
409 | <page |
---|
410 | category="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
411 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage" |
---|
412 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring" |
---|
413 | name="Refactoring"> |
---|
414 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
415 | </page> |
---|
416 | </extension> |
---|
417 | |
---|
418 | <extension point="org.eclipse.compare.contentViewers"> |
---|
419 | <viewer id="de.ugoe.cs.swe.bnftools.Ebnf.compare.contentViewers" |
---|
420 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" |
---|
421 | extensions="bnf"> |
---|
422 | </viewer> |
---|
423 | </extension> |
---|
424 | <extension point="org.eclipse.compare.contentMergeViewers"> |
---|
425 | <viewer id="de.ugoe.cs.swe.bnftools.Ebnf.compare.contentMergeViewers" |
---|
426 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" |
---|
427 | extensions="bnf" label="Ebnf Compare"> |
---|
428 | </viewer> |
---|
429 | </extension> |
---|
430 | <extension point="org.eclipse.ui.editors.documentProviders"> |
---|
431 | <provider id="de.ugoe.cs.swe.bnftools.Ebnf.editors.documentProviders" |
---|
432 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider" |
---|
433 | extensions="bnf"> |
---|
434 | </provider> |
---|
435 | </extension> |
---|
436 | <!-- |
---|
437 | <extension |
---|
438 | point="org.eclipse.ui.commands"> |
---|
439 | <command |
---|
440 | defaultHandler="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.handler.BT_GenerationHandler" |
---|
441 | id="de.ugoe.cs.swe.bnftools.ebnf.ui.cmdgenerate" |
---|
442 | name="button_generate"> |
---|
443 | </command> |
---|
444 | </extension> |
---|
445 | <extension |
---|
446 | point="org.eclipse.ui.menus"> |
---|
447 | <menuContribution |
---|
448 | allPopups="false" |
---|
449 | locationURI="toolbar:org.eclipse.ui.main.toolbar"> |
---|
450 | <command |
---|
451 | commandId="de.ugoe.cs.swe.bnftools.ebnf.ui.cmdgenerate" |
---|
452 | icon="lrun_obj.gif" |
---|
453 | style="push" |
---|
454 | tooltip="Generate Code"> |
---|
455 | </command> |
---|
456 | </menuContribution> |
---|
457 | </extension> |
---|
458 | --> |
---|
459 | <extension |
---|
460 | id="product" |
---|
461 | point="org.eclipse.core.runtime.products"> |
---|
462 | <product |
---|
463 | application="de.ugoe.cs.swe.bnftools.product.application" |
---|
464 | name="bnf"> |
---|
465 | <property |
---|
466 | name="appName" |
---|
467 | value="bnf"> |
---|
468 | </property> |
---|
469 | </product> |
---|
470 | </extension> |
---|
471 | |
---|
472 | </plugin> |
---|