Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-10-21 09:23:17 +0000
committerCamille Letavernier2014-10-22 14:45:39 +0000
commit41eb1d35abdf67e84ed0ea34c179a72b86129647 (patch)
tree4300cf54c6efe4f8046de19c4365ef795a1e3f3e /plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui
parente9d6d80333b157785b7600fa447ec4bb49272cc5 (diff)
downloadorg.eclipse.papyrus-41eb1d35abdf67e84ed0ea34c179a72b86129647.tar.gz
org.eclipse.papyrus-41eb1d35abdf67e84ed0ea34c179a72b86129647.tar.xz
org.eclipse.papyrus-41eb1d35abdf67e84ed0ea34c179a72b86129647.zip
448384: [XText Editors] Embedded editors must be improved
https://bugs.eclipse.org/bugs/show_bug.cgi?id=448384 - Regenerate the XText Property grammar
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/plugin.xml_gen709
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/AbstractUmlPropertyUiModule.java292
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/UmlPropertyExecutableExtensionFactory.java57
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/AbstractUmlPropertyProposalProvider.java302
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/UmlPropertyParser.java211
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g3810
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.tokens90
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyLexer.java11
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyParser.java11
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/internal/UmlPropertyActivator.java191
10 files changed, 2848 insertions, 2836 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/plugin.xml_gen b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/plugin.xml_gen
index 0d0f8bc95c5..270b2b1cd7c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/plugin.xml_gen
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/plugin.xml_gen
@@ -1,343 +1,366 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-
-<plugin>
-
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
- contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
- default="true"
- extensions="umlproperty"
- id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- name="UmlProperty Editor">
- </editor>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
- commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
- <activeWhen>
- <reference
- definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
- commandId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.validate">
- <activeWhen>
- <reference
- definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- <!-- copy qualified name -->
- <handler
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
- commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
- <activeWhen>
- <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened" />
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
- commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName">
- <activeWhen>
- <and>
- <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.XtextEditor.opened" />
- <iterate>
- <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
- </iterate>
- </and>
- </activeWhen>
- </handler>
- </extension>
- <extension point="org.eclipse.core.expressions.definitions">
- <definition id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
- <and>
- <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
- <with variable="activeEditor">
- <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
- value="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- forcePluginActivation="true"/>
- </with>
- </and>
- </definition>
- <definition id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.XtextEditor.opened">
- <and>
- <reference definitionId="isXtextEditorActive"/>
- <with variable="activeEditor">
- <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
- value="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- forcePluginActivation="true"/>
- </with>
- </and>
- </definition>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
- id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- name="UmlProperty">
- <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
- </page>
- <page
- category="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
- id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.coloring"
- name="Syntax Coloring">
- <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
- </page>
- <page
- category="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
- id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.templates"
- name="Templates">
- <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.propertyPages">
- <page
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
- id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- name="UmlProperty">
- <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
- <enabledWhen>
- <adapt type="org.eclipse.core.resources.IProject"/>
- </enabledWhen>
- <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.keywords">
- <keyword
- id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"
- label="UmlProperty"/>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- description="Trigger expensive validation"
- id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.validate"
- name="Validate">
- </command>
- <!-- copy qualified name -->
- <command
- id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
- categoryId="org.eclipse.ui.category.edit"
- description="Copy the qualified name for the selected element"
- name="Copy Qualified Name">
- </command>
- <command
- id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
- categoryId="org.eclipse.ui.category.edit"
- description="Copy the qualified name for the selected element"
- name="Copy Qualified Name">
- </command>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:#TextEditorContext?after=group.edit">
- <command
- commandId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.validate"
- style="push"
- tooltip="Trigger expensive validation">
- <visibleWhen checkEnabled="false">
- <reference
- definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- <!-- copy qualified name -->
- <menuContribution locationURI="popup:#TextEditorContext?after=copy">
- <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
- style="push" tooltip="Copy Qualified Name">
- <visibleWhen checkEnabled="false">
- <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened" />
- </visibleWhen>
- </command>
- </menuContribution>
- <menuContribution locationURI="menu:edit?after=copy">
- <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
- style="push" tooltip="Copy Qualified Name">
- <visibleWhen checkEnabled="false">
- <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened" />
- </visibleWhen>
- </command>
- </menuContribution>
- <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
- <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
- style="push" tooltip="Copy Qualified Name">
- <visibleWhen checkEnabled="false">
- <and>
- <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.XtextEditor.opened" />
- <iterate>
- <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
- </iterate>
- </and>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
- <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
- <visibleWhen checkEnabled="false">
- <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
- </reference>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
- commandId="org.eclipse.xtext.ui.editor.FindReferences">
- <activeWhen>
- <reference
- definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
-
-<!-- adding resource factories -->
-
- <extension
- point="org.eclipse.emf.ecore.extension_parser">
- <parser
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
- type="umlproperty">
- </parser>
- </extension>
- <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
- <resourceServiceProvider
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
- uriExtension="umlproperty">
- </resourceServiceProvider>
- </extension>
-
-
- <!-- marker definitions for org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty -->
- <extension
- id="umlproperty.check.fast"
- name="UmlProperty Problem"
- point="org.eclipse.core.resources.markers">
- <super type="org.eclipse.xtext.ui.check.fast"/>
- <persistent value="true"/>
- </extension>
- <extension
- id="umlproperty.check.normal"
- name="UmlProperty Problem"
- point="org.eclipse.core.resources.markers">
- <super type="org.eclipse.xtext.ui.check.normal"/>
- <persistent value="true"/>
- </extension>
- <extension
- id="umlproperty.check.expensive"
- name="UmlProperty Problem"
- point="org.eclipse.core.resources.markers">
- <super type="org.eclipse.xtext.ui.check.expensive"/>
- <persistent value="true"/>
- </extension>
-
- <extension
- point="org.eclipse.xtext.builder.participant">
- <participant
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant">
- </participant>
- </extension>
- <extension
- point="org.eclipse.ui.preferencePages">
- <page
- category="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
- id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.compiler.preferencePage"
- name="Compiler">
- <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
- </page>
- </extension>
- <extension
- point="org.eclipse.ui.propertyPages">
- <page
- category="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
- id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.compiler.propertyPage"
- name="Compiler">
- <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
- <enabledWhen>
- <adapt type="org.eclipse.core.resources.IProject"/>
- </enabledWhen>
- <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
- </page>
- </extension>
-
- <!-- Quick Outline -->
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
- commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
- <activeWhen>
- <reference
- definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
- </reference>
- </activeWhen>
- </handler>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <command
- description="Open the quick outline."
- id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
- name="Quick Outline">
- </command>
- </extension>
- <extension point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:#TextEditorContext?after=group.open">
- <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
- style="push"
- tooltip="Open Quick Outline">
- <visibleWhen checkEnabled="false">
- <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened"/>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <!-- quickfix marker resolution generator for org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty -->
- <extension
- point="org.eclipse.ui.ide.markerResolution">
- <markerResolutionGenerator
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
- markerType="org.eclipse.papyrus.uml.textedit.property.xtext.ui.umlproperty.check.fast">
- <attribute
- name="FIXABLE_KEY"
- value="true">
- </attribute>
- </markerResolutionGenerator>
- <markerResolutionGenerator
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
- markerType="org.eclipse.papyrus.uml.textedit.property.xtext.ui.umlproperty.check.normal">
- <attribute
- name="FIXABLE_KEY"
- value="true">
- </attribute>
- </markerResolutionGenerator>
- <markerResolutionGenerator
- class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
- markerType="org.eclipse.papyrus.uml.textedit.property.xtext.ui.umlproperty.check.expensive">
- <attribute
- name="FIXABLE_KEY"
- value="true">
- </attribute>
- </markerResolutionGenerator>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<plugin>
+
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor"
+ contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
+ default="true"
+ extensions="umlproperty"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ name="UmlProperty Editor">
+ </editor>
+ </extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler"
+ commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler"
+ commandId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.validate">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ <!-- copy qualified name -->
+ <handler
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedNameHandler"
+ commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName">
+ <activeWhen>
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened" />
+ </activeWhen>
+ </handler>
+ <handler
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedNameHandler"
+ commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName">
+ <activeWhen>
+ <and>
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.XtextEditor.opened" />
+ <iterate>
+ <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
+ </iterate>
+ </and>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension point="org.eclipse.core.expressions.definitions">
+ <definition id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
+ <and>
+ <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
+ <with variable="activeEditor">
+ <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
+ value="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ forcePluginActivation="true"/>
+ </with>
+ </and>
+ </definition>
+ <definition id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.XtextEditor.opened">
+ <and>
+ <reference definitionId="isXtextEditorActive"/>
+ <with variable="activeEditor">
+ <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
+ value="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ forcePluginActivation="true"/>
+ </with>
+ </and>
+ </definition>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ name="UmlProperty">
+ <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
+ </page>
+ <page
+ category="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.coloring"
+ name="Syntax Coloring">
+ <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
+ </page>
+ <page
+ category="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.templates"
+ name="Templates">
+ <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ name="UmlProperty">
+ <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
+ <enabledWhen>
+ <adapt type="org.eclipse.core.resources.IProject"/>
+ </enabledWhen>
+ <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.keywords">
+ <keyword
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"
+ label="UmlProperty"/>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ description="Trigger expensive validation"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.validate"
+ name="Validate">
+ </command>
+ <!-- copy qualified name -->
+ <command
+ id="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
+ categoryId="org.eclipse.ui.category.edit"
+ description="Copy the qualified name for the selected element"
+ name="Copy Qualified Name">
+ </command>
+ <command
+ id="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
+ categoryId="org.eclipse.ui.category.edit"
+ description="Copy the qualified name for the selected element"
+ name="Copy Qualified Name">
+ </command>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#TextEditorContext?after=group.edit">
+ <command
+ commandId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.validate"
+ style="push"
+ tooltip="Trigger expensive validation">
+ <visibleWhen checkEnabled="false">
+ <reference
+ definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ <!-- copy qualified name -->
+ <menuContribution locationURI="popup:#TextEditorContext?after=copy">
+ <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
+ style="push" tooltip="Copy Qualified Name">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened" />
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ <menuContribution locationURI="menu:edit?after=copy">
+ <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
+ style="push" tooltip="Copy Qualified Name">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened" />
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ <menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
+ <command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
+ style="push" tooltip="Copy Qualified Name">
+ <visibleWhen checkEnabled="false">
+ <and>
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.XtextEditor.opened" />
+ <iterate>
+ <adapt type="org.eclipse.xtext.ui.editor.outline.IOutlineNode" />
+ </iterate>
+ </and>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution locationURI="popup:#TextEditorContext?endof=group.find">
+ <command commandId="org.eclipse.xtext.ui.editor.FindReferences">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
+ </reference>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler"
+ commandId="org.eclipse.xtext.ui.editor.FindReferences">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+
+<!-- adding resource factories -->
+
+ <extension
+ point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory"
+ type="umlproperty">
+ </parser>
+ </extension>
+ <extension point="org.eclipse.xtext.extension_resourceServiceProvider">
+ <resourceServiceProvider
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider"
+ uriExtension="umlproperty">
+ </resourceServiceProvider>
+ </extension>
+
+
+ <!-- marker definitions for org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty -->
+ <extension
+ id="umlproperty.check.fast"
+ name="UmlProperty Problem"
+ point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.xtext.ui.check.fast"/>
+ <persistent value="true"/>
+ </extension>
+ <extension
+ id="umlproperty.check.normal"
+ name="UmlProperty Problem"
+ point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.xtext.ui.check.normal"/>
+ <persistent value="true"/>
+ </extension>
+ <extension
+ id="umlproperty.check.expensive"
+ name="UmlProperty Problem"
+ point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.xtext.ui.check.expensive"/>
+ <persistent value="true"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.xtext.builder.participant">
+ <participant
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.builder.IXtextBuilderParticipant"
+ fileExtensions="umlproperty"
+ >
+ </participant>
+ </extension>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.compiler.preferencePage"
+ name="Compiler">
+ <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ category="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty"
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.compiler.propertyPage"
+ name="Compiler">
+ <keywordReference id="org.eclipse.papyrus.uml.textedit.property.xtext.ui.keyword_UmlProperty"/>
+ <enabledWhen>
+ <adapt type="org.eclipse.core.resources.IProject"/>
+ </enabledWhen>
+ <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/>
+ </page>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution locationURI="popup:#TextEditorContext?after=xtext.ui.openDeclaration">
+ <command
+ commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand"
+ id="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.OpenGeneratedCode"
+ style="push">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened" />
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.generator.trace.OpenGeneratedFileHandler"
+ commandId="org.eclipse.xtext.ui.OpenGeneratedFileCommand">
+ <activeWhen>
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened" />
+ </activeWhen>
+ </handler>
+ </extension>
+
+ <!-- Quick Outline -->
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler"
+ commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline">
+ <activeWhen>
+ <reference
+ definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened">
+ </reference>
+ </activeWhen>
+ </handler>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ description="Open the quick outline."
+ id="org.eclipse.xtext.ui.editor.outline.QuickOutline"
+ name="Quick Outline">
+ </command>
+ </extension>
+ <extension point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:#TextEditorContext?after=group.open">
+ <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"
+ style="push"
+ tooltip="Open Quick Outline">
+ <visibleWhen checkEnabled="false">
+ <reference definitionId="org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty.Editor.opened"/>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <!-- quickfix marker resolution generator for org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty -->
+ <extension
+ point="org.eclipse.ui.ide.markerResolution">
+ <markerResolutionGenerator
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
+ markerType="org.eclipse.papyrus.uml.textedit.property.xtext.ui.umlproperty.check.fast">
+ <attribute
+ name="FIXABLE_KEY"
+ value="true">
+ </attribute>
+ </markerResolutionGenerator>
+ <markerResolutionGenerator
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
+ markerType="org.eclipse.papyrus.uml.textedit.property.xtext.ui.umlproperty.check.normal">
+ <attribute
+ name="FIXABLE_KEY"
+ value="true">
+ </attribute>
+ </markerResolutionGenerator>
+ <markerResolutionGenerator
+ class="org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator"
+ markerType="org.eclipse.papyrus.uml.textedit.property.xtext.ui.umlproperty.check.expensive">
+ <attribute
+ name="FIXABLE_KEY"
+ value="true">
+ </attribute>
+ </markerResolutionGenerator>
+ </extension>
+
+</plugin>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/AbstractUmlPropertyUiModule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/AbstractUmlPropertyUiModule.java
index 5068840aead..bc815254847 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/AbstractUmlPropertyUiModule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/AbstractUmlPropertyUiModule.java
@@ -1,146 +1,146 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.uml.textedit.property.xtext.ui;
-
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.eclipse.xtext.ui.DefaultUiModule;
-
-/**
- * Manual modifications go to {org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyUiModule}
- */
-@SuppressWarnings("all")
-public abstract class AbstractUmlPropertyUiModule extends DefaultUiModule {
-
- public AbstractUmlPropertyUiModule(AbstractUIPlugin plugin) {
- super(plugin);
- }
-
-
- // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
- public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
- return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
- return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public void configureHighlightingLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING))
- .to(org.eclipse.papyrus.uml.textedit.property.xtext.parser.antlr.internal.InternalUmlPropertyLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
- }
-
- // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() {
- return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class;
- }
-
- // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
- public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
- return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE))
- .to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() {
- return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.PERSISTED_DESCRIPTIONS))
- .to(org.eclipse.xtext.builder.builderState.IBuilderState.class);
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
- return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class;
- }
-
- // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
- public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
- return org.eclipse.xtext.builder.BuilderParticipant.class;
- }
-
- // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
- public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() {
- return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot();
- }
-
- // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
- public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer"))
- .to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class);
- }
-
- // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
- @Override
- public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
- return org.eclipse.papyrus.uml.textedit.property.xtext.ui.labeling.UmlPropertyLabelProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
- @Override
- public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class)
- .to(org.eclipse.papyrus.uml.textedit.property.xtext.ui.labeling.UmlPropertyDescriptionLabelProvider.class);
- }
-
- // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
- public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
- return org.eclipse.papyrus.uml.textedit.property.xtext.ui.outline.UmlPropertyOutlineTreeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
- public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
- return org.eclipse.papyrus.uml.textedit.property.xtext.ui.outline.UmlPropertyOutlineTreeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
- @Override
- public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() {
- return org.eclipse.papyrus.uml.textedit.property.xtext.ui.quickfix.UmlPropertyQuickfixProvider.class;
- }
-
- // contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() {
- return org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.UmlPropertyProposalProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() {
- return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
- public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() {
- return org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.UmlPropertyParser.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
- public void configureContentAssistLexerProvider(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyLexer.class).toProvider(
- org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyLexer.class));
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
- public void configureContentAssistLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST))
- .to(org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyLexer.class);
- }
-
-
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.papyrus.uml.textedit.property.xtext.ui;
+
+import org.eclipse.xtext.ui.DefaultUiModule;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+
+/**
+ * Manual modifications go to {org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyUiModule}
+ */
+@SuppressWarnings("all")
+public abstract class AbstractUmlPropertyUiModule extends DefaultUiModule {
+
+ public AbstractUmlPropertyUiModule(AbstractUIPlugin plugin) {
+ super(plugin);
+ }
+
+
+ // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment
+ public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() {
+ return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState();
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() {
+ return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public void configureHighlightingLexer(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING))
+ .to(org.eclipse.papyrus.uml.textedit.property.xtext.parser.antlr.internal.InternalUmlPropertyLexer.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher> bindPrefixMatcher() {
+ return org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
+ public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() {
+ return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE))
+ .to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() {
+ return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS))
+ .to(org.eclipse.xtext.builder.builderState.IBuilderState.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
+ return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
+ public Class<? extends org.eclipse.xtext.builder.IXtextBuilderParticipant> bindIXtextBuilderParticipant() {
+ return org.eclipse.xtext.builder.BuilderParticipant.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
+ public org.eclipse.core.resources.IWorkspaceRoot bindIWorkspaceRootToInstance() {
+ return org.eclipse.core.resources.ResourcesPlugin.getWorkspace().getRoot();
+ }
+
+ // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
+ public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer"))
+ .to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class);
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
+ @Override
+ public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() {
+ return org.eclipse.papyrus.uml.textedit.property.xtext.ui.labeling.UmlPropertyLabelProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment
+ @Override
+ public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class)
+ .to(org.eclipse.papyrus.uml.textedit.property.xtext.ui.labeling.UmlPropertyDescriptionLabelProvider.class);
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() {
+ return org.eclipse.papyrus.uml.textedit.property.xtext.ui.outline.UmlPropertyOutlineTreeProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() {
+ return org.eclipse.papyrus.uml.textedit.property.xtext.ui.outline.UmlPropertyOutlineTreeProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment
+ @Override
+ public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() {
+ return org.eclipse.papyrus.uml.textedit.property.xtext.ui.quickfix.UmlPropertyQuickfixProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() {
+ return org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.UmlPropertyProposalProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() {
+ return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
+ public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() {
+ return org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.UmlPropertyParser.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
+ public void configureContentAssistLexerProvider(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyLexer.class).toProvider(
+ org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyLexer.class));
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment
+ public void configureContentAssistLexer(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST))
+ .to(org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyLexer.class);
+ }
+
+
+}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/UmlPropertyExecutableExtensionFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/UmlPropertyExecutableExtensionFactory.java
index 75540b6b9fa..4549a1c7d94 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/UmlPropertyExecutableExtensionFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/UmlPropertyExecutableExtensionFactory.java
@@ -1,28 +1,29 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.uml.textedit.property.xtext.ui;
-
-import org.eclipse.papyrus.uml.textedit.property.xtext.ui.internal.UmlPropertyActivator;
-import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
-import org.osgi.framework.Bundle;
-
-import com.google.inject.Injector;
-
-/**
- * This class was generated. Customizations should only happen in a newly
- * introduced subclass.
- */
-public class UmlPropertyExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
-
- @Override
- protected Bundle getBundle() {
- return UmlPropertyActivator.getInstance().getBundle();
- }
-
- @Override
- protected Injector getInjector() {
- return UmlPropertyActivator.getInstance().getInjector(UmlPropertyActivator.ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_PROPERTY_XTEXT_UMLPROPERTY);
- }
-
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.papyrus.uml.textedit.property.xtext.ui;
+
+import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory;
+import org.osgi.framework.Bundle;
+
+import com.google.inject.Injector;
+
+import org.eclipse.papyrus.uml.textedit.property.xtext.ui.internal.UmlPropertyActivator;
+
+/**
+ * This class was generated. Customizations should only happen in a newly
+ * introduced subclass.
+ */
+public class UmlPropertyExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory {
+
+ @Override
+ protected Bundle getBundle() {
+ return UmlPropertyActivator.getInstance().getBundle();
+ }
+
+ @Override
+ protected Injector getInjector() {
+ return UmlPropertyActivator.getInstance().getInjector(UmlPropertyActivator.ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_PROPERTY_XTEXT_UMLPROPERTY);
+ }
+
+}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/AbstractUmlPropertyProposalProvider.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/AbstractUmlPropertyProposalProvider.java
index 468807c5892..395bd1f00e9 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/AbstractUmlPropertyProposalProvider.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/AbstractUmlPropertyProposalProvider.java
@@ -1,152 +1,150 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.Assignment;
-import org.eclipse.xtext.CrossReference;
-import org.eclipse.xtext.RuleCall;
-import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
-import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
-
-/**
- * Represents a generated, default implementation of superclass {@link org.eclipse.papyrus.uml.alf.ui.contentassist.CommonProposalProvider}.
- * Methods are dynamically dispatched on the first parameter, i.e., you can override them
- * with a more concrete subtype.
- */
-@SuppressWarnings("all")
-public class AbstractUmlPropertyProposalProvider extends org.eclipse.papyrus.uml.alf.ui.contentassist.CommonProposalProvider {
-
- public void completePropertyRule_Visibility(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completePropertyRule_IsDerived(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void completePropertyRule_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completePropertyRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completePropertyRule_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completePropertyRule_Modifiers(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completePropertyRule_Default(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeTypeRule_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeTypeRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeQualifiedName_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeQualifiedName_Remaining(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeMultiplicityRule_Bounds(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeBoundSpecification_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeModifiersRule_Values(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeModifierSpecification_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeModifierSpecification_Redefines(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeModifierSpecification_Subsets(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeRedefinesRule_Property(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeSubsetsRule_Property(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor);
- }
-
- public void completeDefaultValueRule_Default(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
- }
-
- public void complete_PropertyRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_VisibilityKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_TypeRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_MultiplicityRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_BoundSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_UnlimitedLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_ModifiersRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_ModifierSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_ModifierKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_RedefinesRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_SubsetsRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-
- public void complete_DefaultValueRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
- // subclasses may override
- }
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor;
+import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext;
+
+/**
+ * Represents a generated, default implementation of superclass {@link org.eclipse.papyrus.uml.alf.ui.contentassist.CommonProposalProvider}.
+ * Methods are dynamically dispatched on the first parameter, i.e., you can override them
+ * with a more concrete subtype.
+ */
+@SuppressWarnings("all")
+public class AbstractUmlPropertyProposalProvider extends org.eclipse.papyrus.uml.alf.ui.contentassist.CommonProposalProvider {
+
+ public void completePropertyRule_Visibility(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completePropertyRule_IsDerived(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void completePropertyRule_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completePropertyRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completePropertyRule_Multiplicity(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completePropertyRule_Modifiers(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completePropertyRule_Default(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeTypeRule_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeTypeRule_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeQualifiedName_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeQualifiedName_Remaining(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeMultiplicityRule_Bounds(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeBoundSpecification_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeModifiersRule_Values(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeModifierSpecification_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeModifierSpecification_Redefines(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeModifierSpecification_Subsets(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeRedefinesRule_Property(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeSubsetsRule_Property(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void completeDefaultValueRule_Default(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor);
+ }
+
+ public void complete_PropertyRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_VisibilityKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_TypeRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_QualifiedName(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_MultiplicityRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_BoundSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_UnlimitedLiteral(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_ModifiersRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_ModifierSpecification(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_ModifierKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_RedefinesRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_SubsetsRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+
+ public void complete_DefaultValueRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
+ // subclasses may override
+ }
+}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/UmlPropertyParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/UmlPropertyParser.java
index 5557b44206a..fd19f767060 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/UmlPropertyParser.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/UmlPropertyParser.java
@@ -1,105 +1,106 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr;
-
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-
-import org.antlr.runtime.RecognitionException;
-import org.eclipse.papyrus.uml.textedit.property.xtext.services.UmlPropertyGrammarAccess;
-import org.eclipse.xtext.AbstractElement;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
-
-import com.google.inject.Inject;
-
-public class UmlPropertyParser extends AbstractContentAssistParser {
-
- @Inject
- private UmlPropertyGrammarAccess grammarAccess;
-
- private Map<AbstractElement, String> nameMappings;
-
- @Override
- protected org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser createParser() {
- org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser result = new org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser(null);
- result.setGrammarAccess(grammarAccess);
- return result;
- }
-
- @Override
- protected String getRuleName(AbstractElement element) {
- if (nameMappings == null) {
- nameMappings = new HashMap<AbstractElement, String>() {
- private static final long serialVersionUID = 1L;
- {
- put(grammarAccess.getPropertyRuleAccess().getAlternatives_4(), "rule__PropertyRule__Alternatives_4");
- put(grammarAccess.getUnlimitedLiteralAccess().getAlternatives(), "rule__UnlimitedLiteral__Alternatives");
- put(grammarAccess.getModifierSpecificationAccess().getAlternatives(), "rule__ModifierSpecification__Alternatives");
- put(grammarAccess.getVisibilityKindAccess().getAlternatives(), "rule__VisibilityKind__Alternatives");
- put(grammarAccess.getModifierKindAccess().getAlternatives(), "rule__ModifierKind__Alternatives");
- put(grammarAccess.getPropertyRuleAccess().getGroup(), "rule__PropertyRule__Group__0");
- put(grammarAccess.getTypeRuleAccess().getGroup(), "rule__TypeRule__Group__0");
- put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0");
- put(grammarAccess.getMultiplicityRuleAccess().getGroup(), "rule__MultiplicityRule__Group__0");
- put(grammarAccess.getMultiplicityRuleAccess().getGroup_2(), "rule__MultiplicityRule__Group_2__0");
- put(grammarAccess.getModifiersRuleAccess().getGroup(), "rule__ModifiersRule__Group__0");
- put(grammarAccess.getModifiersRuleAccess().getGroup_2(), "rule__ModifiersRule__Group_2__0");
- put(grammarAccess.getRedefinesRuleAccess().getGroup(), "rule__RedefinesRule__Group__0");
- put(grammarAccess.getSubsetsRuleAccess().getGroup(), "rule__SubsetsRule__Group__0");
- put(grammarAccess.getDefaultValueRuleAccess().getGroup(), "rule__DefaultValueRule__Group__0");
- put(grammarAccess.getPropertyRuleAccess().getVisibilityAssignment_0(), "rule__PropertyRule__VisibilityAssignment_0");
- put(grammarAccess.getPropertyRuleAccess().getIsDerivedAssignment_1(), "rule__PropertyRule__IsDerivedAssignment_1");
- put(grammarAccess.getPropertyRuleAccess().getNameAssignment_2(), "rule__PropertyRule__NameAssignment_2");
- put(grammarAccess.getPropertyRuleAccess().getTypeAssignment_4_0(), "rule__PropertyRule__TypeAssignment_4_0");
- put(grammarAccess.getPropertyRuleAccess().getMultiplicityAssignment_5(), "rule__PropertyRule__MultiplicityAssignment_5");
- put(grammarAccess.getPropertyRuleAccess().getModifiersAssignment_6(), "rule__PropertyRule__ModifiersAssignment_6");
- put(grammarAccess.getPropertyRuleAccess().getDefaultAssignment_7(), "rule__PropertyRule__DefaultAssignment_7");
- put(grammarAccess.getTypeRuleAccess().getPathAssignment_0(), "rule__TypeRule__PathAssignment_0");
- put(grammarAccess.getTypeRuleAccess().getTypeAssignment_1(), "rule__TypeRule__TypeAssignment_1");
- put(grammarAccess.getQualifiedNameAccess().getPathAssignment_0(), "rule__QualifiedName__PathAssignment_0");
- put(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2(), "rule__QualifiedName__RemainingAssignment_2");
- put(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1(), "rule__MultiplicityRule__BoundsAssignment_1");
- put(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1(), "rule__MultiplicityRule__BoundsAssignment_2_1");
- put(grammarAccess.getBoundSpecificationAccess().getValueAssignment(), "rule__BoundSpecification__ValueAssignment");
- put(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1(), "rule__ModifiersRule__ValuesAssignment_1");
- put(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1(), "rule__ModifiersRule__ValuesAssignment_2_1");
- put(grammarAccess.getModifierSpecificationAccess().getValueAssignment_0(), "rule__ModifierSpecification__ValueAssignment_0");
- put(grammarAccess.getModifierSpecificationAccess().getRedefinesAssignment_1(), "rule__ModifierSpecification__RedefinesAssignment_1");
- put(grammarAccess.getModifierSpecificationAccess().getSubsetsAssignment_2(), "rule__ModifierSpecification__SubsetsAssignment_2");
- put(grammarAccess.getRedefinesRuleAccess().getPropertyAssignment_1(), "rule__RedefinesRule__PropertyAssignment_1");
- put(grammarAccess.getSubsetsRuleAccess().getPropertyAssignment_1(), "rule__SubsetsRule__PropertyAssignment_1");
- put(grammarAccess.getDefaultValueRuleAccess().getDefaultAssignment_1(), "rule__DefaultValueRule__DefaultAssignment_1");
- }
- };
- }
- return nameMappings.get(element);
- }
-
- @Override
- protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
- try {
- org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser typedParser = (org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser) parser;
- typedParser.entryRulePropertyRule();
- return typedParser.getFollowElements();
- } catch (RecognitionException ex) {
- throw new RuntimeException(ex);
- }
- }
-
- @Override
- protected String[] getInitialHiddenTokens() {
- return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
- }
-
- public UmlPropertyGrammarAccess getGrammarAccess() {
- return this.grammarAccess;
- }
-
- public void setGrammarAccess(UmlPropertyGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr;
+
+import java.util.Collection;
+import java.util.Map;
+import java.util.HashMap;
+
+import org.antlr.runtime.RecognitionException;
+import org.eclipse.xtext.AbstractElement;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
+
+import com.google.inject.Inject;
+
+import org.eclipse.papyrus.uml.textedit.property.xtext.services.UmlPropertyGrammarAccess;
+
+public class UmlPropertyParser extends AbstractContentAssistParser {
+
+ @Inject
+ private UmlPropertyGrammarAccess grammarAccess;
+
+ private Map<AbstractElement, String> nameMappings;
+
+ @Override
+ protected org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser createParser() {
+ org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser result = new org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser(null);
+ result.setGrammarAccess(grammarAccess);
+ return result;
+ }
+
+ @Override
+ protected String getRuleName(AbstractElement element) {
+ if (nameMappings == null) {
+ nameMappings = new HashMap<AbstractElement, String>() {
+ private static final long serialVersionUID = 1L;
+ {
+ put(grammarAccess.getPropertyRuleAccess().getAlternatives_4(), "rule__PropertyRule__Alternatives_4");
+ put(grammarAccess.getUnlimitedLiteralAccess().getAlternatives(), "rule__UnlimitedLiteral__Alternatives");
+ put(grammarAccess.getModifierSpecificationAccess().getAlternatives(), "rule__ModifierSpecification__Alternatives");
+ put(grammarAccess.getVisibilityKindAccess().getAlternatives(), "rule__VisibilityKind__Alternatives");
+ put(grammarAccess.getModifierKindAccess().getAlternatives(), "rule__ModifierKind__Alternatives");
+ put(grammarAccess.getPropertyRuleAccess().getGroup(), "rule__PropertyRule__Group__0");
+ put(grammarAccess.getTypeRuleAccess().getGroup(), "rule__TypeRule__Group__0");
+ put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0");
+ put(grammarAccess.getMultiplicityRuleAccess().getGroup(), "rule__MultiplicityRule__Group__0");
+ put(grammarAccess.getMultiplicityRuleAccess().getGroup_2(), "rule__MultiplicityRule__Group_2__0");
+ put(grammarAccess.getModifiersRuleAccess().getGroup(), "rule__ModifiersRule__Group__0");
+ put(grammarAccess.getModifiersRuleAccess().getGroup_2(), "rule__ModifiersRule__Group_2__0");
+ put(grammarAccess.getRedefinesRuleAccess().getGroup(), "rule__RedefinesRule__Group__0");
+ put(grammarAccess.getSubsetsRuleAccess().getGroup(), "rule__SubsetsRule__Group__0");
+ put(grammarAccess.getDefaultValueRuleAccess().getGroup(), "rule__DefaultValueRule__Group__0");
+ put(grammarAccess.getPropertyRuleAccess().getVisibilityAssignment_0(), "rule__PropertyRule__VisibilityAssignment_0");
+ put(grammarAccess.getPropertyRuleAccess().getIsDerivedAssignment_1(), "rule__PropertyRule__IsDerivedAssignment_1");
+ put(grammarAccess.getPropertyRuleAccess().getNameAssignment_2(), "rule__PropertyRule__NameAssignment_2");
+ put(grammarAccess.getPropertyRuleAccess().getTypeAssignment_4_0(), "rule__PropertyRule__TypeAssignment_4_0");
+ put(grammarAccess.getPropertyRuleAccess().getMultiplicityAssignment_5(), "rule__PropertyRule__MultiplicityAssignment_5");
+ put(grammarAccess.getPropertyRuleAccess().getModifiersAssignment_6(), "rule__PropertyRule__ModifiersAssignment_6");
+ put(grammarAccess.getPropertyRuleAccess().getDefaultAssignment_7(), "rule__PropertyRule__DefaultAssignment_7");
+ put(grammarAccess.getTypeRuleAccess().getPathAssignment_0(), "rule__TypeRule__PathAssignment_0");
+ put(grammarAccess.getTypeRuleAccess().getTypeAssignment_1(), "rule__TypeRule__TypeAssignment_1");
+ put(grammarAccess.getQualifiedNameAccess().getPathAssignment_0(), "rule__QualifiedName__PathAssignment_0");
+ put(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2(), "rule__QualifiedName__RemainingAssignment_2");
+ put(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1(), "rule__MultiplicityRule__BoundsAssignment_1");
+ put(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1(), "rule__MultiplicityRule__BoundsAssignment_2_1");
+ put(grammarAccess.getBoundSpecificationAccess().getValueAssignment(), "rule__BoundSpecification__ValueAssignment");
+ put(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1(), "rule__ModifiersRule__ValuesAssignment_1");
+ put(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1(), "rule__ModifiersRule__ValuesAssignment_2_1");
+ put(grammarAccess.getModifierSpecificationAccess().getValueAssignment_0(), "rule__ModifierSpecification__ValueAssignment_0");
+ put(grammarAccess.getModifierSpecificationAccess().getRedefinesAssignment_1(), "rule__ModifierSpecification__RedefinesAssignment_1");
+ put(grammarAccess.getModifierSpecificationAccess().getSubsetsAssignment_2(), "rule__ModifierSpecification__SubsetsAssignment_2");
+ put(grammarAccess.getRedefinesRuleAccess().getPropertyAssignment_1(), "rule__RedefinesRule__PropertyAssignment_1");
+ put(grammarAccess.getSubsetsRuleAccess().getPropertyAssignment_1(), "rule__SubsetsRule__PropertyAssignment_1");
+ put(grammarAccess.getDefaultValueRuleAccess().getDefaultAssignment_1(), "rule__DefaultValueRule__DefaultAssignment_1");
+ }
+ };
+ }
+ return nameMappings.get(element);
+ }
+
+ @Override
+ protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) {
+ try {
+ org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser typedParser = (org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal.InternalUmlPropertyParser) parser;
+ typedParser.entryRulePropertyRule();
+ return typedParser.getFollowElements();
+ } catch (RecognitionException ex) {
+ throw new RuntimeException(ex);
+ }
+ }
+
+ @Override
+ protected String[] getInitialHiddenTokens() {
+ return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" };
+ }
+
+ public UmlPropertyGrammarAccess getGrammarAccess() {
+ return this.grammarAccess;
+ }
+
+ public void setGrammarAccess(UmlPropertyGrammarAccess grammarAccess) {
+ this.grammarAccess = grammarAccess;
+ }
+}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g
index 55d18ab7b1f..353c37f706e 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.g
@@ -1,1905 +1,1905 @@
-/*
-* generated by Xtext
-*/
-grammar InternalUmlProperty;
-
-options {
- superClass=AbstractInternalContentAssistParser;
-
-}
-
-@lexer::header {
-package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal;
-
-// Hack: Use our own Lexer superclass by means of import.
-// Currently there is no other way to specify the superclass for the lexer.
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
-}
-
-@parser::header {
-package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal;
-
-import java.io.InputStream;
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
-import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
-import org.eclipse.papyrus.uml.textedit.property.xtext.services.UmlPropertyGrammarAccess;
-
-}
-
-@parser::members {
-
- private UmlPropertyGrammarAccess grammarAccess;
-
- public void setGrammarAccess(UmlPropertyGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-
- @Override
- protected Grammar getGrammar() {
- return grammarAccess.getGrammar();
- }
-
- @Override
- protected String getValueForTokenName(String tokenName) {
- return tokenName;
- }
-
-}
-
-
-
-
-// Entry rule entryRulePropertyRule
-entryRulePropertyRule
-:
-{ before(grammarAccess.getPropertyRuleRule()); }
- rulePropertyRule
-{ after(grammarAccess.getPropertyRuleRule()); }
- EOF
-;
-
-// Rule PropertyRule
-rulePropertyRule
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getPropertyRuleAccess().getGroup()); }
-(rule__PropertyRule__Group__0)
-{ after(grammarAccess.getPropertyRuleAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleTypeRule
-entryRuleTypeRule
-:
-{ before(grammarAccess.getTypeRuleRule()); }
- ruleTypeRule
-{ after(grammarAccess.getTypeRuleRule()); }
- EOF
-;
-
-// Rule TypeRule
-ruleTypeRule
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getTypeRuleAccess().getGroup()); }
-(rule__TypeRule__Group__0)
-{ after(grammarAccess.getTypeRuleAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleQualifiedName
-entryRuleQualifiedName
-:
-{ before(grammarAccess.getQualifiedNameRule()); }
- ruleQualifiedName
-{ after(grammarAccess.getQualifiedNameRule()); }
- EOF
-;
-
-// Rule QualifiedName
-ruleQualifiedName
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getQualifiedNameAccess().getGroup()); }
-(rule__QualifiedName__Group__0)
-{ after(grammarAccess.getQualifiedNameAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleMultiplicityRule
-entryRuleMultiplicityRule
-:
-{ before(grammarAccess.getMultiplicityRuleRule()); }
- ruleMultiplicityRule
-{ after(grammarAccess.getMultiplicityRuleRule()); }
- EOF
-;
-
-// Rule MultiplicityRule
-ruleMultiplicityRule
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getGroup()); }
-(rule__MultiplicityRule__Group__0)
-{ after(grammarAccess.getMultiplicityRuleAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleBoundSpecification
-entryRuleBoundSpecification
-:
-{ before(grammarAccess.getBoundSpecificationRule()); }
- ruleBoundSpecification
-{ after(grammarAccess.getBoundSpecificationRule()); }
- EOF
-;
-
-// Rule BoundSpecification
-ruleBoundSpecification
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); }
-(rule__BoundSpecification__ValueAssignment)
-{ after(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleUnlimitedLiteral
-entryRuleUnlimitedLiteral
-:
-{ before(grammarAccess.getUnlimitedLiteralRule()); }
- ruleUnlimitedLiteral
-{ after(grammarAccess.getUnlimitedLiteralRule()); }
- EOF
-;
-
-// Rule UnlimitedLiteral
-ruleUnlimitedLiteral
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getUnlimitedLiteralAccess().getAlternatives()); }
-(rule__UnlimitedLiteral__Alternatives)
-{ after(grammarAccess.getUnlimitedLiteralAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleModifiersRule
-entryRuleModifiersRule
-:
-{ before(grammarAccess.getModifiersRuleRule()); }
- ruleModifiersRule
-{ after(grammarAccess.getModifiersRuleRule()); }
- EOF
-;
-
-// Rule ModifiersRule
-ruleModifiersRule
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getModifiersRuleAccess().getGroup()); }
-(rule__ModifiersRule__Group__0)
-{ after(grammarAccess.getModifiersRuleAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleModifierSpecification
-entryRuleModifierSpecification
-:
-{ before(grammarAccess.getModifierSpecificationRule()); }
- ruleModifierSpecification
-{ after(grammarAccess.getModifierSpecificationRule()); }
- EOF
-;
-
-// Rule ModifierSpecification
-ruleModifierSpecification
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getModifierSpecificationAccess().getAlternatives()); }
-(rule__ModifierSpecification__Alternatives)
-{ after(grammarAccess.getModifierSpecificationAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleRedefinesRule
-entryRuleRedefinesRule
-:
-{ before(grammarAccess.getRedefinesRuleRule()); }
- ruleRedefinesRule
-{ after(grammarAccess.getRedefinesRuleRule()); }
- EOF
-;
-
-// Rule RedefinesRule
-ruleRedefinesRule
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getRedefinesRuleAccess().getGroup()); }
-(rule__RedefinesRule__Group__0)
-{ after(grammarAccess.getRedefinesRuleAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleSubsetsRule
-entryRuleSubsetsRule
-:
-{ before(grammarAccess.getSubsetsRuleRule()); }
- ruleSubsetsRule
-{ after(grammarAccess.getSubsetsRuleRule()); }
- EOF
-;
-
-// Rule SubsetsRule
-ruleSubsetsRule
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getSubsetsRuleAccess().getGroup()); }
-(rule__SubsetsRule__Group__0)
-{ after(grammarAccess.getSubsetsRuleAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Entry rule entryRuleDefaultValueRule
-entryRuleDefaultValueRule
-:
-{ before(grammarAccess.getDefaultValueRuleRule()); }
- ruleDefaultValueRule
-{ after(grammarAccess.getDefaultValueRuleRule()); }
- EOF
-;
-
-// Rule DefaultValueRule
-ruleDefaultValueRule
- @init {
- int stackSize = keepStackSize();
- }
- :
-(
-{ before(grammarAccess.getDefaultValueRuleAccess().getGroup()); }
-(rule__DefaultValueRule__Group__0)
-{ after(grammarAccess.getDefaultValueRuleAccess().getGroup()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-// Rule VisibilityKind
-ruleVisibilityKind
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getVisibilityKindAccess().getAlternatives()); }
-(rule__VisibilityKind__Alternatives)
-{ after(grammarAccess.getVisibilityKindAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-// Rule ModifierKind
-ruleModifierKind
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifierKindAccess().getAlternatives()); }
-(rule__ModifierKind__Alternatives)
-{ after(grammarAccess.getModifierKindAccess().getAlternatives()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-rule__PropertyRule__Alternatives_4
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getTypeAssignment_4_0()); }
-(rule__PropertyRule__TypeAssignment_4_0)
-{ after(grammarAccess.getPropertyRuleAccess().getTypeAssignment_4_0()); }
-)
-
- |(
-{ before(grammarAccess.getPropertyRuleAccess().getUndefinedKeyword_4_1()); }
-
- '<Undefined>'
-
-{ after(grammarAccess.getPropertyRuleAccess().getUndefinedKeyword_4_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__UnlimitedLiteral__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getUnlimitedLiteralAccess().getINTTerminalRuleCall_0()); }
- RULE_INT
-{ after(grammarAccess.getUnlimitedLiteralAccess().getINTTerminalRuleCall_0()); }
-)
-
- |(
-{ before(grammarAccess.getUnlimitedLiteralAccess().getAsteriskKeyword_1()); }
-
- '*'
-
-{ after(grammarAccess.getUnlimitedLiteralAccess().getAsteriskKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifierSpecification__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifierSpecificationAccess().getValueAssignment_0()); }
-(rule__ModifierSpecification__ValueAssignment_0)
-{ after(grammarAccess.getModifierSpecificationAccess().getValueAssignment_0()); }
-)
-
- |(
-{ before(grammarAccess.getModifierSpecificationAccess().getRedefinesAssignment_1()); }
-(rule__ModifierSpecification__RedefinesAssignment_1)
-{ after(grammarAccess.getModifierSpecificationAccess().getRedefinesAssignment_1()); }
-)
-
- |(
-{ before(grammarAccess.getModifierSpecificationAccess().getSubsetsAssignment_2()); }
-(rule__ModifierSpecification__SubsetsAssignment_2)
-{ after(grammarAccess.getModifierSpecificationAccess().getSubsetsAssignment_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__VisibilityKind__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); }
-( '+'
-)
-{ after(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); }
-)
-
- |(
-{ before(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); }
-( '-'
-)
-{ after(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); }
-)
-
- |(
-{ before(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); }
-( '#'
-)
-{ after(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); }
-)
-
- |(
-{ before(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); }
-( '~'
-)
-{ after(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifierKind__Alternatives
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0()); }
-( 'readOnly'
-)
-{ after(grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0()); }
-)
-
- |(
-{ before(grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1()); }
-( 'union'
-)
-{ after(grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1()); }
-)
-
- |(
-{ before(grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2()); }
-( 'ordered'
-)
-{ after(grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2()); }
-)
-
- |(
-{ before(grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3()); }
-( 'unique'
-)
-{ after(grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-rule__PropertyRule__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PropertyRule__Group__0__Impl
- rule__PropertyRule__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getVisibilityAssignment_0()); }
-(rule__PropertyRule__VisibilityAssignment_0)
-{ after(grammarAccess.getPropertyRuleAccess().getVisibilityAssignment_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PropertyRule__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PropertyRule__Group__1__Impl
- rule__PropertyRule__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getIsDerivedAssignment_1()); }
-(rule__PropertyRule__IsDerivedAssignment_1)?
-{ after(grammarAccess.getPropertyRuleAccess().getIsDerivedAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PropertyRule__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PropertyRule__Group__2__Impl
- rule__PropertyRule__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getNameAssignment_2()); }
-(rule__PropertyRule__NameAssignment_2)
-{ after(grammarAccess.getPropertyRuleAccess().getNameAssignment_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PropertyRule__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PropertyRule__Group__3__Impl
- rule__PropertyRule__Group__4
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getColonKeyword_3()); }
-
- ':'
-
-{ after(grammarAccess.getPropertyRuleAccess().getColonKeyword_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PropertyRule__Group__4
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PropertyRule__Group__4__Impl
- rule__PropertyRule__Group__5
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__Group__4__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getAlternatives_4()); }
-(rule__PropertyRule__Alternatives_4)
-{ after(grammarAccess.getPropertyRuleAccess().getAlternatives_4()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PropertyRule__Group__5
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PropertyRule__Group__5__Impl
- rule__PropertyRule__Group__6
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__Group__5__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getMultiplicityAssignment_5()); }
-(rule__PropertyRule__MultiplicityAssignment_5)?
-{ after(grammarAccess.getPropertyRuleAccess().getMultiplicityAssignment_5()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PropertyRule__Group__6
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PropertyRule__Group__6__Impl
- rule__PropertyRule__Group__7
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__Group__6__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getModifiersAssignment_6()); }
-(rule__PropertyRule__ModifiersAssignment_6)?
-{ after(grammarAccess.getPropertyRuleAccess().getModifiersAssignment_6()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__PropertyRule__Group__7
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__PropertyRule__Group__7__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__Group__7__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getDefaultAssignment_7()); }
-(rule__PropertyRule__DefaultAssignment_7)?
-{ after(grammarAccess.getPropertyRuleAccess().getDefaultAssignment_7()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-rule__TypeRule__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__TypeRule__Group__0__Impl
- rule__TypeRule__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypeRule__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); }
-(rule__TypeRule__PathAssignment_0)?
-{ after(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__TypeRule__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__TypeRule__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypeRule__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); }
-(rule__TypeRule__TypeAssignment_1)
-{ after(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__QualifiedName__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__QualifiedName__Group__0__Impl
- rule__QualifiedName__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); }
-(rule__QualifiedName__PathAssignment_0)
-{ after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__QualifiedName__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__QualifiedName__Group__1__Impl
- rule__QualifiedName__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); }
-
- '::'
-
-{ after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__QualifiedName__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__QualifiedName__Group__2__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); }
-(rule__QualifiedName__RemainingAssignment_2)?
-{ after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-rule__MultiplicityRule__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicityRule__Group__0__Impl
- rule__MultiplicityRule__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicityRule__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0()); }
-
- '['
-
-{ after(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MultiplicityRule__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicityRule__Group__1__Impl
- rule__MultiplicityRule__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicityRule__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1()); }
-(rule__MultiplicityRule__BoundsAssignment_1)
-{ after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MultiplicityRule__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicityRule__Group__2__Impl
- rule__MultiplicityRule__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicityRule__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getGroup_2()); }
-(rule__MultiplicityRule__Group_2__0)?
-{ after(grammarAccess.getMultiplicityRuleAccess().getGroup_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MultiplicityRule__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicityRule__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicityRule__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3()); }
-
- ']'
-
-{ after(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__MultiplicityRule__Group_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicityRule__Group_2__0__Impl
- rule__MultiplicityRule__Group_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicityRule__Group_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0()); }
-
- '..'
-
-{ after(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__MultiplicityRule__Group_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__MultiplicityRule__Group_2__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicityRule__Group_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1()); }
-(rule__MultiplicityRule__BoundsAssignment_2_1)
-{ after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__ModifiersRule__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ModifiersRule__Group__0__Impl
- rule__ModifiersRule__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifiersRule__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0()); }
-
- '{'
-
-{ after(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ModifiersRule__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ModifiersRule__Group__1__Impl
- rule__ModifiersRule__Group__2
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifiersRule__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1()); }
-(rule__ModifiersRule__ValuesAssignment_1)
-{ after(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ModifiersRule__Group__2
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ModifiersRule__Group__2__Impl
- rule__ModifiersRule__Group__3
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifiersRule__Group__2__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifiersRuleAccess().getGroup_2()); }
-(rule__ModifiersRule__Group_2__0)*
-{ after(grammarAccess.getModifiersRuleAccess().getGroup_2()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ModifiersRule__Group__3
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ModifiersRule__Group__3__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifiersRule__Group__3__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3()); }
-
- '}'
-
-{ after(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-
-
-
-rule__ModifiersRule__Group_2__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ModifiersRule__Group_2__0__Impl
- rule__ModifiersRule__Group_2__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifiersRule__Group_2__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0()); }
-
- ','
-
-{ after(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__ModifiersRule__Group_2__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__ModifiersRule__Group_2__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifiersRule__Group_2__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1()); }
-(rule__ModifiersRule__ValuesAssignment_2_1)
-{ after(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__RedefinesRule__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__RedefinesRule__Group__0__Impl
- rule__RedefinesRule__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RedefinesRule__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRedefinesRuleAccess().getRedefinesKeyword_0()); }
-
- 'redefines'
-
-{ after(grammarAccess.getRedefinesRuleAccess().getRedefinesKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__RedefinesRule__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__RedefinesRule__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RedefinesRule__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRedefinesRuleAccess().getPropertyAssignment_1()); }
-(rule__RedefinesRule__PropertyAssignment_1)
-{ after(grammarAccess.getRedefinesRuleAccess().getPropertyAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__SubsetsRule__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SubsetsRule__Group__0__Impl
- rule__SubsetsRule__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubsetsRule__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubsetsRuleAccess().getSubsetsKeyword_0()); }
-
- 'subsets'
-
-{ after(grammarAccess.getSubsetsRuleAccess().getSubsetsKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__SubsetsRule__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__SubsetsRule__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubsetsRule__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubsetsRuleAccess().getPropertyAssignment_1()); }
-(rule__SubsetsRule__PropertyAssignment_1)
-{ after(grammarAccess.getSubsetsRuleAccess().getPropertyAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-rule__DefaultValueRule__Group__0
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DefaultValueRule__Group__0__Impl
- rule__DefaultValueRule__Group__1
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultValueRule__Group__0__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0()); }
-
- '='
-
-{ after(grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-rule__DefaultValueRule__Group__1
- @init {
- int stackSize = keepStackSize();
- }
-:
- rule__DefaultValueRule__Group__1__Impl
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultValueRule__Group__1__Impl
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDefaultValueRuleAccess().getDefaultAssignment_1()); }
-(rule__DefaultValueRule__DefaultAssignment_1)
-{ after(grammarAccess.getDefaultValueRuleAccess().getDefaultAssignment_1()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-
-
-
-
-
-rule__PropertyRule__VisibilityAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); }
- ruleVisibilityKind{ after(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__IsDerivedAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0()); }
-(
-{ before(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0()); }
-
- '/'
-
-{ after(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0()); }
-)
-
-{ after(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__NameAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getNameIDTerminalRuleCall_2_0()); }
- RULE_ID{ after(grammarAccess.getPropertyRuleAccess().getNameIDTerminalRuleCall_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__TypeAssignment_4_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); }
- ruleTypeRule{ after(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__MultiplicityAssignment_5
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); }
- ruleMultiplicityRule{ after(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__ModifiersAssignment_6
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); }
- ruleModifiersRule{ after(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__PropertyRule__DefaultAssignment_7
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); }
- ruleDefaultValueRule{ after(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypeRule__PathAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); }
- ruleQualifiedName{ after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__TypeRule__TypeAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getTypeRuleAccess().getTypeClassifierCrossReference_1_0()); }
-(
-{ before(grammarAccess.getTypeRuleAccess().getTypeClassifierIDTerminalRuleCall_1_0_1()); }
- RULE_ID{ after(grammarAccess.getTypeRuleAccess().getTypeClassifierIDTerminalRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getTypeRuleAccess().getTypeClassifierCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__PathAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); }
-(
-{ before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); }
- RULE_ID{ after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); }
-)
-{ after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__QualifiedName__RemainingAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); }
- ruleQualifiedName{ after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicityRule__BoundsAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); }
- ruleBoundSpecification{ after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__MultiplicityRule__BoundsAssignment_2_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); }
- ruleBoundSpecification{ after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__BoundSpecification__ValueAssignment
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralParserRuleCall_0()); }
- ruleUnlimitedLiteral{ after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralParserRuleCall_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifiersRule__ValuesAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); }
- ruleModifierSpecification{ after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifiersRule__ValuesAssignment_2_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); }
- ruleModifierSpecification{ after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifierSpecification__ValueAssignment_0
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); }
- ruleModifierKind{ after(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifierSpecification__RedefinesAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); }
- ruleRedefinesRule{ after(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__ModifierSpecification__SubsetsAssignment_2
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); }
- ruleSubsetsRule{ after(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__RedefinesRule__PropertyAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyCrossReference_1_0()); }
-(
-{ before(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyIDTerminalRuleCall_1_0_1()); }
- RULE_ID{ after(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyIDTerminalRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__SubsetsRule__PropertyAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyCrossReference_1_0()); }
-(
-{ before(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyIDTerminalRuleCall_1_0_1()); }
- RULE_ID{ after(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyIDTerminalRuleCall_1_0_1()); }
-)
-{ after(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyCrossReference_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-rule__DefaultValueRule__DefaultAssignment_1
- @init {
- int stackSize = keepStackSize();
- }
-:
-(
-{ before(grammarAccess.getDefaultValueRuleAccess().getDefaultSTRINGTerminalRuleCall_1_0()); }
- RULE_STRING{ after(grammarAccess.getDefaultValueRuleAccess().getDefaultSTRINGTerminalRuleCall_1_0()); }
-)
-
-;
-finally {
- restoreStackSize(stackSize);
-}
-
-
-RULE_ID : (('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*|'\'' ( options {greedy=false;} : . )*'\'');
-
-RULE_STRING : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
-
-RULE_ML_COMMENT : '/*' ~('@') ( options {greedy=false;} : . )*'*/';
-
-RULE_SL_COMMENT : '//' ~(('\n'|'\r'|'@'))* ('\r'? '\n')?;
-
-RULE_INT : ('0'..'9')+;
-
-RULE_INTEGER_VALUE : (('0'|'1'..'9' ('_'? '0'..'9')*)|('0b'|'0B') '0'..'1' ('_'? '0'..'1')*|('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F') ('_'? ('0'..'9'|'a'..'f'|'A'..'F'))*|'0' '_'? '0'..'7' ('_'? '0'..'7')*);
-
-RULE_WS : (' '|'\t'|'\r'|'\n')+;
-
-RULE_ANY_OTHER : .;
-
-
+/*
+* generated by Xtext
+*/
+grammar InternalUmlProperty;
+
+options {
+ superClass=AbstractInternalContentAssistParser;
+
+}
+
+@lexer::header {
+package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal;
+
+// Hack: Use our own Lexer superclass by means of import.
+// Currently there is no other way to specify the superclass for the lexer.
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
+}
+
+@parser::header {
+package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal;
+
+import java.io.InputStream;
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.parser.*;
+import org.eclipse.xtext.parser.impl.*;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
+import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA;
+import org.eclipse.papyrus.uml.textedit.property.xtext.services.UmlPropertyGrammarAccess;
+
+}
+
+@parser::members {
+
+ private UmlPropertyGrammarAccess grammarAccess;
+
+ public void setGrammarAccess(UmlPropertyGrammarAccess grammarAccess) {
+ this.grammarAccess = grammarAccess;
+ }
+
+ @Override
+ protected Grammar getGrammar() {
+ return grammarAccess.getGrammar();
+ }
+
+ @Override
+ protected String getValueForTokenName(String tokenName) {
+ return tokenName;
+ }
+
+}
+
+
+
+
+// Entry rule entryRulePropertyRule
+entryRulePropertyRule
+:
+{ before(grammarAccess.getPropertyRuleRule()); }
+ rulePropertyRule
+{ after(grammarAccess.getPropertyRuleRule()); }
+ EOF
+;
+
+// Rule PropertyRule
+rulePropertyRule
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getPropertyRuleAccess().getGroup()); }
+(rule__PropertyRule__Group__0)
+{ after(grammarAccess.getPropertyRuleAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleTypeRule
+entryRuleTypeRule
+:
+{ before(grammarAccess.getTypeRuleRule()); }
+ ruleTypeRule
+{ after(grammarAccess.getTypeRuleRule()); }
+ EOF
+;
+
+// Rule TypeRule
+ruleTypeRule
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getTypeRuleAccess().getGroup()); }
+(rule__TypeRule__Group__0)
+{ after(grammarAccess.getTypeRuleAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleQualifiedName
+entryRuleQualifiedName
+:
+{ before(grammarAccess.getQualifiedNameRule()); }
+ ruleQualifiedName
+{ after(grammarAccess.getQualifiedNameRule()); }
+ EOF
+;
+
+// Rule QualifiedName
+ruleQualifiedName
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getQualifiedNameAccess().getGroup()); }
+(rule__QualifiedName__Group__0)
+{ after(grammarAccess.getQualifiedNameAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleMultiplicityRule
+entryRuleMultiplicityRule
+:
+{ before(grammarAccess.getMultiplicityRuleRule()); }
+ ruleMultiplicityRule
+{ after(grammarAccess.getMultiplicityRuleRule()); }
+ EOF
+;
+
+// Rule MultiplicityRule
+ruleMultiplicityRule
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getGroup()); }
+(rule__MultiplicityRule__Group__0)
+{ after(grammarAccess.getMultiplicityRuleAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleBoundSpecification
+entryRuleBoundSpecification
+:
+{ before(grammarAccess.getBoundSpecificationRule()); }
+ ruleBoundSpecification
+{ after(grammarAccess.getBoundSpecificationRule()); }
+ EOF
+;
+
+// Rule BoundSpecification
+ruleBoundSpecification
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); }
+(rule__BoundSpecification__ValueAssignment)
+{ after(grammarAccess.getBoundSpecificationAccess().getValueAssignment()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleUnlimitedLiteral
+entryRuleUnlimitedLiteral
+:
+{ before(grammarAccess.getUnlimitedLiteralRule()); }
+ ruleUnlimitedLiteral
+{ after(grammarAccess.getUnlimitedLiteralRule()); }
+ EOF
+;
+
+// Rule UnlimitedLiteral
+ruleUnlimitedLiteral
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getUnlimitedLiteralAccess().getAlternatives()); }
+(rule__UnlimitedLiteral__Alternatives)
+{ after(grammarAccess.getUnlimitedLiteralAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleModifiersRule
+entryRuleModifiersRule
+:
+{ before(grammarAccess.getModifiersRuleRule()); }
+ ruleModifiersRule
+{ after(grammarAccess.getModifiersRuleRule()); }
+ EOF
+;
+
+// Rule ModifiersRule
+ruleModifiersRule
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getModifiersRuleAccess().getGroup()); }
+(rule__ModifiersRule__Group__0)
+{ after(grammarAccess.getModifiersRuleAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleModifierSpecification
+entryRuleModifierSpecification
+:
+{ before(grammarAccess.getModifierSpecificationRule()); }
+ ruleModifierSpecification
+{ after(grammarAccess.getModifierSpecificationRule()); }
+ EOF
+;
+
+// Rule ModifierSpecification
+ruleModifierSpecification
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getModifierSpecificationAccess().getAlternatives()); }
+(rule__ModifierSpecification__Alternatives)
+{ after(grammarAccess.getModifierSpecificationAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleRedefinesRule
+entryRuleRedefinesRule
+:
+{ before(grammarAccess.getRedefinesRuleRule()); }
+ ruleRedefinesRule
+{ after(grammarAccess.getRedefinesRuleRule()); }
+ EOF
+;
+
+// Rule RedefinesRule
+ruleRedefinesRule
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getRedefinesRuleAccess().getGroup()); }
+(rule__RedefinesRule__Group__0)
+{ after(grammarAccess.getRedefinesRuleAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleSubsetsRule
+entryRuleSubsetsRule
+:
+{ before(grammarAccess.getSubsetsRuleRule()); }
+ ruleSubsetsRule
+{ after(grammarAccess.getSubsetsRuleRule()); }
+ EOF
+;
+
+// Rule SubsetsRule
+ruleSubsetsRule
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getSubsetsRuleAccess().getGroup()); }
+(rule__SubsetsRule__Group__0)
+{ after(grammarAccess.getSubsetsRuleAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Entry rule entryRuleDefaultValueRule
+entryRuleDefaultValueRule
+:
+{ before(grammarAccess.getDefaultValueRuleRule()); }
+ ruleDefaultValueRule
+{ after(grammarAccess.getDefaultValueRuleRule()); }
+ EOF
+;
+
+// Rule DefaultValueRule
+ruleDefaultValueRule
+ @init {
+ int stackSize = keepStackSize();
+ }
+ :
+(
+{ before(grammarAccess.getDefaultValueRuleAccess().getGroup()); }
+(rule__DefaultValueRule__Group__0)
+{ after(grammarAccess.getDefaultValueRuleAccess().getGroup()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+// Rule VisibilityKind
+ruleVisibilityKind
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getVisibilityKindAccess().getAlternatives()); }
+(rule__VisibilityKind__Alternatives)
+{ after(grammarAccess.getVisibilityKindAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+// Rule ModifierKind
+ruleModifierKind
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifierKindAccess().getAlternatives()); }
+(rule__ModifierKind__Alternatives)
+{ after(grammarAccess.getModifierKindAccess().getAlternatives()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+rule__PropertyRule__Alternatives_4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getTypeAssignment_4_0()); }
+(rule__PropertyRule__TypeAssignment_4_0)
+{ after(grammarAccess.getPropertyRuleAccess().getTypeAssignment_4_0()); }
+)
+
+ |(
+{ before(grammarAccess.getPropertyRuleAccess().getUndefinedKeyword_4_1()); }
+
+ '<Undefined>'
+
+{ after(grammarAccess.getPropertyRuleAccess().getUndefinedKeyword_4_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__UnlimitedLiteral__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getUnlimitedLiteralAccess().getINTTerminalRuleCall_0()); }
+ RULE_INT
+{ after(grammarAccess.getUnlimitedLiteralAccess().getINTTerminalRuleCall_0()); }
+)
+
+ |(
+{ before(grammarAccess.getUnlimitedLiteralAccess().getAsteriskKeyword_1()); }
+
+ '*'
+
+{ after(grammarAccess.getUnlimitedLiteralAccess().getAsteriskKeyword_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifierSpecification__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifierSpecificationAccess().getValueAssignment_0()); }
+(rule__ModifierSpecification__ValueAssignment_0)
+{ after(grammarAccess.getModifierSpecificationAccess().getValueAssignment_0()); }
+)
+
+ |(
+{ before(grammarAccess.getModifierSpecificationAccess().getRedefinesAssignment_1()); }
+(rule__ModifierSpecification__RedefinesAssignment_1)
+{ after(grammarAccess.getModifierSpecificationAccess().getRedefinesAssignment_1()); }
+)
+
+ |(
+{ before(grammarAccess.getModifierSpecificationAccess().getSubsetsAssignment_2()); }
+(rule__ModifierSpecification__SubsetsAssignment_2)
+{ after(grammarAccess.getModifierSpecificationAccess().getSubsetsAssignment_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__VisibilityKind__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); }
+( '+'
+)
+{ after(grammarAccess.getVisibilityKindAccess().getPublicEnumLiteralDeclaration_0()); }
+)
+
+ |(
+{ before(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); }
+( '-'
+)
+{ after(grammarAccess.getVisibilityKindAccess().getPrivateEnumLiteralDeclaration_1()); }
+)
+
+ |(
+{ before(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); }
+( '#'
+)
+{ after(grammarAccess.getVisibilityKindAccess().getProtectedEnumLiteralDeclaration_2()); }
+)
+
+ |(
+{ before(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); }
+( '~'
+)
+{ after(grammarAccess.getVisibilityKindAccess().getPackageEnumLiteralDeclaration_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifierKind__Alternatives
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0()); }
+( 'readOnly'
+)
+{ after(grammarAccess.getModifierKindAccess().getReadOnlyEnumLiteralDeclaration_0()); }
+)
+
+ |(
+{ before(grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1()); }
+( 'union'
+)
+{ after(grammarAccess.getModifierKindAccess().getUnionEnumLiteralDeclaration_1()); }
+)
+
+ |(
+{ before(grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2()); }
+( 'ordered'
+)
+{ after(grammarAccess.getModifierKindAccess().getOrderedEnumLiteralDeclaration_2()); }
+)
+
+ |(
+{ before(grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3()); }
+( 'unique'
+)
+{ after(grammarAccess.getModifierKindAccess().getUniqueEnumLiteralDeclaration_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+rule__PropertyRule__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PropertyRule__Group__0__Impl
+ rule__PropertyRule__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getVisibilityAssignment_0()); }
+(rule__PropertyRule__VisibilityAssignment_0)
+{ after(grammarAccess.getPropertyRuleAccess().getVisibilityAssignment_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PropertyRule__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PropertyRule__Group__1__Impl
+ rule__PropertyRule__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getIsDerivedAssignment_1()); }
+(rule__PropertyRule__IsDerivedAssignment_1)?
+{ after(grammarAccess.getPropertyRuleAccess().getIsDerivedAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PropertyRule__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PropertyRule__Group__2__Impl
+ rule__PropertyRule__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getNameAssignment_2()); }
+(rule__PropertyRule__NameAssignment_2)
+{ after(grammarAccess.getPropertyRuleAccess().getNameAssignment_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PropertyRule__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PropertyRule__Group__3__Impl
+ rule__PropertyRule__Group__4
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getColonKeyword_3()); }
+
+ ':'
+
+{ after(grammarAccess.getPropertyRuleAccess().getColonKeyword_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PropertyRule__Group__4
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PropertyRule__Group__4__Impl
+ rule__PropertyRule__Group__5
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__Group__4__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getAlternatives_4()); }
+(rule__PropertyRule__Alternatives_4)
+{ after(grammarAccess.getPropertyRuleAccess().getAlternatives_4()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PropertyRule__Group__5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PropertyRule__Group__5__Impl
+ rule__PropertyRule__Group__6
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__Group__5__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getMultiplicityAssignment_5()); }
+(rule__PropertyRule__MultiplicityAssignment_5)?
+{ after(grammarAccess.getPropertyRuleAccess().getMultiplicityAssignment_5()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PropertyRule__Group__6
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PropertyRule__Group__6__Impl
+ rule__PropertyRule__Group__7
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__Group__6__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getModifiersAssignment_6()); }
+(rule__PropertyRule__ModifiersAssignment_6)?
+{ after(grammarAccess.getPropertyRuleAccess().getModifiersAssignment_6()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__PropertyRule__Group__7
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__PropertyRule__Group__7__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__Group__7__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getDefaultAssignment_7()); }
+(rule__PropertyRule__DefaultAssignment_7)?
+{ after(grammarAccess.getPropertyRuleAccess().getDefaultAssignment_7()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+rule__TypeRule__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__TypeRule__Group__0__Impl
+ rule__TypeRule__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypeRule__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); }
+(rule__TypeRule__PathAssignment_0)?
+{ after(grammarAccess.getTypeRuleAccess().getPathAssignment_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__TypeRule__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__TypeRule__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypeRule__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); }
+(rule__TypeRule__TypeAssignment_1)
+{ after(grammarAccess.getTypeRuleAccess().getTypeAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__QualifiedName__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__QualifiedName__Group__0__Impl
+ rule__QualifiedName__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); }
+(rule__QualifiedName__PathAssignment_0)
+{ after(grammarAccess.getQualifiedNameAccess().getPathAssignment_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__QualifiedName__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__QualifiedName__Group__1__Impl
+ rule__QualifiedName__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); }
+
+ '::'
+
+{ after(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__QualifiedName__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__QualifiedName__Group__2__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); }
+(rule__QualifiedName__RemainingAssignment_2)?
+{ after(grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+rule__MultiplicityRule__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicityRule__Group__0__Impl
+ rule__MultiplicityRule__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicityRule__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0()); }
+
+ '['
+
+{ after(grammarAccess.getMultiplicityRuleAccess().getLeftSquareBracketKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MultiplicityRule__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicityRule__Group__1__Impl
+ rule__MultiplicityRule__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicityRule__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1()); }
+(rule__MultiplicityRule__BoundsAssignment_1)
+{ after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MultiplicityRule__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicityRule__Group__2__Impl
+ rule__MultiplicityRule__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicityRule__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getGroup_2()); }
+(rule__MultiplicityRule__Group_2__0)?
+{ after(grammarAccess.getMultiplicityRuleAccess().getGroup_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MultiplicityRule__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicityRule__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicityRule__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3()); }
+
+ ']'
+
+{ after(grammarAccess.getMultiplicityRuleAccess().getRightSquareBracketKeyword_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+rule__MultiplicityRule__Group_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicityRule__Group_2__0__Impl
+ rule__MultiplicityRule__Group_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicityRule__Group_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0()); }
+
+ '..'
+
+{ after(grammarAccess.getMultiplicityRuleAccess().getFullStopFullStopKeyword_2_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__MultiplicityRule__Group_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__MultiplicityRule__Group_2__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicityRule__Group_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1()); }
+(rule__MultiplicityRule__BoundsAssignment_2_1)
+{ after(grammarAccess.getMultiplicityRuleAccess().getBoundsAssignment_2_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__ModifiersRule__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ModifiersRule__Group__0__Impl
+ rule__ModifiersRule__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifiersRule__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0()); }
+
+ '{'
+
+{ after(grammarAccess.getModifiersRuleAccess().getLeftCurlyBracketKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ModifiersRule__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ModifiersRule__Group__1__Impl
+ rule__ModifiersRule__Group__2
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifiersRule__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1()); }
+(rule__ModifiersRule__ValuesAssignment_1)
+{ after(grammarAccess.getModifiersRuleAccess().getValuesAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ModifiersRule__Group__2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ModifiersRule__Group__2__Impl
+ rule__ModifiersRule__Group__3
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifiersRule__Group__2__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifiersRuleAccess().getGroup_2()); }
+(rule__ModifiersRule__Group_2__0)*
+{ after(grammarAccess.getModifiersRuleAccess().getGroup_2()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ModifiersRule__Group__3
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ModifiersRule__Group__3__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifiersRule__Group__3__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3()); }
+
+ '}'
+
+{ after(grammarAccess.getModifiersRuleAccess().getRightCurlyBracketKeyword_3()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+
+
+
+rule__ModifiersRule__Group_2__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ModifiersRule__Group_2__0__Impl
+ rule__ModifiersRule__Group_2__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifiersRule__Group_2__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0()); }
+
+ ','
+
+{ after(grammarAccess.getModifiersRuleAccess().getCommaKeyword_2_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__ModifiersRule__Group_2__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__ModifiersRule__Group_2__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifiersRule__Group_2__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1()); }
+(rule__ModifiersRule__ValuesAssignment_2_1)
+{ after(grammarAccess.getModifiersRuleAccess().getValuesAssignment_2_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__RedefinesRule__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__RedefinesRule__Group__0__Impl
+ rule__RedefinesRule__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__RedefinesRule__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getRedefinesRuleAccess().getRedefinesKeyword_0()); }
+
+ 'redefines'
+
+{ after(grammarAccess.getRedefinesRuleAccess().getRedefinesKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__RedefinesRule__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__RedefinesRule__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__RedefinesRule__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getRedefinesRuleAccess().getPropertyAssignment_1()); }
+(rule__RedefinesRule__PropertyAssignment_1)
+{ after(grammarAccess.getRedefinesRuleAccess().getPropertyAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__SubsetsRule__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__SubsetsRule__Group__0__Impl
+ rule__SubsetsRule__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SubsetsRule__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSubsetsRuleAccess().getSubsetsKeyword_0()); }
+
+ 'subsets'
+
+{ after(grammarAccess.getSubsetsRuleAccess().getSubsetsKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__SubsetsRule__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__SubsetsRule__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SubsetsRule__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSubsetsRuleAccess().getPropertyAssignment_1()); }
+(rule__SubsetsRule__PropertyAssignment_1)
+{ after(grammarAccess.getSubsetsRuleAccess().getPropertyAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+rule__DefaultValueRule__Group__0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DefaultValueRule__Group__0__Impl
+ rule__DefaultValueRule__Group__1
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultValueRule__Group__0__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0()); }
+
+ '='
+
+{ after(grammarAccess.getDefaultValueRuleAccess().getEqualsSignKeyword_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+rule__DefaultValueRule__Group__1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+ rule__DefaultValueRule__Group__1__Impl
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultValueRule__Group__1__Impl
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDefaultValueRuleAccess().getDefaultAssignment_1()); }
+(rule__DefaultValueRule__DefaultAssignment_1)
+{ after(grammarAccess.getDefaultValueRuleAccess().getDefaultAssignment_1()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+
+
+
+
+
+rule__PropertyRule__VisibilityAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); }
+ ruleVisibilityKind{ after(grammarAccess.getPropertyRuleAccess().getVisibilityVisibilityKindEnumRuleCall_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__IsDerivedAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0()); }
+(
+{ before(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0()); }
+
+ '/'
+
+{ after(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0()); }
+)
+
+{ after(grammarAccess.getPropertyRuleAccess().getIsDerivedSolidusKeyword_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__NameAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getNameIDTerminalRuleCall_2_0()); }
+ RULE_ID{ after(grammarAccess.getPropertyRuleAccess().getNameIDTerminalRuleCall_2_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__TypeAssignment_4_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); }
+ ruleTypeRule{ after(grammarAccess.getPropertyRuleAccess().getTypeTypeRuleParserRuleCall_4_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__MultiplicityAssignment_5
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); }
+ ruleMultiplicityRule{ after(grammarAccess.getPropertyRuleAccess().getMultiplicityMultiplicityRuleParserRuleCall_5_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__ModifiersAssignment_6
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); }
+ ruleModifiersRule{ after(grammarAccess.getPropertyRuleAccess().getModifiersModifiersRuleParserRuleCall_6_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__PropertyRule__DefaultAssignment_7
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); }
+ ruleDefaultValueRule{ after(grammarAccess.getPropertyRuleAccess().getDefaultDefaultValueRuleParserRuleCall_7_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypeRule__PathAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); }
+ ruleQualifiedName{ after(grammarAccess.getTypeRuleAccess().getPathQualifiedNameParserRuleCall_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__TypeRule__TypeAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getTypeRuleAccess().getTypeClassifierCrossReference_1_0()); }
+(
+{ before(grammarAccess.getTypeRuleAccess().getTypeClassifierIDTerminalRuleCall_1_0_1()); }
+ RULE_ID{ after(grammarAccess.getTypeRuleAccess().getTypeClassifierIDTerminalRuleCall_1_0_1()); }
+)
+{ after(grammarAccess.getTypeRuleAccess().getTypeClassifierCrossReference_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__PathAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); }
+(
+{ before(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); }
+ RULE_ID{ after(grammarAccess.getQualifiedNameAccess().getPathNamespaceIDTerminalRuleCall_0_0_1()); }
+)
+{ after(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__QualifiedName__RemainingAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); }
+ ruleQualifiedName{ after(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicityRule__BoundsAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); }
+ ruleBoundSpecification{ after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__MultiplicityRule__BoundsAssignment_2_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); }
+ ruleBoundSpecification{ after(grammarAccess.getMultiplicityRuleAccess().getBoundsBoundSpecificationParserRuleCall_2_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__BoundSpecification__ValueAssignment
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralParserRuleCall_0()); }
+ ruleUnlimitedLiteral{ after(grammarAccess.getBoundSpecificationAccess().getValueUnlimitedLiteralParserRuleCall_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifiersRule__ValuesAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); }
+ ruleModifierSpecification{ after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifiersRule__ValuesAssignment_2_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); }
+ ruleModifierSpecification{ after(grammarAccess.getModifiersRuleAccess().getValuesModifierSpecificationParserRuleCall_2_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifierSpecification__ValueAssignment_0
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); }
+ ruleModifierKind{ after(grammarAccess.getModifierSpecificationAccess().getValueModifierKindEnumRuleCall_0_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifierSpecification__RedefinesAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); }
+ ruleRedefinesRule{ after(grammarAccess.getModifierSpecificationAccess().getRedefinesRedefinesRuleParserRuleCall_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__ModifierSpecification__SubsetsAssignment_2
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); }
+ ruleSubsetsRule{ after(grammarAccess.getModifierSpecificationAccess().getSubsetsSubsetsRuleParserRuleCall_2_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__RedefinesRule__PropertyAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyCrossReference_1_0()); }
+(
+{ before(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyIDTerminalRuleCall_1_0_1()); }
+ RULE_ID{ after(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyIDTerminalRuleCall_1_0_1()); }
+)
+{ after(grammarAccess.getRedefinesRuleAccess().getPropertyPropertyCrossReference_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__SubsetsRule__PropertyAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyCrossReference_1_0()); }
+(
+{ before(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyIDTerminalRuleCall_1_0_1()); }
+ RULE_ID{ after(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyIDTerminalRuleCall_1_0_1()); }
+)
+{ after(grammarAccess.getSubsetsRuleAccess().getPropertyPropertyCrossReference_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+rule__DefaultValueRule__DefaultAssignment_1
+ @init {
+ int stackSize = keepStackSize();
+ }
+:
+(
+{ before(grammarAccess.getDefaultValueRuleAccess().getDefaultSTRINGTerminalRuleCall_1_0()); }
+ RULE_STRING{ after(grammarAccess.getDefaultValueRuleAccess().getDefaultSTRINGTerminalRuleCall_1_0()); }
+)
+
+;
+finally {
+ restoreStackSize(stackSize);
+}
+
+
+RULE_ID : (('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*|'\'' ( options {greedy=false;} : . )*'\'');
+
+RULE_STRING : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
+
+RULE_ML_COMMENT : '/*' ~('@') ( options {greedy=false;} : . )*'*/';
+
+RULE_SL_COMMENT : '//' ~(('\n'|'\r'|'@'))* ('\r'? '\n')?;
+
+RULE_INT : ('0'..'9')+;
+
+RULE_INTEGER_VALUE : (('0'|'1'..'9' ('_'? '0'..'9')*)|('0b'|'0B') '0'..'1' ('_'? '0'..'1')*|('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F') ('_'? ('0'..'9'|'a'..'f'|'A'..'F'))*|'0' '_'? '0'..'7' ('_'? '0'..'7')*);
+
+RULE_WS : (' '|'\t'|'\r'|'\n')+;
+
+RULE_ANY_OTHER : .;
+
+
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.tokens b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.tokens
index 2117c9007fa..621105276c1 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.tokens
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlProperty.tokens
@@ -1,52 +1,52 @@
-RULE_ID=5
-T__29=29
-T__28=28
-T__27=27
-T__26=26
-T__25=25
-T__24=24
-T__23=23
-T__22=22
+'#'=16
+'*'=13
+'+'=14
+','=29
+'-'=15
+'..'=26
+'/'=33
+':'=22
+'::'=23
+'<Undefined>'=12
+'='=32
+'['=24
+']'=25
+'ordered'=20
+'readOnly'=18
+'redefines'=30
+'subsets'=31
+'union'=19
+'unique'=21
+'{'=27
+'}'=28
+'~'=17
RULE_ANY_OTHER=11
-T__21=21
-T__20=20
+RULE_ID=5
+RULE_INT=4
RULE_INTEGER_VALUE=9
-RULE_SL_COMMENT=8
RULE_ML_COMMENT=7
-T__30=30
+RULE_SL_COMMENT=8
+RULE_STRING=6
+RULE_WS=10
+T__12=12
+T__13=13
+T__14=14
+T__15=15
+T__16=16
+T__17=17
+T__18=18
T__19=19
+T__20=20
+T__21=21
+T__22=22
+T__23=23
+T__24=24
+T__25=25
+T__26=26
+T__27=27
+T__28=28
+T__29=29
+T__30=30
T__31=31
-RULE_STRING=6
T__32=32
T__33=33
-T__16=16
-T__15=15
-T__18=18
-T__17=17
-T__12=12
-T__14=14
-T__13=13
-RULE_INT=4
-RULE_WS=10
-'..'=26
-'ordered'=20
-'}'=28
-'#'=16
-'~'=17
-'/'=33
-'redefines'=30
-'readOnly'=18
-'unique'=21
-'{'=27
-'subsets'=31
-'='=32
-':'=22
-'<Undefined>'=12
-'*'=13
-'-'=15
-'::'=23
-'['=24
-'+'=14
-','=29
-'union'=19
-']'=25
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyLexer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyLexer.java
index 57956bca871..39b0013d214 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyLexer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyLexer.java
@@ -2,17 +2,10 @@ package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.i
// Hack: Use our own Lexer superclass by means of import.
// Currently there is no other way to specify the superclass for the lexer.
-import org.antlr.runtime.BaseRecognizer;
-import org.antlr.runtime.CharStream;
-import org.antlr.runtime.DFA;
-import org.antlr.runtime.EarlyExitException;
-import org.antlr.runtime.IntStream;
-import org.antlr.runtime.MismatchedSetException;
-import org.antlr.runtime.NoViableAltException;
-import org.antlr.runtime.RecognitionException;
-import org.antlr.runtime.RecognizerSharedState;
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer;
+import org.antlr.runtime.*;
+
@SuppressWarnings("all")
public class InternalUmlPropertyLexer extends Lexer {
public static final int RULE_ID = 5;
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyParser.java
index d32a03e6340..a92e7ba04ad 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyParser.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/contentassist/antlr/internal/InternalUmlPropertyParser.java
@@ -1,13 +1,10 @@
package org.eclipse.papyrus.uml.textedit.property.xtext.ui.contentassist.antlr.internal;
-import org.antlr.runtime.BitSet;
-import org.antlr.runtime.NoViableAltException;
-import org.antlr.runtime.RecognitionException;
-import org.antlr.runtime.RecognizerSharedState;
-import org.antlr.runtime.TokenStream;
-import org.eclipse.papyrus.uml.textedit.property.xtext.services.UmlPropertyGrammarAccess;
-import org.eclipse.xtext.Grammar;
+import org.eclipse.xtext.*;
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser;
+import org.eclipse.papyrus.uml.textedit.property.xtext.services.UmlPropertyGrammarAccess;
+
+import org.antlr.runtime.*;
@SuppressWarnings("all")
public class InternalUmlPropertyParser extends AbstractInternalContentAssistParser {
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/internal/UmlPropertyActivator.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/internal/UmlPropertyActivator.java
index 2200fc7b46b..bc409ae776f 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/internal/UmlPropertyActivator.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/property/xtext/ui/internal/UmlPropertyActivator.java
@@ -1,96 +1,95 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.uml.textedit.property.xtext.ui.internal;
-
-import java.util.Collections;
-import java.util.Map;
-
-import org.apache.log4j.Logger;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.eclipse.xtext.ui.shared.SharedStateModule;
-import org.eclipse.xtext.util.Modules2;
-import org.osgi.framework.BundleContext;
-
-import com.google.common.collect.Maps;
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-import com.google.inject.Module;
-
-/**
- * This class was generated. Customizations should only happen in a newly
- * introduced subclass.
- */
-public class UmlPropertyActivator extends AbstractUIPlugin {
-
- public static final String ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_PROPERTY_XTEXT_UMLPROPERTY = "org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty";
-
- private static final Logger logger = Logger.getLogger(UmlPropertyActivator.class);
-
- private static UmlPropertyActivator INSTANCE;
-
- private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1));
-
- @Override
- public void start(BundleContext context) throws Exception {
- super.start(context);
- INSTANCE = this;
-
- }
-
- @Override
- public void stop(BundleContext context) throws Exception {
- injectors.clear();
- INSTANCE = null;
- super.stop(context);
- }
-
- public static UmlPropertyActivator getInstance() {
- return INSTANCE;
- }
-
- public Injector getInjector(String language) {
- synchronized (injectors) {
- Injector injector = injectors.get(language);
- if (injector == null) {
- injectors.put(language, injector = createInjector(language));
- }
- return injector;
- }
- }
-
- protected Injector createInjector(String language) {
- try {
- Module runtimeModule = getRuntimeModule(language);
- Module sharedStateModule = getSharedStateModule();
- Module uiModule = getUiModule(language);
- Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule);
- return Guice.createInjector(mergedModule);
- } catch (Exception e) {
- logger.error("Failed to create injector for " + language);
- logger.error(e.getMessage(), e);
- throw new RuntimeException("Failed to create injector for " + language, e);
- }
- }
-
- protected Module getRuntimeModule(String grammar) {
- if (ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_PROPERTY_XTEXT_UMLPROPERTY.equals(grammar)) {
- return new org.eclipse.papyrus.uml.textedit.property.xtext.UmlPropertyRuntimeModule();
- }
-
- throw new IllegalArgumentException(grammar);
- }
-
- protected Module getUiModule(String grammar) {
- if (ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_PROPERTY_XTEXT_UMLPROPERTY.equals(grammar)) {
- return new org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyUiModule(this);
- }
-
- throw new IllegalArgumentException(grammar);
- }
-
- protected Module getSharedStateModule() {
- return new SharedStateModule();
- }
-
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.papyrus.uml.textedit.property.xtext.ui.internal;
+
+import java.util.Collections;
+import java.util.Map;
+
+import org.apache.log4j.Logger;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.eclipse.xtext.ui.shared.SharedStateModule;
+import org.eclipse.xtext.util.Modules2;
+import org.osgi.framework.BundleContext;
+
+import com.google.common.collect.Maps;
+import com.google.inject.Guice;
+import com.google.inject.Injector;
+import com.google.inject.Module;
+
+/**
+ * This class was generated. Customizations should only happen in a newly
+ * introduced subclass.
+ */
+public class UmlPropertyActivator extends AbstractUIPlugin {
+
+ public static final String ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_PROPERTY_XTEXT_UMLPROPERTY = "org.eclipse.papyrus.uml.textedit.property.xtext.UmlProperty";
+
+ private static final Logger logger = Logger.getLogger(UmlPropertyActivator.class);
+
+ private static UmlPropertyActivator INSTANCE;
+
+ private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1));
+
+ @Override
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ INSTANCE = this;
+ }
+
+ @Override
+ public void stop(BundleContext context) throws Exception {
+ injectors.clear();
+ INSTANCE = null;
+ super.stop(context);
+ }
+
+ public static UmlPropertyActivator getInstance() {
+ return INSTANCE;
+ }
+
+ public Injector getInjector(String language) {
+ synchronized (injectors) {
+ Injector injector = injectors.get(language);
+ if (injector == null) {
+ injectors.put(language, injector = createInjector(language));
+ }
+ return injector;
+ }
+ }
+
+ protected Injector createInjector(String language) {
+ try {
+ Module runtimeModule = getRuntimeModule(language);
+ Module sharedStateModule = getSharedStateModule();
+ Module uiModule = getUiModule(language);
+ Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule);
+ return Guice.createInjector(mergedModule);
+ } catch (Exception e) {
+ logger.error("Failed to create injector for " + language);
+ logger.error(e.getMessage(), e);
+ throw new RuntimeException("Failed to create injector for " + language, e);
+ }
+ }
+
+ protected Module getRuntimeModule(String grammar) {
+ if (ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_PROPERTY_XTEXT_UMLPROPERTY.equals(grammar)) {
+ return new org.eclipse.papyrus.uml.textedit.property.xtext.UmlPropertyRuntimeModule();
+ }
+
+ throw new IllegalArgumentException(grammar);
+ }
+
+ protected Module getUiModule(String grammar) {
+ if (ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_PROPERTY_XTEXT_UMLPROPERTY.equals(grammar)) {
+ return new org.eclipse.papyrus.uml.textedit.property.xtext.ui.UmlPropertyUiModule(this);
+ }
+
+ throw new IllegalArgumentException(grammar);
+ }
+
+ protected Module getSharedStateModule() {
+ return new SharedStateModule();
+ }
+
+}

Back to the top