Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/AbstractUmlTransitionRuntimeModule.java21
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.ecore2
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.genmodel8
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.xtextbinbin4326 -> 4349 bytes
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g28
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.tokens52
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionLexer.java1371
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionParser.java570
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSemanticSequencer.java196
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSyntacticSequencer.java6
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/services/UmlTransitionGrammarAccess.java249
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AbsoluteTimeEventRule.java3
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AnyReceiveEventRule.java12
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/BehaviorKind.java115
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/CallOrSignalEventRule.java12
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/ChangeEventRule.java12
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EffectRule.java19
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EventRule.java3
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/GuardRule.java12
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/RelativeTimeEventRule.java3
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TimeEventRule.java12
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TransitionRule.java24
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionFactory.java29
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionPackage.java170
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AbsoluteTimeEventRuleImpl.java15
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AnyReceiveEventRuleImpl.java76
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/CallOrSignalEventRuleImpl.java81
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/ChangeEventRuleImpl.java76
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EffectRuleImpl.java95
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EventRuleImpl.java15
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/GuardRuleImpl.java76
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/RelativeTimeEventRuleImpl.java15
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TimeEventRuleImpl.java76
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TransitionRuleImpl.java152
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionFactoryImpl.java132
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionPackageImpl.java217
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionAdapterFactory.java193
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionResourceFactoryImpl.java55
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionResourceImpl.java32
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionSwitch.java143
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionXMLProcessor.java54
41 files changed, 1858 insertions, 2574 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/AbstractUmlTransitionRuntimeModule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/AbstractUmlTransitionRuntimeModule.java
index 37d0af2b184..5412ae3566f 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/AbstractUmlTransitionRuntimeModule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/AbstractUmlTransitionRuntimeModule.java
@@ -6,7 +6,6 @@ package org.eclipse.papyrus.uml.textedit.transition.xtext;
import java.util.Properties;
import org.eclipse.xtext.Constants;
-import org.eclipse.xtext.service.DefaultRuntimeModule;
import com.google.inject.Binder;
import com.google.inject.name.Names;
@@ -15,7 +14,7 @@ import com.google.inject.name.Names;
* Manual modifications go to {org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransitionRuntimeModule}
*/
@SuppressWarnings("all")
-public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeModule {
+public abstract class AbstractUmlTransitionRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
protected Properties properties = null;
@@ -30,9 +29,8 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
public void configureFileExtensions(Binder binder) {
- if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) {
+ if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("umltransition");
- }
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
@@ -46,7 +44,6 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
// contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
- @Override
public Class<? extends org.eclipse.xtext.serializer.sequencer.ISemanticSequencer> bindISemanticSequencer() {
return org.eclipse.papyrus.uml.textedit.transition.xtext.serializer.UmlTransitionSemanticSequencer.class;
}
@@ -57,7 +54,6 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
// contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
- @Override
public Class<? extends org.eclipse.xtext.serializer.ISerializer> bindISerializer() {
return org.eclipse.xtext.serializer.impl.Serializer.class;
}
@@ -68,7 +64,6 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- @Override
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
@@ -95,7 +90,6 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- @Override
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
}
@@ -107,7 +101,6 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- @Override
public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
return org.eclipse.papyrus.uml.textedit.transition.xtext.scoping.UmlTransitionScopeProvider.class;
}
@@ -119,7 +112,6 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- @Override
public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
return org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider.class;
}
@@ -130,13 +122,11 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
// contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
- @Override
public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class;
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- @Override
public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() {
return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class;
}
@@ -147,20 +137,17 @@ public abstract class AbstractUmlTransitionRuntimeModule extends DefaultRuntimeM
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- @Override
public void configureIResourceDescriptions(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- @Override
- 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))
+ 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.resource.impl.ResourceSetBasedResourceDescriptions.class);
}
// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
- @Override
public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
return org.eclipse.papyrus.uml.textedit.transition.xtext.formatting.UmlTransitionFormatter.class;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.ecore b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.ecore
index 28cb75e3344..6f0b47ff905 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.ecore
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.ecore
@@ -12,7 +12,7 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EventRule"/>
<eClassifiers xsi:type="ecore:EClass" name="CallOrSignalEventRule" eSuperTypes="#//EventRule">
- <eStructuralFeatures xsi:type="ecore:EReference" name="operationOrSignal" eType="ecore:EClass ../../../../../../../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="operationOrSignal" eType="ecore:EClass platform:/resource/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AnyReceiveEventRule" eSuperTypes="#//EventRule">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isAReceiveEvent" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.genmodel b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.genmodel
index c2b183a7145..b8ee3a1bc2c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.genmodel
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.genmodel
@@ -4,11 +4,11 @@
editDirectory="/org.eclipse.papyrus.uml.textedit.transition.xtext.edit/src" editorDirectory="/org.eclipse.papyrus.uml.textedit.transition.xtext.editor/src"
modelPluginID="org.eclipse.papyrus.uml.textedit.transition.xtext" forceOverwrite="true"
modelName="UmlTransition" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
- complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.uml.textedit.transition.xtext.edit"
- editorPluginID="org.eclipse.papyrus.uml.textedit.transition.xtext.editor" runtimeVersion="2.9"
- usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../../../../../../../../org.eclipse.uml2.uml/model/UML.genmodel#//uml">
+ complianceLevel="6.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.uml.textedit.transition.xtext.edit"
+ editorPluginID="org.eclipse.papyrus.uml.textedit.transition.xtext.editor" runtimeVersion="2.14"
+ usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/resource/org.eclipse.uml2.uml/model/UML.genmodel#//uml">
<genPackages prefix="UmlTransition" basePackage="org.eclipse.papyrus.uml.textedit.transition.xtext"
- resource="XML" disposableProviderFactory="true" ecorePackage="UmlTransition.ecore#/">
+ disposableProviderFactory="true" ecorePackage="UmlTransition.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="UmlTransition.ecore#//BehaviorKind">
<genEnumLiterals ecoreEnumLiteral="UmlTransition.ecore#//BehaviorKind/ACTIVITY"/>
<genEnumLiterals ecoreEnumLiteral="UmlTransition.ecore#//BehaviorKind/STATE_MACHINE"/>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.xtextbin b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.xtextbin
index 101e9598ae5..03e35087299 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.xtextbin
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/UmlTransition.xtextbin
Binary files differ
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g
index b399b63a149..8af40b0e2d1 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
grammar InternalUmlTransition;
options {
@@ -91,7 +91,7 @@ ruleTransitionRule returns [EObject current=null]
$current,
"triggers",
lv_triggers_0_0,
- "EventRule");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.EventRule");
afterParserOrEnumRuleCall();
}
@@ -113,7 +113,7 @@ ruleTransitionRule returns [EObject current=null]
$current,
"triggers",
lv_triggers_2_0,
- "EventRule");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.EventRule");
afterParserOrEnumRuleCall();
}
@@ -131,7 +131,7 @@ ruleTransitionRule returns [EObject current=null]
$current,
"guard",
lv_guard_3_0,
- "GuardRule");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.GuardRule");
afterParserOrEnumRuleCall();
}
@@ -149,7 +149,7 @@ ruleTransitionRule returns [EObject current=null]
$current,
"effect",
lv_effect_4_0,
- "EffectRule");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.EffectRule");
afterParserOrEnumRuleCall();
}
@@ -363,7 +363,7 @@ ruleRelativeTimeEventRule returns [EObject current=null]
$current,
"expr",
lv_expr_1_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
)
@@ -406,7 +406,7 @@ ruleAbsoluteTimeEventRule returns [EObject current=null]
$current,
"expr",
lv_expr_1_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
)
@@ -449,7 +449,7 @@ ruleChangeEventRule returns [EObject current=null]
$current,
"exp",
lv_exp_1_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
)
@@ -492,7 +492,7 @@ ruleGuardRule returns [EObject current=null]
$current,
"constraint",
lv_constraint_1_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
)
@@ -538,7 +538,7 @@ ruleEffectRule returns [EObject current=null]
$current,
"kind",
lv_kind_1_0,
- "BehaviorKind");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.BehaviorKind");
afterParserOrEnumRuleCall();
}
@@ -557,7 +557,7 @@ ruleEffectRule returns [EObject current=null]
$current,
"behaviorName",
lv_behaviorName_2_0,
- "ID");
+ "org.eclipse.papyrus.uml.alf.Common.ID");
}
)
@@ -593,8 +593,6 @@ ruleBehaviorKind returns [Enumerator current=null]
-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_ID : (('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*|'\'' ( options {greedy=false;} : . )*'\'');
RULE_STRING : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
@@ -605,6 +603,8 @@ 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.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.tokens b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.tokens
index c29e51f9364..dcb3992632a 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.tokens
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.tokens
@@ -1,30 +1,30 @@
-RULE_ID=4
-T__22=22
-RULE_ANY_OTHER=11
-T__21=21
-T__20=20
-RULE_INTEGER_VALUE=6
-RULE_SL_COMMENT=8
-RULE_ML_COMMENT=7
-T__19=19
-RULE_STRING=5
-T__16=16
-T__15=15
-T__18=18
-T__17=17
-T__12=12
-T__14=14
-T__13=13
-RULE_INT=9
-RULE_WS=10
-'after'=14
-'when'=16
+','=12
'/'=19
+'Activity'=20
'OpaqueBehavior'=22
-'['=17
-','=12
-'at'=15
-'all'=13
'StateMachine'=21
+'['=17
']'=18
-'Activity'=20
+'after'=14
+'all'=13
+'at'=15
+'when'=16
+RULE_ANY_OTHER=11
+RULE_ID=4
+RULE_INT=8
+RULE_INTEGER_VALUE=9
+RULE_ML_COMMENT=6
+RULE_SL_COMMENT=7
+RULE_STRING=5
+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
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionLexer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionLexer.java
index ddf2bdbf107..00503ba7886 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionLexer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionLexer.java
@@ -1,7 +1,5 @@
package org.eclipse.papyrus.uml.textedit.transition.xtext.parser.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.antlr.runtime.BaseRecognizer;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.DFA;
@@ -11,30 +9,32 @@ import org.antlr.runtime.MismatchedSetException;
import org.antlr.runtime.NoViableAltException;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.RecognizerSharedState;
+// 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.parser.antlr.Lexer;
@SuppressWarnings("all")
public class InternalUmlTransitionLexer extends Lexer {
- public static final int RULE_ID = 4;
- public static final int T__22 = 22;
- public static final int T__21 = 21;
- public static final int RULE_ANY_OTHER = 11;
- public static final int T__20 = 20;
- public static final int RULE_INTEGER_VALUE = 6;
- public static final int EOF = -1;
- public static final int RULE_SL_COMMENT = 8;
- public static final int RULE_ML_COMMENT = 7;
- public static final int T__19 = 19;
public static final int RULE_STRING = 5;
- public static final int T__16 = 16;
+ public static final int RULE_SL_COMMENT = 7;
+ public static final int T__19 = 19;
public static final int T__15 = 15;
- public static final int T__18 = 18;
+ public static final int T__16 = 16;
public static final int T__17 = 17;
+ public static final int T__18 = 18;
public static final int T__12 = 12;
- public static final int T__14 = 14;
public static final int T__13 = 13;
- public static final int RULE_INT = 9;
+ public static final int T__14 = 14;
+ public static final int EOF = -1;
+ public static final int RULE_ID = 4;
public static final int RULE_WS = 10;
+ public static final int RULE_ANY_OTHER = 11;
+ public static final int RULE_INT = 8;
+ public static final int T__22 = 22;
+ public static final int RULE_ML_COMMENT = 6;
+ public static final int RULE_INTEGER_VALUE = 9;
+ public static final int T__20 = 20;
+ public static final int T__21 = 21;
// delegates
// delegators
@@ -52,9 +52,8 @@ public class InternalUmlTransitionLexer extends Lexer {
}
- @Override
public String getGrammarFileName() {
- return "../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g";
+ return "InternalUmlTransition.g";
}
// $ANTLR start "T__12"
@@ -62,8 +61,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__12;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:11:7: ( ',' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:11:9: ','
+ // InternalUmlTransition.g:11:7: ( ',' )
+ // InternalUmlTransition.g:11:9: ','
{
match(',');
@@ -74,7 +73,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__12"
// $ANTLR start "T__13"
@@ -82,8 +80,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__13;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:12:7: ( 'all' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:12:9: 'all'
+ // InternalUmlTransition.g:12:7: ( 'all' )
+ // InternalUmlTransition.g:12:9: 'all'
{
match("all");
@@ -95,7 +93,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__13"
// $ANTLR start "T__14"
@@ -103,8 +100,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__14;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:13:7: ( 'after' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:13:9: 'after'
+ // InternalUmlTransition.g:13:7: ( 'after' )
+ // InternalUmlTransition.g:13:9: 'after'
{
match("after");
@@ -116,7 +113,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__14"
// $ANTLR start "T__15"
@@ -124,8 +120,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__15;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:14:7: ( 'at' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:14:9: 'at'
+ // InternalUmlTransition.g:14:7: ( 'at' )
+ // InternalUmlTransition.g:14:9: 'at'
{
match("at");
@@ -137,7 +133,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__15"
// $ANTLR start "T__16"
@@ -145,8 +140,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:15:7: ( 'when' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:15:9: 'when'
+ // InternalUmlTransition.g:15:7: ( 'when' )
+ // InternalUmlTransition.g:15:9: 'when'
{
match("when");
@@ -158,7 +153,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__16"
// $ANTLR start "T__17"
@@ -166,8 +160,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:16:7: ( '[' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:16:9: '['
+ // InternalUmlTransition.g:16:7: ( '[' )
+ // InternalUmlTransition.g:16:9: '['
{
match('[');
@@ -178,7 +172,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__17"
// $ANTLR start "T__18"
@@ -186,8 +179,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:17:7: ( ']' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:17:9: ']'
+ // InternalUmlTransition.g:17:7: ( ']' )
+ // InternalUmlTransition.g:17:9: ']'
{
match(']');
@@ -198,7 +191,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__18"
// $ANTLR start "T__19"
@@ -206,8 +198,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:18:7: ( '/' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:18:9: '/'
+ // InternalUmlTransition.g:18:7: ( '/' )
+ // InternalUmlTransition.g:18:9: '/'
{
match('/');
@@ -218,7 +210,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__19"
// $ANTLR start "T__20"
@@ -226,8 +217,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:19:7: ( 'Activity' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:19:9: 'Activity'
+ // InternalUmlTransition.g:19:7: ( 'Activity' )
+ // InternalUmlTransition.g:19:9: 'Activity'
{
match("Activity");
@@ -239,7 +230,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__20"
// $ANTLR start "T__21"
@@ -247,8 +237,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:20:7: ( 'StateMachine' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:20:9: 'StateMachine'
+ // InternalUmlTransition.g:20:7: ( 'StateMachine' )
+ // InternalUmlTransition.g:20:9: 'StateMachine'
{
match("StateMachine");
@@ -260,7 +250,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__21"
// $ANTLR start "T__22"
@@ -268,8 +257,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = T__22;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:21:7: ( 'OpaqueBehavior' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:21:9: 'OpaqueBehavior'
+ // InternalUmlTransition.g:21:7: ( 'OpaqueBehavior' )
+ // InternalUmlTransition.g:21:9: 'OpaqueBehavior'
{
match("OpaqueBehavior");
@@ -281,497 +270,60 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__22"
- // $ANTLR start "RULE_INTEGER_VALUE"
- public final void mRULE_INTEGER_VALUE() throws RecognitionException {
- try {
- int _type = RULE_INTEGER_VALUE;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:20: ( ( ( '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' )* ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:22: ( ( '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' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:22: ( ( '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' )* )
- int alt13 = 4;
- int LA13_0 = input.LA(1);
-
- if ((LA13_0 == '0')) {
- switch (input.LA(2)) {
- case 'B':
- case 'b': {
- alt13 = 2;
- }
- break;
- case 'X':
- case 'x': {
- alt13 = 3;
- }
- break;
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '_': {
- alt13 = 4;
- }
- break;
- default:
- alt13 = 1;
- }
-
- }
- else if (((LA13_0 >= '1' && LA13_0 <= '9'))) {
- alt13 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
-
- throw nvae;
- }
- switch (alt13) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- int alt3 = 2;
- int LA3_0 = input.LA(1);
-
- if ((LA3_0 == '0')) {
- alt3 = 1;
- }
- else if (((LA3_0 >= '1' && LA3_0 <= '9'))) {
- alt3 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 3, 0, input);
-
- throw nvae;
- }
- switch (alt3) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:24: '0'
- {
- match('0');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:28: '1' .. '9' ( ( '_' )? '0' .. '9' )*
- {
- matchRange('1', '9');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:37: ( ( '_' )? '0' .. '9' )*
- loop2: do {
- int alt2 = 2;
- int LA2_0 = input.LA(1);
-
- if (((LA2_0 >= '0' && LA2_0 <= '9') || LA2_0 == '_')) {
- alt2 = 1;
- }
-
-
- switch (alt2) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:38: ( '_' )? '0' .. '9'
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:38: ( '_' )?
- int alt1 = 2;
- int LA1_0 = input.LA(1);
-
- if ((LA1_0 == '_')) {
- alt1 = 1;
- }
- switch (alt1) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:38: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '9');
-
- }
- break;
-
- default:
- break loop2;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:55: ( '0b' | '0B' )
- int alt4 = 2;
- int LA4_0 = input.LA(1);
-
- if ((LA4_0 == '0')) {
- int LA4_1 = input.LA(2);
-
- if ((LA4_1 == 'b')) {
- alt4 = 1;
- }
- else if ((LA4_1 == 'B')) {
- alt4 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 0, input);
-
- throw nvae;
- }
- switch (alt4) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:56: '0b'
- {
- match("0b");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:61: '0B'
- {
- match("0B");
-
-
- }
- break;
-
- }
-
- matchRange('0', '1');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:76: ( ( '_' )? '0' .. '1' )*
- loop6: do {
- int alt6 = 2;
- int LA6_0 = input.LA(1);
-
- if (((LA6_0 >= '0' && LA6_0 <= '1') || LA6_0 == '_')) {
- alt6 = 1;
- }
-
-
- switch (alt6) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:77: ( '_' )? '0' .. '1'
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:77: ( '_' )?
- int alt5 = 2;
- int LA5_0 = input.LA(1);
-
- if ((LA5_0 == '_')) {
- alt5 = 1;
- }
- switch (alt5) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:77: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '1');
-
- }
- break;
-
- default:
- break loop6;
- }
- } while (true);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' ..
- // '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:93: ( '0x' | '0X' )
- int alt7 = 2;
- int LA7_0 = input.LA(1);
-
- if ((LA7_0 == '0')) {
- int LA7_1 = input.LA(2);
-
- if ((LA7_1 == 'x')) {
- alt7 = 1;
- }
- else if ((LA7_1 == 'X')) {
- alt7 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 0, input);
-
- throw nvae;
- }
- switch (alt7) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:94: '0x'
- {
- match("0x");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:99: '0X'
- {
- match("0X");
-
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:134: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- loop9: do {
- int alt9 = 2;
- int LA9_0 = input.LA(1);
-
- if (((LA9_0 >= '0' && LA9_0 <= '9') || (LA9_0 >= 'A' && LA9_0 <= 'F') || LA9_0 == '_' || (LA9_0 >= 'a' && LA9_0 <= 'f'))) {
- alt9 = 1;
- }
-
-
- switch (alt9) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:135: ( '_' )?
- int alt8 = 2;
- int LA8_0 = input.LA(1);
-
- if ((LA8_0 == '_')) {
- alt8 = 1;
- }
- switch (alt8) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:135: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop9;
- }
- } while (true);
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
- {
- match('0');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:175: ( '_' )?
- int alt10 = 2;
- int LA10_0 = input.LA(1);
-
- if ((LA10_0 == '_')) {
- alt10 = 1;
- }
- switch (alt10) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:175: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:189: ( ( '_' )? '0' .. '7' )*
- loop12: do {
- int alt12 = 2;
- int LA12_0 = input.LA(1);
-
- if (((LA12_0 >= '0' && LA12_0 <= '7') || LA12_0 == '_')) {
- alt12 = 1;
- }
-
-
- switch (alt12) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:190: ( '_' )? '0' .. '7'
- {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:190: ( '_' )?
- int alt11 = 2;
- int LA11_0 = input.LA(1);
-
- if ((LA11_0 == '_')) {
- alt11 = 1;
- }
- switch (alt11) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:596:190: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
-
- }
- break;
-
- default:
- break loop12;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INTEGER_VALUE"
-
// $ANTLR start "RULE_ID"
public final void mRULE_ID() throws RecognitionException {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:598:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' ..
- // '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:598:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9'
- // )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ // InternalUmlTransition.g:596:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
+ // InternalUmlTransition.g:596:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:598:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' ..
- // '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
- int alt16 = 2;
- int LA16_0 = input.LA(1);
-
- if (((LA16_0 >= 'A' && LA16_0 <= 'Z') || LA16_0 == '_' || (LA16_0 >= 'a' && LA16_0 <= 'z'))) {
- alt16 = 1;
- }
- else if ((LA16_0 == '\'')) {
- alt16 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
+ // InternalUmlTransition.g:596:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ int alt3 = 2;
+ int LA3_0 = input.LA(1);
+
+ if (((LA3_0 >= 'A' && LA3_0 <= 'Z') || LA3_0 == '_' || (LA3_0 >= 'a' && LA3_0 <= 'z'))) {
+ alt3 = 1;
+ } else if ((LA3_0 == '\'')) {
+ alt3 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 3, 0, input);
throw nvae;
}
- switch (alt16) {
+ switch (alt3) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:598:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' ..
- // '9' )*
+ // InternalUmlTransition.g:596:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
if ((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
}
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:598:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop14: do {
- int alt14 = 2;
- int LA14_0 = input.LA(1);
+ // InternalUmlTransition.g:596:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop1: do {
+ int alt1 = 2;
+ int LA1_0 = input.LA(1);
- if (((LA14_0 >= '0' && LA14_0 <= '9') || (LA14_0 >= 'A' && LA14_0 <= 'Z') || LA14_0 == '_' || (LA14_0 >= 'a' && LA14_0 <= 'z'))) {
- alt14 = 1;
+ if (((LA1_0 >= '0' && LA1_0 <= '9') || (LA1_0 >= 'A' && LA1_0 <= 'Z') || LA1_0 == '_' || (LA1_0 >= 'a' && LA1_0 <= 'z'))) {
+ alt1 = 1;
}
- switch (alt14) {
+ switch (alt1) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:
+ // InternalUmlTransition.g:
{
if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -782,7 +334,7 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop14;
+ break loop1;
}
} while (true);
@@ -790,25 +342,24 @@ public class InternalUmlTransitionLexer extends Lexer {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:598:70: '\\'' ( options {greedy=false; } : . )* '\\''
+ // InternalUmlTransition.g:596:70: '\\'' ( options {greedy=false; } : . )* '\\''
{
match('\'');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:598:75: ( options {greedy=false; } : . )*
- loop15: do {
- int alt15 = 2;
- int LA15_0 = input.LA(1);
-
- if ((LA15_0 == '\'')) {
- alt15 = 2;
- }
- else if (((LA15_0 >= '\u0000' && LA15_0 <= '&') || (LA15_0 >= '(' && LA15_0 <= '\uFFFF'))) {
- alt15 = 1;
+ // InternalUmlTransition.g:596:75: ( options {greedy=false; } : . )*
+ loop2: do {
+ int alt2 = 2;
+ int LA2_0 = input.LA(1);
+
+ if ((LA2_0 == '\'')) {
+ alt2 = 2;
+ } else if (((LA2_0 >= '\u0000' && LA2_0 <= '&') || (LA2_0 >= '(' && LA2_0 <= '\uFFFF'))) {
+ alt2 = 1;
}
- switch (alt15) {
+ switch (alt2) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:598:103: .
+ // InternalUmlTransition.g:596:103: .
{
matchAny();
@@ -816,7 +367,7 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop15;
+ break loop2;
}
} while (true);
@@ -835,7 +386,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ID"
// $ANTLR start "RULE_STRING"
@@ -843,36 +393,31 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:600:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( (
- // '\\\\' | '\"' ) ) )* '\"' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:600:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( (
- // '\\\\' | '\"' ) ) )* '\"'
+ // InternalUmlTransition.g:598:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalUmlTransition.g:598:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:600:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( (
- // '\\\\' | '\"' ) ) )*
- loop17: do {
- int alt17 = 3;
- int LA17_0 = input.LA(1);
-
- if ((LA17_0 == '\\')) {
- alt17 = 1;
- }
- else if (((LA17_0 >= '\u0000' && LA17_0 <= '!') || (LA17_0 >= '#' && LA17_0 <= '[') || (LA17_0 >= ']' && LA17_0 <= '\uFFFF'))) {
- alt17 = 2;
+ // InternalUmlTransition.g:598:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop4: do {
+ int alt4 = 3;
+ int LA4_0 = input.LA(1);
+
+ if ((LA4_0 == '\\')) {
+ alt4 = 1;
+ } else if (((LA4_0 >= '\u0000' && LA4_0 <= '!') || (LA4_0 >= '#' && LA4_0 <= '[') || (LA4_0 >= ']' && LA4_0 <= '\uFFFF'))) {
+ alt4 = 2;
}
- switch (alt17) {
+ switch (alt4) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:600:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
+ // InternalUmlTransition.g:598:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
{
match('\\');
if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -882,13 +427,12 @@ public class InternalUmlTransitionLexer extends Lexer {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:600:61: ~ ( ( '\\\\' | '\"' ) )
+ // InternalUmlTransition.g:598:61: ~ ( ( '\\\\' | '\"' ) )
{
if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -899,7 +443,7 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop17;
+ break loop4;
}
} while (true);
@@ -912,7 +456,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_STRING"
// $ANTLR start "RULE_ML_COMMENT"
@@ -920,46 +463,43 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:602:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:602:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
+ // InternalUmlTransition.g:600:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
+ // InternalUmlTransition.g:600:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
{
match("/*");
if ((input.LA(1) >= '\u0000' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
}
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:602:31: ( options {greedy=false; } : . )*
- loop18: do {
- int alt18 = 2;
- int LA18_0 = input.LA(1);
+ // InternalUmlTransition.g:600:31: ( options {greedy=false; } : . )*
+ loop5: do {
+ int alt5 = 2;
+ int LA5_0 = input.LA(1);
- if ((LA18_0 == '*')) {
- int LA18_1 = input.LA(2);
+ if ((LA5_0 == '*')) {
+ int LA5_1 = input.LA(2);
- if ((LA18_1 == '/')) {
- alt18 = 2;
- }
- else if (((LA18_1 >= '\u0000' && LA18_1 <= '.') || (LA18_1 >= '0' && LA18_1 <= '\uFFFF'))) {
- alt18 = 1;
+ if ((LA5_1 == '/')) {
+ alt5 = 2;
+ } else if (((LA5_1 >= '\u0000' && LA5_1 <= '.') || (LA5_1 >= '0' && LA5_1 <= '\uFFFF'))) {
+ alt5 = 1;
}
- }
- else if (((LA18_0 >= '\u0000' && LA18_0 <= ')') || (LA18_0 >= '+' && LA18_0 <= '\uFFFF'))) {
- alt18 = 1;
+ } else if (((LA5_0 >= '\u0000' && LA5_0 <= ')') || (LA5_0 >= '+' && LA5_0 <= '\uFFFF'))) {
+ alt5 = 1;
}
- switch (alt18) {
+ switch (alt5) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:602:59: .
+ // InternalUmlTransition.g:600:59: .
{
matchAny();
@@ -967,7 +507,7 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop18;
+ break loop5;
}
} while (true);
@@ -981,7 +521,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ML_COMMENT"
// $ANTLR start "RULE_SL_COMMENT"
@@ -989,30 +528,29 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:604:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:604:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalUmlTransition.g:602:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalUmlTransition.g:602:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:604:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- loop19: do {
- int alt19 = 2;
- int LA19_0 = input.LA(1);
+ // InternalUmlTransition.g:602:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
+ loop6: do {
+ int alt6 = 2;
+ int LA6_0 = input.LA(1);
- if (((LA19_0 >= '\u0000' && LA19_0 <= '\t') || (LA19_0 >= '\u000B' && LA19_0 <= '\f') || (LA19_0 >= '\u000E' && LA19_0 <= '?') || (LA19_0 >= 'A' && LA19_0 <= '\uFFFF'))) {
- alt19 = 1;
+ if (((LA6_0 >= '\u0000' && LA6_0 <= '\t') || (LA6_0 >= '\u000B' && LA6_0 <= '\f') || (LA6_0 >= '\u000E' && LA6_0 <= '?') || (LA6_0 >= 'A' && LA6_0 <= '\uFFFF'))) {
+ alt6 = 1;
}
- switch (alt19) {
+ switch (alt6) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:604:24: ~ ( ( '\\n' | '\\r' | '@' ) )
+ // InternalUmlTransition.g:602:24: ~ ( ( '\\n' | '\\r' | '@' ) )
{
if ((input.LA(1) >= '\u0000' && input.LA(1) <= '\t') || (input.LA(1) >= '\u000B' && input.LA(1) <= '\f') || (input.LA(1) >= '\u000E' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -1023,31 +561,31 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- break loop19;
+ break loop6;
}
} while (true);
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:604:44: ( ( '\\r' )? '\\n' )?
- int alt21 = 2;
- int LA21_0 = input.LA(1);
+ // InternalUmlTransition.g:602:44: ( ( '\\r' )? '\\n' )?
+ int alt8 = 2;
+ int LA8_0 = input.LA(1);
- if ((LA21_0 == '\n' || LA21_0 == '\r')) {
- alt21 = 1;
+ if ((LA8_0 == '\n' || LA8_0 == '\r')) {
+ alt8 = 1;
}
- switch (alt21) {
+ switch (alt8) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:604:45: ( '\\r' )? '\\n'
+ // InternalUmlTransition.g:602:45: ( '\\r' )? '\\n'
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:604:45: ( '\\r' )?
- int alt20 = 2;
- int LA20_0 = input.LA(1);
+ // InternalUmlTransition.g:602:45: ( '\\r' )?
+ int alt7 = 2;
+ int LA7_0 = input.LA(1);
- if ((LA20_0 == '\r')) {
- alt20 = 1;
+ if ((LA7_0 == '\r')) {
+ alt7 = 1;
}
- switch (alt20) {
+ switch (alt7) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:604:45: '\\r'
+ // InternalUmlTransition.g:602:45: '\\r'
{
match('\r');
@@ -1071,7 +609,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_SL_COMMENT"
// $ANTLR start "RULE_INT"
@@ -1079,23 +616,23 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:606:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:606:12: ( '0' .. '9' )+
+ // InternalUmlTransition.g:604:10: ( ( '0' .. '9' )+ )
+ // InternalUmlTransition.g:604:12: ( '0' .. '9' )+
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:606:12: ( '0' .. '9' )+
- int cnt22 = 0;
- loop22: do {
- int alt22 = 2;
- int LA22_0 = input.LA(1);
-
- if (((LA22_0 >= '0' && LA22_0 <= '9'))) {
- alt22 = 1;
+ // InternalUmlTransition.g:604:12: ( '0' .. '9' )+
+ int cnt9 = 0;
+ loop9: do {
+ int alt9 = 2;
+ int LA9_0 = input.LA(1);
+
+ if (((LA9_0 >= '0' && LA9_0 <= '9'))) {
+ alt9 = 1;
}
- switch (alt22) {
+ switch (alt9) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:606:13: '0' .. '9'
+ // InternalUmlTransition.g:604:13: '0' .. '9'
{
matchRange('0', '9');
@@ -1103,14 +640,12 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- if (cnt22 >= 1) {
- break loop22;
- }
- EarlyExitException eee =
- new EarlyExitException(22, input);
+ if (cnt9 >= 1)
+ break loop9;
+ EarlyExitException eee = new EarlyExitException(9, input);
throw eee;
}
- cnt22++;
+ cnt9++;
} while (true);
@@ -1121,18 +656,424 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_INT"
+ // $ANTLR start "RULE_INTEGER_VALUE"
+ public final void mRULE_INTEGER_VALUE() throws RecognitionException {
+ try {
+ int _type = RULE_INTEGER_VALUE;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUmlTransition.g:606:20: ( ( ( '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' )* ) )
+ // InternalUmlTransition.g:606:22: ( ( '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' )* )
+ {
+ // InternalUmlTransition.g:606:22: ( ( '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' )* )
+ int alt22 = 4;
+ int LA22_0 = input.LA(1);
+
+ if ((LA22_0 == '0')) {
+ switch (input.LA(2)) {
+ case 'B':
+ case 'b': {
+ alt22 = 2;
+ }
+ break;
+ case 'X':
+ case 'x': {
+ alt22 = 3;
+ }
+ break;
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '_': {
+ alt22 = 4;
+ }
+ break;
+ default:
+ alt22 = 1;
+ }
+
+ } else if (((LA22_0 >= '1' && LA22_0 <= '9'))) {
+ alt22 = 1;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 22, 0, input);
+
+ throw nvae;
+ }
+ switch (alt22) {
+ case 1:
+ // InternalUmlTransition.g:606:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ {
+ // InternalUmlTransition.g:606:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ int alt12 = 2;
+ int LA12_0 = input.LA(1);
+
+ if ((LA12_0 == '0')) {
+ alt12 = 1;
+ } else if (((LA12_0 >= '1' && LA12_0 <= '9'))) {
+ alt12 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 12, 0, input);
+
+ throw nvae;
+ }
+ switch (alt12) {
+ case 1:
+ // InternalUmlTransition.g:606:24: '0'
+ {
+ match('0');
+
+ }
+ break;
+ case 2:
+ // InternalUmlTransition.g:606:28: '1' .. '9' ( ( '_' )? '0' .. '9' )*
+ {
+ matchRange('1', '9');
+ // InternalUmlTransition.g:606:37: ( ( '_' )? '0' .. '9' )*
+ loop11: do {
+ int alt11 = 2;
+ int LA11_0 = input.LA(1);
+
+ if (((LA11_0 >= '0' && LA11_0 <= '9') || LA11_0 == '_')) {
+ alt11 = 1;
+ }
+
+
+ switch (alt11) {
+ case 1:
+ // InternalUmlTransition.g:606:38: ( '_' )? '0' .. '9'
+ {
+ // InternalUmlTransition.g:606:38: ( '_' )?
+ int alt10 = 2;
+ int LA10_0 = input.LA(1);
+
+ if ((LA10_0 == '_')) {
+ alt10 = 1;
+ }
+ switch (alt10) {
+ case 1:
+ // InternalUmlTransition.g:606:38: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '9');
+
+ }
+ break;
+
+ default:
+ break loop11;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlTransition.g:606:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
+ {
+ // InternalUmlTransition.g:606:55: ( '0b' | '0B' )
+ int alt13 = 2;
+ int LA13_0 = input.LA(1);
+
+ if ((LA13_0 == '0')) {
+ int LA13_1 = input.LA(2);
+
+ if ((LA13_1 == 'b')) {
+ alt13 = 1;
+ } else if ((LA13_1 == 'B')) {
+ alt13 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 13, 1, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 13, 0, input);
+
+ throw nvae;
+ }
+ switch (alt13) {
+ case 1:
+ // InternalUmlTransition.g:606:56: '0b'
+ {
+ match("0b");
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlTransition.g:606:61: '0B'
+ {
+ match("0B");
+
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+ // InternalUmlTransition.g:606:76: ( ( '_' )? '0' .. '1' )*
+ loop15: do {
+ int alt15 = 2;
+ int LA15_0 = input.LA(1);
+
+ if (((LA15_0 >= '0' && LA15_0 <= '1') || LA15_0 == '_')) {
+ alt15 = 1;
+ }
+
+
+ switch (alt15) {
+ case 1:
+ // InternalUmlTransition.g:606:77: ( '_' )? '0' .. '1'
+ {
+ // InternalUmlTransition.g:606:77: ( '_' )?
+ int alt14 = 2;
+ int LA14_0 = input.LA(1);
+
+ if ((LA14_0 == '_')) {
+ alt14 = 1;
+ }
+ switch (alt14) {
+ case 1:
+ // InternalUmlTransition.g:606:77: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+
+ }
+ break;
+
+ default:
+ break loop15;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 3:
+ // InternalUmlTransition.g:606:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ {
+ // InternalUmlTransition.g:606:93: ( '0x' | '0X' )
+ int alt16 = 2;
+ int LA16_0 = input.LA(1);
+
+ if ((LA16_0 == '0')) {
+ int LA16_1 = input.LA(2);
+
+ if ((LA16_1 == 'x')) {
+ alt16 = 1;
+ } else if ((LA16_1 == 'X')) {
+ alt16 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 1, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 0, input);
+
+ throw nvae;
+ }
+ switch (alt16) {
+ case 1:
+ // InternalUmlTransition.g:606:94: '0x'
+ {
+ match("0x");
+
+
+ }
+ break;
+ case 2:
+ // InternalUmlTransition.g:606:99: '0X'
+ {
+ match("0X");
+
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // InternalUmlTransition.g:606:134: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ loop18: do {
+ int alt18 = 2;
+ int LA18_0 = input.LA(1);
+
+ if (((LA18_0 >= '0' && LA18_0 <= '9') || (LA18_0 >= 'A' && LA18_0 <= 'F') || LA18_0 == '_' || (LA18_0 >= 'a' && LA18_0 <= 'f'))) {
+ alt18 = 1;
+ }
+
+
+ switch (alt18) {
+ case 1:
+ // InternalUmlTransition.g:606:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ {
+ // InternalUmlTransition.g:606:135: ( '_' )?
+ int alt17 = 2;
+ int LA17_0 = input.LA(1);
+
+ if ((LA17_0 == '_')) {
+ alt17 = 1;
+ }
+ switch (alt17) {
+ case 1:
+ // InternalUmlTransition.g:606:135: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop18;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 4:
+ // InternalUmlTransition.g:606:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
+ {
+ match('0');
+ // InternalUmlTransition.g:606:175: ( '_' )?
+ int alt19 = 2;
+ int LA19_0 = input.LA(1);
+
+ if ((LA19_0 == '_')) {
+ alt19 = 1;
+ }
+ switch (alt19) {
+ case 1:
+ // InternalUmlTransition.g:606:175: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+ // InternalUmlTransition.g:606:189: ( ( '_' )? '0' .. '7' )*
+ loop21: do {
+ int alt21 = 2;
+ int LA21_0 = input.LA(1);
+
+ if (((LA21_0 >= '0' && LA21_0 <= '7') || LA21_0 == '_')) {
+ alt21 = 1;
+ }
+
+
+ switch (alt21) {
+ case 1:
+ // InternalUmlTransition.g:606:190: ( '_' )? '0' .. '7'
+ {
+ // InternalUmlTransition.g:606:190: ( '_' )?
+ int alt20 = 2;
+ int LA20_0 = input.LA(1);
+
+ if ((LA20_0 == '_')) {
+ alt20 = 1;
+ }
+ switch (alt20) {
+ case 1:
+ // InternalUmlTransition.g:606:190: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+
+ }
+ break;
+
+ default:
+ break loop21;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_INTEGER_VALUE"
+
// $ANTLR start "RULE_WS"
public final void mRULE_WS() throws RecognitionException {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:608:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:608:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalUmlTransition.g:608:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalUmlTransition.g:608:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:608:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalUmlTransition.g:608:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt23 = 0;
loop23: do {
int alt23 = 2;
@@ -1145,13 +1086,12 @@ public class InternalUmlTransitionLexer extends Lexer {
switch (alt23) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:
+ // InternalUmlTransition.g:
{
if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -1162,11 +1102,9 @@ public class InternalUmlTransitionLexer extends Lexer {
break;
default:
- if (cnt23 >= 1) {
+ if (cnt23 >= 1)
break loop23;
- }
- EarlyExitException eee =
- new EarlyExitException(23, input);
+ EarlyExitException eee = new EarlyExitException(23, input);
throw eee;
}
cnt23++;
@@ -1180,7 +1118,6 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_WS"
// $ANTLR start "RULE_ANY_OTHER"
@@ -1188,8 +1125,8 @@ public class InternalUmlTransitionLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:610:16: ( . )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:610:18: .
+ // InternalUmlTransition.g:610:16: ( . )
+ // InternalUmlTransition.g:610:18: .
{
matchAny();
@@ -1200,144 +1137,141 @@ public class InternalUmlTransitionLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ANY_OTHER"
- @Override
public void mTokens() throws RecognitionException {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22
- // | RULE_INTEGER_VALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER )
+ // InternalUmlTransition.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER )
int alt24 = 19;
alt24 = dfa24.predict(input);
switch (alt24) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:10: T__12
+ // InternalUmlTransition.g:1:10: T__12
{
mT__12();
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:16: T__13
+ // InternalUmlTransition.g:1:16: T__13
{
mT__13();
}
break;
case 3:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:22: T__14
+ // InternalUmlTransition.g:1:22: T__14
{
mT__14();
}
break;
case 4:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:28: T__15
+ // InternalUmlTransition.g:1:28: T__15
{
mT__15();
}
break;
case 5:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:34: T__16
+ // InternalUmlTransition.g:1:34: T__16
{
mT__16();
}
break;
case 6:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:40: T__17
+ // InternalUmlTransition.g:1:40: T__17
{
mT__17();
}
break;
case 7:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:46: T__18
+ // InternalUmlTransition.g:1:46: T__18
{
mT__18();
}
break;
case 8:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:52: T__19
+ // InternalUmlTransition.g:1:52: T__19
{
mT__19();
}
break;
case 9:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:58: T__20
+ // InternalUmlTransition.g:1:58: T__20
{
mT__20();
}
break;
case 10:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:64: T__21
+ // InternalUmlTransition.g:1:64: T__21
{
mT__21();
}
break;
case 11:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:70: T__22
+ // InternalUmlTransition.g:1:70: T__22
{
mT__22();
}
break;
case 12:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:76: RULE_INTEGER_VALUE
+ // InternalUmlTransition.g:1:76: RULE_ID
{
- mRULE_INTEGER_VALUE();
+ mRULE_ID();
}
break;
case 13:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:95: RULE_ID
+ // InternalUmlTransition.g:1:84: RULE_STRING
{
- mRULE_ID();
+ mRULE_STRING();
}
break;
case 14:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:103: RULE_STRING
+ // InternalUmlTransition.g:1:96: RULE_ML_COMMENT
{
- mRULE_STRING();
+ mRULE_ML_COMMENT();
}
break;
case 15:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:115: RULE_ML_COMMENT
+ // InternalUmlTransition.g:1:112: RULE_SL_COMMENT
{
- mRULE_ML_COMMENT();
+ mRULE_SL_COMMENT();
}
break;
case 16:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:131: RULE_SL_COMMENT
+ // InternalUmlTransition.g:1:128: RULE_INT
{
- mRULE_SL_COMMENT();
+ mRULE_INT();
}
break;
case 17:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:147: RULE_INT
+ // InternalUmlTransition.g:1:137: RULE_INTEGER_VALUE
{
- mRULE_INT();
+ mRULE_INTEGER_VALUE();
}
break;
case 18:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:156: RULE_WS
+ // InternalUmlTransition.g:1:156: RULE_WS
{
mRULE_WS();
}
break;
case 19:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:1:164: RULE_ANY_OTHER
+ // InternalUmlTransition.g:1:164: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1350,41 +1284,14 @@ public class InternalUmlTransitionLexer extends Lexer {
protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
- "\2\uffff\2\25\2\uffff\1\33\3\25\2\37\1\uffff\2\20\3\uffff\2\25" +
- "\1\47\1\uffff\1\25\5\uffff\3\25\1\uffff\1\37\1\uffff\1\37\2\uffff" +
- "\1\55\1\25\1\uffff\4\25\1\37\1\uffff\1\25\1\64\3\25\1\70\1\uffff" +
- "\3\25\1\uffff\6\25\1\102\2\25\1\uffff\6\25\1\113\1\25\1\uffff\1" +
- "\25\1\116\1\uffff";
- static final String DFA24_eofS =
- "\117\uffff";
- static final String DFA24_minS =
- "\1\0\1\uffff\1\146\1\150\2\uffff\1\52\1\143\1\164\1\160\2\60\1" +
- "\uffff\2\0\3\uffff\1\154\1\164\1\60\1\uffff\1\145\5\uffff\1\164" +
- "\2\141\1\uffff\1\60\1\uffff\1\60\2\uffff\1\60\1\145\1\uffff\1\156" +
- "\1\151\1\164\1\161\1\60\1\uffff\1\162\1\60\1\166\1\145\1\165\1\60" +
- "\1\uffff\1\151\1\115\1\145\1\uffff\1\164\1\141\1\102\1\171\1\143" +
- "\1\145\1\60\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1\151\1" +
- "\60\1\157\1\uffff\1\162\1\60\1\uffff";
- static final String DFA24_maxS =
- "\1\uffff\1\uffff\1\164\1\150\2\uffff\1\57\1\143\1\164\1\160\2\71" +
- "\1\uffff\2\uffff\3\uffff\1\154\1\164\1\172\1\uffff\1\145\5\uffff" +
- "\1\164\2\141\1\uffff\1\71\1\uffff\1\71\2\uffff\1\172\1\145\1\uffff" +
- "\1\156\1\151\1\164\1\161\1\71\1\uffff\1\162\1\172\1\166\1\145\1" +
- "\165\1\172\1\uffff\1\151\1\115\1\145\1\uffff\1\164\1\141\1\102\1" +
- "\171\1\143\1\145\1\172\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145" +
- "\1\151\1\172\1\157\1\uffff\1\162\1\172\1\uffff";
- static final String DFA24_acceptS =
- "\1\uffff\1\1\2\uffff\1\6\1\7\6\uffff\1\15\2\uffff\1\22\1\23\1\1" +
- "\3\uffff\1\15\1\uffff\1\6\1\7\1\17\1\20\1\10\3\uffff\1\14\1\uffff" +
- "\1\21\1\uffff\1\16\1\22\2\uffff\1\4\5\uffff\1\2\6\uffff\1\5\3\uffff" +
- "\1\3\11\uffff\1\11\10\uffff\1\12\2\uffff\1\13";
- static final String DFA24_specialS =
- "\1\1\14\uffff\1\2\1\0\100\uffff}>";
+ static final String DFA24_eotS = "\2\uffff\2\25\2\uffff\1\33\3\25\1\uffff\2\20\2\41\3\uffff\2\25\1\47\1\uffff\1\25\5\uffff\3\25\3\uffff\2\41\1\uffff\1\55\1\25\1\uffff\4\25\1\41\1\uffff\1\25\1\64\3\25\1\70\1\uffff\3\25\1\uffff\6\25\1\102\2\25\1\uffff\6\25\1\113\1\25\1\uffff\1\25\1\116\1\uffff";
+ static final String DFA24_eofS = "\117\uffff";
+ static final String DFA24_minS = "\1\0\1\uffff\1\146\1\150\2\uffff\1\52\1\143\1\164\1\160\1\uffff\2\0\2\60\3\uffff\1\154\1\164\1\60\1\uffff\1\145\5\uffff\1\164\2\141\3\uffff\2\60\1\uffff\1\60\1\145\1\uffff\1\156\1\151\1\164\1\161\1\60\1\uffff\1\162\1\60\1\166\1\145\1\165\1\60\1\uffff\1\151\1\115\1\145\1\uffff\1\164\1\141\1\102\1\171\1\143\1\145\1\60\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1\151\1\60\1\157\1\uffff\1\162\1\60\1\uffff";
+ static final String DFA24_maxS = "\1\uffff\1\uffff\1\164\1\150\2\uffff\1\57\1\143\1\164\1\160\1\uffff\2\uffff\1\170\1\137\3\uffff\1\154\1\164\1\172\1\uffff\1\145\5\uffff\1\164\2\141\3\uffff\2\137\1\uffff\1\172\1\145\1\uffff\1\156\1\151\1\164\1\161\1\137\1\uffff\1\162\1\172\1\166\1\145\1\165\1\172\1\uffff\1\151\1\115\1\145\1\uffff\1\164\1\141\1\102\1\171\1\143\1\145\1\172\2\150\1\uffff\1\151\1\141\1\156\1\166\1\145\1\151\1\172\1\157\1\uffff\1\162\1\172\1\uffff";
+ static final String DFA24_acceptS = "\1\uffff\1\1\2\uffff\1\6\1\7\4\uffff\1\14\4\uffff\1\22\1\23\1\1\3\uffff\1\14\1\uffff\1\6\1\7\1\16\1\17\1\10\3\uffff\1\15\1\21\1\20\2\uffff\1\22\2\uffff\1\4\5\uffff\1\2\6\uffff\1\5\3\uffff\1\3\11\uffff\1\11\10\uffff\1\12\2\uffff\1\13";
+ static final String DFA24_specialS = "\1\0\12\uffff\1\1\1\2\102\uffff}>";
static final String[] DFA24_transitionS = {
- "\11\20\2\17\2\20\1\17\22\20\1\17\1\20\1\16\4\20\1\15\4\20\1" +
- "\1\2\20\1\6\1\12\11\13\7\20\1\7\15\14\1\11\3\14\1\10\7\14\1" +
- "\4\1\20\1\5\1\20\1\14\1\20\1\2\25\14\1\3\3\14\uff85\20",
+ "\11\20\2\17\2\20\1\17\22\20\1\17\1\20\1\14\4\20\1\13\4\20\1\1\2\20\1\6\1\15\11\16\7\20\1\7\15\12\1\11\3\12\1\10\7\12\1\4\1\20\1\5\1\20\1\12\1\20\1\2\25\12\1\3\3\12\uff85\20",
"",
"\1\23\5\uffff\1\22\7\uffff\1\24",
"\1\26",
@@ -1394,11 +1301,11 @@ public class InternalUmlTransitionLexer extends Lexer {
"\1\34",
"\1\35",
"\1\36",
- "\10\40\2\41",
- "\12\42",
"",
"\0\25",
- "\0\43",
+ "\0\37",
+ "\10\42\12\uffff\1\40\25\uffff\1\40\6\uffff\1\40\2\uffff\1\40\25\uffff\1\40",
+ "\12\43\45\uffff\1\40",
"",
"",
"",
@@ -1416,10 +1323,10 @@ public class InternalUmlTransitionLexer extends Lexer {
"\1\52",
"\1\53",
"",
- "\10\54\2\41",
"",
- "\12\42",
"",
+ "\10\54\47\uffff\1\40",
+ "\12\43\45\uffff\1\40",
"",
"\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
"\1\56",
@@ -1428,7 +1335,7 @@ public class InternalUmlTransitionLexer extends Lexer {
"\1\60",
"\1\61",
"\1\62",
- "\10\54\2\41",
+ "\10\54\47\uffff\1\40",
"",
"\1\63",
"\12\25\7\uffff\32\25\4\uffff\1\25\1\uffff\32\25",
@@ -1495,31 +1402,15 @@ public class InternalUmlTransitionLexer extends Lexer {
this.transition = DFA24_transition;
}
- @Override
public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | RULE_INTEGER_VALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER );";
+ return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER );";
}
- @Override
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch (s) {
case 0:
- int LA24_14 = input.LA(1);
-
- s = -1;
- if (((LA24_14 >= '\u0000' && LA24_14 <= '\uFFFF'))) {
- s = 35;
- } else {
- s = 16;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 1:
int LA24_0 = input.LA(1);
s = -1;
@@ -1559,23 +1450,23 @@ public class InternalUmlTransitionLexer extends Lexer {
s = 9;
}
- else if ((LA24_0 == '0')) {
+ else if (((LA24_0 >= 'B' && LA24_0 <= 'N') || (LA24_0 >= 'P' && LA24_0 <= 'R') || (LA24_0 >= 'T' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'b' && LA24_0 <= 'v') || (LA24_0 >= 'x' && LA24_0 <= 'z'))) {
s = 10;
}
- else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
+ else if ((LA24_0 == '\'')) {
s = 11;
}
- else if (((LA24_0 >= 'B' && LA24_0 <= 'N') || (LA24_0 >= 'P' && LA24_0 <= 'R') || (LA24_0 >= 'T' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'b' && LA24_0 <= 'v') || (LA24_0 >= 'x' && LA24_0 <= 'z'))) {
+ else if ((LA24_0 == '\"')) {
s = 12;
}
- else if ((LA24_0 == '\'')) {
+ else if ((LA24_0 == '0')) {
s = 13;
}
- else if ((LA24_0 == '\"')) {
+ else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
s = 14;
}
@@ -1588,27 +1479,39 @@ public class InternalUmlTransitionLexer extends Lexer {
s = 16;
}
- if (s >= 0) {
+ if (s >= 0)
return s;
- }
break;
- case 2:
- int LA24_13 = input.LA(1);
+ case 1:
+ int LA24_11 = input.LA(1);
s = -1;
- if (((LA24_13 >= '\u0000' && LA24_13 <= '\uFFFF'))) {
+ if (((LA24_11 >= '\u0000' && LA24_11 <= '\uFFFF'))) {
s = 21;
- } else {
- s = 16;
}
- if (s >= 0) {
+ else
+ s = 16;
+
+ if (s >= 0)
return s;
+ break;
+ case 2:
+ int LA24_12 = input.LA(1);
+
+ s = -1;
+ if (((LA24_12 >= '\u0000' && LA24_12 <= '\uFFFF'))) {
+ s = 31;
}
+
+ else
+ s = 16;
+
+ if (s >= 0)
+ return s;
break;
}
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 24, _s, input);
+ NoViableAltException nvae = new NoViableAltException(getDescription(), 24, _s, input);
error(nvae);
throw nvae;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionParser.java
index d6dd218a4e4..801ab51a055 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionParser.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransitionParser.java
@@ -14,29 +14,29 @@ import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
@SuppressWarnings("all")
public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INTEGER_VALUE", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INT", "RULE_WS", "RULE_ANY_OTHER", "','", "'all'", "'after'", "'at'", "'when'", "'['", "']'", "'/'", "'Activity'",
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INT", "RULE_INTEGER_VALUE", "RULE_WS", "RULE_ANY_OTHER", "','", "'all'", "'after'", "'at'", "'when'", "'['", "']'", "'/'", "'Activity'",
"'StateMachine'", "'OpaqueBehavior'"
};
- public static final int RULE_ID = 4;
- public static final int T__22 = 22;
- public static final int RULE_ANY_OTHER = 11;
- public static final int T__21 = 21;
- public static final int T__20 = 20;
- public static final int RULE_INTEGER_VALUE = 6;
- public static final int EOF = -1;
- public static final int RULE_SL_COMMENT = 8;
- public static final int RULE_ML_COMMENT = 7;
- public static final int T__19 = 19;
public static final int RULE_STRING = 5;
- public static final int T__16 = 16;
+ public static final int RULE_SL_COMMENT = 7;
+ public static final int T__19 = 19;
public static final int T__15 = 15;
- public static final int T__18 = 18;
+ public static final int T__16 = 16;
public static final int T__17 = 17;
+ public static final int T__18 = 18;
public static final int T__12 = 12;
- public static final int T__14 = 14;
public static final int T__13 = 13;
- public static final int RULE_INT = 9;
+ public static final int T__14 = 14;
+ public static final int EOF = -1;
+ public static final int RULE_ID = 4;
public static final int RULE_WS = 10;
+ public static final int RULE_ANY_OTHER = 11;
+ public static final int RULE_INT = 8;
+ public static final int T__22 = 22;
+ public static final int RULE_ML_COMMENT = 6;
+ public static final int RULE_INTEGER_VALUE = 9;
+ public static final int T__20 = 20;
+ public static final int T__21 = 21;
// delegates
// delegators
@@ -52,12 +52,10 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
- @Override
public String[] getTokenNames() {
return InternalUmlTransitionParser.tokenNames;
}
- @Override
public String getGrammarFileName() {
return "../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g";
}
@@ -85,8 +83,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleTransitionRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:68:1: entryRuleTransitionRule returns [EObject current=null] : iv_ruleTransitionRule=
- // ruleTransitionRule EOF ;
+ // InternalUmlTransition.g:68:1: entryRuleTransitionRule returns [EObject current=null] : iv_ruleTransitionRule= ruleTransitionRule EOF ;
public final EObject entryRuleTransitionRule() throws RecognitionException {
EObject current = null;
@@ -94,17 +91,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:69:2: (iv_ruleTransitionRule= ruleTransitionRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:70:2: iv_ruleTransitionRule= ruleTransitionRule EOF
+ // InternalUmlTransition.g:69:2: (iv_ruleTransitionRule= ruleTransitionRule EOF )
+ // InternalUmlTransition.g:70:2: iv_ruleTransitionRule= ruleTransitionRule EOF
{
newCompositeNode(grammarAccess.getTransitionRuleRule());
- pushFollow(FOLLOW_ruleTransitionRule_in_entryRuleTransitionRule75);
+ pushFollow(FOLLOW_1);
iv_ruleTransitionRule = ruleTransitionRule();
state._fsp--;
current = iv_ruleTransitionRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleTransitionRule85);
+ match(input, EOF, FOLLOW_2);
}
@@ -117,13 +114,12 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleTransitionRule"
// $ANTLR start "ruleTransitionRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:77:1: ruleTransitionRule returns [EObject current=null] : ( ( ( (lv_triggers_0_0= ruleEventRule
- // ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? ) ;
+ // InternalUmlTransition.g:77:1: ruleTransitionRule returns [EObject current=null] : ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule
+ // ) )? ) ;
public final EObject ruleTransitionRule() throws RecognitionException {
EObject current = null;
@@ -140,18 +136,13 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:80:28: ( ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0=
- // ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:81:1: ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0=
- // ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? )
+ // InternalUmlTransition.g:80:28: ( ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? ) )
+ // InternalUmlTransition.g:81:1: ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:81:1: ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0=
- // ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:81:2: ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0=
- // ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )?
+ // InternalUmlTransition.g:81:1: ( ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )? )
+ // InternalUmlTransition.g:81:2: ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )? ( (lv_guard_3_0= ruleGuardRule ) )? ( (lv_effect_4_0= ruleEffectRule ) )?
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:81:2: ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' (
- // (lv_triggers_2_0= ruleEventRule ) ) )* )?
+ // InternalUmlTransition.g:81:2: ( ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )* )?
int alt2 = 2;
int LA2_0 = input.LA(1);
@@ -160,19 +151,18 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
switch (alt2) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:81:3: ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0=
- // ruleEventRule ) ) )*
+ // InternalUmlTransition.g:81:3: ( (lv_triggers_0_0= ruleEventRule ) ) (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )*
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:81:3: ( (lv_triggers_0_0= ruleEventRule ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:82:1: (lv_triggers_0_0= ruleEventRule )
+ // InternalUmlTransition.g:81:3: ( (lv_triggers_0_0= ruleEventRule ) )
+ // InternalUmlTransition.g:82:1: (lv_triggers_0_0= ruleEventRule )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:82:1: (lv_triggers_0_0= ruleEventRule )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:83:3: lv_triggers_0_0= ruleEventRule
+ // InternalUmlTransition.g:82:1: (lv_triggers_0_0= ruleEventRule )
+ // InternalUmlTransition.g:83:3: lv_triggers_0_0= ruleEventRule
{
newCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_0_0());
- pushFollow(FOLLOW_ruleEventRule_in_ruleTransitionRule132);
+ pushFollow(FOLLOW_3);
lv_triggers_0_0 = ruleEventRule();
state._fsp--;
@@ -185,7 +175,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"triggers",
lv_triggers_0_0,
- "EventRule");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.EventRule");
afterParserOrEnumRuleCall();
@@ -194,7 +184,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:99:2: (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )*
+ // InternalUmlTransition.g:99:2: (otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) ) )*
loop1: do {
int alt1 = 2;
int LA1_0 = input.LA(1);
@@ -206,22 +196,22 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
switch (alt1) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:99:4: otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) )
+ // InternalUmlTransition.g:99:4: otherlv_1= ',' ( (lv_triggers_2_0= ruleEventRule ) )
{
- otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleTransitionRule145);
+ otherlv_1 = (Token) match(input, 12, FOLLOW_4);
newLeafNode(otherlv_1, grammarAccess.getTransitionRuleAccess().getCommaKeyword_0_1_0());
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:103:1: ( (lv_triggers_2_0= ruleEventRule ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:104:1: (lv_triggers_2_0= ruleEventRule )
+ // InternalUmlTransition.g:103:1: ( (lv_triggers_2_0= ruleEventRule ) )
+ // InternalUmlTransition.g:104:1: (lv_triggers_2_0= ruleEventRule )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:104:1: (lv_triggers_2_0= ruleEventRule )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:105:3: lv_triggers_2_0= ruleEventRule
+ // InternalUmlTransition.g:104:1: (lv_triggers_2_0= ruleEventRule )
+ // InternalUmlTransition.g:105:3: lv_triggers_2_0= ruleEventRule
{
newCompositeNode(grammarAccess.getTransitionRuleAccess().getTriggersEventRuleParserRuleCall_0_1_1_0());
- pushFollow(FOLLOW_ruleEventRule_in_ruleTransitionRule166);
+ pushFollow(FOLLOW_3);
lv_triggers_2_0 = ruleEventRule();
state._fsp--;
@@ -234,7 +224,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"triggers",
lv_triggers_2_0,
- "EventRule");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.EventRule");
afterParserOrEnumRuleCall();
@@ -258,7 +248,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:121:6: ( (lv_guard_3_0= ruleGuardRule ) )?
+ // InternalUmlTransition.g:121:6: ( (lv_guard_3_0= ruleGuardRule ) )?
int alt3 = 2;
int LA3_0 = input.LA(1);
@@ -267,15 +257,15 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
switch (alt3) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:122:1: (lv_guard_3_0= ruleGuardRule )
+ // InternalUmlTransition.g:122:1: (lv_guard_3_0= ruleGuardRule )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:122:1: (lv_guard_3_0= ruleGuardRule )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:123:3: lv_guard_3_0= ruleGuardRule
+ // InternalUmlTransition.g:122:1: (lv_guard_3_0= ruleGuardRule )
+ // InternalUmlTransition.g:123:3: lv_guard_3_0= ruleGuardRule
{
newCompositeNode(grammarAccess.getTransitionRuleAccess().getGuardGuardRuleParserRuleCall_1_0());
- pushFollow(FOLLOW_ruleGuardRule_in_ruleTransitionRule191);
+ pushFollow(FOLLOW_5);
lv_guard_3_0 = ruleGuardRule();
state._fsp--;
@@ -288,7 +278,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"guard",
lv_guard_3_0,
- "GuardRule");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.GuardRule");
afterParserOrEnumRuleCall();
@@ -300,7 +290,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:139:3: ( (lv_effect_4_0= ruleEffectRule ) )?
+ // InternalUmlTransition.g:139:3: ( (lv_effect_4_0= ruleEffectRule ) )?
int alt4 = 2;
int LA4_0 = input.LA(1);
@@ -309,15 +299,15 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
switch (alt4) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:140:1: (lv_effect_4_0= ruleEffectRule )
+ // InternalUmlTransition.g:140:1: (lv_effect_4_0= ruleEffectRule )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:140:1: (lv_effect_4_0= ruleEffectRule )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:141:3: lv_effect_4_0= ruleEffectRule
+ // InternalUmlTransition.g:140:1: (lv_effect_4_0= ruleEffectRule )
+ // InternalUmlTransition.g:141:3: lv_effect_4_0= ruleEffectRule
{
newCompositeNode(grammarAccess.getTransitionRuleAccess().getEffectEffectRuleParserRuleCall_2_0());
- pushFollow(FOLLOW_ruleEffectRule_in_ruleTransitionRule213);
+ pushFollow(FOLLOW_2);
lv_effect_4_0 = ruleEffectRule();
state._fsp--;
@@ -330,7 +320,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"effect",
lv_effect_4_0,
- "EffectRule");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.EffectRule");
afterParserOrEnumRuleCall();
@@ -358,12 +348,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleTransitionRule"
// $ANTLR start "entryRuleEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:165:1: entryRuleEventRule returns [EObject current=null] : iv_ruleEventRule= ruleEventRule EOF ;
+ // InternalUmlTransition.g:165:1: entryRuleEventRule returns [EObject current=null] : iv_ruleEventRule= ruleEventRule EOF ;
public final EObject entryRuleEventRule() throws RecognitionException {
EObject current = null;
@@ -371,17 +360,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:166:2: (iv_ruleEventRule= ruleEventRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:167:2: iv_ruleEventRule= ruleEventRule EOF
+ // InternalUmlTransition.g:166:2: (iv_ruleEventRule= ruleEventRule EOF )
+ // InternalUmlTransition.g:167:2: iv_ruleEventRule= ruleEventRule EOF
{
newCompositeNode(grammarAccess.getEventRuleRule());
- pushFollow(FOLLOW_ruleEventRule_in_entryRuleEventRule250);
+ pushFollow(FOLLOW_1);
iv_ruleEventRule = ruleEventRule();
state._fsp--;
current = iv_ruleEventRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleEventRule260);
+ match(input, EOF, FOLLOW_2);
}
@@ -394,13 +383,12 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleEventRule"
// $ANTLR start "ruleEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:174:1: ruleEventRule returns [EObject current=null] : (this_CallOrSignalEventRule_0=
- // ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule ) ;
+ // InternalUmlTransition.g:174:1: ruleEventRule returns [EObject current=null] : (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule |
+ // this_ChangeEventRule_3= ruleChangeEventRule ) ;
public final EObject ruleEventRule() throws RecognitionException {
EObject current = null;
@@ -416,13 +404,10 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:177:28: ( (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule |
- // this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:178:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule |
- // this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )
+ // InternalUmlTransition.g:177:28: ( (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule ) )
+ // InternalUmlTransition.g:178:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:178:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule |
- // this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )
+ // InternalUmlTransition.g:178:1: (this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule | this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule | this_TimeEventRule_2= ruleTimeEventRule | this_ChangeEventRule_3= ruleChangeEventRule )
int alt5 = 4;
switch (input.LA(1)) {
case RULE_ID: {
@@ -443,20 +428,19 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
break;
default:
- NoViableAltException nvae =
- new NoViableAltException("", 5, 0, input);
+ NoViableAltException nvae = new NoViableAltException("", 5, 0, input);
throw nvae;
}
switch (alt5) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:179:5: this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule
+ // InternalUmlTransition.g:179:5: this_CallOrSignalEventRule_0= ruleCallOrSignalEventRule
{
newCompositeNode(grammarAccess.getEventRuleAccess().getCallOrSignalEventRuleParserRuleCall_0());
- pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_ruleEventRule307);
+ pushFollow(FOLLOW_2);
this_CallOrSignalEventRule_0 = ruleCallOrSignalEventRule();
state._fsp--;
@@ -469,12 +453,12 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:189:5: this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule
+ // InternalUmlTransition.g:189:5: this_AnyReceiveEventRule_1= ruleAnyReceiveEventRule
{
newCompositeNode(grammarAccess.getEventRuleAccess().getAnyReceiveEventRuleParserRuleCall_1());
- pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_ruleEventRule334);
+ pushFollow(FOLLOW_2);
this_AnyReceiveEventRule_1 = ruleAnyReceiveEventRule();
state._fsp--;
@@ -487,12 +471,12 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
break;
case 3:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:199:5: this_TimeEventRule_2= ruleTimeEventRule
+ // InternalUmlTransition.g:199:5: this_TimeEventRule_2= ruleTimeEventRule
{
newCompositeNode(grammarAccess.getEventRuleAccess().getTimeEventRuleParserRuleCall_2());
- pushFollow(FOLLOW_ruleTimeEventRule_in_ruleEventRule361);
+ pushFollow(FOLLOW_2);
this_TimeEventRule_2 = ruleTimeEventRule();
state._fsp--;
@@ -505,12 +489,12 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
break;
case 4:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:209:5: this_ChangeEventRule_3= ruleChangeEventRule
+ // InternalUmlTransition.g:209:5: this_ChangeEventRule_3= ruleChangeEventRule
{
newCompositeNode(grammarAccess.getEventRuleAccess().getChangeEventRuleParserRuleCall_3());
- pushFollow(FOLLOW_ruleChangeEventRule_in_ruleEventRule388);
+ pushFollow(FOLLOW_2);
this_ChangeEventRule_3 = ruleChangeEventRule();
state._fsp--;
@@ -538,13 +522,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleEventRule"
// $ANTLR start "entryRuleCallOrSignalEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:225:1: entryRuleCallOrSignalEventRule returns [EObject current=null] :
- // iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF ;
+ // InternalUmlTransition.g:225:1: entryRuleCallOrSignalEventRule returns [EObject current=null] : iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF ;
public final EObject entryRuleCallOrSignalEventRule() throws RecognitionException {
EObject current = null;
@@ -552,17 +534,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:226:2: (iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:227:2: iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF
+ // InternalUmlTransition.g:226:2: (iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF )
+ // InternalUmlTransition.g:227:2: iv_ruleCallOrSignalEventRule= ruleCallOrSignalEventRule EOF
{
newCompositeNode(grammarAccess.getCallOrSignalEventRuleRule());
- pushFollow(FOLLOW_ruleCallOrSignalEventRule_in_entryRuleCallOrSignalEventRule423);
+ pushFollow(FOLLOW_1);
iv_ruleCallOrSignalEventRule = ruleCallOrSignalEventRule();
state._fsp--;
current = iv_ruleCallOrSignalEventRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleCallOrSignalEventRule433);
+ match(input, EOF, FOLLOW_2);
}
@@ -575,12 +557,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleCallOrSignalEventRule"
// $ANTLR start "ruleCallOrSignalEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:234:1: ruleCallOrSignalEventRule returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
+ // InternalUmlTransition.g:234:1: ruleCallOrSignalEventRule returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
public final EObject ruleCallOrSignalEventRule() throws RecognitionException {
EObject current = null;
@@ -589,21 +570,21 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:237:28: ( ( (otherlv_0= RULE_ID ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:238:1: ( (otherlv_0= RULE_ID ) )
+ // InternalUmlTransition.g:237:28: ( ( (otherlv_0= RULE_ID ) ) )
+ // InternalUmlTransition.g:238:1: ( (otherlv_0= RULE_ID ) )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:238:1: ( (otherlv_0= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:239:1: (otherlv_0= RULE_ID )
+ // InternalUmlTransition.g:238:1: ( (otherlv_0= RULE_ID ) )
+ // InternalUmlTransition.g:239:1: (otherlv_0= RULE_ID )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:239:1: (otherlv_0= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:240:3: otherlv_0= RULE_ID
+ // InternalUmlTransition.g:239:1: (otherlv_0= RULE_ID )
+ // InternalUmlTransition.g:240:3: otherlv_0= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getCallOrSignalEventRuleRule());
}
- otherlv_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleCallOrSignalEventRule477);
+ otherlv_0 = (Token) match(input, RULE_ID, FOLLOW_2);
newLeafNode(otherlv_0, grammarAccess.getCallOrSignalEventRuleAccess().getOperationOrSignalNamedElementCrossReference_0());
@@ -626,13 +607,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleCallOrSignalEventRule"
// $ANTLR start "entryRuleAnyReceiveEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:259:1: entryRuleAnyReceiveEventRule returns [EObject current=null] : iv_ruleAnyReceiveEventRule=
- // ruleAnyReceiveEventRule EOF ;
+ // InternalUmlTransition.g:259:1: entryRuleAnyReceiveEventRule returns [EObject current=null] : iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF ;
public final EObject entryRuleAnyReceiveEventRule() throws RecognitionException {
EObject current = null;
@@ -640,17 +619,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:260:2: (iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:261:2: iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF
+ // InternalUmlTransition.g:260:2: (iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF )
+ // InternalUmlTransition.g:261:2: iv_ruleAnyReceiveEventRule= ruleAnyReceiveEventRule EOF
{
newCompositeNode(grammarAccess.getAnyReceiveEventRuleRule());
- pushFollow(FOLLOW_ruleAnyReceiveEventRule_in_entryRuleAnyReceiveEventRule512);
+ pushFollow(FOLLOW_1);
iv_ruleAnyReceiveEventRule = ruleAnyReceiveEventRule();
state._fsp--;
current = iv_ruleAnyReceiveEventRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAnyReceiveEventRule522);
+ match(input, EOF, FOLLOW_2);
}
@@ -663,13 +642,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleAnyReceiveEventRule"
// $ANTLR start "ruleAnyReceiveEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:268:1: ruleAnyReceiveEventRule returns [EObject current=null] : ( (lv_isAReceiveEvent_0_0= 'all'
- // ) ) ;
+ // InternalUmlTransition.g:268:1: ruleAnyReceiveEventRule returns [EObject current=null] : ( (lv_isAReceiveEvent_0_0= 'all' ) ) ;
public final EObject ruleAnyReceiveEventRule() throws RecognitionException {
EObject current = null;
@@ -678,16 +655,16 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:271:28: ( ( (lv_isAReceiveEvent_0_0= 'all' ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:272:1: ( (lv_isAReceiveEvent_0_0= 'all' ) )
+ // InternalUmlTransition.g:271:28: ( ( (lv_isAReceiveEvent_0_0= 'all' ) ) )
+ // InternalUmlTransition.g:272:1: ( (lv_isAReceiveEvent_0_0= 'all' ) )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:272:1: ( (lv_isAReceiveEvent_0_0= 'all' ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:273:1: (lv_isAReceiveEvent_0_0= 'all' )
+ // InternalUmlTransition.g:272:1: ( (lv_isAReceiveEvent_0_0= 'all' ) )
+ // InternalUmlTransition.g:273:1: (lv_isAReceiveEvent_0_0= 'all' )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:273:1: (lv_isAReceiveEvent_0_0= 'all' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:274:3: lv_isAReceiveEvent_0_0= 'all'
+ // InternalUmlTransition.g:273:1: (lv_isAReceiveEvent_0_0= 'all' )
+ // InternalUmlTransition.g:274:3: lv_isAReceiveEvent_0_0= 'all'
{
- lv_isAReceiveEvent_0_0 = (Token) match(input, 13, FOLLOW_13_in_ruleAnyReceiveEventRule564);
+ lv_isAReceiveEvent_0_0 = (Token) match(input, 13, FOLLOW_2);
newLeafNode(lv_isAReceiveEvent_0_0, grammarAccess.getAnyReceiveEventRuleAccess().getIsAReceiveEventAllKeyword_0());
@@ -716,13 +693,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleAnyReceiveEventRule"
// $ANTLR start "entryRuleTimeEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:295:1: entryRuleTimeEventRule returns [EObject current=null] : iv_ruleTimeEventRule=
- // ruleTimeEventRule EOF ;
+ // InternalUmlTransition.g:295:1: entryRuleTimeEventRule returns [EObject current=null] : iv_ruleTimeEventRule= ruleTimeEventRule EOF ;
public final EObject entryRuleTimeEventRule() throws RecognitionException {
EObject current = null;
@@ -730,17 +705,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:296:2: (iv_ruleTimeEventRule= ruleTimeEventRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:297:2: iv_ruleTimeEventRule= ruleTimeEventRule EOF
+ // InternalUmlTransition.g:296:2: (iv_ruleTimeEventRule= ruleTimeEventRule EOF )
+ // InternalUmlTransition.g:297:2: iv_ruleTimeEventRule= ruleTimeEventRule EOF
{
newCompositeNode(grammarAccess.getTimeEventRuleRule());
- pushFollow(FOLLOW_ruleTimeEventRule_in_entryRuleTimeEventRule612);
+ pushFollow(FOLLOW_1);
iv_ruleTimeEventRule = ruleTimeEventRule();
state._fsp--;
current = iv_ruleTimeEventRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleTimeEventRule622);
+ match(input, EOF, FOLLOW_2);
}
@@ -753,13 +728,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleTimeEventRule"
// $ANTLR start "ruleTimeEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:304:1: ruleTimeEventRule returns [EObject current=null] : (this_RelativeTimeEventRule_0=
- // ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule ) ;
+ // InternalUmlTransition.g:304:1: ruleTimeEventRule returns [EObject current=null] : (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule ) ;
public final EObject ruleTimeEventRule() throws RecognitionException {
EObject current = null;
@@ -771,36 +744,30 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:307:28: ( (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule |
- // this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:308:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule |
- // this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )
+ // InternalUmlTransition.g:307:28: ( (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule ) )
+ // InternalUmlTransition.g:308:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:308:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule |
- // this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )
+ // InternalUmlTransition.g:308:1: (this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule | this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule )
int alt6 = 2;
int LA6_0 = input.LA(1);
if ((LA6_0 == 14)) {
alt6 = 1;
- }
- else if ((LA6_0 == 15)) {
+ } else if ((LA6_0 == 15)) {
alt6 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 6, 0, input);
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 6, 0, input);
throw nvae;
}
switch (alt6) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:309:5: this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule
+ // InternalUmlTransition.g:309:5: this_RelativeTimeEventRule_0= ruleRelativeTimeEventRule
{
newCompositeNode(grammarAccess.getTimeEventRuleAccess().getRelativeTimeEventRuleParserRuleCall_0());
- pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_ruleTimeEventRule669);
+ pushFollow(FOLLOW_2);
this_RelativeTimeEventRule_0 = ruleRelativeTimeEventRule();
state._fsp--;
@@ -813,12 +780,12 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:319:5: this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule
+ // InternalUmlTransition.g:319:5: this_AbsoluteTimeEventRule_1= ruleAbsoluteTimeEventRule
{
newCompositeNode(grammarAccess.getTimeEventRuleAccess().getAbsoluteTimeEventRuleParserRuleCall_1());
- pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_ruleTimeEventRule696);
+ pushFollow(FOLLOW_2);
this_AbsoluteTimeEventRule_1 = ruleAbsoluteTimeEventRule();
state._fsp--;
@@ -846,13 +813,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleTimeEventRule"
// $ANTLR start "entryRuleRelativeTimeEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:335:1: entryRuleRelativeTimeEventRule returns [EObject current=null] :
- // iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF ;
+ // InternalUmlTransition.g:335:1: entryRuleRelativeTimeEventRule returns [EObject current=null] : iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF ;
public final EObject entryRuleRelativeTimeEventRule() throws RecognitionException {
EObject current = null;
@@ -860,17 +825,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:336:2: (iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:337:2: iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF
+ // InternalUmlTransition.g:336:2: (iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF )
+ // InternalUmlTransition.g:337:2: iv_ruleRelativeTimeEventRule= ruleRelativeTimeEventRule EOF
{
newCompositeNode(grammarAccess.getRelativeTimeEventRuleRule());
- pushFollow(FOLLOW_ruleRelativeTimeEventRule_in_entryRuleRelativeTimeEventRule731);
+ pushFollow(FOLLOW_1);
iv_ruleRelativeTimeEventRule = ruleRelativeTimeEventRule();
state._fsp--;
current = iv_ruleRelativeTimeEventRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleRelativeTimeEventRule741);
+ match(input, EOF, FOLLOW_2);
}
@@ -883,13 +848,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleRelativeTimeEventRule"
// $ANTLR start "ruleRelativeTimeEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:344:1: ruleRelativeTimeEventRule returns [EObject current=null] : (otherlv_0= 'after' (
- // (lv_expr_1_0= RULE_STRING ) ) ) ;
+ // InternalUmlTransition.g:344:1: ruleRelativeTimeEventRule returns [EObject current=null] : (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) ) ;
public final EObject ruleRelativeTimeEventRule() throws RecognitionException {
EObject current = null;
@@ -899,23 +862,23 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:347:28: ( (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:348:1: (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) )
+ // InternalUmlTransition.g:347:28: ( (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) ) )
+ // InternalUmlTransition.g:348:1: (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:348:1: (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:348:3: otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) )
+ // InternalUmlTransition.g:348:1: (otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) ) )
+ // InternalUmlTransition.g:348:3: otherlv_0= 'after' ( (lv_expr_1_0= RULE_STRING ) )
{
- otherlv_0 = (Token) match(input, 14, FOLLOW_14_in_ruleRelativeTimeEventRule778);
+ otherlv_0 = (Token) match(input, 14, FOLLOW_6);
newLeafNode(otherlv_0, grammarAccess.getRelativeTimeEventRuleAccess().getAfterKeyword_0());
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:352:1: ( (lv_expr_1_0= RULE_STRING ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:353:1: (lv_expr_1_0= RULE_STRING )
+ // InternalUmlTransition.g:352:1: ( (lv_expr_1_0= RULE_STRING ) )
+ // InternalUmlTransition.g:353:1: (lv_expr_1_0= RULE_STRING )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:353:1: (lv_expr_1_0= RULE_STRING )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:354:3: lv_expr_1_0= RULE_STRING
+ // InternalUmlTransition.g:353:1: (lv_expr_1_0= RULE_STRING )
+ // InternalUmlTransition.g:354:3: lv_expr_1_0= RULE_STRING
{
- lv_expr_1_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleRelativeTimeEventRule795);
+ lv_expr_1_0 = (Token) match(input, RULE_STRING, FOLLOW_2);
newLeafNode(lv_expr_1_0, grammarAccess.getRelativeTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0());
@@ -927,7 +890,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"expr",
lv_expr_1_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
@@ -951,13 +914,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleRelativeTimeEventRule"
// $ANTLR start "entryRuleAbsoluteTimeEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:378:1: entryRuleAbsoluteTimeEventRule returns [EObject current=null] :
- // iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF ;
+ // InternalUmlTransition.g:378:1: entryRuleAbsoluteTimeEventRule returns [EObject current=null] : iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF ;
public final EObject entryRuleAbsoluteTimeEventRule() throws RecognitionException {
EObject current = null;
@@ -965,17 +926,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:379:2: (iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:380:2: iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF
+ // InternalUmlTransition.g:379:2: (iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF )
+ // InternalUmlTransition.g:380:2: iv_ruleAbsoluteTimeEventRule= ruleAbsoluteTimeEventRule EOF
{
newCompositeNode(grammarAccess.getAbsoluteTimeEventRuleRule());
- pushFollow(FOLLOW_ruleAbsoluteTimeEventRule_in_entryRuleAbsoluteTimeEventRule836);
+ pushFollow(FOLLOW_1);
iv_ruleAbsoluteTimeEventRule = ruleAbsoluteTimeEventRule();
state._fsp--;
current = iv_ruleAbsoluteTimeEventRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAbsoluteTimeEventRule846);
+ match(input, EOF, FOLLOW_2);
}
@@ -988,13 +949,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleAbsoluteTimeEventRule"
// $ANTLR start "ruleAbsoluteTimeEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:387:1: ruleAbsoluteTimeEventRule returns [EObject current=null] : (otherlv_0= 'at' (
- // (lv_expr_1_0= RULE_STRING ) ) ) ;
+ // InternalUmlTransition.g:387:1: ruleAbsoluteTimeEventRule returns [EObject current=null] : (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) ) ;
public final EObject ruleAbsoluteTimeEventRule() throws RecognitionException {
EObject current = null;
@@ -1004,23 +963,23 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:390:28: ( (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:391:1: (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) )
+ // InternalUmlTransition.g:390:28: ( (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) ) )
+ // InternalUmlTransition.g:391:1: (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:391:1: (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:391:3: otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) )
+ // InternalUmlTransition.g:391:1: (otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) ) )
+ // InternalUmlTransition.g:391:3: otherlv_0= 'at' ( (lv_expr_1_0= RULE_STRING ) )
{
- otherlv_0 = (Token) match(input, 15, FOLLOW_15_in_ruleAbsoluteTimeEventRule883);
+ otherlv_0 = (Token) match(input, 15, FOLLOW_6);
newLeafNode(otherlv_0, grammarAccess.getAbsoluteTimeEventRuleAccess().getAtKeyword_0());
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:395:1: ( (lv_expr_1_0= RULE_STRING ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:396:1: (lv_expr_1_0= RULE_STRING )
+ // InternalUmlTransition.g:395:1: ( (lv_expr_1_0= RULE_STRING ) )
+ // InternalUmlTransition.g:396:1: (lv_expr_1_0= RULE_STRING )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:396:1: (lv_expr_1_0= RULE_STRING )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:397:3: lv_expr_1_0= RULE_STRING
+ // InternalUmlTransition.g:396:1: (lv_expr_1_0= RULE_STRING )
+ // InternalUmlTransition.g:397:3: lv_expr_1_0= RULE_STRING
{
- lv_expr_1_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleAbsoluteTimeEventRule900);
+ lv_expr_1_0 = (Token) match(input, RULE_STRING, FOLLOW_2);
newLeafNode(lv_expr_1_0, grammarAccess.getAbsoluteTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0());
@@ -1032,7 +991,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"expr",
lv_expr_1_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
@@ -1056,13 +1015,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleAbsoluteTimeEventRule"
// $ANTLR start "entryRuleChangeEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:421:1: entryRuleChangeEventRule returns [EObject current=null] : iv_ruleChangeEventRule=
- // ruleChangeEventRule EOF ;
+ // InternalUmlTransition.g:421:1: entryRuleChangeEventRule returns [EObject current=null] : iv_ruleChangeEventRule= ruleChangeEventRule EOF ;
public final EObject entryRuleChangeEventRule() throws RecognitionException {
EObject current = null;
@@ -1070,17 +1027,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:422:2: (iv_ruleChangeEventRule= ruleChangeEventRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:423:2: iv_ruleChangeEventRule= ruleChangeEventRule EOF
+ // InternalUmlTransition.g:422:2: (iv_ruleChangeEventRule= ruleChangeEventRule EOF )
+ // InternalUmlTransition.g:423:2: iv_ruleChangeEventRule= ruleChangeEventRule EOF
{
newCompositeNode(grammarAccess.getChangeEventRuleRule());
- pushFollow(FOLLOW_ruleChangeEventRule_in_entryRuleChangeEventRule941);
+ pushFollow(FOLLOW_1);
iv_ruleChangeEventRule = ruleChangeEventRule();
state._fsp--;
current = iv_ruleChangeEventRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleChangeEventRule951);
+ match(input, EOF, FOLLOW_2);
}
@@ -1093,13 +1050,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleChangeEventRule"
// $ANTLR start "ruleChangeEventRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:430:1: ruleChangeEventRule returns [EObject current=null] : (otherlv_0= 'when' ( (lv_exp_1_0=
- // RULE_STRING ) ) ) ;
+ // InternalUmlTransition.g:430:1: ruleChangeEventRule returns [EObject current=null] : (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) ) ;
public final EObject ruleChangeEventRule() throws RecognitionException {
EObject current = null;
@@ -1109,23 +1064,23 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:433:28: ( (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:434:1: (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) )
+ // InternalUmlTransition.g:433:28: ( (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) ) )
+ // InternalUmlTransition.g:434:1: (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:434:1: (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:434:3: otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) )
+ // InternalUmlTransition.g:434:1: (otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) ) )
+ // InternalUmlTransition.g:434:3: otherlv_0= 'when' ( (lv_exp_1_0= RULE_STRING ) )
{
- otherlv_0 = (Token) match(input, 16, FOLLOW_16_in_ruleChangeEventRule988);
+ otherlv_0 = (Token) match(input, 16, FOLLOW_6);
newLeafNode(otherlv_0, grammarAccess.getChangeEventRuleAccess().getWhenKeyword_0());
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:438:1: ( (lv_exp_1_0= RULE_STRING ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:439:1: (lv_exp_1_0= RULE_STRING )
+ // InternalUmlTransition.g:438:1: ( (lv_exp_1_0= RULE_STRING ) )
+ // InternalUmlTransition.g:439:1: (lv_exp_1_0= RULE_STRING )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:439:1: (lv_exp_1_0= RULE_STRING )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:440:3: lv_exp_1_0= RULE_STRING
+ // InternalUmlTransition.g:439:1: (lv_exp_1_0= RULE_STRING )
+ // InternalUmlTransition.g:440:3: lv_exp_1_0= RULE_STRING
{
- lv_exp_1_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleChangeEventRule1005);
+ lv_exp_1_0 = (Token) match(input, RULE_STRING, FOLLOW_2);
newLeafNode(lv_exp_1_0, grammarAccess.getChangeEventRuleAccess().getExpSTRINGTerminalRuleCall_1_0());
@@ -1137,7 +1092,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"exp",
lv_exp_1_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
@@ -1161,12 +1116,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleChangeEventRule"
// $ANTLR start "entryRuleGuardRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:464:1: entryRuleGuardRule returns [EObject current=null] : iv_ruleGuardRule= ruleGuardRule EOF ;
+ // InternalUmlTransition.g:464:1: entryRuleGuardRule returns [EObject current=null] : iv_ruleGuardRule= ruleGuardRule EOF ;
public final EObject entryRuleGuardRule() throws RecognitionException {
EObject current = null;
@@ -1174,17 +1128,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:465:2: (iv_ruleGuardRule= ruleGuardRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:466:2: iv_ruleGuardRule= ruleGuardRule EOF
+ // InternalUmlTransition.g:465:2: (iv_ruleGuardRule= ruleGuardRule EOF )
+ // InternalUmlTransition.g:466:2: iv_ruleGuardRule= ruleGuardRule EOF
{
newCompositeNode(grammarAccess.getGuardRuleRule());
- pushFollow(FOLLOW_ruleGuardRule_in_entryRuleGuardRule1046);
+ pushFollow(FOLLOW_1);
iv_ruleGuardRule = ruleGuardRule();
state._fsp--;
current = iv_ruleGuardRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleGuardRule1056);
+ match(input, EOF, FOLLOW_2);
}
@@ -1197,13 +1151,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleGuardRule"
// $ANTLR start "ruleGuardRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:473:1: ruleGuardRule returns [EObject current=null] : (otherlv_0= '[' ( (lv_constraint_1_0=
- // RULE_STRING ) ) otherlv_2= ']' ) ;
+ // InternalUmlTransition.g:473:1: ruleGuardRule returns [EObject current=null] : (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' ) ;
public final EObject ruleGuardRule() throws RecognitionException {
EObject current = null;
@@ -1214,23 +1166,23 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:476:28: ( (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:477:1: (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' )
+ // InternalUmlTransition.g:476:28: ( (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' ) )
+ // InternalUmlTransition.g:477:1: (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:477:1: (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:477:3: otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']'
+ // InternalUmlTransition.g:477:1: (otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']' )
+ // InternalUmlTransition.g:477:3: otherlv_0= '[' ( (lv_constraint_1_0= RULE_STRING ) ) otherlv_2= ']'
{
- otherlv_0 = (Token) match(input, 17, FOLLOW_17_in_ruleGuardRule1093);
+ otherlv_0 = (Token) match(input, 17, FOLLOW_6);
newLeafNode(otherlv_0, grammarAccess.getGuardRuleAccess().getLeftSquareBracketKeyword_0());
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:481:1: ( (lv_constraint_1_0= RULE_STRING ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:482:1: (lv_constraint_1_0= RULE_STRING )
+ // InternalUmlTransition.g:481:1: ( (lv_constraint_1_0= RULE_STRING ) )
+ // InternalUmlTransition.g:482:1: (lv_constraint_1_0= RULE_STRING )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:482:1: (lv_constraint_1_0= RULE_STRING )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:483:3: lv_constraint_1_0= RULE_STRING
+ // InternalUmlTransition.g:482:1: (lv_constraint_1_0= RULE_STRING )
+ // InternalUmlTransition.g:483:3: lv_constraint_1_0= RULE_STRING
{
- lv_constraint_1_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleGuardRule1110);
+ lv_constraint_1_0 = (Token) match(input, RULE_STRING, FOLLOW_7);
newLeafNode(lv_constraint_1_0, grammarAccess.getGuardRuleAccess().getConstraintSTRINGTerminalRuleCall_1_0());
@@ -1242,7 +1194,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"constraint",
lv_constraint_1_0,
- "STRING");
+ "org.eclipse.papyrus.uml.alf.Common.STRING");
}
@@ -1250,7 +1202,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
- otherlv_2 = (Token) match(input, 18, FOLLOW_18_in_ruleGuardRule1127);
+ otherlv_2 = (Token) match(input, 18, FOLLOW_2);
newLeafNode(otherlv_2, grammarAccess.getGuardRuleAccess().getRightSquareBracketKeyword_2());
@@ -1270,13 +1222,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleGuardRule"
// $ANTLR start "entryRuleEffectRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:511:1: entryRuleEffectRule returns [EObject current=null] : iv_ruleEffectRule= ruleEffectRule
- // EOF ;
+ // InternalUmlTransition.g:511:1: entryRuleEffectRule returns [EObject current=null] : iv_ruleEffectRule= ruleEffectRule EOF ;
public final EObject entryRuleEffectRule() throws RecognitionException {
EObject current = null;
@@ -1284,17 +1234,17 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:512:2: (iv_ruleEffectRule= ruleEffectRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:513:2: iv_ruleEffectRule= ruleEffectRule EOF
+ // InternalUmlTransition.g:512:2: (iv_ruleEffectRule= ruleEffectRule EOF )
+ // InternalUmlTransition.g:513:2: iv_ruleEffectRule= ruleEffectRule EOF
{
newCompositeNode(grammarAccess.getEffectRuleRule());
- pushFollow(FOLLOW_ruleEffectRule_in_entryRuleEffectRule1163);
+ pushFollow(FOLLOW_1);
iv_ruleEffectRule = ruleEffectRule();
state._fsp--;
current = iv_ruleEffectRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleEffectRule1173);
+ match(input, EOF, FOLLOW_2);
}
@@ -1307,13 +1257,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "entryRuleEffectRule"
// $ANTLR start "ruleEffectRule"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:520:1: ruleEffectRule returns [EObject current=null] : (otherlv_0= '/' ( (lv_kind_1_0=
- // ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
+ // InternalUmlTransition.g:520:1: ruleEffectRule returns [EObject current=null] : (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) ;
public final EObject ruleEffectRule() throws RecognitionException {
EObject current = null;
@@ -1325,30 +1273,26 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:523:28: ( (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0=
- // RULE_ID ) ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:524:1: (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0=
- // RULE_ID ) ) )
+ // InternalUmlTransition.g:523:28: ( (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) ) )
+ // InternalUmlTransition.g:524:1: (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:524:1: (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0=
- // RULE_ID ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:524:3: otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0=
- // RULE_ID ) )
+ // InternalUmlTransition.g:524:1: (otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) ) )
+ // InternalUmlTransition.g:524:3: otherlv_0= '/' ( (lv_kind_1_0= ruleBehaviorKind ) ) ( (lv_behaviorName_2_0= RULE_ID ) )
{
- otherlv_0 = (Token) match(input, 19, FOLLOW_19_in_ruleEffectRule1210);
+ otherlv_0 = (Token) match(input, 19, FOLLOW_8);
newLeafNode(otherlv_0, grammarAccess.getEffectRuleAccess().getSolidusKeyword_0());
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:528:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:529:1: (lv_kind_1_0= ruleBehaviorKind )
+ // InternalUmlTransition.g:528:1: ( (lv_kind_1_0= ruleBehaviorKind ) )
+ // InternalUmlTransition.g:529:1: (lv_kind_1_0= ruleBehaviorKind )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:529:1: (lv_kind_1_0= ruleBehaviorKind )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:530:3: lv_kind_1_0= ruleBehaviorKind
+ // InternalUmlTransition.g:529:1: (lv_kind_1_0= ruleBehaviorKind )
+ // InternalUmlTransition.g:530:3: lv_kind_1_0= ruleBehaviorKind
{
newCompositeNode(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0());
- pushFollow(FOLLOW_ruleBehaviorKind_in_ruleEffectRule1231);
+ pushFollow(FOLLOW_9);
lv_kind_1_0 = ruleBehaviorKind();
state._fsp--;
@@ -1361,7 +1305,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"kind",
lv_kind_1_0,
- "BehaviorKind");
+ "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.BehaviorKind");
afterParserOrEnumRuleCall();
@@ -1370,13 +1314,13 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:546:2: ( (lv_behaviorName_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:547:1: (lv_behaviorName_2_0= RULE_ID )
+ // InternalUmlTransition.g:546:2: ( (lv_behaviorName_2_0= RULE_ID ) )
+ // InternalUmlTransition.g:547:1: (lv_behaviorName_2_0= RULE_ID )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:547:1: (lv_behaviorName_2_0= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:548:3: lv_behaviorName_2_0= RULE_ID
+ // InternalUmlTransition.g:547:1: (lv_behaviorName_2_0= RULE_ID )
+ // InternalUmlTransition.g:548:3: lv_behaviorName_2_0= RULE_ID
{
- lv_behaviorName_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleEffectRule1248);
+ lv_behaviorName_2_0 = (Token) match(input, RULE_ID, FOLLOW_2);
newLeafNode(lv_behaviorName_2_0, grammarAccess.getEffectRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0());
@@ -1388,7 +1332,7 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
current,
"behaviorName",
lv_behaviorName_2_0,
- "ID");
+ "org.eclipse.papyrus.uml.alf.Common.ID");
}
@@ -1412,13 +1356,11 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleEffectRule"
// $ANTLR start "ruleBehaviorKind"
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:572:1: ruleBehaviorKind returns [Enumerator current=null] : ( (enumLiteral_0= 'Activity' ) |
- // (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) ) ;
+ // InternalUmlTransition.g:572:1: ruleBehaviorKind returns [Enumerator current=null] : ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) ) ;
public final Enumerator ruleBehaviorKind() throws RecognitionException {
Enumerator current = null;
@@ -1428,13 +1370,10 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:574:28: ( ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) |
- // (enumLiteral_2= 'OpaqueBehavior' ) ) )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:575:1: ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) |
- // (enumLiteral_2= 'OpaqueBehavior' ) )
+ // InternalUmlTransition.g:574:28: ( ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) ) )
+ // InternalUmlTransition.g:575:1: ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:575:1: ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) |
- // (enumLiteral_2= 'OpaqueBehavior' ) )
+ // InternalUmlTransition.g:575:1: ( (enumLiteral_0= 'Activity' ) | (enumLiteral_1= 'StateMachine' ) | (enumLiteral_2= 'OpaqueBehavior' ) )
int alt7 = 3;
switch (input.LA(1)) {
case 20: {
@@ -1450,20 +1389,19 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
break;
default:
- NoViableAltException nvae =
- new NoViableAltException("", 7, 0, input);
+ NoViableAltException nvae = new NoViableAltException("", 7, 0, input);
throw nvae;
}
switch (alt7) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:575:2: (enumLiteral_0= 'Activity' )
+ // InternalUmlTransition.g:575:2: (enumLiteral_0= 'Activity' )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:575:2: (enumLiteral_0= 'Activity' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:575:4: enumLiteral_0= 'Activity'
+ // InternalUmlTransition.g:575:2: (enumLiteral_0= 'Activity' )
+ // InternalUmlTransition.g:575:4: enumLiteral_0= 'Activity'
{
- enumLiteral_0 = (Token) match(input, 20, FOLLOW_20_in_ruleBehaviorKind1303);
+ enumLiteral_0 = (Token) match(input, 20, FOLLOW_2);
current = grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getBehaviorKindAccess().getACTIVITYEnumLiteralDeclaration_0());
@@ -1475,12 +1413,12 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:581:6: (enumLiteral_1= 'StateMachine' )
+ // InternalUmlTransition.g:581:6: (enumLiteral_1= 'StateMachine' )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:581:6: (enumLiteral_1= 'StateMachine' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:581:8: enumLiteral_1= 'StateMachine'
+ // InternalUmlTransition.g:581:6: (enumLiteral_1= 'StateMachine' )
+ // InternalUmlTransition.g:581:8: enumLiteral_1= 'StateMachine'
{
- enumLiteral_1 = (Token) match(input, 21, FOLLOW_21_in_ruleBehaviorKind1320);
+ enumLiteral_1 = (Token) match(input, 21, FOLLOW_2);
current = grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getBehaviorKindAccess().getSTATE_MACHINEEnumLiteralDeclaration_1());
@@ -1492,12 +1430,12 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
break;
case 3:
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:587:6: (enumLiteral_2= 'OpaqueBehavior' )
+ // InternalUmlTransition.g:587:6: (enumLiteral_2= 'OpaqueBehavior' )
{
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:587:6: (enumLiteral_2= 'OpaqueBehavior' )
- // ../org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/parser/antlr/internal/InternalUmlTransition.g:587:8: enumLiteral_2= 'OpaqueBehavior'
+ // InternalUmlTransition.g:587:6: (enumLiteral_2= 'OpaqueBehavior' )
+ // InternalUmlTransition.g:587:8: enumLiteral_2= 'OpaqueBehavior'
{
- enumLiteral_2 = (Token) match(input, 22, FOLLOW_22_in_ruleBehaviorKind1337);
+ enumLiteral_2 = (Token) match(input, 22, FOLLOW_2);
current = grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getBehaviorKindAccess().getOPAQUE_BEHAVIOREnumLiteralDeclaration_2());
@@ -1524,7 +1462,6 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
}
return current;
}
-
// $ANTLR end "ruleBehaviorKind"
// Delegated rules
@@ -1532,53 +1469,14 @@ public class InternalUmlTransitionParser extends AbstractInternalAntlrParser {
- public static final BitSet FOLLOW_ruleTransitionRule_in_entryRuleTransitionRule75 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleTransitionRule85 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleEventRule_in_ruleTransitionRule132 = new BitSet(new long[] { 0x00000000000A1002L });
- public static final BitSet FOLLOW_12_in_ruleTransitionRule145 = new BitSet(new long[] { 0x000000000001E010L });
- public static final BitSet FOLLOW_ruleEventRule_in_ruleTransitionRule166 = new BitSet(new long[] { 0x00000000000A1002L });
- public static final BitSet FOLLOW_ruleGuardRule_in_ruleTransitionRule191 = new BitSet(new long[] { 0x0000000000080002L });
- public static final BitSet FOLLOW_ruleEffectRule_in_ruleTransitionRule213 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleEventRule_in_entryRuleEventRule250 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleEventRule260 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleCallOrSignalEventRule_in_ruleEventRule307 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAnyReceiveEventRule_in_ruleEventRule334 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleTimeEventRule_in_ruleEventRule361 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleChangeEventRule_in_ruleEventRule388 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleCallOrSignalEventRule_in_entryRuleCallOrSignalEventRule423 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleCallOrSignalEventRule433 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleCallOrSignalEventRule477 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAnyReceiveEventRule_in_entryRuleAnyReceiveEventRule512 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAnyReceiveEventRule522 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_13_in_ruleAnyReceiveEventRule564 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleTimeEventRule_in_entryRuleTimeEventRule612 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleTimeEventRule622 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleRelativeTimeEventRule_in_ruleTimeEventRule669 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAbsoluteTimeEventRule_in_ruleTimeEventRule696 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleRelativeTimeEventRule_in_entryRuleRelativeTimeEventRule731 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleRelativeTimeEventRule741 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_14_in_ruleRelativeTimeEventRule778 = new BitSet(new long[] { 0x0000000000000020L });
- public static final BitSet FOLLOW_RULE_STRING_in_ruleRelativeTimeEventRule795 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAbsoluteTimeEventRule_in_entryRuleAbsoluteTimeEventRule836 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAbsoluteTimeEventRule846 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_15_in_ruleAbsoluteTimeEventRule883 = new BitSet(new long[] { 0x0000000000000020L });
- public static final BitSet FOLLOW_RULE_STRING_in_ruleAbsoluteTimeEventRule900 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleChangeEventRule_in_entryRuleChangeEventRule941 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleChangeEventRule951 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_16_in_ruleChangeEventRule988 = new BitSet(new long[] { 0x0000000000000020L });
- public static final BitSet FOLLOW_RULE_STRING_in_ruleChangeEventRule1005 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleGuardRule_in_entryRuleGuardRule1046 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleGuardRule1056 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_17_in_ruleGuardRule1093 = new BitSet(new long[] { 0x0000000000000020L });
- public static final BitSet FOLLOW_RULE_STRING_in_ruleGuardRule1110 = new BitSet(new long[] { 0x0000000000040000L });
- public static final BitSet FOLLOW_18_in_ruleGuardRule1127 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleEffectRule_in_entryRuleEffectRule1163 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleEffectRule1173 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_19_in_ruleEffectRule1210 = new BitSet(new long[] { 0x0000000000700000L });
- public static final BitSet FOLLOW_ruleBehaviorKind_in_ruleEffectRule1231 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleEffectRule1248 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_20_in_ruleBehaviorKind1303 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_21_in_ruleBehaviorKind1320 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_22_in_ruleBehaviorKind1337 = new BitSet(new long[] { 0x0000000000000002L });
+ public static final BitSet FOLLOW_1 = new BitSet(new long[] { 0x0000000000000000L });
+ public static final BitSet FOLLOW_2 = new BitSet(new long[] { 0x0000000000000002L });
+ public static final BitSet FOLLOW_3 = new BitSet(new long[] { 0x00000000000A1002L });
+ public static final BitSet FOLLOW_4 = new BitSet(new long[] { 0x000000000001E010L });
+ public static final BitSet FOLLOW_5 = new BitSet(new long[] { 0x0000000000080002L });
+ public static final BitSet FOLLOW_6 = new BitSet(new long[] { 0x0000000000000020L });
+ public static final BitSet FOLLOW_7 = new BitSet(new long[] { 0x0000000000040000L });
+ public static final BitSet FOLLOW_8 = new BitSet(new long[] { 0x0000000000700000L });
+ public static final BitSet FOLLOW_9 = new BitSet(new long[] { 0x0000000000000010L });
} \ No newline at end of file
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSemanticSequencer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSemanticSequencer.java
index bcb13fa497c..3453cd1bef0 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSemanticSequencer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSemanticSequencer.java
@@ -1,6 +1,12 @@
+/*
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.transition.xtext.serializer;
+import java.util.Set;
+
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
import org.eclipse.papyrus.uml.textedit.transition.xtext.services.UmlTransitionGrammarAccess;
import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AbsoluteTimeEventRule;
import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AnyReceiveEventRule;
@@ -11,9 +17,12 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.GuardRule
import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.RelativeTimeEventRule;
import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule;
import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage;
+import org.eclipse.xtext.Action;
+import org.eclipse.xtext.Parameter;
+import org.eclipse.xtext.ParserRule;
+import org.eclipse.xtext.serializer.ISerializationContext;
import org.eclipse.xtext.serializer.acceptor.SequenceFeeder;
import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer;
-import org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider;
import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient;
import com.google.inject.Inject;
@@ -25,162 +34,134 @@ public class UmlTransitionSemanticSequencer extends AbstractDelegatingSemanticSe
private UmlTransitionGrammarAccess grammarAccess;
@Override
- public void createSequence(EObject context, EObject semanticObject) {
- if (semanticObject.eClass().getEPackage() == UmlTransitionPackage.eINSTANCE) {
+ public void sequence(ISerializationContext context, EObject semanticObject) {
+ EPackage epackage = semanticObject.eClass().getEPackage();
+ ParserRule rule = context.getParserRule();
+ Action action = context.getAssignedAction();
+ Set<Parameter> parameters = context.getEnabledBooleanParameters();
+ if (epackage == UmlTransitionPackage.eINSTANCE)
switch (semanticObject.eClass().getClassifierID()) {
case UmlTransitionPackage.ABSOLUTE_TIME_EVENT_RULE:
- if (context == grammarAccess.getAbsoluteTimeEventRuleRule() ||
- context == grammarAccess.getEventRuleRule() ||
- context == grammarAccess.getTimeEventRuleRule()) {
- sequence_AbsoluteTimeEventRule(context, (AbsoluteTimeEventRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_AbsoluteTimeEventRule(context, (AbsoluteTimeEventRule) semanticObject);
+ return;
case UmlTransitionPackage.ANY_RECEIVE_EVENT_RULE:
- if (context == grammarAccess.getAnyReceiveEventRuleRule() ||
- context == grammarAccess.getEventRuleRule()) {
- sequence_AnyReceiveEventRule(context, (AnyReceiveEventRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_AnyReceiveEventRule(context, (AnyReceiveEventRule) semanticObject);
+ return;
case UmlTransitionPackage.CALL_OR_SIGNAL_EVENT_RULE:
- if (context == grammarAccess.getCallOrSignalEventRuleRule() ||
- context == grammarAccess.getEventRuleRule()) {
- sequence_CallOrSignalEventRule(context, (CallOrSignalEventRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_CallOrSignalEventRule(context, (CallOrSignalEventRule) semanticObject);
+ return;
case UmlTransitionPackage.CHANGE_EVENT_RULE:
- if (context == grammarAccess.getChangeEventRuleRule() ||
- context == grammarAccess.getEventRuleRule()) {
- sequence_ChangeEventRule(context, (ChangeEventRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_ChangeEventRule(context, (ChangeEventRule) semanticObject);
+ return;
case UmlTransitionPackage.EFFECT_RULE:
- if (context == grammarAccess.getEffectRuleRule()) {
- sequence_EffectRule(context, (EffectRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_EffectRule(context, (EffectRule) semanticObject);
+ return;
case UmlTransitionPackage.GUARD_RULE:
- if (context == grammarAccess.getGuardRuleRule()) {
- sequence_GuardRule(context, (GuardRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_GuardRule(context, (GuardRule) semanticObject);
+ return;
case UmlTransitionPackage.RELATIVE_TIME_EVENT_RULE:
- if (context == grammarAccess.getEventRuleRule() ||
- context == grammarAccess.getRelativeTimeEventRuleRule() ||
- context == grammarAccess.getTimeEventRuleRule()) {
- sequence_RelativeTimeEventRule(context, (RelativeTimeEventRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_RelativeTimeEventRule(context, (RelativeTimeEventRule) semanticObject);
+ return;
case UmlTransitionPackage.TRANSITION_RULE:
- if (context == grammarAccess.getTransitionRuleRule()) {
- sequence_TransitionRule(context, (TransitionRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_TransitionRule(context, (TransitionRule) semanticObject);
+ return;
}
- }
- if (errorAcceptor != null) {
+ if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
- }
}
/**
+ * Contexts:
+ * EventRule returns AbsoluteTimeEventRule
+ * TimeEventRule returns AbsoluteTimeEventRule
+ * AbsoluteTimeEventRule returns AbsoluteTimeEventRule
+ *
* Constraint:
* expr=STRING
*/
- protected void sequence_AbsoluteTimeEventRule(EObject context, AbsoluteTimeEventRule semanticObject) {
+ protected void sequence_AbsoluteTimeEventRule(ISerializationContext context, AbsoluteTimeEventRule semanticObject) {
if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.TIME_EVENT_RULE__EXPR) == ValueTransient.YES) {
+ if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.TIME_EVENT_RULE__EXPR) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlTransitionPackage.Literals.TIME_EVENT_RULE__EXPR));
- }
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getAbsoluteTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0(), semanticObject.getExpr());
feeder.finish();
}
/**
+ * Contexts:
+ * EventRule returns AnyReceiveEventRule
+ * AnyReceiveEventRule returns AnyReceiveEventRule
+ *
* Constraint:
* isAReceiveEvent='all'
*/
- protected void sequence_AnyReceiveEventRule(EObject context, AnyReceiveEventRule semanticObject) {
+ protected void sequence_AnyReceiveEventRule(ISerializationContext context, AnyReceiveEventRule semanticObject) {
if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT) == ValueTransient.YES) {
+ if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlTransitionPackage.Literals.ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT));
- }
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getAnyReceiveEventRuleAccess().getIsAReceiveEventAllKeyword_0(), semanticObject.getIsAReceiveEvent());
feeder.finish();
}
/**
+ * Contexts:
+ * EventRule returns CallOrSignalEventRule
+ * CallOrSignalEventRule returns CallOrSignalEventRule
+ *
* Constraint:
* operationOrSignal=[NamedElement|ID]
*/
- protected void sequence_CallOrSignalEventRule(EObject context, CallOrSignalEventRule semanticObject) {
+ protected void sequence_CallOrSignalEventRule(ISerializationContext context, CallOrSignalEventRule semanticObject) {
if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL) == ValueTransient.YES) {
+ if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlTransitionPackage.Literals.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL));
- }
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
- feeder.accept(grammarAccess.getCallOrSignalEventRuleAccess().getOperationOrSignalNamedElementIDTerminalRuleCall_0_1(), semanticObject.getOperationOrSignal());
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
+ feeder.accept(grammarAccess.getCallOrSignalEventRuleAccess().getOperationOrSignalNamedElementIDTerminalRuleCall_0_1(), semanticObject.eGet(UmlTransitionPackage.Literals.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL, false));
feeder.finish();
}
/**
+ * Contexts:
+ * EventRule returns ChangeEventRule
+ * ChangeEventRule returns ChangeEventRule
+ *
* Constraint:
* exp=STRING
*/
- protected void sequence_ChangeEventRule(EObject context, ChangeEventRule semanticObject) {
+ protected void sequence_ChangeEventRule(ISerializationContext context, ChangeEventRule semanticObject) {
if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.CHANGE_EVENT_RULE__EXP) == ValueTransient.YES) {
+ if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.CHANGE_EVENT_RULE__EXP) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlTransitionPackage.Literals.CHANGE_EVENT_RULE__EXP));
- }
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getChangeEventRuleAccess().getExpSTRINGTerminalRuleCall_1_0(), semanticObject.getExp());
feeder.finish();
}
/**
+ * Contexts:
+ * EffectRule returns EffectRule
+ *
* Constraint:
* (kind=BehaviorKind behaviorName=ID)
*/
- protected void sequence_EffectRule(EObject context, EffectRule semanticObject) {
+ protected void sequence_EffectRule(ISerializationContext context, EffectRule semanticObject) {
if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.EFFECT_RULE__KIND) == ValueTransient.YES) {
+ if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.EFFECT_RULE__KIND) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlTransitionPackage.Literals.EFFECT_RULE__KIND));
- }
- if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.EFFECT_RULE__BEHAVIOR_NAME) == ValueTransient.YES) {
+ if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.EFFECT_RULE__BEHAVIOR_NAME) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlTransitionPackage.Literals.EFFECT_RULE__BEHAVIOR_NAME));
- }
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getEffectRuleAccess().getKindBehaviorKindEnumRuleCall_1_0(), semanticObject.getKind());
feeder.accept(grammarAccess.getEffectRuleAccess().getBehaviorNameIDTerminalRuleCall_2_0(), semanticObject.getBehaviorName());
feeder.finish();
@@ -188,44 +169,57 @@ public class UmlTransitionSemanticSequencer extends AbstractDelegatingSemanticSe
/**
+ * Contexts:
+ * GuardRule returns GuardRule
+ *
* Constraint:
* constraint=STRING
*/
- protected void sequence_GuardRule(EObject context, GuardRule semanticObject) {
+ protected void sequence_GuardRule(ISerializationContext context, GuardRule semanticObject) {
if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.GUARD_RULE__CONSTRAINT) == ValueTransient.YES) {
+ if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.GUARD_RULE__CONSTRAINT) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlTransitionPackage.Literals.GUARD_RULE__CONSTRAINT));
- }
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getGuardRuleAccess().getConstraintSTRINGTerminalRuleCall_1_0(), semanticObject.getConstraint());
feeder.finish();
}
/**
+ * Contexts:
+ * EventRule returns RelativeTimeEventRule
+ * TimeEventRule returns RelativeTimeEventRule
+ * RelativeTimeEventRule returns RelativeTimeEventRule
+ *
* Constraint:
* expr=STRING
*/
- protected void sequence_RelativeTimeEventRule(EObject context, RelativeTimeEventRule semanticObject) {
+ protected void sequence_RelativeTimeEventRule(ISerializationContext context, RelativeTimeEventRule semanticObject) {
if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.TIME_EVENT_RULE__EXPR) == ValueTransient.YES) {
+ if (transientValues.isValueTransient(semanticObject, UmlTransitionPackage.Literals.TIME_EVENT_RULE__EXPR) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, UmlTransitionPackage.Literals.TIME_EVENT_RULE__EXPR));
- }
}
- INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
- SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
feeder.accept(grammarAccess.getRelativeTimeEventRuleAccess().getExprSTRINGTerminalRuleCall_1_0(), semanticObject.getExpr());
feeder.finish();
}
/**
+ * Contexts:
+ * TransitionRule returns TransitionRule
+ *
* Constraint:
- * ((triggers+=EventRule triggers+=EventRule*)? guard=GuardRule? effect=EffectRule?)
+ * (
+ * (triggers+=EventRule triggers+=EventRule* ((guard=GuardRule effect=EffectRule) | effect=EffectRule)) |
+ * (guard=GuardRule effect=EffectRule) |
+ * effect=EffectRule
+ * )?
*/
- protected void sequence_TransitionRule(EObject context, TransitionRule semanticObject) {
+ protected void sequence_TransitionRule(ISerializationContext context, TransitionRule semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
+
+
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSyntacticSequencer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSyntacticSequencer.java
index 041b79320f9..ff79762adb0 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSyntacticSequencer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/serializer/UmlTransitionSyntacticSequencer.java
@@ -1,3 +1,6 @@
+/*
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.transition.xtext.serializer;
import java.util.List;
@@ -31,9 +34,8 @@ public class UmlTransitionSyntacticSequencer extends AbstractSyntacticSequencer
@Override
protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) {
- if (transition.getAmbiguousSyntaxes().isEmpty()) {
+ if (transition.getAmbiguousSyntaxes().isEmpty())
return;
- }
List<INode> transitionNodes = collectNodes(fromNode, toNode);
for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/services/UmlTransitionGrammarAccess.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/services/UmlTransitionGrammarAccess.java
index 15b898d5001..539f6403763 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/services/UmlTransitionGrammarAccess.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/services/UmlTransitionGrammarAccess.java
@@ -18,6 +18,7 @@ import org.eclipse.xtext.Keyword;
import org.eclipse.xtext.ParserRule;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.TerminalRule;
+import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
import org.eclipse.xtext.service.GrammarProvider;
@@ -29,7 +30,7 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
public class TransitionRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TransitionRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.TransitionRule");
private final Group cGroup = (Group) rule.eContents().get(1);
private final Group cGroup_0 = (Group) cGroup.eContents().get(0);
private final Assignment cTriggersAssignment_0_0 = (Assignment) cGroup_0.eContents().get(0);
@@ -44,19 +45,18 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cEffectEffectRuleParserRuleCall_2_0 = (RuleCall) cEffectAssignment_2.eContents().get(0);
// TransitionRule:
- //
- // (triggers+=EventRule ("," triggers+=EventRule)*)? guard=GuardRule? effect=EffectRule?;
+ // (triggers+=EventRule (',' triggers+=EventRule)*)? guard=GuardRule? effect=EffectRule?;
@Override
public ParserRule getRule() {
return rule;
}
- // (triggers+=EventRule ("," triggers+=EventRule)*)? guard=GuardRule? effect=EffectRule?
+ // (triggers+=EventRule (',' triggers+=EventRule)*)? guard=GuardRule? effect=EffectRule?
public Group getGroup() {
return cGroup;
}
- // (triggers+=EventRule ("," triggers+=EventRule)*)?
+ // (triggers+=EventRule (',' triggers+=EventRule)*)?
public Group getGroup_0() {
return cGroup_0;
}
@@ -71,12 +71,12 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
return cTriggersEventRuleParserRuleCall_0_0_0;
}
- // ("," triggers+=EventRule)*
+ // (',' triggers+=EventRule)*
public Group getGroup_0_1() {
return cGroup_0_1;
}
- // ","
+ // ','
public Keyword getCommaKeyword_0_1_0() {
return cCommaKeyword_0_1_0;
}
@@ -113,18 +113,17 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
public class EventRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EventRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.EventRule");
private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
private final RuleCall cCallOrSignalEventRuleParserRuleCall_0 = (RuleCall) cAlternatives.eContents().get(0);
private final RuleCall cAnyReceiveEventRuleParserRuleCall_1 = (RuleCall) cAlternatives.eContents().get(1);
private final RuleCall cTimeEventRuleParserRuleCall_2 = (RuleCall) cAlternatives.eContents().get(2);
private final RuleCall cChangeEventRuleParserRuleCall_3 = (RuleCall) cAlternatives.eContents().get(3);
- // //////////////////////
+ ////////////////////////
// // EVENTS
// //////////////////////
// EventRule:
- //
// CallOrSignalEventRule | AnyReceiveEventRule | TimeEventRule | ChangeEventRule;
@Override
public ParserRule getRule() {
@@ -158,13 +157,12 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
public class CallOrSignalEventRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "CallOrSignalEventRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.CallOrSignalEventRule");
private final Assignment cOperationOrSignalAssignment = (Assignment) rule.eContents().get(1);
private final CrossReference cOperationOrSignalNamedElementCrossReference_0 = (CrossReference) cOperationOrSignalAssignment.eContents().get(0);
private final RuleCall cOperationOrSignalNamedElementIDTerminalRuleCall_0_1 = (RuleCall) cOperationOrSignalNamedElementCrossReference_0.eContents().get(1);
// CallOrSignalEventRule:
- //
// operationOrSignal=[uml::NamedElement];
@Override
public ParserRule getRule() {
@@ -188,37 +186,35 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
public class AnyReceiveEventRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AnyReceiveEventRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.AnyReceiveEventRule");
private final Assignment cIsAReceiveEventAssignment = (Assignment) rule.eContents().get(1);
private final Keyword cIsAReceiveEventAllKeyword_0 = (Keyword) cIsAReceiveEventAssignment.eContents().get(0);
// AnyReceiveEventRule:
- //
- // isAReceiveEvent="all";
+ // isAReceiveEvent='all';
@Override
public ParserRule getRule() {
return rule;
}
- // isAReceiveEvent="all"
+ // isAReceiveEvent='all'
public Assignment getIsAReceiveEventAssignment() {
return cIsAReceiveEventAssignment;
}
- // "all"
+ // 'all'
public Keyword getIsAReceiveEventAllKeyword_0() {
return cIsAReceiveEventAllKeyword_0;
}
}
public class TimeEventRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TimeEventRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.TimeEventRule");
private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
private final RuleCall cRelativeTimeEventRuleParserRuleCall_0 = (RuleCall) cAlternatives.eContents().get(0);
private final RuleCall cAbsoluteTimeEventRuleParserRuleCall_1 = (RuleCall) cAlternatives.eContents().get(1);
// TimeEventRule:
- //
// RelativeTimeEventRule | AbsoluteTimeEventRule;
@Override
public ParserRule getRule() {
@@ -242,26 +238,25 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
public class RelativeTimeEventRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RelativeTimeEventRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.RelativeTimeEventRule");
private final Group cGroup = (Group) rule.eContents().get(1);
private final Keyword cAfterKeyword_0 = (Keyword) cGroup.eContents().get(0);
private final Assignment cExprAssignment_1 = (Assignment) cGroup.eContents().get(1);
private final RuleCall cExprSTRINGTerminalRuleCall_1_0 = (RuleCall) cExprAssignment_1.eContents().get(0);
// RelativeTimeEventRule:
- //
- // "after" expr=STRING;
+ // 'after' expr=STRING;
@Override
public ParserRule getRule() {
return rule;
}
- // "after" expr=STRING
+ // 'after' expr=STRING
public Group getGroup() {
return cGroup;
}
- // "after"
+ // 'after'
public Keyword getAfterKeyword_0() {
return cAfterKeyword_0;
}
@@ -278,26 +273,25 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
public class AbsoluteTimeEventRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AbsoluteTimeEventRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.AbsoluteTimeEventRule");
private final Group cGroup = (Group) rule.eContents().get(1);
private final Keyword cAtKeyword_0 = (Keyword) cGroup.eContents().get(0);
private final Assignment cExprAssignment_1 = (Assignment) cGroup.eContents().get(1);
private final RuleCall cExprSTRINGTerminalRuleCall_1_0 = (RuleCall) cExprAssignment_1.eContents().get(0);
// AbsoluteTimeEventRule:
- //
- // "at" expr=STRING;
+ // 'at' expr=STRING;
@Override
public ParserRule getRule() {
return rule;
}
- // "at" expr=STRING
+ // 'at' expr=STRING
public Group getGroup() {
return cGroup;
}
- // "at"
+ // 'at'
public Keyword getAtKeyword_0() {
return cAtKeyword_0;
}
@@ -314,26 +308,25 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
public class ChangeEventRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ChangeEventRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.ChangeEventRule");
private final Group cGroup = (Group) rule.eContents().get(1);
private final Keyword cWhenKeyword_0 = (Keyword) cGroup.eContents().get(0);
private final Assignment cExpAssignment_1 = (Assignment) cGroup.eContents().get(1);
private final RuleCall cExpSTRINGTerminalRuleCall_1_0 = (RuleCall) cExpAssignment_1.eContents().get(0);
// ChangeEventRule:
- //
- // "when" exp=STRING;
+ // 'when' exp=STRING;
@Override
public ParserRule getRule() {
return rule;
}
- // "when" exp=STRING
+ // 'when' exp=STRING
public Group getGroup() {
return cGroup;
}
- // "when"
+ // 'when'
public Keyword getWhenKeyword_0() {
return cWhenKeyword_0;
}
@@ -350,30 +343,29 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
public class GuardRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "GuardRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.GuardRule");
private final Group cGroup = (Group) rule.eContents().get(1);
private final Keyword cLeftSquareBracketKeyword_0 = (Keyword) cGroup.eContents().get(0);
private final Assignment cConstraintAssignment_1 = (Assignment) cGroup.eContents().get(1);
private final RuleCall cConstraintSTRINGTerminalRuleCall_1_0 = (RuleCall) cConstraintAssignment_1.eContents().get(0);
private final Keyword cRightSquareBracketKeyword_2 = (Keyword) cGroup.eContents().get(2);
- // ///////////////////////
+ /////////////////////////
// // GUARD
// ///////////////////////
// GuardRule:
- //
- // "[" constraint=STRING "]";
+ // '[' constraint=STRING ']';
@Override
public ParserRule getRule() {
return rule;
}
- // "[" constraint=STRING "]"
+ // '[' constraint=STRING ']'
public Group getGroup() {
return cGroup;
}
- // "["
+ // '['
public Keyword getLeftSquareBracketKeyword_0() {
return cLeftSquareBracketKeyword_0;
}
@@ -388,14 +380,14 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
return cConstraintSTRINGTerminalRuleCall_1_0;
}
- // "]"
+ // ']'
public Keyword getRightSquareBracketKeyword_2() {
return cRightSquareBracketKeyword_2;
}
}
public class EffectRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EffectRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.EffectRule");
private final Group cGroup = (Group) rule.eContents().get(1);
private final Keyword cSolidusKeyword_0 = (Keyword) cGroup.eContents().get(0);
private final Assignment cKindAssignment_1 = (Assignment) cGroup.eContents().get(1);
@@ -403,23 +395,22 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
private final Assignment cBehaviorNameAssignment_2 = (Assignment) cGroup.eContents().get(2);
private final RuleCall cBehaviorNameIDTerminalRuleCall_2_0 = (RuleCall) cBehaviorNameAssignment_2.eContents().get(0);
- // ///////////////////////
+ /////////////////////////
// // EFFECT
// ///////////////////////
// EffectRule:
- //
- // "/" kind=BehaviorKind behaviorName=ID;
+ // '/' kind=BehaviorKind behaviorName=ID;
@Override
public ParserRule getRule() {
return rule;
}
- // "/" kind=BehaviorKind behaviorName=ID
+ // '/' kind=BehaviorKind behaviorName=ID
public Group getGroup() {
return cGroup;
}
- // "/"
+ // '/'
public Keyword getSolidusKeyword_0() {
return cSolidusKeyword_0;
}
@@ -447,7 +438,7 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
public class BehaviorKindElements extends AbstractEnumRuleElementFinder {
- private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "BehaviorKind");
+ private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.transition.xtext.UmlTransition.BehaviorKind");
private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
private final EnumLiteralDeclaration cACTIVITYEnumLiteralDeclaration_0 = (EnumLiteralDeclaration) cAlternatives.eContents().get(0);
private final Keyword cACTIVITYActivityKeyword_0_0 = (Keyword) cACTIVITYEnumLiteralDeclaration_0.eContents().get(0);
@@ -457,9 +448,7 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cOPAQUE_BEHAVIOROpaqueBehaviorKeyword_2_0 = (Keyword) cOPAQUE_BEHAVIOREnumLiteralDeclaration_2.eContents().get(0);
// enum BehaviorKind:
- //
// ACTIVITY="Activity" | STATE_MACHINE="StateMachine" | OPAQUE_BEHAVIOR="OpaqueBehavior";
- @Override
public EnumRule getRule() {
return rule;
}
@@ -500,27 +489,42 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
}
- private TransitionRuleElements pTransitionRule;
- private EventRuleElements pEventRule;
- private CallOrSignalEventRuleElements pCallOrSignalEventRule;
- private AnyReceiveEventRuleElements pAnyReceiveEventRule;
- private TimeEventRuleElements pTimeEventRule;
- private RelativeTimeEventRuleElements pRelativeTimeEventRule;
- private AbsoluteTimeEventRuleElements pAbsoluteTimeEventRule;
- private ChangeEventRuleElements pChangeEventRule;
- private GuardRuleElements pGuardRule;
- private EffectRuleElements pEffectRule;
- private BehaviorKindElements unknownRuleBehaviorKind;
+ private final TransitionRuleElements pTransitionRule;
+ private final EventRuleElements pEventRule;
+ private final CallOrSignalEventRuleElements pCallOrSignalEventRule;
+ private final AnyReceiveEventRuleElements pAnyReceiveEventRule;
+ private final TimeEventRuleElements pTimeEventRule;
+ private final RelativeTimeEventRuleElements pRelativeTimeEventRule;
+ private final AbsoluteTimeEventRuleElements pAbsoluteTimeEventRule;
+ private final ChangeEventRuleElements pChangeEventRule;
+ private final GuardRuleElements pGuardRule;
+ private final EffectRuleElements pEffectRule;
+ private final BehaviorKindElements eBehaviorKind;
private final Grammar grammar;
- private CommonGrammarAccess gaCommon;
+ private final CommonGrammarAccess gaCommon;
+
+ private final TerminalsGrammarAccess gaTerminals;
@Inject
public UmlTransitionGrammarAccess(GrammarProvider grammarProvider,
- CommonGrammarAccess gaCommon) {
+ CommonGrammarAccess gaCommon,
+ TerminalsGrammarAccess gaTerminals) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaCommon = gaCommon;
+ this.gaTerminals = gaTerminals;
+ this.pTransitionRule = new TransitionRuleElements();
+ this.pEventRule = new EventRuleElements();
+ this.pCallOrSignalEventRule = new CallOrSignalEventRuleElements();
+ this.pAnyReceiveEventRule = new AnyReceiveEventRuleElements();
+ this.pTimeEventRule = new TimeEventRuleElements();
+ this.pRelativeTimeEventRule = new RelativeTimeEventRuleElements();
+ this.pAbsoluteTimeEventRule = new AbsoluteTimeEventRuleElements();
+ this.pChangeEventRule = new ChangeEventRuleElements();
+ this.pGuardRule = new GuardRuleElements();
+ this.pEffectRule = new EffectRuleElements();
+ this.eBehaviorKind = new BehaviorKindElements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
@@ -539,7 +543,6 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
return grammar;
}
-
@Override
public Grammar getGrammar() {
return grammar;
@@ -550,26 +553,28 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
return gaCommon;
}
+ public TerminalsGrammarAccess getTerminalsGrammarAccess() {
+ return gaTerminals;
+ }
+
// TransitionRule:
- //
- // (triggers+=EventRule ("," triggers+=EventRule)*)? guard=GuardRule? effect=EffectRule?;
+ // (triggers+=EventRule (',' triggers+=EventRule)*)? guard=GuardRule? effect=EffectRule?;
public TransitionRuleElements getTransitionRuleAccess() {
- return (pTransitionRule != null) ? pTransitionRule : (pTransitionRule = new TransitionRuleElements());
+ return pTransitionRule;
}
public ParserRule getTransitionRuleRule() {
return getTransitionRuleAccess().getRule();
}
- // //////////////////////
+ ////////////////////////
// // EVENTS
// //////////////////////
// EventRule:
- //
// CallOrSignalEventRule | AnyReceiveEventRule | TimeEventRule | ChangeEventRule;
public EventRuleElements getEventRuleAccess() {
- return (pEventRule != null) ? pEventRule : (pEventRule = new EventRuleElements());
+ return pEventRule;
}
public ParserRule getEventRuleRule() {
@@ -577,10 +582,9 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
// CallOrSignalEventRule:
- //
// operationOrSignal=[uml::NamedElement];
public CallOrSignalEventRuleElements getCallOrSignalEventRuleAccess() {
- return (pCallOrSignalEventRule != null) ? pCallOrSignalEventRule : (pCallOrSignalEventRule = new CallOrSignalEventRuleElements());
+ return pCallOrSignalEventRule;
}
public ParserRule getCallOrSignalEventRuleRule() {
@@ -588,10 +592,9 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
// AnyReceiveEventRule:
- //
- // isAReceiveEvent="all";
+ // isAReceiveEvent='all';
public AnyReceiveEventRuleElements getAnyReceiveEventRuleAccess() {
- return (pAnyReceiveEventRule != null) ? pAnyReceiveEventRule : (pAnyReceiveEventRule = new AnyReceiveEventRuleElements());
+ return pAnyReceiveEventRule;
}
public ParserRule getAnyReceiveEventRuleRule() {
@@ -599,10 +602,9 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
// TimeEventRule:
- //
// RelativeTimeEventRule | AbsoluteTimeEventRule;
public TimeEventRuleElements getTimeEventRuleAccess() {
- return (pTimeEventRule != null) ? pTimeEventRule : (pTimeEventRule = new TimeEventRuleElements());
+ return pTimeEventRule;
}
public ParserRule getTimeEventRuleRule() {
@@ -610,10 +612,9 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
// RelativeTimeEventRule:
- //
- // "after" expr=STRING;
+ // 'after' expr=STRING;
public RelativeTimeEventRuleElements getRelativeTimeEventRuleAccess() {
- return (pRelativeTimeEventRule != null) ? pRelativeTimeEventRule : (pRelativeTimeEventRule = new RelativeTimeEventRuleElements());
+ return pRelativeTimeEventRule;
}
public ParserRule getRelativeTimeEventRuleRule() {
@@ -621,10 +622,9 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
// AbsoluteTimeEventRule:
- //
- // "at" expr=STRING;
+ // 'at' expr=STRING;
public AbsoluteTimeEventRuleElements getAbsoluteTimeEventRuleAccess() {
- return (pAbsoluteTimeEventRule != null) ? pAbsoluteTimeEventRule : (pAbsoluteTimeEventRule = new AbsoluteTimeEventRuleElements());
+ return pAbsoluteTimeEventRule;
}
public ParserRule getAbsoluteTimeEventRuleRule() {
@@ -632,38 +632,35 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
// ChangeEventRule:
- //
- // "when" exp=STRING;
+ // 'when' exp=STRING;
public ChangeEventRuleElements getChangeEventRuleAccess() {
- return (pChangeEventRule != null) ? pChangeEventRule : (pChangeEventRule = new ChangeEventRuleElements());
+ return pChangeEventRule;
}
public ParserRule getChangeEventRuleRule() {
return getChangeEventRuleAccess().getRule();
}
- // ///////////////////////
+ /////////////////////////
// // GUARD
// ///////////////////////
// GuardRule:
- //
- // "[" constraint=STRING "]";
+ // '[' constraint=STRING ']';
public GuardRuleElements getGuardRuleAccess() {
- return (pGuardRule != null) ? pGuardRule : (pGuardRule = new GuardRuleElements());
+ return pGuardRule;
}
public ParserRule getGuardRuleRule() {
return getGuardRuleAccess().getRule();
}
- // ///////////////////////
+ /////////////////////////
// // EFFECT
// ///////////////////////
// EffectRule:
- //
- // "/" kind=BehaviorKind behaviorName=ID;
+ // '/' kind=BehaviorKind behaviorName=ID;
public EffectRuleElements getEffectRuleAccess() {
- return (pEffectRule != null) ? pEffectRule : (pEffectRule = new EffectRuleElements());
+ return pEffectRule;
}
public ParserRule getEffectRuleRule() {
@@ -671,91 +668,61 @@ public class UmlTransitionGrammarAccess extends AbstractGrammarElementFinder {
}
// enum BehaviorKind:
- //
// ACTIVITY="Activity" | STATE_MACHINE="StateMachine" | OPAQUE_BEHAVIOR="OpaqueBehavior";
public BehaviorKindElements getBehaviorKindAccess() {
- return (unknownRuleBehaviorKind != null) ? unknownRuleBehaviorKind : (unknownRuleBehaviorKind = new BehaviorKindElements());
+ return eBehaviorKind;
}
public EnumRule getBehaviorKindRule() {
return getBehaviorKindAccess().getRule();
}
- // terminal INTEGER_VALUE:
- //
- // ("0" | "1".."9" ("_"? "0".."9")*) //DECIMAL
- //
- // // BINARY
- //
- // // HEX
- //
- // // OCT
- //
- // | ("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")*;
- public TerminalRule getINTEGER_VALUERule() {
- return gaCommon.getINTEGER_VALUERule();
- }
-
// terminal ID:
- //
- // ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")* | "\'"->"\'";
+ // ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')* | '\''->'\'';
public TerminalRule getIDRule() {
return gaCommon.getIDRule();
}
// terminal STRING:
- //
- // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"";
+ // '"' ('\\' ('b' | 't' | 'n' | 'f' | 'r' | '"' | "'" | '\\') | !('\\' | '"'))* '"';
public TerminalRule getSTRINGRule() {
return gaCommon.getSTRINGRule();
}
// terminal ML_COMMENT:
- //
- // "/ *" !"@"->"* /";
+ // '/*' !'@'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaCommon.getML_COMMENTRule();
}
- // //terminal DOUBLE_COLON : '::' ;
- //
- // //terminal IDENTIFIER : ID ;
- //
- // //terminal IDENTIFIER : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')* | ('\'' -> '\'') ;
- //
- // //terminal DOCUMENTATION_COMMENT : '/ *' -> '* /' ;
- //
- // //terminal ML_COMMENT : '/°' -> '°/';
- //
- // //terminal SL_COMMENT : '°°' !('\n'|'\r')* ('\r'? '\n')?;
- //
- // //terminal WS : (' '|'\t'|'\r'|'\n')+; terminal SL_COMMENT:
- //
- // "//" !("\n" | "\r" | "@")* ("\r"? "\n")?;
+ // terminal SL_COMMENT:
+ // '//' !('\n' | '\r' | '@')* ('\r'? '\n')?;
public TerminalRule getSL_COMMENTRule() {
return gaCommon.getSL_COMMENTRule();
}
// terminal INT returns ecore::EInt:
- //
- // "0".."9"+;
+ // '0'..'9'+;
public TerminalRule getINTRule() {
return gaCommon.getINTRule();
}
+ // terminal 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')*;
+ public TerminalRule getINTEGER_VALUERule() {
+ return gaCommon.getINTEGER_VALUERule();
+ }
+
// terminal WS:
- //
- // (" " | "\t" | "\r" | "\n")+;
+ // ' ' | '\t' | '\r' | '\n'+;
public TerminalRule getWSRule() {
- return gaCommon.getWSRule();
+ return gaTerminals.getWSRule();
}
// terminal ANY_OTHER:
- //
// .;
public TerminalRule getANY_OTHERRule() {
- return gaCommon.getANY_OTHERRule();
+ return gaTerminals.getANY_OTHERRule();
}
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AbsoluteTimeEventRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AbsoluteTimeEventRule.java
index c0530db8720..772ecd673b2 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AbsoluteTimeEventRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AbsoluteTimeEventRule.java
@@ -13,6 +13,5 @@ package org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition;
* @model
* @generated
*/
-public interface AbsoluteTimeEventRule extends TimeEventRule
-{
+public interface AbsoluteTimeEventRule extends TimeEventRule {
} // AbsoluteTimeEventRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AnyReceiveEventRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AnyReceiveEventRule.java
index e7ff10806c8..a8ea9fb01a4 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AnyReceiveEventRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/AnyReceiveEventRule.java
@@ -10,25 +10,25 @@ package org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AnyReceiveEventRule#getIsAReceiveEvent <em>Is AReceive Event</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getAnyReceiveEventRule()
* @model
* @generated
*/
-public interface AnyReceiveEventRule extends EventRule
-{
+public interface AnyReceiveEventRule extends EventRule {
/**
* Returns the value of the '<em><b>Is AReceive Event</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Is AReceive Event</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Is AReceive Event</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Is AReceive Event</em>' attribute.
* @see #setIsAReceiveEvent(String)
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getAnyReceiveEventRule_IsAReceiveEvent()
@@ -41,7 +41,7 @@ public interface AnyReceiveEventRule extends EventRule
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AnyReceiveEventRule#getIsAReceiveEvent <em>Is AReceive Event</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Is AReceive Event</em>' attribute.
* @see #getIsAReceiveEvent()
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/BehaviorKind.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/BehaviorKind.java
index 17f2c900567..dfb8082dccf 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/BehaviorKind.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/BehaviorKind.java
@@ -13,18 +13,17 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Behavior Kind</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getBehaviorKind()
* @model
* @generated
*/
-public enum BehaviorKind implements Enumerator
-{
+public enum BehaviorKind implements Enumerator {
/**
* The '<em><b>ACTIVITY</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #ACTIVITY_VALUE
* @generated
* @ordered
@@ -35,7 +34,7 @@ public enum BehaviorKind implements Enumerator
* The '<em><b>STATE MACHINE</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #STATE_MACHINE_VALUE
* @generated
* @ordered
@@ -46,7 +45,7 @@ public enum BehaviorKind implements Enumerator
* The '<em><b>OPAQUE BEHAVIOR</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #OPAQUE_BEHAVIOR_VALUE
* @generated
* @ordered
@@ -57,10 +56,11 @@ public enum BehaviorKind implements Enumerator
* The '<em><b>ACTIVITY</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>ACTIVITY</b></em>' literal object isn't clear, there really should be more of a description here...
+ * If the meaning of '<em><b>ACTIVITY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #ACTIVITY
* @model literal="Activity"
* @generated
@@ -72,10 +72,11 @@ public enum BehaviorKind implements Enumerator
* The '<em><b>STATE MACHINE</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>STATE MACHINE</b></em>' literal object isn't clear, there really should be more of a description here...
+ * If the meaning of '<em><b>STATE MACHINE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #STATE_MACHINE
* @model literal="StateMachine"
* @generated
@@ -87,10 +88,11 @@ public enum BehaviorKind implements Enumerator
* The '<em><b>OPAQUE BEHAVIOR</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>OPAQUE BEHAVIOR</b></em>' literal object isn't clear, there really should be more of a description here...
+ * If the meaning of '<em><b>OPAQUE BEHAVIOR</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @see #OPAQUE_BEHAVIOR
* @model literal="OpaqueBehavior"
* @generated
@@ -102,22 +104,20 @@ public enum BehaviorKind implements Enumerator
* An array of all the '<em><b>Behavior Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- private static final BehaviorKind[] VALUES_ARRAY =
- new BehaviorKind[]
- {
- ACTIVITY,
- STATE_MACHINE,
- OPAQUE_BEHAVIOR,
- };
+ private static final BehaviorKind[] VALUES_ARRAY = new BehaviorKind[] {
+ ACTIVITY,
+ STATE_MACHINE,
+ OPAQUE_BEHAVIOR,
+ };
/**
* A public read-only list of all the '<em><b>Behavior Kind</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
public static final List<BehaviorKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -126,16 +126,16 @@ public enum BehaviorKind implements Enumerator
* Returns the '<em><b>Behavior Kind</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
+ * @param literal
+ * the literal.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
- public static BehaviorKind get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
+ public static BehaviorKind get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
BehaviorKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
+ if (result.toString().equals(literal)) {
return result;
}
}
@@ -146,16 +146,16 @@ public enum BehaviorKind implements Enumerator
* Returns the '<em><b>Behavior Kind</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
+ * @param name
+ * the name.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
- public static BehaviorKind getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
+ public static BehaviorKind getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
BehaviorKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
+ if (result.getName().equals(name)) {
return result;
}
}
@@ -166,13 +166,14 @@ public enum BehaviorKind implements Enumerator
* Returns the '<em><b>Behavior Kind</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
+ * @param value
+ * the integer value.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
- public static BehaviorKind get(int value)
- {
- switch (value)
- {
+ public static BehaviorKind get(int value) {
+ switch (value) {
case ACTIVITY_VALUE:
return ACTIVITY;
case STATE_MACHINE_VALUE:
@@ -186,7 +187,7 @@ public enum BehaviorKind implements Enumerator
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final int value;
@@ -194,7 +195,7 @@ public enum BehaviorKind implements Enumerator
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String name;
@@ -202,7 +203,7 @@ public enum BehaviorKind implements Enumerator
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private final String literal;
@@ -211,11 +212,10 @@ public enum BehaviorKind implements Enumerator
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- private BehaviorKind(int value, String name, String literal)
- {
+ private BehaviorKind(int value, String name, String literal) {
this.value = value;
this.name = name;
this.literal = literal;
@@ -224,36 +224,30 @@ public enum BehaviorKind implements Enumerator
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public int getValue()
- {
+ public int getValue() {
return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public String getName()
- {
+ public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public String getLiteral()
- {
+ public String getLiteral() {
return literal;
}
@@ -261,12 +255,11 @@ public enum BehaviorKind implements Enumerator
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public String toString()
- {
+ public String toString() {
return literal;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/CallOrSignalEventRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/CallOrSignalEventRule.java
index 9542d2a4c7b..d1ac18d485a 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/CallOrSignalEventRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/CallOrSignalEventRule.java
@@ -11,25 +11,25 @@ import org.eclipse.uml2.uml.NamedElement;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.CallOrSignalEventRule#getOperationOrSignal <em>Operation Or Signal</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getCallOrSignalEventRule()
* @model
* @generated
*/
-public interface CallOrSignalEventRule extends EventRule
-{
+public interface CallOrSignalEventRule extends EventRule {
/**
* Returns the value of the '<em><b>Operation Or Signal</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Operation Or Signal</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Operation Or Signal</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Operation Or Signal</em>' reference.
* @see #setOperationOrSignal(NamedElement)
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getCallOrSignalEventRule_OperationOrSignal()
@@ -42,7 +42,7 @@ public interface CallOrSignalEventRule extends EventRule
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.CallOrSignalEventRule#getOperationOrSignal <em>Operation Or Signal</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Operation Or Signal</em>' reference.
* @see #getOperationOrSignal()
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/ChangeEventRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/ChangeEventRule.java
index 81d1d832b50..6d9c49e008e 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/ChangeEventRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/ChangeEventRule.java
@@ -10,25 +10,25 @@ package org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.ChangeEventRule#getExp <em>Exp</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getChangeEventRule()
* @model
* @generated
*/
-public interface ChangeEventRule extends EventRule
-{
+public interface ChangeEventRule extends EventRule {
/**
* Returns the value of the '<em><b>Exp</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Exp</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Exp</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Exp</em>' attribute.
* @see #setExp(String)
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getChangeEventRule_Exp()
@@ -41,7 +41,7 @@ public interface ChangeEventRule extends EventRule
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.ChangeEventRule#getExp <em>Exp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Exp</em>' attribute.
* @see #getExp()
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EffectRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EffectRule.java
index 6c4039d09d1..8a5da740e54 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EffectRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EffectRule.java
@@ -11,27 +11,27 @@ import org.eclipse.emf.ecore.EObject;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule#getKind <em>Kind</em>}</li>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule#getBehaviorName <em>Behavior Name</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getEffectRule()
* @model
* @generated
*/
-public interface EffectRule extends EObject
-{
+public interface EffectRule extends EObject {
/**
* Returns the value of the '<em><b>Kind</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Kind</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Kind</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Kind</em>' attribute.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind
* @see #setKind(BehaviorKind)
@@ -45,7 +45,7 @@ public interface EffectRule extends EObject
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule#getKind <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Kind</em>' attribute.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind
@@ -58,10 +58,11 @@ public interface EffectRule extends EObject
* Returns the value of the '<em><b>Behavior Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Behavior Name</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Behavior Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Behavior Name</em>' attribute.
* @see #setBehaviorName(String)
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getEffectRule_BehaviorName()
@@ -74,7 +75,7 @@ public interface EffectRule extends EObject
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule#getBehaviorName <em>Behavior Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Behavior Name</em>' attribute.
* @see #getBehaviorName()
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EventRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EventRule.java
index a8dfc1b65cd..282cffa19cc 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EventRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/EventRule.java
@@ -14,6 +14,5 @@ import org.eclipse.emf.ecore.EObject;
* @model
* @generated
*/
-public interface EventRule extends EObject
-{
+public interface EventRule extends EObject {
} // EventRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/GuardRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/GuardRule.java
index db21d1a4f63..14d95e9a1e9 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/GuardRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/GuardRule.java
@@ -11,25 +11,25 @@ import org.eclipse.emf.ecore.EObject;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.GuardRule#getConstraint <em>Constraint</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getGuardRule()
* @model
* @generated
*/
-public interface GuardRule extends EObject
-{
+public interface GuardRule extends EObject {
/**
* Returns the value of the '<em><b>Constraint</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Constraint</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Constraint</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Constraint</em>' attribute.
* @see #setConstraint(String)
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getGuardRule_Constraint()
@@ -42,7 +42,7 @@ public interface GuardRule extends EObject
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.GuardRule#getConstraint <em>Constraint</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Constraint</em>' attribute.
* @see #getConstraint()
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/RelativeTimeEventRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/RelativeTimeEventRule.java
index 538fc42ba98..76df1b269c8 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/RelativeTimeEventRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/RelativeTimeEventRule.java
@@ -13,6 +13,5 @@ package org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition;
* @model
* @generated
*/
-public interface RelativeTimeEventRule extends TimeEventRule
-{
+public interface RelativeTimeEventRule extends TimeEventRule {
} // RelativeTimeEventRule
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TimeEventRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TimeEventRule.java
index 8b702357d4e..7e8d14eb6a2 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TimeEventRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TimeEventRule.java
@@ -10,25 +10,25 @@ package org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TimeEventRule#getExpr <em>Expr</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getTimeEventRule()
* @model
* @generated
*/
-public interface TimeEventRule extends EventRule
-{
+public interface TimeEventRule extends EventRule {
/**
* Returns the value of the '<em><b>Expr</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Expr</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Expr</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Expr</em>' attribute.
* @see #setExpr(String)
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getTimeEventRule_Expr()
@@ -41,7 +41,7 @@ public interface TimeEventRule extends EventRule
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TimeEventRule#getExpr <em>Expr</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Expr</em>' attribute.
* @see #getExpr()
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TransitionRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TransitionRule.java
index 26060b67563..ae40898b89c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TransitionRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/TransitionRule.java
@@ -12,28 +12,28 @@ import org.eclipse.emf.ecore.EObject;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getTriggers <em>Triggers</em>}</li>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getGuard <em>Guard</em>}</li>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getEffect <em>Effect</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getTransitionRule()
* @model
* @generated
*/
-public interface TransitionRule extends EObject
-{
+public interface TransitionRule extends EObject {
/**
* Returns the value of the '<em><b>Triggers</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EventRule}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Triggers</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Triggers</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Triggers</em>' containment reference list.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getTransitionRule_Triggers()
* @model containment="true"
@@ -45,10 +45,11 @@ public interface TransitionRule extends EObject
* Returns the value of the '<em><b>Guard</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Guard</em>' containment reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Guard</em>' containment reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Guard</em>' containment reference.
* @see #setGuard(GuardRule)
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getTransitionRule_Guard()
@@ -61,7 +62,7 @@ public interface TransitionRule extends EObject
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getGuard <em>Guard</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Guard</em>' containment reference.
* @see #getGuard()
@@ -73,10 +74,11 @@ public interface TransitionRule extends EObject
* Returns the value of the '<em><b>Effect</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Effect</em>' containment reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Effect</em>' containment reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Effect</em>' containment reference.
* @see #setEffect(EffectRule)
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#getTransitionRule_Effect()
@@ -89,7 +91,7 @@ public interface TransitionRule extends EObject
* Sets the value of the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getEffect <em>Effect</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param value
* the new value of the '<em>Effect</em>' containment reference.
* @see #getEffect()
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionFactory.java
index fbf06a61bfe..1be10322782 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionFactory.java
@@ -9,17 +9,16 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage
* @generated
*/
-public interface UmlTransitionFactory extends EFactory
-{
+public interface UmlTransitionFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
UmlTransitionFactory eINSTANCE = org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionFactoryImpl.init();
@@ -28,7 +27,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Transition Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Transition Rule</em>'.
* @generated
*/
@@ -38,7 +37,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Event Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Event Rule</em>'.
* @generated
*/
@@ -48,7 +47,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Call Or Signal Event Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Call Or Signal Event Rule</em>'.
* @generated
*/
@@ -58,7 +57,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Any Receive Event Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Any Receive Event Rule</em>'.
* @generated
*/
@@ -68,7 +67,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Time Event Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Time Event Rule</em>'.
* @generated
*/
@@ -78,7 +77,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Relative Time Event Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Relative Time Event Rule</em>'.
* @generated
*/
@@ -88,7 +87,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Absolute Time Event Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Absolute Time Event Rule</em>'.
* @generated
*/
@@ -98,7 +97,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Change Event Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Change Event Rule</em>'.
* @generated
*/
@@ -108,7 +107,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Guard Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Guard Rule</em>'.
* @generated
*/
@@ -118,7 +117,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns a new object of class '<em>Effect Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Effect Rule</em>'.
* @generated
*/
@@ -128,7 +127,7 @@ public interface UmlTransitionFactory extends EFactory
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionPackage.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionPackage.java
index 5918655aea8..398d61b0042 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionPackage.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/UmlTransitionPackage.java
@@ -19,18 +19,17 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionFactory
* @model kind="package"
* @generated
*/
-public interface UmlTransitionPackage extends EPackage
-{
+public interface UmlTransitionPackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "umlTransition";
@@ -39,7 +38,7 @@ public interface UmlTransitionPackage extends EPackage
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/uml/textedit/transition/xtext/UmlTransition";
@@ -48,7 +47,7 @@ public interface UmlTransitionPackage extends EPackage
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "umlTransition";
@@ -57,7 +56,7 @@ public interface UmlTransitionPackage extends EPackage
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
UmlTransitionPackage eINSTANCE = org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl.init();
@@ -66,7 +65,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TransitionRuleImpl <em>Transition Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TransitionRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getTransitionRule()
* @generated
@@ -77,7 +76,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Triggers</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -87,7 +86,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Guard</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -97,7 +96,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Effect</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -107,7 +106,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Transition Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -117,7 +116,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EventRuleImpl <em>Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getEventRule()
* @generated
@@ -128,7 +127,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Event Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -138,7 +137,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.CallOrSignalEventRuleImpl <em>Call Or Signal Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.CallOrSignalEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getCallOrSignalEventRule()
* @generated
@@ -149,7 +148,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Operation Or Signal</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -159,7 +158,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Call Or Signal Event Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -169,7 +168,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AnyReceiveEventRuleImpl <em>Any Receive Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AnyReceiveEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getAnyReceiveEventRule()
* @generated
@@ -180,7 +179,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Is AReceive Event</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -190,7 +189,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Any Receive Event Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -200,7 +199,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TimeEventRuleImpl <em>Time Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TimeEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getTimeEventRule()
* @generated
@@ -211,7 +210,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Expr</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -221,7 +220,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Time Event Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -231,7 +230,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.RelativeTimeEventRuleImpl <em>Relative Time Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.RelativeTimeEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getRelativeTimeEventRule()
* @generated
@@ -242,7 +241,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Expr</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -252,7 +251,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Relative Time Event Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -262,7 +261,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AbsoluteTimeEventRuleImpl <em>Absolute Time Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AbsoluteTimeEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getAbsoluteTimeEventRule()
* @generated
@@ -273,7 +272,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Expr</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -283,7 +282,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Absolute Time Event Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -293,7 +292,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.ChangeEventRuleImpl <em>Change Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.ChangeEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getChangeEventRule()
* @generated
@@ -304,7 +303,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Exp</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -314,7 +313,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Change Event Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -324,7 +323,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.GuardRuleImpl <em>Guard Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.GuardRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getGuardRule()
* @generated
@@ -335,7 +334,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Constraint</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -345,7 +344,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Guard Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -355,7 +354,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EffectRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getEffectRule()
* @generated
@@ -366,7 +365,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Kind</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -376,7 +375,7 @@ public interface UmlTransitionPackage extends EPackage
* The feature id for the '<em><b>Behavior Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -386,7 +385,7 @@ public interface UmlTransitionPackage extends EPackage
* The number of structural features of the '<em>Effect Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -396,7 +395,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind <em>Behavior Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getBehaviorKind()
* @generated
@@ -408,7 +407,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule <em>Transition Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Transition Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule
* @generated
@@ -419,7 +418,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getTriggers <em>Triggers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Triggers</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getTriggers()
* @see #getTransitionRule()
@@ -431,7 +430,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getGuard <em>Guard</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Guard</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getGuard()
* @see #getTransitionRule()
@@ -443,7 +442,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the containment reference '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getEffect <em>Effect</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference '<em>Effect</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule#getEffect()
* @see #getTransitionRule()
@@ -455,7 +454,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EventRule <em>Event Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Event Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EventRule
* @generated
@@ -466,7 +465,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.CallOrSignalEventRule <em>Call Or Signal Event Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Call Or Signal Event Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.CallOrSignalEventRule
* @generated
@@ -477,7 +476,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the reference '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.CallOrSignalEventRule#getOperationOrSignal <em>Operation Or Signal</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference '<em>Operation Or Signal</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.CallOrSignalEventRule#getOperationOrSignal()
* @see #getCallOrSignalEventRule()
@@ -489,7 +488,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AnyReceiveEventRule <em>Any Receive Event Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Any Receive Event Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AnyReceiveEventRule
* @generated
@@ -500,7 +499,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AnyReceiveEventRule#getIsAReceiveEvent <em>Is AReceive Event</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Is AReceive Event</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AnyReceiveEventRule#getIsAReceiveEvent()
* @see #getAnyReceiveEventRule()
@@ -512,7 +511,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TimeEventRule <em>Time Event Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Time Event Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TimeEventRule
* @generated
@@ -523,7 +522,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TimeEventRule#getExpr <em>Expr</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Expr</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TimeEventRule#getExpr()
* @see #getTimeEventRule()
@@ -535,7 +534,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.RelativeTimeEventRule <em>Relative Time Event Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Relative Time Event Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.RelativeTimeEventRule
* @generated
@@ -546,7 +545,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AbsoluteTimeEventRule <em>Absolute Time Event Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Absolute Time Event Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AbsoluteTimeEventRule
* @generated
@@ -557,7 +556,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.ChangeEventRule <em>Change Event Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Change Event Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.ChangeEventRule
* @generated
@@ -568,7 +567,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.ChangeEventRule#getExp <em>Exp</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Exp</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.ChangeEventRule#getExp()
* @see #getChangeEventRule()
@@ -580,7 +579,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.GuardRule <em>Guard Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Guard Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.GuardRule
* @generated
@@ -591,7 +590,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.GuardRule#getConstraint <em>Constraint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Constraint</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.GuardRule#getConstraint()
* @see #getGuardRule()
@@ -603,7 +602,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule <em>Effect Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Effect Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule
* @generated
@@ -614,7 +613,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule#getKind <em>Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Kind</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule#getKind()
* @see #getEffectRule()
@@ -626,7 +625,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for the attribute '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule#getBehaviorName <em>Behavior Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Behavior Name</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule#getBehaviorName()
* @see #getEffectRule()
@@ -638,7 +637,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the meta object for enum '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind <em>Behavior Kind</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for enum '<em>Behavior Kind</em>'.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind
* @generated
@@ -649,7 +648,7 @@ public interface UmlTransitionPackage extends EPackage
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -665,16 +664,15 @@ public interface UmlTransitionPackage extends EPackage
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- interface Literals
- {
+ interface Literals {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TransitionRuleImpl <em>Transition Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TransitionRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getTransitionRule()
* @generated
@@ -685,7 +683,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Triggers</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference TRANSITION_RULE__TRIGGERS = eINSTANCE.getTransitionRule_Triggers();
@@ -694,7 +692,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Guard</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference TRANSITION_RULE__GUARD = eINSTANCE.getTransitionRule_Guard();
@@ -703,7 +701,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Effect</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference TRANSITION_RULE__EFFECT = eINSTANCE.getTransitionRule_Effect();
@@ -712,7 +710,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EventRuleImpl <em>Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getEventRule()
* @generated
@@ -723,7 +721,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.CallOrSignalEventRuleImpl <em>Call Or Signal Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.CallOrSignalEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getCallOrSignalEventRule()
* @generated
@@ -734,7 +732,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Operation Or Signal</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL = eINSTANCE.getCallOrSignalEventRule_OperationOrSignal();
@@ -743,7 +741,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AnyReceiveEventRuleImpl <em>Any Receive Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AnyReceiveEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getAnyReceiveEventRule()
* @generated
@@ -754,7 +752,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Is AReceive Event</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT = eINSTANCE.getAnyReceiveEventRule_IsAReceiveEvent();
@@ -763,7 +761,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TimeEventRuleImpl <em>Time Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TimeEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getTimeEventRule()
* @generated
@@ -774,7 +772,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Expr</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute TIME_EVENT_RULE__EXPR = eINSTANCE.getTimeEventRule_Expr();
@@ -783,7 +781,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.RelativeTimeEventRuleImpl <em>Relative Time Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.RelativeTimeEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getRelativeTimeEventRule()
* @generated
@@ -794,7 +792,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AbsoluteTimeEventRuleImpl <em>Absolute Time Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AbsoluteTimeEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getAbsoluteTimeEventRule()
* @generated
@@ -805,7 +803,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.ChangeEventRuleImpl <em>Change Event Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.ChangeEventRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getChangeEventRule()
* @generated
@@ -816,7 +814,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Exp</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute CHANGE_EVENT_RULE__EXP = eINSTANCE.getChangeEventRule_Exp();
@@ -825,7 +823,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.GuardRuleImpl <em>Guard Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.GuardRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getGuardRule()
* @generated
@@ -836,7 +834,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Constraint</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute GUARD_RULE__CONSTRAINT = eINSTANCE.getGuardRule_Constraint();
@@ -845,7 +843,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EffectRuleImpl <em>Effect Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EffectRuleImpl
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getEffectRule()
* @generated
@@ -856,7 +854,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Kind</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute EFFECT_RULE__KIND = eINSTANCE.getEffectRule_Kind();
@@ -865,7 +863,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '<em><b>Behavior Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EAttribute EFFECT_RULE__BEHAVIOR_NAME = eINSTANCE.getEffectRule_BehaviorName();
@@ -874,7 +872,7 @@ public interface UmlTransitionPackage extends EPackage
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind <em>Behavior Kind</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.BehaviorKind
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.UmlTransitionPackageImpl#getBehaviorKind()
* @generated
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AbsoluteTimeEventRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AbsoluteTimeEventRuleImpl.java
index 8974f6e20c9..f1d59c506f6 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AbsoluteTimeEventRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AbsoluteTimeEventRuleImpl.java
@@ -10,33 +10,28 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Absolute Time Event Rule</b></em>'.
* <!-- end-user-doc -->
- * <p>
- * </p>
*
* @generated
*/
-public class AbsoluteTimeEventRuleImpl extends TimeEventRuleImpl implements AbsoluteTimeEventRule
-{
+public class AbsoluteTimeEventRuleImpl extends TimeEventRuleImpl implements AbsoluteTimeEventRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected AbsoluteTimeEventRuleImpl()
- {
+ protected AbsoluteTimeEventRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.ABSOLUTE_TIME_EVENT_RULE;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AnyReceiveEventRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AnyReceiveEventRuleImpl.java
index bd1b90e32a8..9967ab6b3f4 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AnyReceiveEventRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/AnyReceiveEventRuleImpl.java
@@ -14,20 +14,19 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.AnyReceiveEventRuleImpl#getIsAReceiveEvent <em>Is AReceive Event</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class AnyReceiveEventRuleImpl extends EventRuleImpl implements AnyReceiveEventRule
-{
+public class AnyReceiveEventRuleImpl extends EventRuleImpl implements AnyReceiveEventRule {
/**
* The default value of the '{@link #getIsAReceiveEvent() <em>Is AReceive Event</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIsAReceiveEvent()
* @generated
* @ordered
@@ -38,7 +37,7 @@ public class AnyReceiveEventRuleImpl extends EventRuleImpl implements AnyReceive
* The cached value of the '{@link #getIsAReceiveEvent() <em>Is AReceive Event</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getIsAReceiveEvent()
* @generated
* @ordered
@@ -48,65 +47,56 @@ public class AnyReceiveEventRuleImpl extends EventRuleImpl implements AnyReceive
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected AnyReceiveEventRuleImpl()
- {
+ protected AnyReceiveEventRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.ANY_RECEIVE_EVENT_RULE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public String getIsAReceiveEvent()
- {
+ public String getIsAReceiveEvent() {
return isAReceiveEvent;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setIsAReceiveEvent(String newIsAReceiveEvent)
- {
+ public void setIsAReceiveEvent(String newIsAReceiveEvent) {
String oldIsAReceiveEvent = isAReceiveEvent;
isAReceiveEvent = newIsAReceiveEvent;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT, oldIsAReceiveEvent, isAReceiveEvent));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
case UmlTransitionPackage.ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT:
return getIsAReceiveEvent();
}
@@ -116,14 +106,12 @@ public class AnyReceiveEventRuleImpl extends EventRuleImpl implements AnyReceive
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
case UmlTransitionPackage.ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT:
setIsAReceiveEvent((String) newValue);
return;
@@ -134,14 +122,12 @@ public class AnyReceiveEventRuleImpl extends EventRuleImpl implements AnyReceive
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
+ public void eUnset(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT:
setIsAReceiveEvent(IS_ARECEIVE_EVENT_EDEFAULT);
return;
@@ -152,14 +138,12 @@ public class AnyReceiveEventRuleImpl extends EventRuleImpl implements AnyReceive
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.ANY_RECEIVE_EVENT_RULE__IS_ARECEIVE_EVENT:
return IS_ARECEIVE_EVENT_EDEFAULT == null ? isAReceiveEvent != null : !IS_ARECEIVE_EVENT_EDEFAULT.equals(isAReceiveEvent);
}
@@ -169,17 +153,15 @@ public class AnyReceiveEventRuleImpl extends EventRuleImpl implements AnyReceive
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public String toString()
- {
- if (eIsProxy()) {
+ public String toString() {
+ if (eIsProxy())
return super.toString();
- }
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (isAReceiveEvent: ");
result.append(isAReceiveEvent);
result.append(')');
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/CallOrSignalEventRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/CallOrSignalEventRuleImpl.java
index c4ace951dbb..4aa3126ebdf 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/CallOrSignalEventRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/CallOrSignalEventRuleImpl.java
@@ -16,20 +16,19 @@ import org.eclipse.uml2.uml.NamedElement;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.CallOrSignalEventRuleImpl#getOperationOrSignal <em>Operation Or Signal</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class CallOrSignalEventRuleImpl extends EventRuleImpl implements CallOrSignalEventRule
-{
+public class CallOrSignalEventRuleImpl extends EventRuleImpl implements CallOrSignalEventRule {
/**
* The cached value of the '{@link #getOperationOrSignal() <em>Operation Or Signal</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getOperationOrSignal()
* @generated
* @ordered
@@ -39,44 +38,37 @@ public class CallOrSignalEventRuleImpl extends EventRuleImpl implements CallOrSi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected CallOrSignalEventRuleImpl()
- {
+ protected CallOrSignalEventRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.CALL_OR_SIGNAL_EVENT_RULE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public NamedElement getOperationOrSignal()
- {
- if (operationOrSignal != null && operationOrSignal.eIsProxy())
- {
+ public NamedElement getOperationOrSignal() {
+ if (operationOrSignal != null && operationOrSignal.eIsProxy()) {
InternalEObject oldOperationOrSignal = (InternalEObject) operationOrSignal;
operationOrSignal = (NamedElement) eResolveProxy(oldOperationOrSignal);
- if (operationOrSignal != oldOperationOrSignal)
- {
- if (eNotificationRequired()) {
+ if (operationOrSignal != oldOperationOrSignal) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UmlTransitionPackage.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL, oldOperationOrSignal, operationOrSignal));
- }
}
}
return operationOrSignal;
@@ -85,45 +77,38 @@ public class CallOrSignalEventRuleImpl extends EventRuleImpl implements CallOrSi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public NamedElement basicGetOperationOrSignal()
- {
+ public NamedElement basicGetOperationOrSignal() {
return operationOrSignal;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setOperationOrSignal(NamedElement newOperationOrSignal)
- {
+ public void setOperationOrSignal(NamedElement newOperationOrSignal) {
NamedElement oldOperationOrSignal = operationOrSignal;
operationOrSignal = newOperationOrSignal;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL, oldOperationOrSignal, operationOrSignal));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
case UmlTransitionPackage.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL:
- if (resolve) {
+ if (resolve)
return getOperationOrSignal();
- }
return basicGetOperationOrSignal();
}
return super.eGet(featureID, resolve, coreType);
@@ -132,14 +117,12 @@ public class CallOrSignalEventRuleImpl extends EventRuleImpl implements CallOrSi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
case UmlTransitionPackage.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL:
setOperationOrSignal((NamedElement) newValue);
return;
@@ -150,14 +133,12 @@ public class CallOrSignalEventRuleImpl extends EventRuleImpl implements CallOrSi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
+ public void eUnset(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL:
setOperationOrSignal((NamedElement) null);
return;
@@ -168,14 +149,12 @@ public class CallOrSignalEventRuleImpl extends EventRuleImpl implements CallOrSi
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.CALL_OR_SIGNAL_EVENT_RULE__OPERATION_OR_SIGNAL:
return operationOrSignal != null;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/ChangeEventRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/ChangeEventRuleImpl.java
index 2bd00601bde..bb422f1bd50 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/ChangeEventRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/ChangeEventRuleImpl.java
@@ -14,20 +14,19 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.ChangeEventRuleImpl#getExp <em>Exp</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class ChangeEventRuleImpl extends EventRuleImpl implements ChangeEventRule
-{
+public class ChangeEventRuleImpl extends EventRuleImpl implements ChangeEventRule {
/**
* The default value of the '{@link #getExp() <em>Exp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getExp()
* @generated
* @ordered
@@ -38,7 +37,7 @@ public class ChangeEventRuleImpl extends EventRuleImpl implements ChangeEventRul
* The cached value of the '{@link #getExp() <em>Exp</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getExp()
* @generated
* @ordered
@@ -48,65 +47,56 @@ public class ChangeEventRuleImpl extends EventRuleImpl implements ChangeEventRul
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected ChangeEventRuleImpl()
- {
+ protected ChangeEventRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.CHANGE_EVENT_RULE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public String getExp()
- {
+ public String getExp() {
return exp;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setExp(String newExp)
- {
+ public void setExp(String newExp) {
String oldExp = exp;
exp = newExp;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.CHANGE_EVENT_RULE__EXP, oldExp, exp));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
case UmlTransitionPackage.CHANGE_EVENT_RULE__EXP:
return getExp();
}
@@ -116,14 +106,12 @@ public class ChangeEventRuleImpl extends EventRuleImpl implements ChangeEventRul
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
case UmlTransitionPackage.CHANGE_EVENT_RULE__EXP:
setExp((String) newValue);
return;
@@ -134,14 +122,12 @@ public class ChangeEventRuleImpl extends EventRuleImpl implements ChangeEventRul
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
+ public void eUnset(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.CHANGE_EVENT_RULE__EXP:
setExp(EXP_EDEFAULT);
return;
@@ -152,14 +138,12 @@ public class ChangeEventRuleImpl extends EventRuleImpl implements ChangeEventRul
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.CHANGE_EVENT_RULE__EXP:
return EXP_EDEFAULT == null ? exp != null : !EXP_EDEFAULT.equals(exp);
}
@@ -169,17 +153,15 @@ public class ChangeEventRuleImpl extends EventRuleImpl implements ChangeEventRul
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public String toString()
- {
- if (eIsProxy()) {
+ public String toString() {
+ if (eIsProxy())
return super.toString();
- }
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (exp: ");
result.append(exp);
result.append(')');
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EffectRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EffectRuleImpl.java
index fbe5cdd096d..6243371f1f0 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EffectRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EffectRuleImpl.java
@@ -16,21 +16,20 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EffectRuleImpl#getKind <em>Kind</em>}</li>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.EffectRuleImpl#getBehaviorName <em>Behavior Name</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class EffectRuleImpl extends MinimalEObjectImpl.Container implements EffectRule
-{
+public class EffectRuleImpl extends MinimalEObjectImpl.Container implements EffectRule {
/**
* The default value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getKind()
* @generated
* @ordered
@@ -41,7 +40,7 @@ public class EffectRuleImpl extends MinimalEObjectImpl.Container implements Effe
* The cached value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getKind()
* @generated
* @ordered
@@ -52,7 +51,7 @@ public class EffectRuleImpl extends MinimalEObjectImpl.Container implements Effe
* The default value of the '{@link #getBehaviorName() <em>Behavior Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBehaviorName()
* @generated
* @ordered
@@ -63,7 +62,7 @@ public class EffectRuleImpl extends MinimalEObjectImpl.Container implements Effe
* The cached value of the '{@link #getBehaviorName() <em>Behavior Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getBehaviorName()
* @generated
* @ordered
@@ -73,93 +72,79 @@ public class EffectRuleImpl extends MinimalEObjectImpl.Container implements Effe
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected EffectRuleImpl()
- {
+ protected EffectRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.EFFECT_RULE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public BehaviorKind getKind()
- {
+ public BehaviorKind getKind() {
return kind;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setKind(BehaviorKind newKind)
- {
+ public void setKind(BehaviorKind newKind) {
BehaviorKind oldKind = kind;
kind = newKind == null ? KIND_EDEFAULT : newKind;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.EFFECT_RULE__KIND, oldKind, kind));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public String getBehaviorName()
- {
+ public String getBehaviorName() {
return behaviorName;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setBehaviorName(String newBehaviorName)
- {
+ public void setBehaviorName(String newBehaviorName) {
String oldBehaviorName = behaviorName;
behaviorName = newBehaviorName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.EFFECT_RULE__BEHAVIOR_NAME, oldBehaviorName, behaviorName));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
case UmlTransitionPackage.EFFECT_RULE__KIND:
return getKind();
case UmlTransitionPackage.EFFECT_RULE__BEHAVIOR_NAME:
@@ -171,14 +156,12 @@ public class EffectRuleImpl extends MinimalEObjectImpl.Container implements Effe
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
case UmlTransitionPackage.EFFECT_RULE__KIND:
setKind((BehaviorKind) newValue);
return;
@@ -192,14 +175,12 @@ public class EffectRuleImpl extends MinimalEObjectImpl.Container implements Effe
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
+ public void eUnset(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.EFFECT_RULE__KIND:
setKind(KIND_EDEFAULT);
return;
@@ -213,14 +194,12 @@ public class EffectRuleImpl extends MinimalEObjectImpl.Container implements Effe
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.EFFECT_RULE__KIND:
return kind != KIND_EDEFAULT;
case UmlTransitionPackage.EFFECT_RULE__BEHAVIOR_NAME:
@@ -232,17 +211,15 @@ public class EffectRuleImpl extends MinimalEObjectImpl.Container implements Effe
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public String toString()
- {
- if (eIsProxy()) {
+ public String toString() {
+ if (eIsProxy())
return super.toString();
- }
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (kind: ");
result.append(kind);
result.append(", behaviorName: ");
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EventRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EventRuleImpl.java
index 8d9afcf5f12..5e3637d72a1 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EventRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/EventRuleImpl.java
@@ -11,33 +11,28 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Event Rule</b></em>'.
* <!-- end-user-doc -->
- * <p>
- * </p>
*
* @generated
*/
-public class EventRuleImpl extends MinimalEObjectImpl.Container implements EventRule
-{
+public class EventRuleImpl extends MinimalEObjectImpl.Container implements EventRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected EventRuleImpl()
- {
+ protected EventRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.EVENT_RULE;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/GuardRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/GuardRuleImpl.java
index 7300e1f4198..cc09320f039 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/GuardRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/GuardRuleImpl.java
@@ -15,20 +15,19 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.GuardRuleImpl#getConstraint <em>Constraint</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class GuardRuleImpl extends MinimalEObjectImpl.Container implements GuardRule
-{
+public class GuardRuleImpl extends MinimalEObjectImpl.Container implements GuardRule {
/**
* The default value of the '{@link #getConstraint() <em>Constraint</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getConstraint()
* @generated
* @ordered
@@ -39,7 +38,7 @@ public class GuardRuleImpl extends MinimalEObjectImpl.Container implements Guard
* The cached value of the '{@link #getConstraint() <em>Constraint</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getConstraint()
* @generated
* @ordered
@@ -49,65 +48,56 @@ public class GuardRuleImpl extends MinimalEObjectImpl.Container implements Guard
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected GuardRuleImpl()
- {
+ protected GuardRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.GUARD_RULE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public String getConstraint()
- {
+ public String getConstraint() {
return constraint;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setConstraint(String newConstraint)
- {
+ public void setConstraint(String newConstraint) {
String oldConstraint = constraint;
constraint = newConstraint;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.GUARD_RULE__CONSTRAINT, oldConstraint, constraint));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
case UmlTransitionPackage.GUARD_RULE__CONSTRAINT:
return getConstraint();
}
@@ -117,14 +107,12 @@ public class GuardRuleImpl extends MinimalEObjectImpl.Container implements Guard
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
case UmlTransitionPackage.GUARD_RULE__CONSTRAINT:
setConstraint((String) newValue);
return;
@@ -135,14 +123,12 @@ public class GuardRuleImpl extends MinimalEObjectImpl.Container implements Guard
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
+ public void eUnset(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.GUARD_RULE__CONSTRAINT:
setConstraint(CONSTRAINT_EDEFAULT);
return;
@@ -153,14 +139,12 @@ public class GuardRuleImpl extends MinimalEObjectImpl.Container implements Guard
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.GUARD_RULE__CONSTRAINT:
return CONSTRAINT_EDEFAULT == null ? constraint != null : !CONSTRAINT_EDEFAULT.equals(constraint);
}
@@ -170,17 +154,15 @@ public class GuardRuleImpl extends MinimalEObjectImpl.Container implements Guard
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public String toString()
- {
- if (eIsProxy()) {
+ public String toString() {
+ if (eIsProxy())
return super.toString();
- }
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (constraint: ");
result.append(constraint);
result.append(')');
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/RelativeTimeEventRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/RelativeTimeEventRuleImpl.java
index e77ee9c8ccc..2397fa9f27c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/RelativeTimeEventRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/RelativeTimeEventRuleImpl.java
@@ -10,33 +10,28 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Relative Time Event Rule</b></em>'.
* <!-- end-user-doc -->
- * <p>
- * </p>
*
* @generated
*/
-public class RelativeTimeEventRuleImpl extends TimeEventRuleImpl implements RelativeTimeEventRule
-{
+public class RelativeTimeEventRuleImpl extends TimeEventRuleImpl implements RelativeTimeEventRule {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected RelativeTimeEventRuleImpl()
- {
+ protected RelativeTimeEventRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.RELATIVE_TIME_EVENT_RULE;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TimeEventRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TimeEventRuleImpl.java
index dd555c37eb2..fe33ea3a395 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TimeEventRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TimeEventRuleImpl.java
@@ -14,20 +14,19 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TimeEventRuleImpl#getExpr <em>Expr</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class TimeEventRuleImpl extends EventRuleImpl implements TimeEventRule
-{
+public class TimeEventRuleImpl extends EventRuleImpl implements TimeEventRule {
/**
* The default value of the '{@link #getExpr() <em>Expr</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getExpr()
* @generated
* @ordered
@@ -38,7 +37,7 @@ public class TimeEventRuleImpl extends EventRuleImpl implements TimeEventRule
* The cached value of the '{@link #getExpr() <em>Expr</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getExpr()
* @generated
* @ordered
@@ -48,65 +47,56 @@ public class TimeEventRuleImpl extends EventRuleImpl implements TimeEventRule
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected TimeEventRuleImpl()
- {
+ protected TimeEventRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.TIME_EVENT_RULE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public String getExpr()
- {
+ public String getExpr() {
return expr;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setExpr(String newExpr)
- {
+ public void setExpr(String newExpr) {
String oldExpr = expr;
expr = newExpr;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.TIME_EVENT_RULE__EXPR, oldExpr, expr));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
case UmlTransitionPackage.TIME_EVENT_RULE__EXPR:
return getExpr();
}
@@ -116,14 +106,12 @@ public class TimeEventRuleImpl extends EventRuleImpl implements TimeEventRule
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
case UmlTransitionPackage.TIME_EVENT_RULE__EXPR:
setExpr((String) newValue);
return;
@@ -134,14 +122,12 @@ public class TimeEventRuleImpl extends EventRuleImpl implements TimeEventRule
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
+ public void eUnset(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.TIME_EVENT_RULE__EXPR:
setExpr(EXPR_EDEFAULT);
return;
@@ -152,14 +138,12 @@ public class TimeEventRuleImpl extends EventRuleImpl implements TimeEventRule
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.TIME_EVENT_RULE__EXPR:
return EXPR_EDEFAULT == null ? expr != null : !EXPR_EDEFAULT.equals(expr);
}
@@ -169,17 +153,15 @@ public class TimeEventRuleImpl extends EventRuleImpl implements TimeEventRule
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public String toString()
- {
- if (eIsProxy()) {
+ public String toString() {
+ if (eIsProxy())
return super.toString();
- }
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (expr: ");
result.append(expr);
result.append(')');
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TransitionRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TransitionRuleImpl.java
index e9f9e9b872e..073612e5a84 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TransitionRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/TransitionRuleImpl.java
@@ -25,22 +25,21 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TransitionRuleImpl#getTriggers <em>Triggers</em>}</li>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TransitionRuleImpl#getGuard <em>Guard</em>}</li>
* <li>{@link org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.impl.TransitionRuleImpl#getEffect <em>Effect</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements TransitionRule
-{
+public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements TransitionRule {
/**
* The cached value of the '{@link #getTriggers() <em>Triggers</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getTriggers()
* @generated
* @ordered
@@ -51,7 +50,7 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getGuard() <em>Guard</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getGuard()
* @generated
* @ordered
@@ -62,7 +61,7 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
* The cached value of the '{@link #getEffect() <em>Effect</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getEffect()
* @generated
* @ordered
@@ -72,37 +71,32 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected TransitionRuleImpl()
- {
+ protected TransitionRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UmlTransitionPackage.Literals.TRANSITION_RULE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EList<EventRule> getTriggers()
- {
- if (triggers == null)
- {
+ public EList<EventRule> getTriggers() {
+ if (triggers == null) {
triggers = new EObjectContainmentEList<EventRule>(EventRule.class, this, UmlTransitionPackage.TRANSITION_RULE__TRIGGERS);
}
return triggers;
@@ -111,33 +105,28 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public GuardRule getGuard()
- {
+ public GuardRule getGuard() {
return guard;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public NotificationChain basicSetGuard(GuardRule newGuard, NotificationChain msgs)
- {
+ public NotificationChain basicSetGuard(GuardRule newGuard, NotificationChain msgs) {
GuardRule oldGuard = guard;
guard = newGuard;
- if (eNotificationRequired())
- {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.TRANSITION_RULE__GUARD, oldGuard, newGuard);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -145,61 +134,48 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setGuard(GuardRule newGuard)
- {
- if (newGuard != guard)
- {
+ public void setGuard(GuardRule newGuard) {
+ if (newGuard != guard) {
NotificationChain msgs = null;
- if (guard != null) {
+ if (guard != null)
msgs = ((InternalEObject) guard).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlTransitionPackage.TRANSITION_RULE__GUARD, null, msgs);
- }
- if (newGuard != null) {
+ if (newGuard != null)
msgs = ((InternalEObject) newGuard).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlTransitionPackage.TRANSITION_RULE__GUARD, null, msgs);
- }
msgs = basicSetGuard(newGuard, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.TRANSITION_RULE__GUARD, newGuard, newGuard));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EffectRule getEffect()
- {
+ public EffectRule getEffect() {
return effect;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public NotificationChain basicSetEffect(EffectRule newEffect, NotificationChain msgs)
- {
+ public NotificationChain basicSetEffect(EffectRule newEffect, NotificationChain msgs) {
EffectRule oldEffect = effect;
effect = newEffect;
- if (eNotificationRequired())
- {
+ if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.TRANSITION_RULE__EFFECT, oldEffect, newEffect);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -207,42 +183,32 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public void setEffect(EffectRule newEffect)
- {
- if (newEffect != effect)
- {
+ public void setEffect(EffectRule newEffect) {
+ if (newEffect != effect) {
NotificationChain msgs = null;
- if (effect != null) {
+ if (effect != null)
msgs = ((InternalEObject) effect).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UmlTransitionPackage.TRANSITION_RULE__EFFECT, null, msgs);
- }
- if (newEffect != null) {
+ if (newEffect != null)
msgs = ((InternalEObject) newEffect).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UmlTransitionPackage.TRANSITION_RULE__EFFECT, null, msgs);
- }
msgs = basicSetEffect(newEffect, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UmlTransitionPackage.TRANSITION_RULE__EFFECT, newEffect, newEffect));
- }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
case UmlTransitionPackage.TRANSITION_RULE__TRIGGERS:
return ((InternalEList<?>) getTriggers()).basicRemove(otherEnd, msgs);
case UmlTransitionPackage.TRANSITION_RULE__GUARD:
@@ -256,14 +222,12 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
case UmlTransitionPackage.TRANSITION_RULE__TRIGGERS:
return getTriggers();
case UmlTransitionPackage.TRANSITION_RULE__GUARD:
@@ -277,15 +241,13 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
case UmlTransitionPackage.TRANSITION_RULE__TRIGGERS:
getTriggers().clear();
getTriggers().addAll((Collection<? extends EventRule>) newValue);
@@ -303,14 +265,12 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
+ public void eUnset(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.TRANSITION_RULE__TRIGGERS:
getTriggers().clear();
return;
@@ -327,14 +287,12 @@ public class TransitionRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
case UmlTransitionPackage.TRANSITION_RULE__TRIGGERS:
return triggers != null && !triggers.isEmpty();
case UmlTransitionPackage.TRANSITION_RULE__GUARD:
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionFactoryImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionFactoryImpl.java
index a619d7f07da..512c1eda2cb 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionFactoryImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionFactoryImpl.java
@@ -26,29 +26,24 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
-public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransitionFactory
-{
+public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransitionFactory {
/**
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public static UmlTransitionFactory init()
- {
- try
- {
+ public static UmlTransitionFactory init() {
+ try {
UmlTransitionFactory theUmlTransitionFactory = (UmlTransitionFactory) EPackage.Registry.INSTANCE.getEFactory(UmlTransitionPackage.eNS_URI);
- if (theUmlTransitionFactory != null)
- {
+ if (theUmlTransitionFactory != null) {
return theUmlTransitionFactory;
}
- } catch (Exception exception)
- {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new UmlTransitionFactoryImpl();
@@ -58,25 +53,22 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public UmlTransitionFactoryImpl()
- {
+ public UmlTransitionFactoryImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
case UmlTransitionPackage.TRANSITION_RULE:
return createTransitionRule();
case UmlTransitionPackage.EVENT_RULE:
@@ -105,14 +97,12 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
case UmlTransitionPackage.BEHAVIOR_KIND:
return createBehaviorKindFromString(eDataType, initialValue);
default:
@@ -123,14 +113,12 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
case UmlTransitionPackage.BEHAVIOR_KIND:
return convertBehaviorKindToString(eDataType, instanceValue);
default:
@@ -141,12 +129,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public TransitionRule createTransitionRule()
- {
+ public TransitionRule createTransitionRule() {
TransitionRuleImpl transitionRule = new TransitionRuleImpl();
return transitionRule;
}
@@ -154,12 +140,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EventRule createEventRule()
- {
+ public EventRule createEventRule() {
EventRuleImpl eventRule = new EventRuleImpl();
return eventRule;
}
@@ -167,12 +151,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public CallOrSignalEventRule createCallOrSignalEventRule()
- {
+ public CallOrSignalEventRule createCallOrSignalEventRule() {
CallOrSignalEventRuleImpl callOrSignalEventRule = new CallOrSignalEventRuleImpl();
return callOrSignalEventRule;
}
@@ -180,12 +162,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public AnyReceiveEventRule createAnyReceiveEventRule()
- {
+ public AnyReceiveEventRule createAnyReceiveEventRule() {
AnyReceiveEventRuleImpl anyReceiveEventRule = new AnyReceiveEventRuleImpl();
return anyReceiveEventRule;
}
@@ -193,12 +173,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public TimeEventRule createTimeEventRule()
- {
+ public TimeEventRule createTimeEventRule() {
TimeEventRuleImpl timeEventRule = new TimeEventRuleImpl();
return timeEventRule;
}
@@ -206,12 +184,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public RelativeTimeEventRule createRelativeTimeEventRule()
- {
+ public RelativeTimeEventRule createRelativeTimeEventRule() {
RelativeTimeEventRuleImpl relativeTimeEventRule = new RelativeTimeEventRuleImpl();
return relativeTimeEventRule;
}
@@ -219,12 +195,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public AbsoluteTimeEventRule createAbsoluteTimeEventRule()
- {
+ public AbsoluteTimeEventRule createAbsoluteTimeEventRule() {
AbsoluteTimeEventRuleImpl absoluteTimeEventRule = new AbsoluteTimeEventRuleImpl();
return absoluteTimeEventRule;
}
@@ -232,12 +206,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public ChangeEventRule createChangeEventRule()
- {
+ public ChangeEventRule createChangeEventRule() {
ChangeEventRuleImpl changeEventRule = new ChangeEventRuleImpl();
return changeEventRule;
}
@@ -245,12 +217,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public GuardRule createGuardRule()
- {
+ public GuardRule createGuardRule() {
GuardRuleImpl guardRule = new GuardRuleImpl();
return guardRule;
}
@@ -258,12 +228,10 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EffectRule createEffectRule()
- {
+ public EffectRule createEffectRule() {
EffectRuleImpl effectRule = new EffectRuleImpl();
return effectRule;
}
@@ -271,51 +239,45 @@ public class UmlTransitionFactoryImpl extends EFactoryImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public BehaviorKind createBehaviorKindFromString(EDataType eDataType, String initialValue)
- {
+ public BehaviorKind createBehaviorKindFromString(EDataType eDataType, String initialValue) {
BehaviorKind result = BehaviorKind.get(initialValue);
- if (result == null) {
+ if (result == null)
throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- }
return result;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public String convertBehaviorKindToString(EDataType eDataType, Object instanceValue)
- {
+ public String convertBehaviorKindToString(EDataType eDataType, Object instanceValue) {
return instanceValue == null ? null : instanceValue.toString();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public UmlTransitionPackage getUmlTransitionPackage()
- {
+ public UmlTransitionPackage getUmlTransitionPackage() {
return (UmlTransitionPackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@Deprecated
- public static UmlTransitionPackage getPackage()
- {
+ public static UmlTransitionPackage getPackage() {
return UmlTransitionPackage.eINSTANCE;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionPackageImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionPackageImpl.java
index 3061fa0fc33..88099c2ed73 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionPackageImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/impl/UmlTransitionPackageImpl.java
@@ -22,21 +22,21 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TimeEvent
import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule;
import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionFactory;
import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage;
+import org.eclipse.uml2.types.TypesPackage;
import org.eclipse.uml2.uml.UMLPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
-public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransitionPackage
-{
+public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransitionPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass transitionRuleEClass = null;
@@ -44,7 +44,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass eventRuleEClass = null;
@@ -52,7 +52,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass callOrSignalEventRuleEClass = null;
@@ -60,7 +60,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass anyReceiveEventRuleEClass = null;
@@ -68,7 +68,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass timeEventRuleEClass = null;
@@ -76,7 +76,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass relativeTimeEventRuleEClass = null;
@@ -84,7 +84,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass absoluteTimeEventRuleEClass = null;
@@ -92,7 +92,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass changeEventRuleEClass = null;
@@ -100,7 +100,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass guardRuleEClass = null;
@@ -108,7 +108,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass effectRuleEClass = null;
@@ -116,31 +116,36 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EEnum behaviorKindEEnum = null;
/**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage#eNS_URI
* @see #init()
* @generated
*/
- private UmlTransitionPackageImpl()
- {
+ private UmlTransitionPackageImpl() {
super(eNS_URI, UmlTransitionFactory.eINSTANCE);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
@@ -149,27 +154,30 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
* <p>
- * This method is used to initialize {@link UmlTransitionPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
+ * This method is used to initialize {@link UmlTransitionPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
- public static UmlTransitionPackage init()
- {
- if (isInited) {
+ public static UmlTransitionPackage init() {
+ if (isInited)
return (UmlTransitionPackage) EPackage.Registry.INSTANCE.getEPackage(UmlTransitionPackage.eNS_URI);
- }
// Obtain or create and register package
- UmlTransitionPackageImpl theUmlTransitionPackage = (UmlTransitionPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UmlTransitionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new UmlTransitionPackageImpl());
+ Object registeredUmlTransitionPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
+ UmlTransitionPackageImpl theUmlTransitionPackage = registeredUmlTransitionPackage instanceof UmlTransitionPackageImpl ? (UmlTransitionPackageImpl) registeredUmlTransitionPackage : new UmlTransitionPackageImpl();
isInited = true;
// Initialize simple dependencies
+ EcorePackage.eINSTANCE.eClass();
UMLPackage.eINSTANCE.eClass();
+ TypesPackage.eINSTANCE.eClass();
// Create package meta-data objects
theUmlTransitionPackage.createPackageContents();
@@ -180,7 +188,6 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
// Mark meta-data to indicate it can't be changed
theUmlTransitionPackage.freeze();
-
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(UmlTransitionPackage.eNS_URI, theUmlTransitionPackage);
return theUmlTransitionPackage;
@@ -189,271 +196,227 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getTransitionRule()
- {
+ public EClass getTransitionRule() {
return transitionRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EReference getTransitionRule_Triggers()
- {
+ public EReference getTransitionRule_Triggers() {
return (EReference) transitionRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EReference getTransitionRule_Guard()
- {
+ public EReference getTransitionRule_Guard() {
return (EReference) transitionRuleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EReference getTransitionRule_Effect()
- {
+ public EReference getTransitionRule_Effect() {
return (EReference) transitionRuleEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getEventRule()
- {
+ public EClass getEventRule() {
return eventRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getCallOrSignalEventRule()
- {
+ public EClass getCallOrSignalEventRule() {
return callOrSignalEventRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EReference getCallOrSignalEventRule_OperationOrSignal()
- {
+ public EReference getCallOrSignalEventRule_OperationOrSignal() {
return (EReference) callOrSignalEventRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getAnyReceiveEventRule()
- {
+ public EClass getAnyReceiveEventRule() {
return anyReceiveEventRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EAttribute getAnyReceiveEventRule_IsAReceiveEvent()
- {
+ public EAttribute getAnyReceiveEventRule_IsAReceiveEvent() {
return (EAttribute) anyReceiveEventRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getTimeEventRule()
- {
+ public EClass getTimeEventRule() {
return timeEventRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EAttribute getTimeEventRule_Expr()
- {
+ public EAttribute getTimeEventRule_Expr() {
return (EAttribute) timeEventRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getRelativeTimeEventRule()
- {
+ public EClass getRelativeTimeEventRule() {
return relativeTimeEventRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getAbsoluteTimeEventRule()
- {
+ public EClass getAbsoluteTimeEventRule() {
return absoluteTimeEventRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getChangeEventRule()
- {
+ public EClass getChangeEventRule() {
return changeEventRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EAttribute getChangeEventRule_Exp()
- {
+ public EAttribute getChangeEventRule_Exp() {
return (EAttribute) changeEventRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getGuardRule()
- {
+ public EClass getGuardRule() {
return guardRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EAttribute getGuardRule_Constraint()
- {
+ public EAttribute getGuardRule_Constraint() {
return (EAttribute) guardRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getEffectRule()
- {
+ public EClass getEffectRule() {
return effectRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EAttribute getEffectRule_Kind()
- {
+ public EAttribute getEffectRule_Kind() {
return (EAttribute) effectRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EAttribute getEffectRule_BehaviorName()
- {
+ public EAttribute getEffectRule_BehaviorName() {
return (EAttribute) effectRuleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EEnum getBehaviorKind()
- {
+ public EEnum getBehaviorKind() {
return behaviorKindEEnum;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public UmlTransitionFactory getUmlTransitionFactory()
- {
+ public UmlTransitionFactory getUmlTransitionFactory() {
return (UmlTransitionFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
@@ -463,14 +426,12 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public void createPackageContents()
- {
- if (isCreated) {
+ public void createPackageContents() {
+ if (isCreated)
return;
- }
isCreated = true;
// Create classes and their features
@@ -511,7 +472,7 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -521,14 +482,12 @@ public class UmlTransitionPackageImpl extends EPackageImpl implements UmlTransit
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public void initializePackageContents()
- {
- if (isInitialized) {
+ public void initializePackageContents() {
+ if (isInitialized)
return;
- }
isInitialized = true;
// Initialize package
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionAdapterFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionAdapterFactory.java
index 844dfe8ae73..aaf00b86c2a 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionAdapterFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionAdapterFactory.java
@@ -23,17 +23,16 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage
* @generated
*/
-public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
-{
+public class UmlTransitionAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static UmlTransitionPackage modelPackage;
@@ -42,13 +41,11 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public UmlTransitionAdapterFactory()
- {
- if (modelPackage == null)
- {
+ public UmlTransitionAdapterFactory() {
+ if (modelPackage == null) {
modelPackage = UmlTransitionPackage.eINSTANCE;
}
}
@@ -58,19 +55,16 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
return true;
}
- if (object instanceof EObject)
- {
+ if (object instanceof EObject) {
return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
@@ -80,92 +74,78 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected UmlTransitionSwitch<Adapter> modelSwitch =
- new UmlTransitionSwitch<Adapter>()
- {
- @Override
- public Adapter caseTransitionRule(TransitionRule object)
- {
- return createTransitionRuleAdapter();
- }
+ protected UmlTransitionSwitch<Adapter> modelSwitch = new UmlTransitionSwitch<Adapter>() {
+ @Override
+ public Adapter caseTransitionRule(TransitionRule object) {
+ return createTransitionRuleAdapter();
+ }
- @Override
- public Adapter caseEventRule(EventRule object)
- {
- return createEventRuleAdapter();
- }
+ @Override
+ public Adapter caseEventRule(EventRule object) {
+ return createEventRuleAdapter();
+ }
- @Override
- public Adapter caseCallOrSignalEventRule(CallOrSignalEventRule object)
- {
- return createCallOrSignalEventRuleAdapter();
- }
+ @Override
+ public Adapter caseCallOrSignalEventRule(CallOrSignalEventRule object) {
+ return createCallOrSignalEventRuleAdapter();
+ }
- @Override
- public Adapter caseAnyReceiveEventRule(AnyReceiveEventRule object)
- {
- return createAnyReceiveEventRuleAdapter();
- }
+ @Override
+ public Adapter caseAnyReceiveEventRule(AnyReceiveEventRule object) {
+ return createAnyReceiveEventRuleAdapter();
+ }
- @Override
- public Adapter caseTimeEventRule(TimeEventRule object)
- {
- return createTimeEventRuleAdapter();
- }
+ @Override
+ public Adapter caseTimeEventRule(TimeEventRule object) {
+ return createTimeEventRuleAdapter();
+ }
- @Override
- public Adapter caseRelativeTimeEventRule(RelativeTimeEventRule object)
- {
- return createRelativeTimeEventRuleAdapter();
- }
+ @Override
+ public Adapter caseRelativeTimeEventRule(RelativeTimeEventRule object) {
+ return createRelativeTimeEventRuleAdapter();
+ }
- @Override
- public Adapter caseAbsoluteTimeEventRule(AbsoluteTimeEventRule object)
- {
- return createAbsoluteTimeEventRuleAdapter();
- }
+ @Override
+ public Adapter caseAbsoluteTimeEventRule(AbsoluteTimeEventRule object) {
+ return createAbsoluteTimeEventRuleAdapter();
+ }
- @Override
- public Adapter caseChangeEventRule(ChangeEventRule object)
- {
- return createChangeEventRuleAdapter();
- }
+ @Override
+ public Adapter caseChangeEventRule(ChangeEventRule object) {
+ return createChangeEventRuleAdapter();
+ }
- @Override
- public Adapter caseGuardRule(GuardRule object)
- {
- return createGuardRuleAdapter();
- }
+ @Override
+ public Adapter caseGuardRule(GuardRule object) {
+ return createGuardRuleAdapter();
+ }
- @Override
- public Adapter caseEffectRule(EffectRule object)
- {
- return createEffectRuleAdapter();
- }
+ @Override
+ public Adapter caseEffectRule(EffectRule object) {
+ return createEffectRuleAdapter();
+ }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
* the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
- public Adapter createAdapter(Notifier target)
- {
+ public Adapter createAdapter(Notifier target) {
return modelSwitch.doSwitch((EObject) target);
}
@@ -176,13 +156,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TransitionRule
* @generated
*/
- public Adapter createTransitionRuleAdapter()
- {
+ public Adapter createTransitionRuleAdapter() {
return null;
}
@@ -192,13 +171,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EventRule
* @generated
*/
- public Adapter createEventRuleAdapter()
- {
+ public Adapter createEventRuleAdapter() {
return null;
}
@@ -208,13 +186,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.CallOrSignalEventRule
* @generated
*/
- public Adapter createCallOrSignalEventRuleAdapter()
- {
+ public Adapter createCallOrSignalEventRuleAdapter() {
return null;
}
@@ -224,13 +201,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AnyReceiveEventRule
* @generated
*/
- public Adapter createAnyReceiveEventRuleAdapter()
- {
+ public Adapter createAnyReceiveEventRuleAdapter() {
return null;
}
@@ -240,13 +216,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.TimeEventRule
* @generated
*/
- public Adapter createTimeEventRuleAdapter()
- {
+ public Adapter createTimeEventRuleAdapter() {
return null;
}
@@ -256,13 +231,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.RelativeTimeEventRule
* @generated
*/
- public Adapter createRelativeTimeEventRuleAdapter()
- {
+ public Adapter createRelativeTimeEventRuleAdapter() {
return null;
}
@@ -272,13 +246,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.AbsoluteTimeEventRule
* @generated
*/
- public Adapter createAbsoluteTimeEventRuleAdapter()
- {
+ public Adapter createAbsoluteTimeEventRuleAdapter() {
return null;
}
@@ -288,13 +261,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.ChangeEventRule
* @generated
*/
- public Adapter createChangeEventRuleAdapter()
- {
+ public Adapter createChangeEventRuleAdapter() {
return null;
}
@@ -304,13 +276,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.GuardRule
* @generated
*/
- public Adapter createGuardRuleAdapter()
- {
+ public Adapter createGuardRuleAdapter() {
return null;
}
@@ -320,13 +291,12 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.EffectRule
* @generated
*/
- public Adapter createEffectRuleAdapter()
- {
+ public Adapter createEffectRuleAdapter() {
return null;
}
@@ -335,12 +305,11 @@ public class UmlTransitionAdapterFactory extends AdapterFactoryImpl
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
- public Adapter createEObjectAdapter()
- {
+ public Adapter createEObjectAdapter() {
return null;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionResourceFactoryImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionResourceFactoryImpl.java
deleted file mode 100644
index e541e9aea80..00000000000
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionResourceFactoryImpl.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.util.UmlTransitionResourceImpl
- * @generated
- */
-public class UmlTransitionResourceFactoryImpl extends ResourceFactoryImpl
-{
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UmlTransitionResourceFactoryImpl()
- {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Resource createResource(URI uri)
- {
- XMLResource result = new UmlTransitionResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} // UmlTransitionResourceFactoryImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionResourceImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionResourceImpl.java
deleted file mode 100644
index b1fd0c1b442..00000000000
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.util.UmlTransitionResourceFactoryImpl
- * @generated
- */
-public class UmlTransitionResourceImpl extends XMLResourceImpl
-{
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
- * @generated
- */
- public UmlTransitionResourceImpl(URI uri)
- {
- super(uri);
- }
-
-} // UmlTransitionResourceImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionSwitch.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionSwitch.java
index 693806c5822..50131d01eef 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionSwitch.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionSwitch.java
@@ -20,23 +20,23 @@ import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransi
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage
* @generated
*/
-public class UmlTransitionSwitch<T> extends Switch<T>
-{
+public class UmlTransitionSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static UmlTransitionPackage modelPackage;
@@ -45,13 +45,11 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public UmlTransitionSwitch()
- {
- if (modelPackage == null)
- {
+ public UmlTransitionSwitch() {
+ if (modelPackage == null) {
modelPackage = UmlTransitionPackage.eINSTANCE;
}
}
@@ -60,14 +58,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @parameter ePackage the package in question.
+ *
+ * @param ePackage
+ * the package in question.
* @return whether this is a switch for the given package.
* @generated
*/
@Override
- protected boolean isSwitchFor(EPackage ePackage)
- {
+ protected boolean isSwitchFor(EPackage ePackage) {
return ePackage == modelPackage;
}
@@ -75,117 +73,97 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
case UmlTransitionPackage.TRANSITION_RULE: {
TransitionRule transitionRule = (TransitionRule) theEObject;
T result = caseTransitionRule(transitionRule);
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.EVENT_RULE: {
EventRule eventRule = (EventRule) theEObject;
T result = caseEventRule(eventRule);
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.CALL_OR_SIGNAL_EVENT_RULE: {
CallOrSignalEventRule callOrSignalEventRule = (CallOrSignalEventRule) theEObject;
T result = caseCallOrSignalEventRule(callOrSignalEventRule);
- if (result == null) {
+ if (result == null)
result = caseEventRule(callOrSignalEventRule);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.ANY_RECEIVE_EVENT_RULE: {
AnyReceiveEventRule anyReceiveEventRule = (AnyReceiveEventRule) theEObject;
T result = caseAnyReceiveEventRule(anyReceiveEventRule);
- if (result == null) {
+ if (result == null)
result = caseEventRule(anyReceiveEventRule);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.TIME_EVENT_RULE: {
TimeEventRule timeEventRule = (TimeEventRule) theEObject;
T result = caseTimeEventRule(timeEventRule);
- if (result == null) {
+ if (result == null)
result = caseEventRule(timeEventRule);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.RELATIVE_TIME_EVENT_RULE: {
RelativeTimeEventRule relativeTimeEventRule = (RelativeTimeEventRule) theEObject;
T result = caseRelativeTimeEventRule(relativeTimeEventRule);
- if (result == null) {
+ if (result == null)
result = caseTimeEventRule(relativeTimeEventRule);
- }
- if (result == null) {
+ if (result == null)
result = caseEventRule(relativeTimeEventRule);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.ABSOLUTE_TIME_EVENT_RULE: {
AbsoluteTimeEventRule absoluteTimeEventRule = (AbsoluteTimeEventRule) theEObject;
T result = caseAbsoluteTimeEventRule(absoluteTimeEventRule);
- if (result == null) {
+ if (result == null)
result = caseTimeEventRule(absoluteTimeEventRule);
- }
- if (result == null) {
+ if (result == null)
result = caseEventRule(absoluteTimeEventRule);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.CHANGE_EVENT_RULE: {
ChangeEventRule changeEventRule = (ChangeEventRule) theEObject;
T result = caseChangeEventRule(changeEventRule);
- if (result == null) {
+ if (result == null)
result = caseEventRule(changeEventRule);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.GUARD_RULE: {
GuardRule guardRule = (GuardRule) theEObject;
T result = caseGuardRule(guardRule);
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case UmlTransitionPackage.EFFECT_RULE: {
EffectRule effectRule = (EffectRule) theEObject;
T result = caseEffectRule(effectRule);
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
default:
@@ -199,15 +177,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Transition Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseTransitionRule(TransitionRule object)
- {
+ public T caseTransitionRule(TransitionRule object) {
return null;
}
@@ -217,15 +194,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Event Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseEventRule(EventRule object)
- {
+ public T caseEventRule(EventRule object) {
return null;
}
@@ -235,15 +211,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Call Or Signal Event Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseCallOrSignalEventRule(CallOrSignalEventRule object)
- {
+ public T caseCallOrSignalEventRule(CallOrSignalEventRule object) {
return null;
}
@@ -253,15 +228,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Any Receive Event Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseAnyReceiveEventRule(AnyReceiveEventRule object)
- {
+ public T caseAnyReceiveEventRule(AnyReceiveEventRule object) {
return null;
}
@@ -271,15 +245,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Time Event Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseTimeEventRule(TimeEventRule object)
- {
+ public T caseTimeEventRule(TimeEventRule object) {
return null;
}
@@ -289,15 +262,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Relative Time Event Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseRelativeTimeEventRule(RelativeTimeEventRule object)
- {
+ public T caseRelativeTimeEventRule(RelativeTimeEventRule object) {
return null;
}
@@ -307,15 +279,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Absolute Time Event Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseAbsoluteTimeEventRule(AbsoluteTimeEventRule object)
- {
+ public T caseAbsoluteTimeEventRule(AbsoluteTimeEventRule object) {
return null;
}
@@ -325,15 +296,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Change Event Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseChangeEventRule(ChangeEventRule object)
- {
+ public T caseChangeEventRule(ChangeEventRule object) {
return null;
}
@@ -343,15 +313,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Guard Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseGuardRule(GuardRule object)
- {
+ public T caseGuardRule(GuardRule object) {
return null;
}
@@ -361,15 +330,14 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Effect Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseEffectRule(EffectRule object)
- {
+ public T caseEffectRule(EffectRule object) {
return null;
}
@@ -379,7 +347,7 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
@@ -387,8 +355,7 @@ public class UmlTransitionSwitch<T> extends Switch<T>
* @generated
*/
@Override
- public T defaultCase(EObject object)
- {
+ public T defaultCase(EObject object) {
return null;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionXMLProcessor.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionXMLProcessor.java
deleted file mode 100644
index febfc56f821..00000000000
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.transition.xtext/src-gen/org/eclipse/papyrus/uml/textedit/transition/xtext/umlTransition/util/UmlTransitionXMLProcessor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-import org.eclipse.papyrus.uml.textedit.transition.xtext.umlTransition.UmlTransitionPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class UmlTransitionXMLProcessor extends XMLProcessor
-{
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UmlTransitionXMLProcessor()
- {
- super((EPackage.Registry.INSTANCE));
- UmlTransitionPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the UmlTransitionResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations()
- {
- if (registrations == null)
- {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new UmlTransitionResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new UmlTransitionResourceFactoryImpl());
- }
- return registrations;
- }
-
-} // UmlTransitionXMLProcessor

Back to the top