[61] | 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 | |
---|
[71] | 250 | <!-- |
---|
[61] | 251 | <extension |
---|
| 252 | point="org.eclipse.xtext.builder.participant"> |
---|
| 253 | <participant |
---|
| 254 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"> |
---|
| 255 | </participant> |
---|
| 256 | </extension> |
---|
[71] | 257 | --> |
---|
[67] | 258 | |
---|
[71] | 259 | <!--this is for using a button for generation --> |
---|
[61] | 260 | <extension |
---|
[67] | 261 | point="org.eclipse.ui.handlers"> |
---|
| 262 | <handler |
---|
[71] | 263 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:de.ugoe.cs.swe.bnftools.ui.handler.GenerationHandler" |
---|
[67] | 264 | commandId="de.ugoe.cs.swe.bnftools.ui.handler.GenerationCommand"> |
---|
| 265 | </handler> |
---|
| 266 | |
---|
| 267 | </extension> |
---|
| 268 | |
---|
| 269 | <extension |
---|
| 270 | point="org.eclipse.ui.commands"> |
---|
| 271 | <command name="Generate Code" |
---|
| 272 | id="de.ugoe.cs.swe.bnftools.ui.handler.GenerationCommand"> |
---|
| 273 | </command> |
---|
| 274 | </extension> |
---|
| 275 | |
---|
| 276 | <extension point="org.eclipse.ui.menus"> |
---|
| 277 | <menuContribution locationURI="popup:org.eclipse.jdt.ui.PackageExplorer"> |
---|
| 278 | <command |
---|
| 279 | commandId="de.ugoe.cs.swe.bnftools.ui.handler.GenerationCommand" |
---|
| 280 | style="push"> |
---|
| 281 | <visibleWhen |
---|
| 282 | checkEnabled="false"> |
---|
| 283 | <iterate> |
---|
| 284 | <adapt type="org.eclipse.core.resources.IResource"> |
---|
| 285 | <test property="org.eclipse.core.resources.name" |
---|
| 286 | value="*.bnf"/> |
---|
| 287 | </adapt> |
---|
| 288 | </iterate> |
---|
| 289 | </visibleWhen> |
---|
| 290 | </command> |
---|
| 291 | </menuContribution> |
---|
| 292 | </extension> |
---|
[71] | 293 | |
---|
[67] | 294 | |
---|
| 295 | |
---|
| 296 | <extension |
---|
[61] | 297 | point="org.eclipse.ui.preferencePages"> |
---|
| 298 | <page |
---|
| 299 | category="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
| 300 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" |
---|
| 301 | id="de.ugoe.cs.swe.bnftools.Ebnf.compiler.preferencePage" |
---|
| 302 | name="Compiler"> |
---|
| 303 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
| 304 | </page> |
---|
| 305 | </extension> |
---|
| 306 | <extension |
---|
| 307 | point="org.eclipse.ui.propertyPages"> |
---|
| 308 | <page |
---|
| 309 | category="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
| 310 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage" |
---|
| 311 | id="de.ugoe.cs.swe.bnftools.Ebnf.compiler.propertyPage" |
---|
| 312 | name="Compiler"> |
---|
| 313 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
| 314 | <enabledWhen> |
---|
| 315 | <adapt type="org.eclipse.core.resources.IProject"/> |
---|
| 316 | </enabledWhen> |
---|
| 317 | <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> |
---|
| 318 | </page> |
---|
| 319 | </extension> |
---|
| 320 | |
---|
| 321 | <!-- Quick Outline --> |
---|
| 322 | <extension |
---|
| 323 | point="org.eclipse.ui.handlers"> |
---|
| 324 | <handler |
---|
| 325 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" |
---|
| 326 | commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> |
---|
| 327 | <activeWhen> |
---|
| 328 | <reference |
---|
| 329 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
| 330 | </reference> |
---|
| 331 | </activeWhen> |
---|
| 332 | </handler> |
---|
| 333 | </extension> |
---|
| 334 | <extension |
---|
| 335 | point="org.eclipse.ui.commands"> |
---|
| 336 | <command |
---|
| 337 | description="Open the quick outline." |
---|
| 338 | id="org.eclipse.xtext.ui.editor.outline.QuickOutline" |
---|
| 339 | name="Quick Outline"> |
---|
| 340 | </command> |
---|
| 341 | </extension> |
---|
| 342 | <extension point="org.eclipse.ui.menus"> |
---|
| 343 | <menuContribution |
---|
| 344 | locationURI="popup:#TextEditorContext?after=group.open"> |
---|
| 345 | <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" |
---|
| 346 | style="push" |
---|
| 347 | tooltip="Open Quick Outline"> |
---|
| 348 | <visibleWhen checkEnabled="false"> |
---|
| 349 | <reference definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"/> |
---|
| 350 | </visibleWhen> |
---|
| 351 | </command> |
---|
| 352 | </menuContribution> |
---|
| 353 | </extension> |
---|
| 354 | <!-- quickfix marker resolution generator for de.ugoe.cs.swe.bnftools.Ebnf --> |
---|
| 355 | <extension |
---|
| 356 | point="org.eclipse.ui.ide.markerResolution"> |
---|
| 357 | <markerResolutionGenerator |
---|
| 358 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
---|
| 359 | markerType="de.ugoe.cs.swe.bnftools.ui.ebnf.check.fast"> |
---|
| 360 | <attribute |
---|
| 361 | name="FIXABLE_KEY" |
---|
| 362 | value="true"> |
---|
| 363 | </attribute> |
---|
| 364 | </markerResolutionGenerator> |
---|
| 365 | <markerResolutionGenerator |
---|
| 366 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
---|
| 367 | markerType="de.ugoe.cs.swe.bnftools.ui.ebnf.check.normal"> |
---|
| 368 | <attribute |
---|
| 369 | name="FIXABLE_KEY" |
---|
| 370 | value="true"> |
---|
| 371 | </attribute> |
---|
| 372 | </markerResolutionGenerator> |
---|
| 373 | <markerResolutionGenerator |
---|
| 374 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" |
---|
| 375 | markerType="de.ugoe.cs.swe.bnftools.ui.ebnf.check.expensive"> |
---|
| 376 | <attribute |
---|
| 377 | name="FIXABLE_KEY" |
---|
| 378 | value="true"> |
---|
| 379 | </attribute> |
---|
| 380 | </markerResolutionGenerator> |
---|
| 381 | </extension> |
---|
| 382 | <!-- Rename Refactoring --> |
---|
| 383 | <extension point="org.eclipse.ui.handlers"> |
---|
| 384 | <handler |
---|
| 385 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler" |
---|
| 386 | commandId="org.eclipse.xtext.ui.refactoring.RenameElement"> |
---|
| 387 | <activeWhen> |
---|
| 388 | <reference |
---|
| 389 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
| 390 | </reference> |
---|
| 391 | </activeWhen> |
---|
| 392 | </handler> |
---|
| 393 | </extension> |
---|
| 394 | <extension point="org.eclipse.ui.menus"> |
---|
| 395 | <menuContribution |
---|
| 396 | locationURI="popup:#TextEditorContext?after=group.edit"> |
---|
| 397 | <command commandId="org.eclipse.xtext.ui.refactoring.RenameElement" |
---|
| 398 | style="push"> |
---|
| 399 | <visibleWhen checkEnabled="false"> |
---|
| 400 | <reference |
---|
| 401 | definitionId="de.ugoe.cs.swe.bnftools.Ebnf.Editor.opened"> |
---|
| 402 | </reference> |
---|
| 403 | </visibleWhen> |
---|
| 404 | </command> |
---|
| 405 | </menuContribution> |
---|
| 406 | </extension> |
---|
| 407 | <extension point="org.eclipse.ui.preferencePages"> |
---|
| 408 | <page |
---|
| 409 | category="de.ugoe.cs.swe.bnftools.Ebnf" |
---|
| 410 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage" |
---|
| 411 | id="de.ugoe.cs.swe.bnftools.Ebnf.refactoring" |
---|
| 412 | name="Refactoring"> |
---|
| 413 | <keywordReference id="de.ugoe.cs.swe.bnftools.ui.keyword_Ebnf"/> |
---|
| 414 | </page> |
---|
| 415 | </extension> |
---|
| 416 | |
---|
| 417 | <extension point="org.eclipse.compare.contentViewers"> |
---|
| 418 | <viewer id="de.ugoe.cs.swe.bnftools.Ebnf.compare.contentViewers" |
---|
| 419 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" |
---|
| 420 | extensions="bnf"> |
---|
| 421 | </viewer> |
---|
| 422 | </extension> |
---|
| 423 | <extension point="org.eclipse.compare.contentMergeViewers"> |
---|
| 424 | <viewer id="de.ugoe.cs.swe.bnftools.Ebnf.compare.contentMergeViewers" |
---|
| 425 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" |
---|
| 426 | extensions="bnf" label="Ebnf Compare"> |
---|
| 427 | </viewer> |
---|
| 428 | </extension> |
---|
| 429 | <extension point="org.eclipse.ui.editors.documentProviders"> |
---|
| 430 | <provider id="de.ugoe.cs.swe.bnftools.Ebnf.editors.documentProviders" |
---|
| 431 | class="de.ugoe.cs.swe.bnftools.ui.EbnfExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider" |
---|
| 432 | extensions="bnf"> |
---|
| 433 | </provider> |
---|
| 434 | </extension> |
---|
| 435 | |
---|
| 436 | </plugin> |
---|