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