diff options
author | Goulwen Le Fur | 2014-08-05 09:08:40 +0000 |
---|---|---|
committer | Goulwen Le Fur | 2014-08-05 09:08:40 +0000 |
commit | 5f26cf2f2e29876d23aa461055b334d61b979e7f (patch) | |
tree | e12e726bd4ff59ab93fc037042c08bdb06abb155 /plugins | |
parent | 4eabe34876ddcb67b510777db13cb3dc69531cb9 (diff) | |
download | org.eclipse.eef-5f26cf2f2e29876d23aa461055b334d61b979e7f.tar.gz org.eclipse.eef-5f26cf2f2e29876d23aa461055b334d61b979e7f.tar.xz org.eclipse.eef-5f26cf2f2e29876d23aa461055b334d61b979e7f.zip |
This commit is a 'manual' merge with 1.4 branch. This move is due to complex lifecycle between the master branch and the other stream branches
Diffstat (limited to 'plugins')
97 files changed, 2880 insertions, 25301 deletions
diff --git a/plugins/org.eclipse.emf.eef.codegen/src/org/eclipse/emf/eef/codegen/parts/FormPropertiesEditionPart.mtl b/plugins/org.eclipse.emf.eef.codegen/src/org/eclipse/emf/eef/codegen/parts/FormPropertiesEditionPart.mtl index c8d307b36..7087685df 100644 --- a/plugins/org.eclipse.emf.eef.codegen/src/org/eclipse/emf/eef/codegen/parts/FormPropertiesEditionPart.mtl +++ b/plugins/org.eclipse.emf.eef.codegen/src/org/eclipse/emf/eef/codegen/parts/FormPropertiesEditionPart.mtl @@ -122,7 +122,9 @@ public class [view.pepFormClass()/] extends [include(view.formQualifiedSuperclas * [peContext.associatedGenModel().generationMark()/] */ public Composite createFigure(final Composite parent, final FormToolkit widgetFactory) { - view = widgetFactory.createComposite(parent) + ScrolledForm scrolledForm = widgetFactory.createScrolledForm(parent); + Form form = scrolledForm.getForm(); + view = form.getBody(); GridLayout layout = new GridLayout(); layout.numColumns = 3; view.setLayout(layout); diff --git a/plugins/org.eclipse.emf.eef.components/model/components.ecore b/plugins/org.eclipse.emf.eef.components/model/components.ecore index 2668ecbdf..b2ab521c5 100644 --- a/plugins/org.eclipse.emf.eef.components/model/components.ecore +++ b/plugins/org.eclipse.emf.eef.components/model/components.ecore @@ -1,9 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> -<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="components" nsURI="http://www.eclipse.org/emf/eef/components/1.0.0" - nsPrefix="eef-components"> +<ecore:EPackage xmi:version="2.0" + xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="components" + nsURI="http://www.eclipse.org/emf/eef/components/1.0.0" nsPrefix="eef-components"> <eClassifiers xsi:type="ecore:EClass" name="PropertiesEditionContext" eSuperTypes="../../org.eclipse.emf.eef.mapping/model/mapping.ecore#//Databinding"> - <eStructuralFeatures xsi:type="ecore:EReference" name="model" lowerBound="1" eType="ecore:EClass ../../org.eclipse.emf.codegen.ecore/model/GenModel.ecore#//GenPackage"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="model" lowerBound="1" eType="ecore:EClass platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.ecore#//GenPackage"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="PropertiesEditionComponent" eSuperTypes="../../org.eclipse.emf.eef.mapping/model/mapping.ecore#//EMFElementBinding #//EEFElement"> <eStructuralFeatures xsi:type="ecore:EAttribute" name="explicit" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" diff --git a/plugins/org.eclipse.emf.eef.editor.model/model/extended.ecore b/plugins/org.eclipse.emf.eef.editor.model/model/extended.ecore index ce8807b9e..f32a3f1bf 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/model/extended.ecore +++ b/plugins/org.eclipse.emf.eef.editor.model/model/extended.ecore @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="extended" nsURI="http://www.eclipse.org/emf/eef/extended" nsPrefix="eef-ext"> +<ecore:EPackage xmi:version="2.0" + xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="extended" + nsURI="http://www.eclipse.org/emf/eef/extended" nsPrefix="eef-ext"> <eSubpackages name="editor" nsURI="http://www.eclipse.org/emf/eef/extended/editor/1.0.0" nsPrefix="eef-ext-edt"> <eClassifiers xsi:type="ecore:EClass" name="EEFEditorContribution" abstract="true"> @@ -36,10 +38,7 @@ <eClassifiers xsi:type="ecore:EClass" name="EEFEditorPages" eSuperTypes="../../org.eclipse.emf.eef.views/model/views.ecore#//Category"/> <eClassifiers xsi:type="ecore:EClass" name="StaticEEFEditorContribution" eSuperTypes="../../org.eclipse.emf.eef.mapping/model/mapping.ecore#//AbstractElementBinding #//editor/EEFEditorContribution"/> <eClassifiers xsi:type="ecore:EClass" name="DynamicEEFEditorContribution" eSuperTypes="../../org.eclipse.emf.eef.mapping/model/mapping.ecore#//EMFElementBinding #//editor/EEFEditorContribution"/> - <eClassifiers xsi:type="ecore:EClass" name="ReferenceableObject"> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="referenceName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" - iD="true"/> - </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ReferenceableObject"/> </eSubpackages> <eSubpackages name="query" nsURI="http://www.eclipse.org/emf/eef/extended/query/1.0.0" nsPrefix="eef-ext-qry"> diff --git a/plugins/org.eclipse.emf.eef.editor.model/model/extended.genmodel b/plugins/org.eclipse.emf.eef.editor.model/model/extended.genmodel index 615e78edd..0f1426fa6 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/model/extended.genmodel +++ b/plugins/org.eclipse.emf.eef.editor.model/model/extended.genmodel @@ -40,9 +40,7 @@ <genClasses ecoreClass="extended.ecore#//editor/EEFEditorPages"/> <genClasses ecoreClass="extended.ecore#//editor/StaticEEFEditorContribution"/> <genClasses ecoreClass="extended.ecore#//editor/DynamicEEFEditorContribution"/> - <genClasses ecoreClass="extended.ecore#//editor/ReferenceableObject"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extended.ecore#//editor/ReferenceableObject/referenceName"/> - </genClasses> + <genClasses ecoreClass="extended.ecore#//editor/ReferenceableObject"/> </nestedGenPackages> <nestedGenPackages prefix="Query" basePackage="org.eclipse.emf.eef.extended" disposableProviderFactory="true" ecorePackage="extended.ecore#//query"> diff --git a/plugins/org.eclipse.emf.eef.editor.model/plugin.properties b/plugins/org.eclipse.emf.eef.editor.model/plugin.properties index db9015c1c..c49cf9225 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/plugin.properties +++ b/plugins/org.eclipse.emf.eef.editor.model/plugin.properties @@ -49,6 +49,3 @@ _UI_StaticEEFEditorContribution_type = Static EEF Editor Contribution _UI_DynamicEEFEditorContribution_type = Dynamic EEF Editor Contribution _UI_EEFEditorContribution_input_feature = Input _UI_ReferenceableObject_type = Referenceable Object -pluginName = Extended Model -providerName = www.example.org -_UI_ReferenceableObject_referenceName_feature = Reference Name diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/EditorPackage.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/EditorPackage.java index bce93232f..7510e0106 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/EditorPackage.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/EditorPackage.java @@ -1200,22 +1200,13 @@ public interface EditorPackage extends EPackage { int REFERENCEABLE_OBJECT = 14; /** - * The feature id for the '<em><b>Reference Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFERENCEABLE_OBJECT__REFERENCE_NAME = 0; - - /** * The number of structural features of the '<em>Referenceable Object</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int REFERENCEABLE_OBJECT_FEATURE_COUNT = 1; + int REFERENCEABLE_OBJECT_FEATURE_COUNT = 0; /** @@ -1457,17 +1448,6 @@ public interface EditorPackage extends EPackage { EClass getReferenceableObject(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.eef.extended.editor.ReferenceableObject#getReferenceName <em>Reference Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Reference Name</em>'. - * @see org.eclipse.emf.eef.extended.editor.ReferenceableObject#getReferenceName() - * @see #getReferenceableObject() - * @generated - */ - EAttribute getReferenceableObject_ReferenceName(); - - /** * Returns the factory that creates the instances of the model. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1703,14 +1683,6 @@ public interface EditorPackage extends EPackage { */ EClass REFERENCEABLE_OBJECT = eINSTANCE.getReferenceableObject(); - /** - * The meta object literal for the '<em><b>Reference Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REFERENCEABLE_OBJECT__REFERENCE_NAME = eINSTANCE.getReferenceableObject_ReferenceName(); - } } //EditorPackage diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/ReferenceableObject.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/ReferenceableObject.java index 44b84778d..ae9cb7ad2 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/ReferenceableObject.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/ReferenceableObject.java @@ -17,42 +17,10 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object '<em><b>Referenceable Object</b></em>'. * <!-- end-user-doc --> * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.eef.extended.editor.ReferenceableObject#getReferenceName <em>Reference Name</em>}</li> - * </ul> - * </p> * * @see org.eclipse.emf.eef.extended.editor.EditorPackage#getReferenceableObject() * @model * @generated */ public interface ReferenceableObject extends EObject { - - /** - * Returns the value of the '<em><b>Reference Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Reference 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>Reference Name</em>' attribute. - * @see #setReferenceName(String) - * @see org.eclipse.emf.eef.extended.editor.EditorPackage#getReferenceableObject_ReferenceName() - * @model id="true" - * @generated - */ - String getReferenceName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.eef.extended.editor.ReferenceableObject#getReferenceName <em>Reference Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Reference Name</em>' attribute. - * @see #getReferenceName() - * @generated - */ - void setReferenceName(String value); } // ReferenceableObject diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/impl/EditorPackageImpl.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/impl/EditorPackageImpl.java index b265875f0..4ab2f546a 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/impl/EditorPackageImpl.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/impl/EditorPackageImpl.java @@ -433,15 +433,6 @@ public class EditorPackageImpl extends EPackageImpl implements EditorPackage { * <!-- end-user-doc --> * @generated */ - public EAttribute getReferenceableObject_ReferenceName() { - return (EAttribute)referenceableObjectEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public EditorFactory getEditorFactory() { return (EditorFactory)getEFactoryInstance(); } @@ -502,7 +493,6 @@ public class EditorPackageImpl extends EPackageImpl implements EditorPackage { dynamicEEFEditorContributionEClass = createEClass(DYNAMIC_EEF_EDITOR_CONTRIBUTION); referenceableObjectEClass = createEClass(REFERENCEABLE_OBJECT); - createEAttribute(referenceableObjectEClass, REFERENCEABLE_OBJECT__REFERENCE_NAME); } /** @@ -594,7 +584,6 @@ public class EditorPackageImpl extends EPackageImpl implements EditorPackage { initEClass(dynamicEEFEditorContributionEClass, DynamicEEFEditorContribution.class, "DynamicEEFEditorContribution", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(referenceableObjectEClass, ReferenceableObject.class, "ReferenceableObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getReferenceableObject_ReferenceName(), ecorePackage.getEString(), "referenceName", null, 0, 1, ReferenceableObject.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/impl/ReferenceableObjectImpl.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/impl/ReferenceableObjectImpl.java index 8eaa703e1..aebe49b86 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/impl/ReferenceableObjectImpl.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/impl/ReferenceableObjectImpl.java @@ -10,9 +10,7 @@ *******************************************************************************/ package org.eclipse.emf.eef.extended.editor.impl; -import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.EObjectImpl; import org.eclipse.emf.eef.extended.editor.EditorPackage; import org.eclipse.emf.eef.extended.editor.ReferenceableObject; @@ -22,35 +20,12 @@ import org.eclipse.emf.eef.extended.editor.ReferenceableObject; * An implementation of the model object '<em><b>Referenceable Object</b></em>'. * <!-- end-user-doc --> * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.emf.eef.extended.editor.impl.ReferenceableObjectImpl#getReferenceName <em>Reference Name</em>}</li> - * </ul> * </p> * * @generated */ public class ReferenceableObjectImpl extends EObjectImpl implements ReferenceableObject { /** - * The default value of the '{@link #getReferenceName() <em>Reference Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getReferenceName() - * @generated - * @ordered - */ - protected static final String REFERENCE_NAME_EDEFAULT = null; - /** - * The cached value of the '{@link #getReferenceName() <em>Reference Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getReferenceName() - * @generated - * @ordered - */ - protected String referenceName = REFERENCE_NAME_EDEFAULT; - - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated @@ -69,99 +44,4 @@ public class ReferenceableObjectImpl extends EObjectImpl implements Referenceabl return EditorPackage.Literals.REFERENCEABLE_OBJECT; } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getReferenceName() { - return referenceName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setReferenceName(String newReferenceName) { - String oldReferenceName = referenceName; - referenceName = newReferenceName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, EditorPackage.REFERENCEABLE_OBJECT__REFERENCE_NAME, oldReferenceName, referenceName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case EditorPackage.REFERENCEABLE_OBJECT__REFERENCE_NAME: - return getReferenceName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case EditorPackage.REFERENCEABLE_OBJECT__REFERENCE_NAME: - setReferenceName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case EditorPackage.REFERENCEABLE_OBJECT__REFERENCE_NAME: - setReferenceName(REFERENCE_NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case EditorPackage.REFERENCEABLE_OBJECT__REFERENCE_NAME: - return REFERENCE_NAME_EDEFAULT == null ? referenceName != null : !REFERENCE_NAME_EDEFAULT.equals(referenceName); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (referenceName: "); - result.append(referenceName); - result.append(')'); - return result.toString(); - } - } //ReferenceableObjectImpl diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/provider/ReferenceableObjectItemProvider.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/provider/ReferenceableObjectItemProvider.java index bc55f794f..c92e0f3b8 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/provider/ReferenceableObjectItemProvider.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/editor/provider/ReferenceableObjectItemProvider.java @@ -17,7 +17,6 @@ import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IChildCreationExtender; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; @@ -25,11 +24,7 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.IItemPropertySource; import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; -import org.eclipse.emf.eef.extended.editor.EditorPackage; -import org.eclipse.emf.eef.extended.editor.ReferenceableObject; /** * This is the item provider adapter for a {@link org.eclipse.emf.eef.extended.editor.ReferenceableObject} object. @@ -66,34 +61,11 @@ public class ReferenceableObjectItemProvider if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); - addReferenceNamePropertyDescriptor(object); } return itemPropertyDescriptors; } /** - * This adds a property descriptor for the Reference Name feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addReferenceNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ReferenceableObject_referenceName_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_ReferenceableObject_referenceName_feature", "_UI_ReferenceableObject_type"), - EditorPackage.Literals.REFERENCEABLE_OBJECT__REFERENCE_NAME, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** * This returns ReferenceableObject.gif. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -112,10 +84,7 @@ public class ReferenceableObjectItemProvider */ @Override public String getText(Object object) { - String label = ((ReferenceableObject)object).getReferenceName(); - return label == null || label.length() == 0 ? - getString("_UI_ReferenceableObject_type") : - getString("_UI_ReferenceableObject_type") + " " + label; + return getString("_UI_ReferenceableObject_type"); } /** @@ -128,12 +97,6 @@ public class ReferenceableObjectItemProvider @Override public void notifyChanged(Notification notification) { updateChildren(notification); - - switch (notification.getFeatureID(ReferenceableObject.class)) { - case EditorPackage.REFERENCEABLE_OBJECT__REFERENCE_NAME: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } super.notifyChanged(notification); } diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/QueryPackage.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/QueryPackage.java index a56fd47f7..a43f5c960 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/QueryPackage.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/QueryPackage.java @@ -75,15 +75,6 @@ public interface QueryPackage extends EPackage { int EEF_UNDERSTANDABLE_QUERY = 0; /** - * The feature id for the '<em><b>Reference Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EEF_UNDERSTANDABLE_QUERY__REFERENCE_NAME = EditorPackage.REFERENCEABLE_OBJECT__REFERENCE_NAME; - - /** * The number of structural features of the '<em>EEF Understandable Query</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -103,15 +94,6 @@ public interface QueryPackage extends EPackage { int OCL_QUERY = 1; /** - * The feature id for the '<em><b>Reference Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OCL_QUERY__REFERENCE_NAME = EEF_UNDERSTANDABLE_QUERY__REFERENCE_NAME; - - /** * The feature id for the '<em><b>Query</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -149,15 +131,6 @@ public interface QueryPackage extends EPackage { int EXPLICIT_PATH_QUERY = 2; /** - * The feature id for the '<em><b>Reference Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXPLICIT_PATH_QUERY__REFERENCE_NAME = EEF_UNDERSTANDABLE_QUERY__REFERENCE_NAME; - - /** * The feature id for the '<em><b>Query</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/EEFUnderstandableQueryItemProvider.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/EEFUnderstandableQueryItemProvider.java index 1d707095f..383ebbdc1 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/EEFUnderstandableQueryItemProvider.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/EEFUnderstandableQueryItemProvider.java @@ -25,7 +25,6 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; import org.eclipse.emf.edit.provider.ITreeItemContentProvider; import org.eclipse.emf.eef.extended.editor.provider.ExtendedEditPlugin; import org.eclipse.emf.eef.extended.editor.provider.ReferenceableObjectItemProvider; -import org.eclipse.emf.eef.extended.query.EEFUnderstandableQuery; /** * This is the item provider adapter for a {@link org.eclipse.emf.eef.extended.query.EEFUnderstandableQuery} object. @@ -74,10 +73,7 @@ public class EEFUnderstandableQueryItemProvider */ @Override public String getText(Object object) { - String label = ((EEFUnderstandableQuery)object).getReferenceName(); - return label == null || label.length() == 0 ? - getString("_UI_EEFUnderstandableQuery_type") : - getString("_UI_EEFUnderstandableQuery_type") + " " + label; + return getString("_UI_EEFUnderstandableQuery_type"); } /** diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/ExplicitPathQueryItemProvider.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/ExplicitPathQueryItemProvider.java index 0f51994c5..26e39fca8 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/ExplicitPathQueryItemProvider.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/ExplicitPathQueryItemProvider.java @@ -23,7 +23,6 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.IItemPropertySource; import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.eef.extended.query.ExplicitPathQuery; import org.eclipse.emf.eef.extended.query.QueryPackage; /** @@ -107,10 +106,7 @@ public class ExplicitPathQueryItemProvider */ @Override public String getText(Object object) { - String label = ((ExplicitPathQuery)object).getReferenceName(); - return label == null || label.length() == 0 ? - getString("_UI_ExplicitPathQuery_type") : - getString("_UI_ExplicitPathQuery_type") + " " + label; + return getString("_UI_ExplicitPathQuery_type"); } /** diff --git a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/OCLQueryItemProvider.java b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/OCLQueryItemProvider.java index 9c69de12b..5fe5af837 100644 --- a/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/OCLQueryItemProvider.java +++ b/plugins/org.eclipse.emf.eef.editor.model/src-gen/org/eclipse/emf/eef/extended/query/provider/OCLQueryItemProvider.java @@ -132,7 +132,7 @@ public class OCLQueryItemProvider */ @Override public String getText(Object object) { - String label = ((OCLQuery)object).getReferenceName(); + String label = ((OCLQuery)object).getQuery(); return label == null || label.length() == 0 ? getString("_UI_OCLQuery_type") : getString("_UI_OCLQuery_type") + " " + label; diff --git a/plugins/org.eclipse.emf.eef.mapping/model/mapping.ecore b/plugins/org.eclipse.emf.eef.mapping/model/mapping.ecore index 392df6e3f..f33679f31 100644 --- a/plugins/org.eclipse.emf.eef.mapping/model/mapping.ecore +++ b/plugins/org.eclipse.emf.eef.mapping/model/mapping.ecore @@ -191,4 +191,4 @@ containment="true"/>
</eClassifiers>
</eSubpackages>
-</ecore:EPackage>
\ No newline at end of file +</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/.checkstyle b/plugins/org.eclipse.emf.eef.runtime.tests/.checkstyle new file mode 100644 index 000000000..7124c8710 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/.checkstyle @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false"> + <local-check-config name="EEF" location="/org.eclipse.emf.eef.sdk-feature/codestyle/EEFCheckstyleConfiguration.xml" type="project" description=""> + <additional-data name="protect-config-file" value="true"/> + </local-check-config> + <fileset name="all" enabled="true" check-config-name="EEF" local="true"> + <file-match-pattern match-pattern="." include-pattern="true"/> + </fileset> +</fileset-config> diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/.classpath b/plugins/org.eclipse.emf.eef.runtime.tests/.classpath index 64c5e31b7..64c5e31b7 100644 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/.classpath +++ b/plugins/org.eclipse.emf.eef.runtime.tests/.classpath diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/.gitignore b/plugins/org.eclipse.emf.eef.runtime.tests/.gitignore new file mode 100644 index 000000000..d567ba01e --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/.gitignore @@ -0,0 +1,2 @@ +bin +target diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/.project b/plugins/org.eclipse.emf.eef.runtime.tests/.project index d86d3f85a..3f383c043 100644 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/.project +++ b/plugins/org.eclipse.emf.eef.runtime.tests/.project @@ -1,28 +1,28 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.emf.modelingbot.xtext.ui</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
+<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.emf.eef.runtime.tests</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.eef.runtime.tests/META-INF/MANIFEST.MF new file mode 100644 index 000000000..0b1df68e9 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/META-INF/MANIFEST.MF @@ -0,0 +1,28 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: EEF Runtime dedicated for tests +Bundle-SymbolicName: org.eclipse.emf.eef.runtime.tests;singleton:=true +Bundle-Version: 1.4.0.qualifier +Bundle-Vendor: Eclipse Modeling Project +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Eclipse-RegisterBuddy: org.eclipse.swtbot.swt.finder +Require-Bundle: org.eclipse.swtbot.eclipse.finder;visibility:=reexport, + org.eclipse.swtbot.swt.finder;visibility:=reexport, + org.eclipse.ui, + org.eclipse.emf.ecore, + org.eclipse.core.resources;visibility:=reexport, + org.eclipse.core.runtime, + org.eclipse.emf.ecore.xmi, + org.eclipse.emf.eef.runtime, + org.eclipse.emf.compare.match;visibility:=reexport, + org.eclipse.emf.compare.diff, + org.junit4, + org.eclipse.emf.ecore.editor, + org.apache.log4j +Export-Package: org.eclipse.emf.eef.runtime.tests, + org.eclipse.emf.eef.runtime.tests.exceptions, + org.eclipse.emf.eef.runtime.tests.swtbot.finder, + org.eclipse.emf.eef.runtime.tests.swtbot.utils, + org.eclipse.emf.eef.runtime.tests.ui.editors, + org.eclipse.emf.eef.runtime.tests.ui.properties.section, + org.eclipse.emf.eef.runtime.tests.utils diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/about.html b/plugins/org.eclipse.emf.eef.runtime.tests/about.html new file mode 100644 index 000000000..f3a55ce5f --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 15, 2010</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/build.properties b/plugins/org.eclipse.emf.eef.runtime.tests/build.properties new file mode 100644 index 000000000..e502868ac --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/build.properties @@ -0,0 +1,17 @@ +############################################################################### +# Copyright (c) 2008, 2012 Obeo. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# Obeo - initial API and implementation +############################################################################### +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + about.html +src.includes = about.html diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/icons/full/obj16/EEFReflectiveEditor.gif b/plugins/org.eclipse.emf.eef.runtime.tests/icons/full/obj16/EEFReflectiveEditor.gif Binary files differnew file mode 100644 index 000000000..0b60dcc39 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/icons/full/obj16/EEFReflectiveEditor.gif diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/icons/sample.gif b/plugins/org.eclipse.emf.eef.runtime.tests/icons/sample.gif Binary files differnew file mode 100644 index 000000000..34fb3c9d8 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/icons/sample.gif diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/plugin.xml b/plugins/org.eclipse.emf.eef.runtime.tests/plugin.xml new file mode 100644 index 000000000..4c0e30ec4 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/plugin.xml @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<!-- + Copyright (c) 2008, 2010 Obeo. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + Obeo - initial API and implementation + --> +<plugin> + <extension point="org.eclipse.ui.editors"> + <editor + id="org.eclipse.emf.eef.reflect.editor" + name="EEF Reflective Editor" + icon="icons/full/obj16/EEFReflectiveEditor.gif" + extensions="*" + class="org.eclipse.emf.eef.runtime.tests.ui.editors.EEFReflectiveEditor" + contributorClass="org.eclipse.emf.ecore.presentation.EcoreActionBarContributor"> + </editor> + </extension> + <extension + point="org.eclipse.ui.views.properties.tabbed.propertyContributor"> + <propertyContributor + contributorId="org.eclipse.emf.eef.reflect.editor"> + <propertyCategory + category="std"> + </propertyCategory> + </propertyContributor> + </extension> + <extension + point="org.eclipse.ui.views.properties.tabbed.propertyTabs"> + <propertyTabs + contributorId="org.eclipse.emf.eef.reflect.editor"> + <propertyTab + label="Properties" + category="std" + id="Properties"> + </propertyTab> + </propertyTabs> + </extension> + <extension + point="org.eclipse.ui.views.properties.tabbed.propertySections"> + <propertySections + contributorId="org.eclipse.emf.eef.reflect.editor"> + <propertySection + class="org.eclipse.emf.eef.runtime.tests.ui.properties.section.EEFReflectiveEditionSection" + id="org.eclipse.emf.eef.runtime.tests.eef.reflective.section" + tab="Properties"> + <input + type="org.eclipse.emf.ecore.EObject"> + </input> + </propertySection> + </propertySections> + </extension> + <extension + point="org.eclipse.ui.actionSets"> + <actionSet + id="org.eclipse.emf.eef.runtime.tests.actionSet" + label="Sample Action Set" + visible="true"> + <menu + id="eef" + label="EEF"> + <separator + name="eefGroup"> + </separator> + </menu> + <action + class="org.eclipse.emf.eef.runtime.tests.ui.actions.OpenWithEEFReflectiveEditor" + icon="icons/sample.gif" + id="org.eclipse.emf.eef.runtime.tests.ui.actions.OpenWithEEFReflectiveEditor" + label="EEF Reflective Editor" + menubarPath="eef/eefGroup" + toolbarPath="eefGroup" + tooltip="Open With EEF Reflective Editor"> + </action> + </actionSet> + </extension> + + +</plugin> diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/pom.xml b/plugins/org.eclipse.emf.eef.runtime.tests/pom.xml index 024f37236..ddef7b10d 100644 --- a/plugins/org.eclipse.emf.modelingbot.xtext/pom.xml +++ b/plugins/org.eclipse.emf.eef.runtime.tests/pom.xml @@ -20,9 +20,9 @@ <version>1.4.0-SNAPSHOT</version> </parent> - <artifactId>org.eclipse.emf.modelingbot.xtext</artifactId> + <artifactId>org.eclipse.emf.eef.runtime.tests</artifactId> <packaging>eclipse-plugin</packaging> - <name>XText grammar for EEF Modeling Bot</name> + <name>EEF Tests Runtime Plug-in</name> </project> diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/SWTBotEEFTestCase.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/SWTBotEEFTestCase.java new file mode 100644 index 000000000..2a5016ebd --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/SWTBotEEFTestCase.java @@ -0,0 +1,244 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IFolder; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.emf.common.command.BasicCommandStack; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.compare.diff.metamodel.DiffGroup; +import org.eclipse.emf.compare.diff.metamodel.DiffModel; +import org.eclipse.emf.compare.diff.service.DiffService; +import org.eclipse.emf.compare.match.metamodel.MatchModel; +import org.eclipse.emf.compare.match.service.MatchService; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain; +import org.eclipse.emf.eef.runtime.EEFRuntimePlugin; +import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils; +import org.eclipse.emf.eef.runtime.tests.swtbot.finder.SWTEEFBot; +import org.eclipse.emf.eef.runtime.tests.utils.EEFTestsResourceUtils; +import org.eclipse.swtbot.eclipse.finder.SWTBotEclipseTestCase; +import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor; +import org.junit.Before; + +/** + * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a> + */ +public abstract class SWTBotEEFTestCase extends SWTBotEclipseTestCase { + + /** + * An instance of SWTEclipseBot. + * + * @since 1.1 + */ + protected SWTEEFBot bot = new SWTEEFBot(); + + /***************************************************************************** + * * Test members * * + *****************************************************************************/ + + /** + * the model editor + */ + protected SWTBotEditor editor; + + /** + * The ResourceSet where to operate + */ + protected AdapterFactoryEditingDomain editingDomain = new AdapterFactoryEditingDomain(EEFRuntimePlugin.getDefault().getAdapterFactory(), new BasicCommandStack()); + + /** + * The test project + */ + private IProject testProject; + + /** + * The workspace folder containing the input model + */ + private IFolder modelFolder; + + /** + * The expectedModel + */ + protected Resource expectedModel; + + /** + * @return The project that contains models for tests + */ + protected abstract String getTestsProjectName(); + + /** + * @return The folder that contains the input models for tests + */ + protected abstract String getInputModelFolder(); + + /** + * @return The folder that contains the expected models for tests + */ + protected abstract String getExpectedModelFolder(); + + /** + * @return The input model + */ + protected abstract String getInputModelName(); + + /** + * T@return he expected model + */ + protected abstract String getExpectedModelName(); + + /** + * + * @return the import models folder + */ + protected abstract String getImportModelsFolder(); + + /***************************************************************************** + * * Tests specialization * * + *****************************************************************************/ + + /** + * Process to initialize the workspace for the tests + * + * @throws CoreException + * an error occurred during the tests initialization + * @throws IOException + * an error occurred during the tests initialization + */ + protected void initWorkspaceForTests() throws CoreException, IOException { + List<String> names = new ArrayList<String>(); + names.add(getInputModelFolder()); + testProject = EEFTestsResourceUtils.createTestProject(getTestsProjectName(), names); + modelFolder = testProject.getFolder(getInputModelFolder()); + } + + /** + * Import the input model + * @throws CoreException error during model import + * @throws IOException error during model import + */ + protected void initializeInputModel() throws CoreException, IOException { + EEFTestsResourceUtils.importModel(getTestsProjectName(), getImportModelsFolder() + "/" + getInputModelFolder() + "/" + getInputModelName(), modelFolder); + URI fileURI = URI.createPlatformResourceURI(getTestsProjectName() + "/" + getInputModelFolder() + "/" + getInputModelName(), true); + Resource activeResource = editingDomain.getResourceSet().getResource(fileURI, true); + bot.defineActiveModel(activeResource); + } + + /** + * Delete the test models + * @throws CoreException error during model deleting + */ + protected void deleteModels() throws CoreException { + IFile inputFile = EEFTestsResourceUtils.workspaceFile(bot.getActiveResource()); + bot.unloadActiveModel(); + NullProgressMonitor monitor = new NullProgressMonitor(); + inputFile.delete(true, true, monitor); + IFile expectedFile = EEFTestsResourceUtils.workspaceFile(expectedModel); + expectedModel.unload(); + expectedFile.delete(true, true, monitor); + testProject.refreshLocal(IResource.DEPTH_INFINITE, monitor); + } + + protected void createExpectedModel() { + URI fileURI = URI.createPlatformResourceURI(getTestsProjectName() + "/" + getExpectedModelFolder() + "/" + getExpectedModelName(), true); + expectedModel = editingDomain.getResourceSet().createResource(fileURI); + expectedModel.getContents().addAll(EcoreUtil.copyAll(bot.getActiveResource().getContents())); + } + + /***************************************************************************** + * * Test lifecycle * * + *****************************************************************************/ + + /** + * @throws java.lang.Exception + */ + @Before + public void setUp() throws Exception { + super.setUp(); + bot.closeWelcomePage(); + bot.openJavaPerspective(); + bot.openPropertiesView(); + initWorkspaceForTests(); + } + + @Override + protected void tearDown() throws Exception { + bot.closeAllShells(); + super.tearDown(); + } + + /***************************************************************************** + * * Utils methods * * + *****************************************************************************/ + + /** + * @param the + * model to compare to the bot active model + * @return the comparison model + * @throws Exception + * something wrong during comparison + */ + private DiffModel compareToActiveModel(Resource expectedModel) throws Exception { + bot.reloadActiveModel(); + Map<String, Object> options = new HashMap<String, Object>(); + options.put(org.eclipse.emf.compare.match.MatchOptions.OPTION_IGNORE_XMI_ID, Boolean.TRUE); + MatchModel match = MatchService.doResourceMatch(bot.getActiveResource(), expectedModel, options); + DiffModel diff = DiffService.doDiff(match); + return diff; + } + + /** + * Check if the bot's active model is the same that the given model + * + * @param expectedModel + * the model to compare + */ + public void assertExpectedModelReached(Resource expectedModel) { + try { + DiffModel compareToActiveModel = compareToActiveModel(expectedModel); + List<EObject> diffList = EEFUtils.asEObjectList(compareToActiveModel.eAllContents()); + List<EObject> result = filterAbnormalDiffElement(diffList); + assertEquals("The active model isn't the same that the expected model", result.size(), 0); + } catch (Exception e) { + // How to do that ??? + assertTrue("Error during model comparison", false); + } + } + + /** + * TODO: check this with the EMF Compare team + * + * @param diffList + * the list to filter + * @return the list of "good" diff + */ + private List<EObject> filterAbnormalDiffElement(List<EObject> diffList) { + List<EObject> result = new ArrayList<EObject>(); + for (EObject object : diffList) { + if (!(object instanceof DiffGroup) || (((DiffGroup)object).eContents().size() > 0)) + result.add(object); + } + return result; + } + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/exceptions/InputModelInvalidException.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/exceptions/InputModelInvalidException.java new file mode 100644 index 000000000..c36a094a9 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/exceptions/InputModelInvalidException.java @@ -0,0 +1,60 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.exceptions; + +/** + * @author <a href="mailto:goulwen.lefur@obeo.fr">Goulwen Le Fur</a> + * + */ +public class InputModelInvalidException extends Exception { + + /** + * Serialization + */ + private static final long serialVersionUID = 5938605662196039272L; + + private String messageInfo; + + /** + * default constructor + */ + public InputModelInvalidException() { + super(); + } + + /** + * constructor with info + * @param info the info + */ + public InputModelInvalidException(String info) { + super(); + this.messageInfo = "The input model doesn't contain enough instance of " + info+ " EClass"; + } + + /** + * {@inheritDoc} + * @see java.lang.Throwable#getMessage() + */ + @Override + public String getMessage() { + String message = "The input model is invalid for test"; + if (messageInfo != null) { + StringBuilder builder = new StringBuilder(message); + builder.append(" : "); + builder.append(messageInfo); + return builder.toString(); + } + return message; + } + + + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/exceptions/WidgetInvalidException.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/exceptions/WidgetInvalidException.java new file mode 100644 index 000000000..401e3ccc4 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/exceptions/WidgetInvalidException.java @@ -0,0 +1,60 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.exceptions; + +/** + * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a> + * + */ +public class WidgetInvalidException extends Exception { + + /** + * Serialization + */ + private static final long serialVersionUID = 5938605662196039272L; + + private String messageInfo; + + /** + * default constructor + */ + public WidgetInvalidException() { + super(); + } + + /** + * constructor with info + * @param info the info + */ + public WidgetInvalidException(String info) { + super(); + this.messageInfo = "The widget doesn't contain elements " + info; + } + + /** + * {@inheritDoc} + * @see java.lang.Throwable#getMessage() + */ + @Override + public String getMessage() { + String message = "The widget is invalid for test"; + if (messageInfo != null) { + StringBuilder builder = new StringBuilder(message); + builder.append(" : "); + builder.append(messageInfo); + return builder.toString(); + } + return message; + } + + + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/finder/SWTEEFBot.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/finder/SWTEEFBot.java new file mode 100644 index 000000000..1ba9c5020 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/finder/SWTEEFBot.java @@ -0,0 +1,1233 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.swtbot.finder; + +import static org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable.syncExec; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; + +import org.eclipse.core.resources.IContainer; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EEnumLiteral; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.ui.EMFEditUIPlugin; +import org.eclipse.emf.eef.runtime.EEFRuntimePlugin; +import org.eclipse.emf.eef.runtime.tests.exceptions.WidgetInvalidException; +import org.eclipse.emf.eef.runtime.tests.swtbot.utils.SWTBotUtils; +import org.eclipse.emf.eef.runtime.tests.utils.EEFTestsResourceUtils; +import org.eclipse.emf.eef.runtime.tests.utils.UIConstants; +import org.eclipse.emf.eef.runtime.ui.utils.EEFRuntimeUIMessages; +import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot; +import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor; +import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView; +import org.eclipse.swtbot.swt.finder.SWTBot; +import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException; +import org.eclipse.swtbot.swt.finder.results.VoidResult; +import org.eclipse.swtbot.swt.finder.waits.Conditions; +import org.eclipse.swtbot.swt.finder.waits.DefaultCondition; +import org.eclipse.swtbot.swt.finder.widgets.SWTBotButton; +import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell; +import org.eclipse.swtbot.swt.finder.widgets.SWTBotText; +import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree; +import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem; +import org.eclipse.ui.PlatformUI; + +/** + * @author <a href="mailto:goulwen.lefur@obeo.fr">Goulwen Le Fur</a> + */ +public class SWTEEFBot extends SWTWorkbenchBot { + + private SWTEEFBotHelper helper; + + /** + * Default constructor + */ + public SWTEEFBot() { + super(); + this.helper = new SWTEEFBotHelper(this); + } + + /***************************************************************************** + * * Bot members * * + *****************************************************************************/ + + private Resource activeResource = null; + + /** + * @return the URI of the input model + */ + public String getInputModelURI() { + if (activeResource != null) + return activeResource.getURI().toString(); + return null; + } + + /** + * @return the active resource + */ + public Resource getActiveResource() { + return activeResource; + } + + /***************************************************************************** + * * Bot settings * * + *****************************************************************************/ + + public void defineActiveModel(Resource resource) { + this.activeResource = resource; + } + + public void unloadActiveModel() { + this.activeResource.unload(); + } + + public void reloadActiveModel() throws IOException { + this.activeResource.unload(); + this.activeResource.load(Collections.EMPTY_MAP); + } + + /***************************************************************************** + * * Bot operation * * + *****************************************************************************/ + + /** + * Get another literal value of the enumeration + */ + public Object changeEnumLiteralValue(EEnum enumeration, String text) { + for (EEnumLiteral eEnumLiteral : enumeration.getELiterals()) { + if (!eEnumLiteral.getLiteral().equals(text.toString())) { + return eEnumLiteral.getLiteral(); + } + } + return text; + } + + /** + * Get another reference value of the references list + */ + public Object changeReferenceValue(List<EObject> eObjectList, EObject value) { + for (EObject eobj : eObjectList) { + if (!eobj.equals(value)) { + return eobj; + } + } + return value; + } + + /** + * Get another reference value of the references list + */ + public Object changeReferenceValue(List<EObject> eObjectList, List values) { + for (EObject eobj : eObjectList) { + if (!values.contains(eobj)) { + return eobj; + } + } + if (!values.isEmpty()) { + return values.get(0); + } + return null; + } + + /** + * Must open the file with EEF Reflexive editor -> SWTBot pb with context menu + * @param file + * the file to open + * @return the editor editing the file + */ + public SWTBotEditor openFile(IFile file) { + SWTBotTree wizardTree = viewByTitle(UIConstants.PACKAGE_EXPLORER_VIEW_NAME).bot().tree(); + List<IResource> expansionPath = getExpansionPath(file); + Iterator<IResource> iter = expansionPath.iterator(); + if (iter.hasNext()) { + String text = getNodeText(iter.next()); + SWTBotTreeItem treeItem = wizardTree.expandNode(text).expand(); + while (iter.hasNext()) { + text = getNodeText(iter.next()); + treeItem = treeItem.getNode(text); + treeItem.expand(); + } + treeItem.select(); + menu(UIConstants.NAVIGATE_MENU).menu(UIConstants.OPEN_MENU).click(); + SWTBotEditor editor = editorByTitle(activeResource.getURI().lastSegment()); + return editor; + } + return null; + } + + /** + * Open the editor on the input model + * + * @return the associated editor + */ + public SWTBotEditor openActiveModel() { + IFile file = EEFTestsResourceUtils.workspaceFile(activeResource); + return openFile(file); + } + + /** + * Prepare the model editing + * + * @param elementType + * The EClass of the edited element + * @param element + * the element to edit + * @return the shell of the opened wizard + */ + public SWTBotShell prepareBatchEditing(SWTBotEditor editor, EClass elementType, EObject element, String tabName) { + SWTBotTreeItem node2 = selectNode(editor, element); + node2.doubleClick(); + if (tabName != null) { + cTabItem(tabName).activate(); + cTabItem(tabName).setFocus(); + } + return shell(elementType.getName()); + } + + /** + * Prepare the model editing + * + * @param editor + * The EClass of the edited element + * @param element + * the element to edit + * @return the shell of the opened wizard + */ + public SWTBotView prepareLiveEditing(SWTBotEditor editor, EObject element, String tabName) { + SWTBotTreeItem node2 = selectNode(editor, element); + node2.select(); + SWTBotUtils.selectPropertyTabItem(tabName); + return viewByTitle(UIConstants.PROPERTIES_VIEW_NAME); + } + + /** + * Select the given element in the given editor + * + * @param editor + * the editor where the bot must process + * @param element + * the element to select + * @return the selected node + */ + public SWTBotTreeItem selectNode(SWTBotEditor editor, EObject element) { + List<Object> expansionPath = getExpansionPath(element); + Iterator<Object> iterator = expansionPath.iterator(); + Object next = null; + SWTBotTreeItem node2 = editor.bot().tree().getTreeItem(getInputModelURI()); + while (iterator.hasNext()) { + node2.expand(); + next = iterator.next(); + node2 = selectSubNode(node2, next); + } + return node2; + } + + /** + * Select the given element in the given editor + * + * @param editor + * the editor where the bot must process + * @param element + * the element to select + * @return the selected node + */ + public SWTBotTreeItem selectNode(SWTBotTree tree, EObject element) { + List<Object> expansionPath = getExpansionPath(element); + Iterator<Object> iterator = expansionPath.iterator(); + Object next = null; + SWTBotTreeItem node2 = tree.getTreeItem(getInputModelURI()); + while (iterator.hasNext()) { + node2.expand(); + next = iterator.next(); + node2 = selectSubNode(node2, next); + } + return node2; + } + + /** + * This method save the model and close the editor + * + * @param editor + * the modelEditor + */ + public void finalizeEdition(final SWTBotEditor editor) { + activateEclipseShell(); + menu(UIConstants.FILE_MENU).menu(UIConstants.SAVE_MENU).click(); + this.waitUntil(new DefaultCondition() { + + public boolean test() throws Exception { + return !editor.isDirty(); + } + + public String getFailureMessage() { + return "the editor does not save in less than one minute"; + } + }, 60000); + editor.close(); + } + + /***************************************************************************** + * * EEF features editing testing * * + *****************************************************************************/ + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param feature + * the feature to edit + * @param newValue + * the new value to set to the feature + */ + public void editTextFeature(SWTBotShell shell, String feature, Object newValue) { + activateShell(shell); + editEEFText(feature, newValue); + closeShellWithFinishButton(shell); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + */ + public void editEMFComboViewerFeature(SWTBotShell shell, String viewID, Object newValue) { + activateShell(shell); + editEMFComboViewer(viewID, newValue); + closeShellWithFinishButton(shell); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + */ + public void editRadioFeature(SWTBotShell shell, String viewID, Object newValue) { + activateShell(shell); + editRadio(viewID, newValue); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + */ + public void editEMFComboViewer(String viewID, Object newValue) { + comboBoxWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).setSelection(newValue.toString()); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + */ + public void editRadio(String viewID, Object newValue) { + helper.radioWithIdAndMnemonic(viewID, newValue.toString()).click(); + } + + /** + * @param shell + */ + public void activateShell(SWTBotShell shell) { + shell.activate(); + } + + /** + * @param shell + */ + public void closeShellWithFinishButton(SWTBotShell shell) { + button(UIConstants.FINISH_BUTTON).click(); + waitUntil(Conditions.shellCloses(shell)); + } + + /** + * @param viewId the ID of the element editor + * @param newValue the new value to set + */ + public void editEEFText(String viewId, Object newValue) { + if (newValue != null) { + SWTBotText textWithId = textWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewId); + textWithId.setText(newValue.toString()); + /* our listener wait a focus lost to launch the command */ +// button(UIConstants.FINISH_BUTTON).setFocus(); + SWTBotUtils.pressEnterKey(textWithId.widget); + SWTBotUtils.sendFocusLost(textWithId.widget); + syncExec(new VoidResult() { + + public void run() { + synchronizationWithUIThread(); + } + }); + } + } + + /** + * Wait the end of the asynchronous calls waiting in UI thread. + */ + public void synchronizationWithUIThread() { + while (PlatformUI.getWorkbench().getDisplay().readAndDispatch()) { + // Do nothing, just wait + } + } + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param propertyView + * the properties view + * @param viewID + * the ID of the ElementEditor + * @param selectNode + * the SWTBotTreeItem in the treeview model + */ + public void editPropertyEEFText(SWTBotView propertyView, String viewID, Object newValue, SWTBotTreeItem selectNode) { + SWTBot propertyBot = propertyView.bot(); + SWTBotText elementEditor = propertyBot.textWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID); + elementEditor.setFocus(); + elementEditor.setText(newValue.toString()); + SWTBotUtils.pressEnterKey(propertyView.getWidget()); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID + * the ID of the ElementEditor to edit + * @param newValue + * the new value to set to the feature + */ + public void editCheckboxFeature(SWTBotShell shell, String viewID) { + activateShell(shell); + editEEFCheckbox(viewID); + closeShellWithFinishButton(shell); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param tableIndex the new value to set to the feature + * @throws WidgetInvalidException + */ + public void editEObjectFlatComboViewerFeature(SWTBotShell shell, String viewID, int tableIndex) throws WidgetInvalidException { + activateShell(shell); + editEObjectFlatComboViewer(viewID, tableIndex); + closeShellWithFinishButton(shell); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + * @throws WidgetInvalidException + */ + public void editFlatReferencesTableFeature(SWTBotShell shell, String viewID, int newValue) throws WidgetInvalidException { + activateShell(shell); + editFlatReferencesTable(viewID, newValue); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param tableIndex the new value to set to the feature + * @throws WidgetInvalidException + */ + public void editFlatReferencesTable(String viewID, int tableIndex) throws WidgetInvalidException { + buttonWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).click(); + try { + table().select(tableIndex); + button(EMFEditUIPlugin.INSTANCE.getString("_UI_Add_label")).click(); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + button(UIConstants.OK_BUTTON).click(); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param tableIndex the element to select + * @throws WidgetInvalidException error during selection + */ + public void editEObjectFlatComboViewer(String viewID, int tableIndex) throws WidgetInvalidException { + buttonWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).click(); + try { + table().select(tableIndex); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + button(UIConstants.OK_BUTTON).click(); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param newValue the element to select + * @throws WidgetInvalidException error during selection + */ + public void editReferencesTableFeature(SWTBotShell shell, String viewID, int newValue) throws WidgetInvalidException { + activateShell(shell); + editReferencesTable(viewID, newValue); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param newValue the element to select + * @throws WidgetInvalidException error during selection + */ + public void editReferencesTable(String viewID, int newValue) throws WidgetInvalidException { + helper.addButtonReferencesTable(viewID).click(); + try { + table().select(newValue); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + button(UIConstants.OK_BUTTON).click(); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param newValue the element to select + * @throws WidgetInvalidException error during selection + */ + public void removeReferencesTableFeature(SWTBotShell shell, String viewID, int newValue) throws WidgetInvalidException { + activateShell(shell); + removeReferencesTable(viewID, newValue); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param newValue the element to select + * @throws WidgetInvalidException error during selection + */ + public void removeReferencesTable(String viewID, int tableIndex) throws WidgetInvalidException { + try { + tableWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).select(tableIndex); + helper.removeButtonReferencesTable(viewID).click(); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue + * the new value to set to the feature + */ + public void editAdvancedEObjectFlatComboViewerFeature(SWTBotShell shell, String viewID, Object value) { + activateShell(shell); + editAdvancedEObjectFlatComboViewer(viewID, value); + closeShellWithFinishButton(shell); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + */ + public void removeAdvancedEObjectFlatComboViewerFeature(SWTBotShell shell, String viewID) { + activateShell(shell); + removeAdvancedEObjectFlatComboViewer(viewID); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param tableIndex the element to select + * @throws WidgetInvalidException error during selection + */ + public void removeFlatReferencesTableFeature(SWTBotShell shell, String viewID) throws WidgetInvalidException { + activateShell(shell); + removeFlatReferencesTable(viewID); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @throws WidgetInvalidException error during selection + */ + public void removeFlatReferencesTable(String viewID) throws WidgetInvalidException { + buttonWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).click(); + try { + table(1).select(0); + button(EMFEditUIPlugin.INSTANCE.getString("_UI_Remove_label")).click(); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + button(UIConstants.OK_BUTTON).click(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @throws WidgetInvalidException + */ + public void removeEObjectFlatComboViewerFeature(SWTBotShell shell, String viewID) throws WidgetInvalidException { + activateShell(shell); + removeEObjectFlatComboViewer(viewID); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @throws WidgetInvalidException + */ + public void removeEObjectFlatComboViewer(String viewID) throws WidgetInvalidException { + buttonWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).click(); + try { + table().select(0); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + button(UIConstants.OK_BUTTON).click(); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param tableIndex the element to select + * @throws WidgetInvalidException error during selection + */ + public void removePropertyFlatReferencesTableFeature(SWTBotView propertyView, String viewID, SWTBotTreeItem selectNode) throws WidgetInvalidException { + removeFlatReferencesTable(viewID); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @throws WidgetInvalidException + */ + public void removePropertyEObjectFlatComboViewerFeature(SWTBotView propertyView, String viewID, SWTBotTreeItem selectNode) throws WidgetInvalidException { + removeEObjectFlatComboViewer(viewID); + selectNode.select(); + } + + /** + * @param viewID the edited advEOFCV + * @return the browse button of the given advEOFCV + */ + public SWTBotButton browseButtonAdvancedEObjectFlatComboViewer(String viewID) { + return helper.browseButtonAdvancedEObjectFlatComboViewer(viewID); + } + + /** + * @param viewID the edited advEOFCV + * @return the remove button of the given advEOFCV + */ + public SWTBotButton removeButtonAdvancedEObjectFlatComboViewer(String viewID) { + return helper.removeButtonAdvancedEObjectFlatComboViewer(viewID); + } + + /** + * @param viewID the edited advEOFCV + * @return the remove button of the given advEOFCV + */ + public void removeAdvancedEObjectFlatComboViewer(String viewID) { + removeButtonAdvancedEObjectFlatComboViewer(viewID).click(); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param newValue the newValue to set + */ + public void editAdvancedEObjectFlatComboViewer(String viewID, Object newValue) { + browseButtonAdvancedEObjectFlatComboViewer(viewID).click(); + cTabItem(EEFRuntimeUIMessages.TabElementTreeSelectionDialog_all_resources_tab_title).activate(); + cTabItem(EEFRuntimeUIMessages.TabElementTreeSelectionDialog_all_resources_tab_title).setFocus(); + selectNode(tree(), (EObject)newValue); + button(UIConstants.OK_BUTTON).click(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the value to add to the feature + */ + public void editAdvancedReferencesTableFeature(SWTBotShell shell, String viewID, Object value) { + activateShell(shell); + editAdvancedReferencesTable(viewID, value); + closeShellWithFinishButton(shell); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the value to add to the feature + */ + public void editMultiValuedEditorFeature(SWTBotShell shell, String viewID, String newValue) { + activateShell(shell); + editMultiValuedEditor(viewID, newValue); + closeShellWithFinishButton(shell); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the value to add to the feature + */ + public void editMultiValuedEditor(String viewID, List<String> values) { + buttonWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).click(); + for (String string : values) { + text().setText(string); + button(EMFEditUIPlugin.INSTANCE.getString("_UI_Add_label")).click(); + } + button(UIConstants.OK_BUTTON).click(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param viewID the ID of the ElementEditor to edit + * @param newValue the value to add to the feature + */ + public void editMultiValuedEditor(String viewID, String newValue) { + buttonWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).click(); + text().setText(newValue); + button(EMFEditUIPlugin.INSTANCE.getString("_UI_Add_label")).click(); + button(UIConstants.OK_BUTTON).click(); + } + + /** + * @param viewID the edited advEOFCV + * @return the browse button of the given advEOFCV + */ + public SWTBotButton addButtonAdvancedReferencesTable(String viewID) { + return helper.addButtonAdvancedReferencesTable(viewID); + } + + /** + * @param viewID the edited advEOFCV + * @return the remove button of the given advEOFCV + */ + public SWTBotButton removeButtonAdvancedReferencesTable(String viewID) { + return helper.removeButtonAdvancedReferencesTable(viewID); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param value the value to add + */ + public void editAdvancedReferencesTable(String viewID, Object value) { + addButtonAdvancedReferencesTable(viewID).click(); + cTabItem(EEFRuntimeUIMessages.TabElementTreeSelectionDialog_all_resources_tab_title).activate(); + cTabItem(EEFRuntimeUIMessages.TabElementTreeSelectionDialog_all_resources_tab_title).setFocus(); + selectNode(tree(), (EObject)value); + button(UIConstants.OK_BUTTON).click(); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param value the values to add + */ + public void editAdvancedReferencesTableValues(String viewID, List values) { + for (Object value : values) { + editAdvancedReferencesTable(viewID, value); + } + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + * @throws WidgetInvalidException + */ + public void removeAdvancedReferencesTableFeature(SWTBotShell shell, String viewID, Object value) throws WidgetInvalidException { + activateShell(shell); + removeAdvancedReferencesTable(viewID, value); + closeShellWithFinishButton(shell); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue + * the new value to set to the feature + * @throws WidgetInvalidException + */ + public void removeAdvancedTableCompositionFeature(SWTBotShell shell, String viewID) + throws WidgetInvalidException { + activateShell(shell); + removeAdvancedTableComposition(viewID); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the edited advEOFCV + * @return the browse button of the given advEOFCV + */ + public SWTBotButton addButtonTableComposition(String viewID) { + return helper.addButtonTableComposition(viewID); + } + + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @throws WidgetInvalidException + */ + public void removeTableCompositionFeature(SWTBotShell shell, String viewID) throws WidgetInvalidException { + activateShell(shell); + removeTableComposition(viewID); + closeShellWithFinishButton(shell); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @throws WidgetInvalidException + */ + public void removeTableComposition(String viewID) throws WidgetInvalidException { + try { + tableWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).select(0); + helper.removeButtonTableComposition(viewID).click(); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + } + + /** + * @param viewID the edited advEOFCV + * @return the browse button of the given advEOFCV + */ + public SWTBotButton addButtonAdvancedTableComposition(String viewID) { + return helper.addButtonAdvancedTableComposition(viewID); + } + + /** + * @param viewID the edited advEOFCV + * @return the remove button of the given advEOFCV + */ + public SWTBotButton removeButtonAdvancedTableComposition(String viewID) { + return helper.removeButtonAdvancedTableComposition(viewID); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue + * the new value to set to the feature + * @throws WidgetInvalidException + */ + public void removePropertyAdvancedTableCompositionFeature(SWTBotView propertyView, String viewID, + Object value, SWTBotTreeItem selectNode) throws WidgetInvalidException { + removeAdvancedTableComposition(viewID, value); + selectNode.select(); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param value the value to remove + * @throws WidgetInvalidException error during widget search + */ + public void removeAdvancedTableComposition(String viewID, Object value) throws WidgetInvalidException { + try { + tableWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).select(0); + removeButtonAdvancedTableComposition(viewID).click(); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + } + + /** + * Remove a value from a TableComposition + * @param viewID the ID of the ElementEditor to edit + * @throws WidgetInvalidException + */ + public void removeAdvancedTableComposition(String viewID) throws WidgetInvalidException { + try { + tableWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).select(0); + removeButtonAdvancedTableComposition(viewID).click(); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param value the value to remove + * @throws WidgetInvalidException error during widget search + */ + public void removeAdvancedReferencesTable(String viewID, Object value) throws WidgetInvalidException { + try { + tableWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).select(0); + removeButtonAdvancedReferencesTable(viewID).click(); + } catch (Exception e) { + // empty table + throw new WidgetInvalidException(); + } + } + + /** + * @param viewID the ID of the ElementEditor to edit + */ + private void editEEFCheckbox(String viewID) { + checkBoxWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).click(); + } + + /** + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set + */ + public void editCheckBox(String viewID, boolean newValue) { + if (newValue) { + checkBoxWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).select(); + } else { + checkBoxWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).deselect(); + } + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param propertyView the properties view + * @param viewID the ID of the ElementEditor to edit + * @param selectNode the SWTBotTreeItem in the treeview model + */ + public void editPropertyEEFCheckbox(SWTBotView propertyView, String viewID, SWTBotTreeItem selectNode) { + SWTBot propertyBot = propertyView.bot(); + propertyBot.checkBoxWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).click(); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param propertyView the properties view + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + * @param selectNode the SWTBotTreeItem in the treeview model + */ + public void editPropertyEMFComboViewerFeature(SWTBotView propertyView, String viewID, Object newValue, SWTBotTreeItem selectNode) { + SWTBot propertyBot = propertyView.bot(); + propertyBot.comboBoxWithId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID).setSelection(newValue.toString()); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param propertyView the properties view + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + * @param selectNode the SWTBotTreeItem in the treeview model + * @throws WidgetInvalidException + */ + public void editPropertyFlatReferencesTableFeature(SWTBotView propertyView, String viewID, int newValue, SWTBotTreeItem selectNode) throws WidgetInvalidException { + editFlatReferencesTable(viewID, newValue); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param tableIndex the new value to set to the feature + * @throws WidgetInvalidException + */ + public void editPropertyEObjectFlatComboViewerFeature(SWTBotView propertyView, String viewID, int tableIndex, SWTBotTreeItem selectNode) throws WidgetInvalidException { + editEObjectFlatComboViewer(viewID, tableIndex); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + * @throws WidgetInvalidException + */ + public void editPropertyReferencesTableFeature(SWTBotView propertyView, String viewID, int newValue, SWTBotTreeItem selectNode) throws WidgetInvalidException { + editReferencesTable(viewID, newValue); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param view the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + * @throws WidgetInvalidException + */ + public void removePropertyReferencesTableFeature(SWTBotView propertyView, String viewID, int newValue, SWTBotTreeItem selectNode) throws WidgetInvalidException { + removeReferencesTable(viewID, newValue); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @throws WidgetInvalidException + */ + public void removePropertyTableCompositionFeature(SWTBotView propertyView, String viewID, SWTBotTreeItem selectNode) throws WidgetInvalidException { + removeTableComposition(viewID); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + */ + public void editPropertyAdvancedEObjectFlatComboViewerFeature(SWTBotView propertyView, String viewID, Object value, SWTBotTreeItem selectNode) { + editAdvancedEObjectFlatComboViewer(viewID, value); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell + * the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue + * the new value to set to the feature + */ + public void removePropertyAdvancedEObjectFlatComboViewerFeature(SWTBotView propertyView, String viewID, SWTBotTreeItem selectNode) { + removeAdvancedEObjectFlatComboViewer(viewID); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param value the value to add to the feature + */ + public void editPropertyAdvancedReferencesTableFeature(SWTBotView propertyView, String viewID, Object value, SWTBotTreeItem selectNode) { + editAdvancedReferencesTable(viewID, value); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param shell the shell of the edited wizard + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + * @throws WidgetInvalidException + */ + public void removePropertyAdvancedReferencesTableFeature(SWTBotView propertyView, String viewID, Object value, SWTBotTreeItem selectNode) throws WidgetInvalidException { + removeAdvancedReferencesTable(viewID, value); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param propertyView the properties view + * @param viewID the ID of the ElementEditor to edit + * @param newValue the new value to set to the feature + * @param selectNode + * the SWTBotTreeItem in the treeview model + */ + public void editPropertyRadioFeature(SWTBotView propertyView, String viewID, Object newValue, SWTBotTreeItem selectNode) { + SWTEEFBotHelper propertyHelper = new SWTEEFBotHelper(propertyView.bot()); + propertyHelper.radioWithIdAndMnemonic(viewID, newValue.toString()).click(); + selectNode.select(); + } + + /** + * Edit the value of the EEF Wizard to give the <i>feature</i> the value <i>newValue</i> + * + * @param propertyView + * the properties view + * @param feature + * the feature to edit + * @param selectNode + * the SWTBotTreeItem in the treeview model + */ + public void editPropertyMultiValuedEditorFeature(SWTBotView propertyView, String label, String value, + SWTBotTreeItem selectNode) { + // SWTBot propertyBot = propertyView.bot(); + editMultiValuedEditor(label, value); + selectNode.select(); + } + + public void openPropertiesView() { + menu(UIConstants.WINDOW_MENU).menu(UIConstants.SHOW_VIEW_MENU).menu(UIConstants.OTHER_MENU).click(); + + SWTBotShell shell = shell(UIConstants.SHOW_VIEW_MENU); + activateShell(shell); + + SWTBotTree viewSelectionTree = tree(); + viewSelectionTree.expandNode(UIConstants.GENERAL_MENU).select(UIConstants.PROPERTIES_VIEW_NAME); + button(UIConstants.OK_BUTTON).click(); + waitUntil(Conditions.shellCloses(shell)); + } + + public void openJavaPerspective() { + menu(UIConstants.WINDOW_MENU).menu(UIConstants.OPEN_PERSPECTIVE_MENU).menu(UIConstants.OTHER_MENU) + .click(); + SWTBotShell openPerspectiveShell = shell(UIConstants.OPEN_PERSPECTIVE_MENU); + activateShell(openPerspectiveShell); + + try { + table().select(UIConstants.JAVA_LABEL); + } catch (IllegalArgumentException e) { + table().select(UIConstants.JAVA_DEFAULT_LABEL); + } + button(UIConstants.OK_BUTTON).click(); + } + + /** + * This method close the welcome page if we use the workspace of test for the first time + */ + public void closeWelcomePage() { + try { + viewByTitle(UIConstants.WELCOME_LABEL).close(); + } catch (WidgetNotFoundException e) { + // do nothing + } + } + + /***************************************************************************** + * * Bot utils * * + *****************************************************************************/ + + /** + * Active the main shell (Workbench shell) + */ + protected void activateEclipseShell() { + SWTBotShell[] shells = shells(); + if (shells.length > 0) + // Heuristic : the eclipse shell is the first shell + shells[0].activate(); + } + + /** + * @param modelElement + * the element to process + * @return a list containing the element to expand + */ + private List<Object> getExpansionPath(EObject modelElement) { + List<Object> result = new ArrayList<Object>(); + result.add(modelElement); + EObject container = modelElement.eContainer(); + while (container != null) { + result.add(0, container); + container = container.eContainer(); + } + return result; + } + + /** + * @param file + * the file to process + * @return a list containing the element to expand + */ + private List<IResource> getExpansionPath(IFile file) { + List<IResource> result = new ArrayList<IResource>(); + result.add(file); + IContainer container = file.getParent(); + while (container != null && !(container instanceof IProject)) { + result.add(0, container); + container = container.getParent(); + } + if (container instanceof IProject) + result.add(0, container); + return result; + } + + /** + * Return the label of the given IResource + * + * @param resource + * the resource to process + * @return the label of the resource + */ + private String getNodeText(IResource resource) { + return resource.getName(); + } + + /** + * Select the object <code>next</code> as a subnode of the <code>currentNode</code> + * + * @param currentNode + * the currentNode + * @param next + * the subnode to select + * @return the selected node + */ + private SWTBotTreeItem selectSubNode(SWTBotTreeItem currentNode, Object next) { + AdapterFactory adapterFactory = EEFRuntimePlugin.getDefault().getAdapterFactory(); + IItemLabelProvider labelProvider = (IItemLabelProvider)adapterFactory.adapt(next, + IItemLabelProvider.class); + String text = labelProvider.getText(next); + SWTBotTreeItem node2 = currentNode.getNode(text); + node2.select(); + return node2; + } +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/finder/SWTEEFBotHelper.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/finder/SWTEEFBotHelper.java new file mode 100644 index 000000000..47b19b8d2 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/finder/SWTEEFBotHelper.java @@ -0,0 +1,141 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.swtbot.finder; + +import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.allOf; +import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.widgetOfType; +import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.withId; +import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.withMnemonic; +import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.withStyle; + +import org.eclipse.emf.eef.runtime.ui.UIConstants; +import org.eclipse.swt.SWT; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Widget; +import org.eclipse.swtbot.swt.finder.SWTBot; +import org.eclipse.swtbot.swt.finder.widgets.SWTBotButton; +import org.eclipse.swtbot.swt.finder.widgets.SWTBotRadio; +import org.hamcrest.Matcher; + +/** + * @author <a href="mailto:goulwen.lefur@obeo.fr">Goulwen Le Fur</a> + */ +public class SWTEEFBotHelper { + + private SWTBot bot; + + /** + * @param bot + */ + public SWTEEFBotHelper(SWTBot bot) { + super(); + this.bot = bot; + } + + + /** + * @param viewID the edited advEOFCV + * @return the browse button of the given advEOFCV + */ + public SWTBotButton browseButtonAdvancedEObjectFlatComboViewer(String viewID) { + return new SWTBotButton((Button)bot.widget(allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::AdvancedEObjectFlatComboViewer::browsebutton")))); + } + + /** + * @param viewID the edited advEOFCV + * @return the remove button of the given advEOFCV + */ + public SWTBotButton removeButtonAdvancedEObjectFlatComboViewer(String viewID) { + return new SWTBotButton((Button)bot.widget(allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::AdvancedEObjectFlatComboViewer::removebutton")))); + } + + /** + * @param viewID the edited advReferencesTable + * @return the add button of the given advReferencesTable + */ + public SWTBotButton addButtonAdvancedReferencesTable(String viewID) { + return new SWTBotButton((Button)bot.widget(allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::AdvancedReferencesTable::addbutton")))); + } + + /** + * @param viewID the edited advReferencesTable + * @return the remove button of the given advReferencesTable + */ + public SWTBotButton removeButtonAdvancedReferencesTable(String viewID) { + return new SWTBotButton((Button)bot.widget(allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::AdvancedReferencesTable::removebutton")))); + } + + /** + * @param viewID the edited advTableComposition + * @return the add button of the given advTableComposition + */ + public SWTBotButton addButtonAdvancedTableComposition(String viewID) { + Matcher<Widget> allOf = allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::AdvancedTableComposition::addbutton")); + return new SWTBotButton((Button)bot.widget(allOf)); + } + + /** + * @param viewID the edited advTableComposition + * @return the remove button of the given advTableComposition + */ + public SWTBotButton removeButtonAdvancedTableComposition(String viewID) { + return new SWTBotButton((Button)bot.widget( + allOf(widgetOfType(Button.class), + withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), + withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::AdvancedTableComposition::removebutton")))); + } + + /** + * @param viewID the edited radio + * @param mnemonicText the mnemonic to select + * @return the radio to select + */ + public SWTBotRadio radioWithIdAndMnemonic(String viewID, String mnemonicText) { + Matcher matcher = allOf(withId(UIConstants.EEF_WIDGET_ID_KEY, viewID), widgetOfType(Button.class), withMnemonic(mnemonicText), withStyle(SWT.RADIO, "SWT.RADIO")); + return new SWTBotRadio((Button) bot.widget(matcher), matcher); + } + + /** + * @param viewID the edited ReferencesTable + * @return the browse button of the given ReferencesTable + */ + public SWTBotButton addButtonReferencesTable(String viewID) { + return new SWTBotButton((Button)bot.widget(allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::ReferencesTable::addbutton")))); + } + + /** + * @param viewID the edited ReferencesTable + * @return the remove button of the given ReferencesTable + */ + public SWTBotButton removeButtonReferencesTable(String viewID) { + return new SWTBotButton((Button)bot.widget(allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::ReferencesTable::removebutton")))); + } + + + /** + * @param viewID the edited ReferencesTable + * @return the add button of the given ReferencesTable + */ + public SWTBotButton addButtonTableComposition(String viewID) { + Matcher<Widget> allOf = allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::TableComposition::addbutton")); + return new SWTBotButton((Button)bot.widget(allOf)); + } + + /** + * @param viewID the edited ReferencesTable + * @return the remove button of the given ReferencesTable + */ + public SWTBotButton removeButtonTableComposition(String viewID) { + Matcher<Widget> allOf = allOf(widgetOfType(Button.class), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_ID_KEY, viewID), withId(org.eclipse.emf.eef.runtime.ui.UIConstants.EEF_WIDGET_TYPE_KEY, "eef::TableComposition::removebutton")); + return new SWTBotButton((Button)bot.widget(allOf)); + } + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/utils/ModelHelper.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/utils/ModelHelper.java new file mode 100644 index 000000000..c9a77bc20 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/utils/ModelHelper.java @@ -0,0 +1,71 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.swtbot.utils; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils; + +/** + * @author <a href="mailto:goulwen.lefur@obeo.fr">Goulwen Le Fur</a> + * + */ +public class ModelHelper { + + private AdapterFactory adapterFactory; + + /** + * @param adapterFactory + */ + public ModelHelper(AdapterFactory adapterFactory) { + this.adapterFactory = adapterFactory; + } + + + + /** + * @param eObj + * @param feature + * @return + */ + public Object anotherValue(EObject eObj, EStructuralFeature feature) { + if (feature instanceof EReference) { + Object choiceOfValues = EEFUtils.choiceOfValues(adapterFactory, eObj, feature); + if (choiceOfValues instanceof Collection) { + for (Object next : (Collection<?>)choiceOfValues) { + if (next != eObj.eGet(feature)) + return next; + } + } + return choiceOfValues; + } else if (feature instanceof EAttribute) { + if (feature.getEType().equals(EcorePackage.eINSTANCE.getEString())) { + return "a" + eObj.eGet(feature); + } else if (feature.getEType().equals(EcorePackage.eINSTANCE.getEInt()) || feature.getEType().equals(EcorePackage.eINSTANCE.getEIntegerObject())) { + return 1 + (Integer)eObj.eGet(feature); + } else if (feature.getEType().equals(EcorePackage.eINSTANCE.getEShort()) || feature.getEType().equals(EcorePackage.eINSTANCE.getEShortObject())) { + return 1 + (Short)eObj.eGet(feature); + } else if (feature.getEType().equals(EcorePackage.eINSTANCE.getEDouble()) || feature.getEType().equals(EcorePackage.eINSTANCE.getEDoubleObject())) { + return 1.0d + (Double)eObj.eGet(feature); + } else if (feature.getEType().equals(EcorePackage.eINSTANCE.getEBoolean()) || feature.getEType().equals(EcorePackage.eINSTANCE.getEBooleanObject())) { + return !(Boolean)eObj.eGet(feature); + } + } + return null; + } + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/utils/SWTBotUtils.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/utils/SWTBotUtils.java new file mode 100644 index 000000000..ce2ae2f96 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/swtbot/utils/SWTBotUtils.java @@ -0,0 +1,212 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ + +package org.eclipse.emf.eef.runtime.tests.swtbot.utils; + +import java.util.List; + +import org.eclipse.swt.SWT; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Event; +import org.eclipse.swt.widgets.Text; +import org.eclipse.swt.widgets.Widget; +import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot; +import org.eclipse.swtbot.eclipse.finder.matchers.WidgetMatcherFactory; +import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable; +import org.eclipse.swtbot.swt.finder.results.VoidResult; +import org.eclipse.swtbot.swt.finder.utils.SWTUtils; +import org.eclipse.swtbot.swt.finder.waits.Conditions; +import org.eclipse.swtbot.swt.finder.waits.WaitForObjectCondition; +import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList; +import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList.ListElement; +import org.hamcrest.Matcher; + +/** + * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a> + * + */ +public class SWTBotUtils { + /** + * SWTWorkbenchBot + */ + private static SWTWorkbenchBot bot = new SWTWorkbenchBot(); + + + /** + * Press the enter key + * + * @param widget + * @throws Exception + */ + public static void pressEnterKey(final Widget widget) { + UIThreadRunnable.asyncExec(new VoidResult() { + public void run() { + widget.notifyListeners(SWT.KeyDown, keyEvent(SWT.NONE, SWT.CR, + SWT.Selection, widget)); + } + }); + } + + public static void sendFocusLost(final Widget widget) { + UIThreadRunnable.asyncExec(new VoidResult() { + public void run() { + Event event = createEvent(widget); + event.type = SWT.FocusOut; + + widget.notifyListeners(SWT.FocusOut, event); + } + }); + } + + + /** + * Press the enter key + * + * @param widget + * @throws Exception + */ + public static void pressEnterKeyInTabContainer(final Widget widget) { + UIThreadRunnable.asyncExec(new VoidResult() { + public void run() { + searchTabContainer(widget).notifyListeners(SWT.Traverse, keyEvent(SWT.NONE, SWT.CR, + SWT.Selection, widget)); + } + }); + } + + private static Composite searchTabContainer(final Widget wid) { + Composite parent = ((Text)wid).getParent(); + while (parent != null) { + if (parent instanceof Composite) + return parent; + parent = parent.getParent(); + } + return null; + } + + + /** + * @param c + * the character. + * @param modificationKey + * the modification key. + * @param keyCode + * the keycode. + * @return a key event with the specified keys. + * @see Event#keyCode + * @see Event#character + * @see Event#stateMask + * @since 1.2 + */ + private static Event keyEvent(int modificationKey, char c, int keyCode, + Widget widget) { + Event keyEvent = createEvent(widget); + keyEvent.stateMask = modificationKey; + keyEvent.character = c; + keyEvent.keyCode = keyCode; + + return keyEvent; + } + + private static Event createEvent(Widget widget) { + Event event = new Event(); + event.time = (int) System.currentTimeMillis(); + event.widget = widget; + event.display = bot.getDisplay(); + return event; + } + + + /** + * Select the tab with the name label in the property views. + * + * @param label + * Label to find. + */ + // CHECKSTYLE:OFF + @SuppressWarnings( { "restriction", "unchecked" }) + // CHECKSTYLE:ON + public static void selectPropertyTabItem(final String label) { + final Matcher<TabbedPropertyList> matcher = WidgetMatcherFactory.allOf(WidgetMatcherFactory.widgetOfType(TabbedPropertyList.class)); + final List<TabbedPropertyList> widgets = widget(matcher); + + UIThreadRunnable.syncExec(SWTUtils.display(), new VoidResult() { + public void run() { + for (final TabbedPropertyList tabbedProperty : widgets) { + final ListElement tabItem = getTabItem(label, tabbedProperty); + if (tabItem != null) { + final Event mouseEvent = createEvent(tabItem, tabItem.getBounds().x, tabItem.getBounds().y, 1, SWT.BUTTON1, 1); + tabItem.notifyListeners(SWT.MouseUp, mouseEvent); + } + } + } + }); + } + + /** + * Find widget. + * + * @param matcher + * the matcher used to match widgets. + * @return all the widgets matching the matcher. + */ + @SuppressWarnings("restriction") + public static List<TabbedPropertyList> widget(final Matcher<TabbedPropertyList> matcher) { + final WaitForObjectCondition<TabbedPropertyList> waitForWidget = Conditions.waitForWidget(matcher); + bot.waitUntilWidgetAppears(waitForWidget); + return waitForWidget.getAllMatches(); + } + + /** + * Create a event <br> + * + * @param x + * the x coordinate of the mouse event. + * @param y + * the y coordinate of the mouse event. + * @param button + * the mouse button that was clicked. + * @param stateMask + * the state of the keyboard modifier keys. + * @param count + * the number of times the mouse was clicked. + * @return an event that encapsulates {@link #widget} and {@link #display} + */ + private static Event createEvent(final Widget widget, final int x, final int y, final int button, final int stateMask, final int count) { + final Event event = new Event(); + event.time = (int) System.currentTimeMillis(); + event.widget = widget; + event.display = bot.getDisplay(); + event.x = x; + event.y = y; + event.button = button; + event.stateMask = stateMask; + event.count = count; + return event; + } + + /** + * Select the tab with the name label in the property views + * + * @param label + */ + @SuppressWarnings("restriction") + private static ListElement getTabItem(final String label, final TabbedPropertyList tabbedProperty) { + for (final Object listElement : tabbedProperty.getTabList()) { + if (listElement instanceof ListElement && ((ListElement) listElement).getTabItem().getText().equals(label)) { + return (ListElement) listElement; + } + } + return null; + } + + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/actions/OpenWithEEFReflectiveEditor.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/actions/OpenWithEEFReflectiveEditor.java new file mode 100644 index 000000000..63f5fdffa --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/actions/OpenWithEEFReflectiveEditor.java @@ -0,0 +1,92 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.ui.actions; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.emf.eef.runtime.EEFRuntimePlugin; +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.IWorkbenchWindowActionDelegate; +import org.eclipse.ui.PartInitException; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.dialogs.ElementTreeSelectionDialog; +import org.eclipse.ui.model.WorkbenchContentProvider; +import org.eclipse.ui.model.WorkbenchLabelProvider; +import org.eclipse.ui.part.FileEditorInput; + +/** + * Our sample action implements workbench action delegate. The action proxy will be created by the workbench + * and shown in the UI. When the user tries to use the action, this delegate will be created and execution + * will be delegated to it. + * + * @see IWorkbenchWindowActionDelegate + */ +public class OpenWithEEFReflectiveEditor implements IWorkbenchWindowActionDelegate { + private IWorkbenchWindow window; + + /** + * The constructor. + */ + public OpenWithEEFReflectiveEditor() { + } + + /** + * The action has been activated. The argument of the method represents the 'real' action sitting in the + * workbench UI. + * + * @see IWorkbenchWindowActionDelegate#run + */ + public void run(IAction action) { + ElementTreeSelectionDialog workspaceJarSelectionDialog = new ElementTreeSelectionDialog(window + .getShell(), new WorkbenchLabelProvider(), new WorkbenchContentProvider()); + workspaceJarSelectionDialog.setInput(ResourcesPlugin.getWorkspace().getRoot()); + workspaceJarSelectionDialog.setTitle("Select the file to open with the EEF Reflective Editor"); + workspaceJarSelectionDialog.open(); + + Object firstResult = workspaceJarSelectionDialog.getFirstResult(); + + if (firstResult instanceof IFile) + try { + PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor( + new FileEditorInput((IFile)firstResult), "org.eclipse.emf.eef.reflect.editor"); + } catch (PartInitException e) { + EEFRuntimePlugin.getDefault().logError("Unable to open file with EEF Reflective Editor", e); + } + } + + /** + * Selection in the workbench has been changed. We can change the state of the 'real' action here if we + * want, but this can only happen after the delegate has been created. + * + * @see IWorkbenchWindowActionDelegate#selectionChanged + */ + public void selectionChanged(IAction action, ISelection selection) { + } + + /** + * We can use this method to dispose of any system resources we previously allocated. + * + * @see IWorkbenchWindowActionDelegate#dispose + */ + public void dispose() { + } + + /** + * We will cache window object in order to be able to provide parent shell for the message dialog. + * + * @see IWorkbenchWindowActionDelegate#init + */ + public void init(IWorkbenchWindow window) { + this.window = window; + } +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/editors/EEFReflectiveEditor.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/editors/EEFReflectiveEditor.java new file mode 100644 index 000000000..704dbdcda --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/editors/EEFReflectiveEditor.java @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.ui.editors; + +import org.eclipse.emf.ecore.presentation.EcoreEditor; +import org.eclipse.emf.eef.runtime.ui.notify.OpenWizardOnDoubleClick; +import org.eclipse.ui.views.properties.IPropertySheetPage; +import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +/** + * @author <a href="mailto:goulwen.lefur@obeo.fr">Goulwen Le Fur</a> + */ +public class EEFReflectiveEditor extends EcoreEditor implements ITabbedPropertySheetPageContributor { + + protected TabbedPropertySheetPage propertySheet; + + /* (non-Javadoc) + * @see org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor#getContributorId() + */ + public String getContributorId() { + return "org.eclipse.emf.eef.reflect.editor"; + } + + /* (non-Javadoc) + * @see org.eclipse.emf.ecore.presentation.EcoreEditor#createPages() + */ + @Override + public void createPages() { + super.createPages(); + selectionViewer.addDoubleClickListener(new OpenWizardOnDoubleClick(editingDomain, adapterFactory)); + } + + /* (non-Javadoc) + * @see org.eclipse.emf.ecore.presentation.EcoreEditor#getPropertySheetPage() + */ + @Override + public IPropertySheetPage getPropertySheetPage() { + if (propertySheet == null) + propertySheet = new TabbedPropertySheetPage(this); + return propertySheet; + } + + + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/properties/section/EEFReflectiveEditionSection.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/properties/section/EEFReflectiveEditionSection.java new file mode 100644 index 000000000..948dc38ee --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/ui/properties/section/EEFReflectiveEditionSection.java @@ -0,0 +1,247 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.ui.properties.section; + +import java.util.List; + +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.edit.domain.EditingDomain; +import org.eclipse.emf.edit.domain.IEditingDomainProvider; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.eef.runtime.api.adapters.SemanticAdapter; +import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent; +import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent; +import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionListener; +import org.eclipse.emf.eef.runtime.context.impl.DomainPropertiesEditionContext; +import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider; +import org.eclipse.emf.eef.runtime.ui.viewers.PropertiesEditionContentProvider; +import org.eclipse.emf.eef.runtime.ui.viewers.PropertiesEditionMessageManager; +import org.eclipse.emf.eef.runtime.ui.viewers.PropertiesEditionViewer; +import org.eclipse.jface.dialogs.IMessageProvider; +import org.eclipse.jface.viewers.IFilter; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.swt.SWT; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.forms.widgets.Form; +import org.eclipse.ui.views.properties.tabbed.AbstractPropertySection; +import org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +/** + * @author <a href="mailto:goulwen.lefur@obeo.fr">Goulwen Le Fur</a> + */ +public class EEFReflectiveEditionSection extends AbstractPropertySection implements IFilter, IPropertiesEditionListener { + + /** + * the property sheet page for this section. + */ +// private TabbedPropertySheetPage propertySheetPage; + + /** + * the section's parent + */ + protected Composite parent; + + /** + * The section's viewer + */ + protected PropertiesEditionViewer viewer; + + /** + * The editingDomain where the viewer must perform editing commands. + */ + private EditingDomain editingDomain; + + /** + * The current selected object or the first object in the selection when multiple objects are selected. + */ + protected EObject eObject; + + /** + * The list of current selected objects. + */ + protected List eObjectList; + + /** + * The form containing the viewer + */ + private Form scrolledForm; + + /** + * Manager for error message + */ + private PropertiesEditionMessageManager messageManager; + + /** + * global register edition provider + */ + private AdapterFactory adapterFactory; + + private IPropertiesEditionComponent propertiesEditionComponent; + + /** + * @return the associated ProviderEditionProvider + */ + public PropertiesEditingProvider getProvider(EObject eObject) { + return (PropertiesEditingProvider) getAdapterFactory().adapt(eObject, PropertiesEditingProvider.class); + } + + + /** + * + */ + private AdapterFactory getAdapterFactory() { + if (adapterFactory == null) + adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE); + return adapterFactory; + } + + + /** + * @see org.eclipse.ui.views.properties.tabbed.ISection#createControls(org.eclipse.swt.widgets.Composite, + * org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage) + */ + public void createControls(Composite parent, TabbedPropertySheetPage aTabbedPropertySheetPage) { + super.createControls(parent, aTabbedPropertySheetPage); +// this.propertySheetPage = aTabbedPropertySheetPage; + this.parent = parent; + scrolledForm = getWidgetFactory().createForm(parent); + scrolledForm.getBody().setLayout(new GridLayout()); + scrolledForm.getBody().setLayoutData(new GridData(GridData.FILL_BOTH)); + Composite container = getWidgetFactory().createComposite(scrolledForm.getBody()); + GridLayout containerLayout = new GridLayout(); + container.setLayout(containerLayout); + container.setLayoutData(new GridData(GridData.FILL_BOTH)); + getWidgetFactory().decorateFormHeading(scrolledForm); + viewer = new PropertiesEditionViewer(container, null, SWT.NONE, 1); + viewer.setToolkit(getWidgetFactory()); + viewer.setDynamicTabHeader(true); + getWidgetFactory().decorateFormHeading(scrolledForm); + messageManager = new PropertiesEditionMessageManager() { + + @Override + protected void updateStatus(String message) { + if (message != null) + scrolledForm.setMessage(message, IMessageProvider.ERROR); + else + scrolledForm.setMessage(""); //$NON-NLS-1$ + } + }; + } + + /** + * @see org.eclipse.ui.views.properties.tabbed.ISection#setInput(org.eclipse.ui.IWorkbenchPart, + * org.eclipse.jface.viewers.ISelection) + */ + public void setInput(IWorkbenchPart part, ISelection selection) { + super.setInput(part, selection); + initializeEditingDomain(part); + PropertiesEditionContentProvider propertiesEditionContentProvider = new PropertiesEditionContentProvider(getAdapterFactory(), IPropertiesEditionComponent.LIVE_MODE, editingDomain); + viewer.setContentProvider(propertiesEditionContentProvider); + if (!(selection instanceof IStructuredSelection)) { + return; + } + if (resolveSemanticObject(((IStructuredSelection)selection).getFirstElement()) != null) { + EObject newEObject = resolveSemanticObject(((IStructuredSelection)selection).getFirstElement()); + if (newEObject != eObject) { + eObject = newEObject; + if (eObject != null) { + disposeComponent(); + viewer.setInput(new DomainPropertiesEditionContext(null, null, editingDomain, adapterFactory, eObject)); + } + } + } + eObjectList = ((IStructuredSelection)selection).toList(); + } + + private void disposeComponent() { + if (propertiesEditionComponent != null) { + propertiesEditionComponent.dispose(); + } + } + + private void initializeEditingDomain(IWorkbenchPart part) { + if (part instanceof ITabbedPropertySheetPageContributor) { + ITabbedPropertySheetPageContributor editor = (ITabbedPropertySheetPageContributor)part; + if (editor instanceof IEditorPart) { + if (editor instanceof IEditingDomainProvider) + editingDomain = ((IEditingDomainProvider)editor).getEditingDomain(); + else if ((((IEditorPart)editor).getAdapter(IEditingDomainProvider.class)) != null) + editingDomain = ((IEditingDomainProvider)((IEditorPart)editor) + .getAdapter(IEditingDomainProvider.class)).getEditingDomain(); + else if ((((IEditorPart)editor).getAdapter(EditingDomain.class)) != null) + editingDomain = (EditingDomain)((IEditorPart)editor).getAdapter(EditingDomain.class); + } + } + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.ui.views.properties.tabbed.AbstractPropertySection#dispose() + */ + public void dispose() { + super.dispose(); + disposeComponent(); + } + + /** + * @param object + * @return + */ + private EObject resolveSemanticObject(Object object) { + if (object instanceof EObject) { + return (EObject)object; + } else if (object instanceof IAdaptable) { + IAdaptable adaptable = (IAdaptable)object; + if (adaptable.getAdapter(SemanticAdapter.class) != null) { + SemanticAdapter semanticAdapter = (SemanticAdapter)adaptable + .getAdapter(SemanticAdapter.class); + return semanticAdapter.getEObject(); + } else if (adaptable.getAdapter(EObject.class) != null) { + return (EObject)adaptable.getAdapter(EObject.class); + } + } + return null; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.jface.viewers.IFilter#select(java.lang.Object) + */ + public boolean select(Object toTest) { + EObject eObj = resolveSemanticObject(toTest); + if (eObj != null) { + return getProvider(eObj) != null; + } + return false; + } + + public void firePropertiesChanged(IPropertiesEditionEvent event) { + handleChange(event); + } + + private void handleChange(IPropertiesEditionEvent event) { + // do not handle changes if you are in initialization. +// if (viewer.isInitializing()) +// return; + messageManager.processMessage(event); + } + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/EEFTestsModelsUtils.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/EEFTestsModelsUtils.java new file mode 100644 index 000000000..db0c903b9 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/EEFTestsModelsUtils.java @@ -0,0 +1,93 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.utils; + +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; + +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.util.EcoreUtil; + +/** + * @author <a href="mailto:goulwen.lefur@obeo.fr">Goulwen Le Fur</a> + * + */ +public class EEFTestsModelsUtils { + + /** + * Return the first EObject of the given type in the resource. + * @param resource the resource to process + * @param eClass the type to search + * @return the first founded EObject <code>null</code> otherwise. + */ + public static EObject getFirstInstanceOf(Resource resource, EClass eClass) { + if (resource != null && eClass != null) { + TreeIterator<Object> allContents = EcoreUtil.getAllContents(resource, true); + for (Iterator<Object> iterator = allContents; iterator.hasNext();) { + Object object = iterator.next(); + if (object instanceof EObject && eClass.isInstance(object)) + return (EObject) object; + } + } + return null; + } + + /** + * Return the first EObject of the given type in the resource. + * @param resource the resource to process + * @param eClass the type to search + * @return the first founded EObject <code>null</code> otherwise. + */ + public static EObject getFirstInstanceOf(List list, EClass eClass) { + if (list != null && eClass != null) { + if (!list.isEmpty()) { + return (EObject)list.get(0); + } + } + return null; + } + + /** + * Return the first EObject of the given type in the resource. + * @param resource the resource to process + * @param eClass the type to search + * @param index + * @return the first founded EObject <code>null</code> otherwise. + */ + public static EObject getInstanceOf(Resource resource, EClass eClass, int index) { + List<EObject> allInstancesOf = getAllInstancesOf(resource, eClass); + if (index < allInstancesOf.size()) + return allInstancesOf.get(index); + return null; + } + + /** + * Return all the EObject of the given type in the resource. + * @param resource the resource to process + * @param eClass the type to search + * @return the list of founded EObject <code>null</code> otherwise. + */ + public static List<EObject> getAllInstancesOf(Resource resource, EClass eClass) { + List<EObject> list = new ArrayList<EObject>(); + if (resource != null && eClass != null) { + for (Iterator<Object> iterator = EcoreUtil.getAllContents(resource, true); iterator.hasNext();) { + Object object = iterator.next(); + if (object instanceof EObject && eClass.isInstance(object)) + list.add((EObject) object); + } + } + return list; + } +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/EEFTestsResourceUtils.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/EEFTestsResourceUtils.java new file mode 100644 index 000000000..61fa580e5 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/EEFTestsResourceUtils.java @@ -0,0 +1,97 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.emf.eef.runtime.tests.utils; + +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; +import java.util.Collections; +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IFolder; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.Platform; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; + +/** + * @author <a href="mailto:goulwen.lefur@obeo.fr">Goulwen Le Fur</a> + * + */ +public class EEFTestsResourceUtils { + + /** + * Create the project for the tests + * @param projectName the name of the project + * @param folderNames the list of folder's name to initialize + * @return the created project + * @throws CoreException unable to create the project + */ + public static IProject createTestProject(String projectName, List<String> folderNames) throws CoreException { + IProject testProject = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); + NullProgressMonitor npm = new NullProgressMonitor(); + if (!testProject.exists()) + testProject.create(npm); + if (!testProject.isAccessible()) { + testProject.open(npm); + if (folderNames != null && folderNames.size() > 0) { + for (String folderName : folderNames) { + IFolder folder = testProject.getFolder(new Path(folderName)); + if (!folder.exists()) + folder.create(true, true, npm); + } + testProject.refreshLocal(IProject.DEPTH_INFINITE, npm); + } + } + return testProject; + } + + /** + * @param bundleID the bundle where to search the model + * @param modelPath the path of the model + * @param target the folder where to copy the model + * @throws IOException unable to create the file + * @throws CoreException unable to create the file + */ + public static void importModel(String bundleID, String modelPath, IFolder target) throws IOException, CoreException { + URL find = FileLocator.find(Platform.getBundle(bundleID), new Path(modelPath), Collections.EMPTY_MAP); + Path inputPath = new Path(modelPath); + Path targetPath = new Path(inputPath.lastSegment()); + IFile file = target.getFile(targetPath); + if (!file.exists()) { + InputStream openStream = find.openStream(); + file.create(openStream, true, new NullProgressMonitor()); + } + } + + /** + * Find the file corresponding to the given Resource in the workspace + * @param resource the resource to search + * @return the model file in the workspace + */ + public static IFile workspaceFile(Resource resource) { + URI uri = resource.getURI(); + if (uri.isPlatformResource()) { + IPath path = new Path(uri.toPlatformString(true)); + IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path); + return file; + } + return null; + } + +} diff --git a/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/UIConstants.java b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/UIConstants.java new file mode 100644 index 000000000..aca9c2933 --- /dev/null +++ b/plugins/org.eclipse.emf.eef.runtime.tests/src/org/eclipse/emf/eef/runtime/tests/utils/UIConstants.java @@ -0,0 +1,56 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 Obeo. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ + +package org.eclipse.emf.eef.runtime.tests.utils; + + +/** + * Regroups the UI label constants from the Eclipse UI perspective + * The resource perspective is used for all the tests. + * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a> + * + */ +public class UIConstants { + + /***************************************************************************** + * * UI Constants * * + *****************************************************************************/ + + /***************************************************************************** + * * UI Menus * * + *****************************************************************************/ + public static final String GENERAL_MENU = "General"; + public static final String OPEN_PERSPECTIVE_MENU = "Open Perspective"; + public static final String OTHER_MENU = "Other..."; + public static final String SHOW_VIEW_MENU = "Show View"; + public static final String WINDOW_MENU = "Window"; + public static final String FILE_MENU = "File"; + public static final String SAVE_MENU = "Save"; + public static final String NAVIGATE_MENU = "Navigate"; + public static final String OPEN_MENU = "Open"; + + /***************************************************************************** + * * UI Views * * + *****************************************************************************/ + public static final String PACKAGE_EXPLORER_VIEW_NAME = "Package Explorer"; + public static final String PROPERTIES_VIEW_NAME = "Properties"; + public static final String JAVA_LABEL = "Java"; + public static final String JAVA_DEFAULT_LABEL = "Java (default)"; + public static final String WELCOME_LABEL = "Welcome"; + + /***************************************************************************** + * * UI Buttons * * + *****************************************************************************/ + public static final String OK_BUTTON = "OK"; + public static final String FINISH_BUTTON = "Finish"; + public static final String ADD_BUTTON = "Add"; + +} diff --git a/plugins/org.eclipse.emf.eef.views/model/views.ecore b/plugins/org.eclipse.emf.eef.views/model/views.ecore index 0569c35d5..807201eee 100644 --- a/plugins/org.eclipse.emf.eef.views/model/views.ecore +++ b/plugins/org.eclipse.emf.eef.views/model/views.ecore @@ -75,4 +75,4 @@ eOpposite="#//toolkits/Toolkit/widgets"/>
</eClassifiers>
</eSubpackages>
-</ecore:EPackage>
\ No newline at end of file +</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/.classpath b/plugins/org.eclipse.emf.modelingbot.xtext.ui/.classpath deleted file mode 100644 index 668c0c677..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/.classpath +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src"/> - <classpathentry kind="src" path="src-gen"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.modelingbot.xtext.ui/META-INF/MANIFEST.MF deleted file mode 100644 index d0ef72cc5..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,22 +0,0 @@ -Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: org.eclipse.emf.modelingbot.xtext.ui
-Bundle-Vendor: My Company
-Bundle-Version: 1.2.0.qualifier
-Bundle-SymbolicName: org.eclipse.emf.modelingbot.xtext.ui; singleton:=true
-Bundle-ActivationPolicy: lazy
-Require-Bundle: org.eclipse.emf.modelingbot.xtext;visibility:=reexport,
- org.eclipse.xtext.ui,
- org.eclipse.ui.editors;bundle-version="3.5.0",
- org.eclipse.ui.ide;bundle-version="3.5.0",
- org.eclipse.xtext.ui.shared,
- org.eclipse.ui,
- org.antlr.runtime,
- org.eclipse.compare,
- org.eclipse.xtext.builder
-Import-Package: org.apache.log4j
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Export-Package: org.eclipse.emf.eef.ui.contentassist,
- org.eclipse.emf.eef.ui.contentassist.antlr,
- org.eclipse.emf.eef.ui.quickfix
-Bundle-Activator: org.eclipse.emf.eef.ui.internal.ModelingBotActivator
diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/build.properties b/plugins/org.eclipse.emf.modelingbot.xtext.ui/build.properties deleted file mode 100644 index e10dcceb6..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/build.properties +++ /dev/null @@ -1,5 +0,0 @@ -source.. = src/,\ - src-gen/ -bin.includes = META-INF/,\ - .,\ - plugin.xml
\ No newline at end of file diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/plugin.xml b/plugins/org.eclipse.emf.modelingbot.xtext.ui/plugin.xml deleted file mode 100644 index e565aedef..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/plugin.xml +++ /dev/null @@ -1,258 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> - -<plugin> - - <extension - point="org.eclipse.ui.editors"> - <editor - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor" - contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" - default="true" - extensions="modelingbot" - id="org.eclipse.emf.eef.ModelingBot" - name="ModelingBot Editor"> - </editor> - </extension> - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler" - commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> - <activeWhen> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </activeWhen> - </handler> - <handler - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler" - commandId="org.eclipse.emf.eef.ModelingBot.validate"> - <activeWhen> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - <extension point="org.eclipse.core.expressions.definitions"> - <definition id="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - <and> - <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> - <with variable="activeEditor"> - <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" - value="org.eclipse.emf.eef.ModelingBot" - forcePluginActivation="true"/> - </with> - </and> - </definition> - </extension> - <extension - point="org.eclipse.ui.preferencePages"> - <page - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" - id="org.eclipse.emf.eef.ModelingBot" - name="ModelingBot"> - <keywordReference id="org.eclipse.emf.eef.ui.keyword_ModelingBot"/> - </page> - <page - category="org.eclipse.emf.eef.ModelingBot" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" - id="org.eclipse.emf.eef.ModelingBot.coloring" - name="Syntax Coloring"> - <keywordReference id="org.eclipse.emf.eef.ui.keyword_ModelingBot"/> - </page> - <page - category="org.eclipse.emf.eef.ModelingBot" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" - id="org.eclipse.emf.eef.ModelingBot.templates" - name="Templates"> - <keywordReference id="org.eclipse.emf.eef.ui.keyword_ModelingBot"/> - </page> - </extension> - <extension - point="org.eclipse.ui.propertyPages"> - <page - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" - id="org.eclipse.emf.eef.ModelingBot" - name="ModelingBot"> - <keywordReference id="org.eclipse.emf.eef.ui.keyword_ModelingBot"/> - <enabledWhen> - <adapt type="org.eclipse.core.resources.IProject"/> - </enabledWhen> - <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> - </page> - </extension> - <extension - point="org.eclipse.ui.keywords"> - <keyword - id="org.eclipse.emf.eef.ui.keyword_ModelingBot" - label="ModelingBot"/> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - description="Trigger expensive validation" - id="org.eclipse.emf.eef.ModelingBot.validate" - name="Validate"> - </command> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution - locationURI="popup:#TextEditorContext?after=group.edit"> - <command - commandId="org.eclipse.emf.eef.ModelingBot.validate" - style="push" - tooltip="Trigger expensive validation"> - <visibleWhen checkEnabled="false"> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </visibleWhen> - </command> - </menuContribution> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> - <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> - <visibleWhen checkEnabled="false"> - <reference definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </visibleWhen> - </command> - </menuContribution> - </extension> - <extension point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" - commandId="org.eclipse.xtext.ui.editor.FindReferences"> - <activeWhen> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - -<!-- adding resource factories --> - - <extension - point="org.eclipse.emf.ecore.extension_parser"> - <parser - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" - type="modelingbot"> - </parser> - </extension> - <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> - <resourceServiceProvider - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" - uriExtension="modelingbot"> - </resourceServiceProvider> - </extension> - - - <!-- marker definitions for org.eclipse.emf.eef.ModelingBot --> - <extension - id="modelingbot.check.fast" - name="ModelingBot Problem" - point="org.eclipse.core.resources.markers"> - <super type="org.eclipse.xtext.ui.check.fast"/> - <persistent value="true"/> - </extension> - <extension - id="modelingbot.check.normal" - name="ModelingBot Problem" - point="org.eclipse.core.resources.markers"> - <super type="org.eclipse.xtext.ui.check.normal"/> - <persistent value="true"/> - </extension> - <extension - id="modelingbot.check.expensive" - name="ModelingBot Problem" - point="org.eclipse.core.resources.markers"> - <super type="org.eclipse.xtext.ui.check.expensive"/> - <persistent value="true"/> - </extension> - - <!-- Quick Outline --> - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" - commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> - <activeWhen> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - description="Open the quick outline." - id="org.eclipse.xtext.ui.editor.outline.QuickOutline" - name="Quick Outline"> - </command> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution - locationURI="popup:#TextEditorContext?after=group.open"> - <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" - style="push" - tooltip="Open Quick Outline"> - <visibleWhen checkEnabled="false"> - <reference definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"/> - </visibleWhen> - </command> - </menuContribution> - </extension> - - <extension point="org.eclipse.compare.contentViewers"> - <viewer id="org.eclipse.emf.eef.ModelingBot.compare.contentViewers" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" - extensions="modelingbot"> - </viewer> - </extension> - <extension point="org.eclipse.compare.contentMergeViewers"> - <viewer id="org.eclipse.emf.eef.ModelingBot.compare.contentMergeViewers" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" - extensions="modelingbot" label="ModelingBot Compare"> - </viewer> - </extension> - <extension point="org.eclipse.ui.editors.documentProviders"> - <provider id="org.eclipse.emf.eef.ModelingBot.editors.documentProviders" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider" - extensions="modelingbot"> - </provider> - </extension> - <!-- quickfix marker resolution generator for org.eclipse.emf.eef.ModelingBot --> - <extension - point="org.eclipse.ui.ide.markerResolution"> - <markerResolutionGenerator - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" - markerType="org.eclipse.emf.eef.ui.modelingbot.check.fast"> - <attribute - name="FIXABLE_KEY" - value="true"> - </attribute> - </markerResolutionGenerator> - <markerResolutionGenerator - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" - markerType="org.eclipse.emf.eef.ui.modelingbot.check.normal"> - <attribute - name="FIXABLE_KEY" - value="true"> - </attribute> - </markerResolutionGenerator> - <markerResolutionGenerator - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" - markerType="org.eclipse.emf.eef.ui.modelingbot.check.expensive"> - <attribute - name="FIXABLE_KEY" - value="true"> - </attribute> - </markerResolutionGenerator> - </extension> - -</plugin> diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/plugin.xml_gen b/plugins/org.eclipse.emf.modelingbot.xtext.ui/plugin.xml_gen deleted file mode 100644 index e565aedef..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/plugin.xml_gen +++ /dev/null @@ -1,258 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> - -<plugin> - - <extension - point="org.eclipse.ui.editors"> - <editor - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.XtextEditor" - contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" - default="true" - extensions="modelingbot" - id="org.eclipse.emf.eef.ModelingBot" - name="ModelingBot Editor"> - </editor> - </extension> - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclarationHandler" - commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> - <activeWhen> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </activeWhen> - </handler> - <handler - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.handler.ValidateActionHandler" - commandId="org.eclipse.emf.eef.ModelingBot.validate"> - <activeWhen> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - <extension point="org.eclipse.core.expressions.definitions"> - <definition id="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - <and> - <reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/> - <with variable="activeEditor"> - <test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName" - value="org.eclipse.emf.eef.ModelingBot" - forcePluginActivation="true"/> - </with> - </and> - </definition> - </extension> - <extension - point="org.eclipse.ui.preferencePages"> - <page - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" - id="org.eclipse.emf.eef.ModelingBot" - name="ModelingBot"> - <keywordReference id="org.eclipse.emf.eef.ui.keyword_ModelingBot"/> - </page> - <page - category="org.eclipse.emf.eef.ModelingBot" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.syntaxcoloring.SyntaxColoringPreferencePage" - id="org.eclipse.emf.eef.ModelingBot.coloring" - name="Syntax Coloring"> - <keywordReference id="org.eclipse.emf.eef.ui.keyword_ModelingBot"/> - </page> - <page - category="org.eclipse.emf.eef.ModelingBot" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.templates.XtextTemplatePreferencePage" - id="org.eclipse.emf.eef.ModelingBot.templates" - name="Templates"> - <keywordReference id="org.eclipse.emf.eef.ui.keyword_ModelingBot"/> - </page> - </extension> - <extension - point="org.eclipse.ui.propertyPages"> - <page - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.preferences.LanguageRootPreferencePage" - id="org.eclipse.emf.eef.ModelingBot" - name="ModelingBot"> - <keywordReference id="org.eclipse.emf.eef.ui.keyword_ModelingBot"/> - <enabledWhen> - <adapt type="org.eclipse.core.resources.IProject"/> - </enabledWhen> - <filter name="projectNature" value="org.eclipse.xtext.ui.shared.xtextNature"/> - </page> - </extension> - <extension - point="org.eclipse.ui.keywords"> - <keyword - id="org.eclipse.emf.eef.ui.keyword_ModelingBot" - label="ModelingBot"/> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - description="Trigger expensive validation" - id="org.eclipse.emf.eef.ModelingBot.validate" - name="Validate"> - </command> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution - locationURI="popup:#TextEditorContext?after=group.edit"> - <command - commandId="org.eclipse.emf.eef.ModelingBot.validate" - style="push" - tooltip="Trigger expensive validation"> - <visibleWhen checkEnabled="false"> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </visibleWhen> - </command> - </menuContribution> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution locationURI="popup:#TextEditorContext?endof=group.find"> - <command commandId="org.eclipse.xtext.ui.editor.FindReferences"> - <visibleWhen checkEnabled="false"> - <reference definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </visibleWhen> - </command> - </menuContribution> - </extension> - <extension point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.findrefs.FindReferencesHandler" - commandId="org.eclipse.xtext.ui.editor.FindReferences"> - <activeWhen> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - -<!-- adding resource factories --> - - <extension - point="org.eclipse.emf.ecore.extension_parser"> - <parser - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.resource.IResourceFactory" - type="modelingbot"> - </parser> - </extension> - <extension point="org.eclipse.xtext.extension_resourceServiceProvider"> - <resourceServiceProvider - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.resource.IResourceUIServiceProvider" - uriExtension="modelingbot"> - </resourceServiceProvider> - </extension> - - - <!-- marker definitions for org.eclipse.emf.eef.ModelingBot --> - <extension - id="modelingbot.check.fast" - name="ModelingBot Problem" - point="org.eclipse.core.resources.markers"> - <super type="org.eclipse.xtext.ui.check.fast"/> - <persistent value="true"/> - </extension> - <extension - id="modelingbot.check.normal" - name="ModelingBot Problem" - point="org.eclipse.core.resources.markers"> - <super type="org.eclipse.xtext.ui.check.normal"/> - <persistent value="true"/> - </extension> - <extension - id="modelingbot.check.expensive" - name="ModelingBot Problem" - point="org.eclipse.core.resources.markers"> - <super type="org.eclipse.xtext.ui.check.expensive"/> - <persistent value="true"/> - </extension> - - <!-- Quick Outline --> - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.outline.quickoutline.ShowQuickOutlineActionHandler" - commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline"> - <activeWhen> - <reference - definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"> - </reference> - </activeWhen> - </handler> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - description="Open the quick outline." - id="org.eclipse.xtext.ui.editor.outline.QuickOutline" - name="Quick Outline"> - </command> - </extension> - <extension point="org.eclipse.ui.menus"> - <menuContribution - locationURI="popup:#TextEditorContext?after=group.open"> - <command commandId="org.eclipse.xtext.ui.editor.outline.QuickOutline" - style="push" - tooltip="Open Quick Outline"> - <visibleWhen checkEnabled="false"> - <reference definitionId="org.eclipse.emf.eef.ModelingBot.Editor.opened"/> - </visibleWhen> - </command> - </menuContribution> - </extension> - - <extension point="org.eclipse.compare.contentViewers"> - <viewer id="org.eclipse.emf.eef.ModelingBot.compare.contentViewers" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" - extensions="modelingbot"> - </viewer> - </extension> - <extension point="org.eclipse.compare.contentMergeViewers"> - <viewer id="org.eclipse.emf.eef.ModelingBot.compare.contentMergeViewers" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.compare.InjectableViewerCreator" - extensions="modelingbot" label="ModelingBot Compare"> - </viewer> - </extension> - <extension point="org.eclipse.ui.editors.documentProviders"> - <provider id="org.eclipse.emf.eef.ModelingBot.editors.documentProviders" - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.model.XtextDocumentProvider" - extensions="modelingbot"> - </provider> - </extension> - <!-- quickfix marker resolution generator for org.eclipse.emf.eef.ModelingBot --> - <extension - point="org.eclipse.ui.ide.markerResolution"> - <markerResolutionGenerator - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" - markerType="org.eclipse.emf.eef.ui.modelingbot.check.fast"> - <attribute - name="FIXABLE_KEY" - value="true"> - </attribute> - </markerResolutionGenerator> - <markerResolutionGenerator - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" - markerType="org.eclipse.emf.eef.ui.modelingbot.check.normal"> - <attribute - name="FIXABLE_KEY" - value="true"> - </attribute> - </markerResolutionGenerator> - <markerResolutionGenerator - class="org.eclipse.emf.eef.ui.ModelingBotExecutableExtensionFactory:org.eclipse.xtext.ui.editor.quickfix.MarkerResolutionGenerator" - markerType="org.eclipse.emf.eef.ui.modelingbot.check.expensive"> - <attribute - name="FIXABLE_KEY" - value="true"> - </attribute> - </markerResolutionGenerator> - </extension> - -</plugin> diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/pom.xml b/plugins/org.eclipse.emf.modelingbot.xtext.ui/pom.xml deleted file mode 100644 index 8069316a7..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright (c) 2011 Obeo. - All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 - which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html - - Contributors: - Obeo - initial creator - --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.eclipse.emf</groupId> - <artifactId>org.eclipse.emf.eef.releng.parent</artifactId> - <relativePath>../../releng/org.eclipse.emf.eef.releng.parent</relativePath> - <version>1.3.0-SNAPSHOT</version> - </parent> - - <artifactId>org.eclipse.emf.modelingbot.xtext.ui</artifactId> - <packaging>eclipse-plugin</packaging> - - <name>UI part of the XText grammar for EEF Modeling Bot</name> - -</project> diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/AbstractModelingBotUiModule.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/AbstractModelingBotUiModule.java deleted file mode 100644 index 41369ca17..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/AbstractModelingBotUiModule.java +++ /dev/null @@ -1,122 +0,0 @@ - -/* - * generated by Xtext - */ -package org.eclipse.emf.eef.ui; - -import org.eclipse.xtext.ui.DefaultUiModule; -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * Manual modifications go to {org.eclipse.emf.eef.ui.ModelingBotUiModule} - */ -@SuppressWarnings("all") -public abstract class AbstractModelingBotUiModule extends DefaultUiModule { - - public AbstractModelingBotUiModule(AbstractUIPlugin plugin) { - super(plugin); - } - - - // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment - public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() { - return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IProposalConflictHelper> bindIProposalConflictHelper() { - return org.eclipse.xtext.ui.editor.contentassist.antlr.AntlrProposalConflictHelper.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureHighlightingLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.emf.eef.parser.antlr.internal.InternalModelingBotLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureHighlightingTokenDefProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.ITokenDefProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class); - } - - // contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment - public Class<? extends org.eclipse.xtext.ui.refactoring.IDependentElementsCalculator> bindIDependentElementsCalculator() { - return org.eclipse.xtext.ui.refactoring.impl.DefaultDependentElementsCalculator.class; - } - - // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment - public Class<? extends org.eclipse.jface.viewers.ILabelProvider> bindILabelProvider() { - return org.eclipse.emf.eef.ui.labeling.ModelingBotLabelProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment - public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.emf.eef.ui.labeling.ModelingBotDescriptionLabelProvider.class); - } - - // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment - public Class<? extends org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider> bindIOutlineTreeProvider() { - return org.eclipse.emf.eef.ui.outline.ModelingBotOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment - public Class<? extends org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider> bindIOutlineTreeStructureProvider() { - return org.eclipse.emf.eef.ui.outline.ModelingBotOutlineTreeProvider.class; - } - - // contributed by org.eclipse.xtext.ui.generator.contentAssist.JavaBasedContentAssistFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider> bindIContentProposalProvider() { - return org.eclipse.emf.eef.ui.contentassist.ModelingBotProposalProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext.Factory> bindContentAssistContext$Factory() { - return org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public Class<? extends org.eclipse.xtext.ui.editor.contentassist.antlr.IContentAssistParser> bindIContentAssistParser() { - return org.eclipse.emf.eef.ui.contentassist.antlr.ModelingBotParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.emf.eef.ui.contentassist.antlr.internal.InternalModelingBotLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.emf.eef.ui.contentassist.antlr.internal.InternalModelingBotLexer.class)); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment - public void configureContentAssistLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.emf.eef.ui.contentassist.antlr.internal.InternalModelingBotLexer.class); - } - - // contributed by org.eclipse.xtext.ui.generator.compare.CompareFragment - public Class<? extends org.eclipse.compare.IViewerCreator> bindIViewerCreator() { - return org.eclipse.xtext.ui.compare.DefaultViewerCreator.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() { - return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class<? extends org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() { - return org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource.class; - } - - // contributed by org.eclipse.xtext.ui.generator.quickfix.QuickfixProviderFragment - public Class<? extends org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider> bindIssueResolutionProvider() { - return org.eclipse.emf.eef.ui.quickfix.ModelingBotQuickfixProvider.class; - } - - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/ModelingBotExecutableExtensionFactory.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/ModelingBotExecutableExtensionFactory.java deleted file mode 100644 index fb6de9296..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/ModelingBotExecutableExtensionFactory.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.emf.eef.ui; - -import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; -import org.osgi.framework.Bundle; - -import com.google.inject.Injector; - -import org.eclipse.emf.eef.ui.internal.ModelingBotActivator; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ModelingBotExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { - - @Override - protected Bundle getBundle() { - return ModelingBotActivator.getInstance().getBundle(); - } - - @Override - protected Injector getInjector() { - return ModelingBotActivator.getInstance().getInjector(ModelingBotActivator.ORG_ECLIPSE_EMF_EEF_MODELINGBOT); - } - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/AbstractModelingBotProposalProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/AbstractModelingBotProposalProvider.java deleted file mode 100644 index 66a07543f..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/AbstractModelingBotProposalProvider.java +++ /dev/null @@ -1,141 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.ui.contentassist; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.*; -import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider; -import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; -import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; - -/** - * Represents a generated, default implementation of interface {@link IProposalProvider}. - * Methods are dynamically dispatched on the first parameter, i.e., you can override them - * with a more concrete subtype. - */ -@SuppressWarnings("all") -public class AbstractModelingBotProposalProvider extends TerminalsProposalProvider { - - public void completeScenario_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeScenario_Processings(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completePropertiesView_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completePropertiesView_Processings(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeWizard_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeWizard_Processings(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeDetails_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeDetails_Processings(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCreateProject_ProjectName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeRemoveProject_ProjectName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCreateModel_ReferenceName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCreateModel_RootURI(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCreateModel_ModelName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeCreateModel_Path(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAdd_ReferenceName(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAdd_TypeURI(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeAdd_ReferenceableObject(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeAdd_EContainingFeatureURI(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSetAttribute_ReferenceableObject(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); - } - public void completeSetAttribute_Values(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSetAttribute_EContainingFeatureURI(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - public void completeSetAttribute_PropertiesEditionElementURI(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); - } - - public void complete_Scenario(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Processings(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_PropertiesView(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Wizard(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Details(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SubProcessings(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Action(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_EclipseAction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_CreateProject(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_RemoveProject(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_ReferenceableObject(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_CreateModel(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Save(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_EEFAction(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Check(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_Add(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_SetAttribute(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } - public void complete_EString(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - // subclasses may override - } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/ModelingBotParser.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/ModelingBotParser.java deleted file mode 100644 index e6380e959..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/ModelingBotParser.java +++ /dev/null @@ -1,112 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.ui.contentassist.antlr; - -import java.util.Collection; -import java.util.Map; -import java.util.HashMap; - -import org.antlr.runtime.RecognitionException; -import org.eclipse.xtext.AbstractElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; - -import com.google.inject.Inject; - -import org.eclipse.emf.eef.services.ModelingBotGrammarAccess; - -public class ModelingBotParser extends AbstractContentAssistParser { - - @Inject - private ModelingBotGrammarAccess grammarAccess; - - private Map<AbstractElement, String> nameMappings; - - @Override - protected org.eclipse.emf.eef.ui.contentassist.antlr.internal.InternalModelingBotParser createParser() { - org.eclipse.emf.eef.ui.contentassist.antlr.internal.InternalModelingBotParser result = new org.eclipse.emf.eef.ui.contentassist.antlr.internal.InternalModelingBotParser(null); - result.setGrammarAccess(grammarAccess); - return result; - } - - @Override - protected String getRuleName(AbstractElement element) { - if (nameMappings == null) { - nameMappings = new HashMap<AbstractElement, String>() { - private static final long serialVersionUID = 1L; - { - put(grammarAccess.getProcessingsAccess().getAlternatives(), "rule__Processings__Alternatives"); - put(grammarAccess.getSubProcessingsAccess().getAlternatives(), "rule__SubProcessings__Alternatives"); - put(grammarAccess.getActionAccess().getAlternatives(), "rule__Action__Alternatives"); - put(grammarAccess.getEclipseActionAccess().getAlternatives(), "rule__EclipseAction__Alternatives"); - put(grammarAccess.getReferenceableObjectAccess().getAlternatives(), "rule__ReferenceableObject__Alternatives"); - put(grammarAccess.getEEFActionAccess().getAlternatives(), "rule__EEFAction__Alternatives"); - put(grammarAccess.getEStringAccess().getAlternatives(), "rule__EString__Alternatives"); - put(grammarAccess.getScenarioAccess().getGroup(), "rule__Scenario__Group__0"); - put(grammarAccess.getPropertiesViewAccess().getGroup(), "rule__PropertiesView__Group__0"); - put(grammarAccess.getWizardAccess().getGroup(), "rule__Wizard__Group__0"); - put(grammarAccess.getDetailsAccess().getGroup(), "rule__Details__Group__0"); - put(grammarAccess.getCreateProjectAccess().getGroup(), "rule__CreateProject__Group__0"); - put(grammarAccess.getRemoveProjectAccess().getGroup(), "rule__RemoveProject__Group__0"); - put(grammarAccess.getCreateModelAccess().getGroup(), "rule__CreateModel__Group__0"); - put(grammarAccess.getSaveAccess().getGroup(), "rule__Save__Group__0"); - put(grammarAccess.getCheckAccess().getGroup(), "rule__Check__Group__0"); - put(grammarAccess.getAddAccess().getGroup(), "rule__Add__Group__0"); - put(grammarAccess.getSetAttributeAccess().getGroup(), "rule__SetAttribute__Group__0"); - put(grammarAccess.getSetAttributeAccess().getGroup_4(), "rule__SetAttribute__Group_4__0"); - put(grammarAccess.getSetAttributeAccess().getGroup_7(), "rule__SetAttribute__Group_7__0"); - put(grammarAccess.getScenarioAccess().getNameAssignment_1(), "rule__Scenario__NameAssignment_1"); - put(grammarAccess.getScenarioAccess().getProcessingsAssignment_3(), "rule__Scenario__ProcessingsAssignment_3"); - put(grammarAccess.getPropertiesViewAccess().getNameAssignment_1(), "rule__PropertiesView__NameAssignment_1"); - put(grammarAccess.getPropertiesViewAccess().getProcessingsAssignment_3(), "rule__PropertiesView__ProcessingsAssignment_3"); - put(grammarAccess.getWizardAccess().getNameAssignment_1(), "rule__Wizard__NameAssignment_1"); - put(grammarAccess.getWizardAccess().getProcessingsAssignment_3(), "rule__Wizard__ProcessingsAssignment_3"); - put(grammarAccess.getDetailsAccess().getNameAssignment_1(), "rule__Details__NameAssignment_1"); - put(grammarAccess.getDetailsAccess().getProcessingsAssignment_3(), "rule__Details__ProcessingsAssignment_3"); - put(grammarAccess.getCreateProjectAccess().getProjectNameAssignment_1(), "rule__CreateProject__ProjectNameAssignment_1"); - put(grammarAccess.getRemoveProjectAccess().getProjectNameAssignment_1(), "rule__RemoveProject__ProjectNameAssignment_1"); - put(grammarAccess.getCreateModelAccess().getReferenceNameAssignment_1(), "rule__CreateModel__ReferenceNameAssignment_1"); - put(grammarAccess.getCreateModelAccess().getRootURIAssignment_3(), "rule__CreateModel__RootURIAssignment_3"); - put(grammarAccess.getCreateModelAccess().getModelNameAssignment_5(), "rule__CreateModel__ModelNameAssignment_5"); - put(grammarAccess.getCreateModelAccess().getPathAssignment_7(), "rule__CreateModel__PathAssignment_7"); - put(grammarAccess.getAddAccess().getReferenceNameAssignment_1(), "rule__Add__ReferenceNameAssignment_1"); - put(grammarAccess.getAddAccess().getTypeURIAssignment_3(), "rule__Add__TypeURIAssignment_3"); - put(grammarAccess.getAddAccess().getReferenceableObjectAssignment_5(), "rule__Add__ReferenceableObjectAssignment_5"); - put(grammarAccess.getAddAccess().getEContainingFeatureURIAssignment_7(), "rule__Add__EContainingFeatureURIAssignment_7"); - put(grammarAccess.getSetAttributeAccess().getReferenceableObjectAssignment_1(), "rule__SetAttribute__ReferenceableObjectAssignment_1"); - put(grammarAccess.getSetAttributeAccess().getValuesAssignment_3(), "rule__SetAttribute__ValuesAssignment_3"); - put(grammarAccess.getSetAttributeAccess().getValuesAssignment_4_1(), "rule__SetAttribute__ValuesAssignment_4_1"); - put(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIAssignment_6(), "rule__SetAttribute__EContainingFeatureURIAssignment_6"); - put(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIAssignment_7_1(), "rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1"); - } - }; - } - return nameMappings.get(element); - } - - @Override - protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { - try { - org.eclipse.emf.eef.ui.contentassist.antlr.internal.InternalModelingBotParser typedParser = (org.eclipse.emf.eef.ui.contentassist.antlr.internal.InternalModelingBotParser) parser; - typedParser.entryRuleScenario(); - return typedParser.getFollowElements(); - } catch(RecognitionException ex) { - throw new RuntimeException(ex); - } - } - - @Override - protected String[] getInitialHiddenTokens() { - return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; - } - - public ModelingBotGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ModelingBotGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g deleted file mode 100644 index da8b13406..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g +++ /dev/null @@ -1,2869 +0,0 @@ -/* -* generated by Xtext -*/ -grammar InternalModelingBot; - -options { - superClass=AbstractInternalContentAssistParser; - -} - -@lexer::header { -package org.eclipse.emf.eef.ui.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; -} - -@parser::header { -package org.eclipse.emf.eef.ui.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; -import org.eclipse.emf.eef.services.ModelingBotGrammarAccess; - -} - -@parser::members { - - private ModelingBotGrammarAccess grammarAccess; - - public void setGrammarAccess(ModelingBotGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - -} - - - - -// Entry rule entryRuleScenario -entryRuleScenario -: -{ before(grammarAccess.getScenarioRule()); } - ruleScenario -{ after(grammarAccess.getScenarioRule()); } - EOF -; - -// Rule Scenario -ruleScenario - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getScenarioAccess().getGroup()); } -(rule__Scenario__Group__0) -{ after(grammarAccess.getScenarioAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleProcessings -entryRuleProcessings -: -{ before(grammarAccess.getProcessingsRule()); } - ruleProcessings -{ after(grammarAccess.getProcessingsRule()); } - EOF -; - -// Rule Processings -ruleProcessings - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getProcessingsAccess().getAlternatives()); } -(rule__Processings__Alternatives) -{ after(grammarAccess.getProcessingsAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRulePropertiesView -entryRulePropertiesView -: -{ before(grammarAccess.getPropertiesViewRule()); } - rulePropertiesView -{ after(grammarAccess.getPropertiesViewRule()); } - EOF -; - -// Rule PropertiesView -rulePropertiesView - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getPropertiesViewAccess().getGroup()); } -(rule__PropertiesView__Group__0) -{ after(grammarAccess.getPropertiesViewAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleWizard -entryRuleWizard -: -{ before(grammarAccess.getWizardRule()); } - ruleWizard -{ after(grammarAccess.getWizardRule()); } - EOF -; - -// Rule Wizard -ruleWizard - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getWizardAccess().getGroup()); } -(rule__Wizard__Group__0) -{ after(grammarAccess.getWizardAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleDetails -entryRuleDetails -: -{ before(grammarAccess.getDetailsRule()); } - ruleDetails -{ after(grammarAccess.getDetailsRule()); } - EOF -; - -// Rule Details -ruleDetails - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getDetailsAccess().getGroup()); } -(rule__Details__Group__0) -{ after(grammarAccess.getDetailsAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSubProcessings -entryRuleSubProcessings -: -{ before(grammarAccess.getSubProcessingsRule()); } - ruleSubProcessings -{ after(grammarAccess.getSubProcessingsRule()); } - EOF -; - -// Rule SubProcessings -ruleSubProcessings - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSubProcessingsAccess().getAlternatives()); } -(rule__SubProcessings__Alternatives) -{ after(grammarAccess.getSubProcessingsAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAction -entryRuleAction -: -{ before(grammarAccess.getActionRule()); } - ruleAction -{ after(grammarAccess.getActionRule()); } - EOF -; - -// Rule Action -ruleAction - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getActionAccess().getAlternatives()); } -(rule__Action__Alternatives) -{ after(grammarAccess.getActionAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleEclipseAction -entryRuleEclipseAction -: -{ before(grammarAccess.getEclipseActionRule()); } - ruleEclipseAction -{ after(grammarAccess.getEclipseActionRule()); } - EOF -; - -// Rule EclipseAction -ruleEclipseAction - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getEclipseActionAccess().getAlternatives()); } -(rule__EclipseAction__Alternatives) -{ after(grammarAccess.getEclipseActionAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleCreateProject -entryRuleCreateProject -: -{ before(grammarAccess.getCreateProjectRule()); } - ruleCreateProject -{ after(grammarAccess.getCreateProjectRule()); } - EOF -; - -// Rule CreateProject -ruleCreateProject - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getCreateProjectAccess().getGroup()); } -(rule__CreateProject__Group__0) -{ after(grammarAccess.getCreateProjectAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleRemoveProject -entryRuleRemoveProject -: -{ before(grammarAccess.getRemoveProjectRule()); } - ruleRemoveProject -{ after(grammarAccess.getRemoveProjectRule()); } - EOF -; - -// Rule RemoveProject -ruleRemoveProject - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getRemoveProjectAccess().getGroup()); } -(rule__RemoveProject__Group__0) -{ after(grammarAccess.getRemoveProjectAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - -// Entry rule entryRuleCreateModel -entryRuleCreateModel -: -{ before(grammarAccess.getCreateModelRule()); } - ruleCreateModel -{ after(grammarAccess.getCreateModelRule()); } - EOF -; - -// Rule CreateModel -ruleCreateModel - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getCreateModelAccess().getGroup()); } -(rule__CreateModel__Group__0) -{ after(grammarAccess.getCreateModelAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSave -entryRuleSave -: -{ before(grammarAccess.getSaveRule()); } - ruleSave -{ after(grammarAccess.getSaveRule()); } - EOF -; - -// Rule Save -ruleSave - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSaveAccess().getGroup()); } -(rule__Save__Group__0) -{ after(grammarAccess.getSaveAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleEEFAction -entryRuleEEFAction -: -{ before(grammarAccess.getEEFActionRule()); } - ruleEEFAction -{ after(grammarAccess.getEEFActionRule()); } - EOF -; - -// Rule EEFAction -ruleEEFAction - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getEEFActionAccess().getAlternatives()); } -(rule__EEFAction__Alternatives) -{ after(grammarAccess.getEEFActionAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleCheck -entryRuleCheck -: -{ before(grammarAccess.getCheckRule()); } - ruleCheck -{ after(grammarAccess.getCheckRule()); } - EOF -; - -// Rule Check -ruleCheck - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getCheckAccess().getGroup()); } -(rule__Check__Group__0) -{ after(grammarAccess.getCheckAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleAdd -entryRuleAdd -: -{ before(grammarAccess.getAddRule()); } - ruleAdd -{ after(grammarAccess.getAddRule()); } - EOF -; - -// Rule Add -ruleAdd - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getAddAccess().getGroup()); } -(rule__Add__Group__0) -{ after(grammarAccess.getAddAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleSetAttribute -entryRuleSetAttribute -: -{ before(grammarAccess.getSetAttributeRule()); } - ruleSetAttribute -{ after(grammarAccess.getSetAttributeRule()); } - EOF -; - -// Rule SetAttribute -ruleSetAttribute - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getSetAttributeAccess().getGroup()); } -(rule__SetAttribute__Group__0) -{ after(grammarAccess.getSetAttributeAccess().getGroup()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -// Entry rule entryRuleEString -entryRuleEString -: -{ before(grammarAccess.getEStringRule()); } - ruleEString -{ after(grammarAccess.getEStringRule()); } - EOF -; - -// Rule EString -ruleEString - @init { - int stackSize = keepStackSize(); - } - : -( -{ before(grammarAccess.getEStringAccess().getAlternatives()); } -(rule__EString__Alternatives) -{ after(grammarAccess.getEStringAccess().getAlternatives()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - -rule__Processings__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getProcessingsAccess().getDetailsParserRuleCall_0()); } - ruleDetails -{ after(grammarAccess.getProcessingsAccess().getDetailsParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getProcessingsAccess().getWizardParserRuleCall_1()); } - ruleWizard -{ after(grammarAccess.getProcessingsAccess().getWizardParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getProcessingsAccess().getPropertiesViewParserRuleCall_2()); } - rulePropertiesView -{ after(grammarAccess.getProcessingsAccess().getPropertiesViewParserRuleCall_2()); } -) - - |( -{ before(grammarAccess.getProcessingsAccess().getActionParserRuleCall_3()); } - ruleAction -{ after(grammarAccess.getProcessingsAccess().getActionParserRuleCall_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SubProcessings__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSubProcessingsAccess().getWizardParserRuleCall_0()); } - ruleWizard -{ after(grammarAccess.getSubProcessingsAccess().getWizardParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getSubProcessingsAccess().getDetailsParserRuleCall_1()); } - ruleDetails -{ after(grammarAccess.getSubProcessingsAccess().getDetailsParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getSubProcessingsAccess().getPropertiesViewParserRuleCall_2()); } - rulePropertiesView -{ after(grammarAccess.getSubProcessingsAccess().getPropertiesViewParserRuleCall_2()); } -) - - |( -{ before(grammarAccess.getSubProcessingsAccess().getActionParserRuleCall_3()); } - ruleAction -{ after(grammarAccess.getSubProcessingsAccess().getActionParserRuleCall_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Action__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getActionAccess().getEclipseActionParserRuleCall_0()); } - ruleEclipseAction -{ after(grammarAccess.getActionAccess().getEclipseActionParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getActionAccess().getEEFActionParserRuleCall_1()); } - ruleEEFAction -{ after(grammarAccess.getActionAccess().getEEFActionParserRuleCall_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__EclipseAction__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getEclipseActionAccess().getCreateProjectParserRuleCall_0()); } - ruleCreateProject -{ after(grammarAccess.getEclipseActionAccess().getCreateProjectParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getEclipseActionAccess().getCreateModelParserRuleCall_1()); } - ruleCreateModel -{ after(grammarAccess.getEclipseActionAccess().getCreateModelParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getEclipseActionAccess().getSaveParserRuleCall_2()); } - ruleSave -{ after(grammarAccess.getEclipseActionAccess().getSaveParserRuleCall_2()); } -) - - |( -{ before(grammarAccess.getEclipseActionAccess().getRemoveProjectParserRuleCall_3()); } - ruleRemoveProject -{ after(grammarAccess.getEclipseActionAccess().getRemoveProjectParserRuleCall_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__EEFAction__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getEEFActionAccess().getCheckParserRuleCall_0()); } - ruleCheck -{ after(grammarAccess.getEEFActionAccess().getCheckParserRuleCall_0()); } -) - - |( -{ before(grammarAccess.getEEFActionAccess().getAddParserRuleCall_1()); } - ruleAdd -{ after(grammarAccess.getEEFActionAccess().getAddParserRuleCall_1()); } -) - - |( -{ before(grammarAccess.getEEFActionAccess().getSetAttributeParserRuleCall_2()); } - ruleSetAttribute -{ after(grammarAccess.getEEFActionAccess().getSetAttributeParserRuleCall_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__EString__Alternatives - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); } - RULE_STRING -{ after(grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); } -) - - |( -{ before(grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); } - RULE_ID -{ after(grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - -rule__Scenario__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Scenario__Group__0__Impl - rule__Scenario__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Scenario__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getScenarioAccess().getScenarioKeyword_0()); } - - 'scenario' - -{ after(grammarAccess.getScenarioAccess().getScenarioKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Scenario__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Scenario__Group__1__Impl - rule__Scenario__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Scenario__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getScenarioAccess().getNameAssignment_1()); } -(rule__Scenario__NameAssignment_1) -{ after(grammarAccess.getScenarioAccess().getNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Scenario__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Scenario__Group__2__Impl - rule__Scenario__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Scenario__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getScenarioAccess().getLeftCurlyBracketKeyword_2()); } - - '{' - -{ after(grammarAccess.getScenarioAccess().getLeftCurlyBracketKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Scenario__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__Scenario__Group__3__Impl - rule__Scenario__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__Scenario__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getScenarioAccess().getProcessingsAssignment_3()); } -(rule__Scenario__ProcessingsAssignment_3)* -{ after(grammarAccess.getScenarioAccess().getProcessingsAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Scenario__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__Scenario__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Scenario__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getScenarioAccess().getRightCurlyBracketKeyword_4()); } - - '}' - -{ after(grammarAccess.getScenarioAccess().getRightCurlyBracketKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__PropertiesView__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__PropertiesView__Group__0__Impl - rule__PropertiesView__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__PropertiesView__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getPropertiesViewAccess().getPropertiesViewKeyword_0()); } - - 'propertiesView' - -{ after(grammarAccess.getPropertiesViewAccess().getPropertiesViewKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__PropertiesView__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__PropertiesView__Group__1__Impl - rule__PropertiesView__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__PropertiesView__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getPropertiesViewAccess().getNameAssignment_1()); } -(rule__PropertiesView__NameAssignment_1)? -{ after(grammarAccess.getPropertiesViewAccess().getNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__PropertiesView__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__PropertiesView__Group__2__Impl - rule__PropertiesView__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__PropertiesView__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getPropertiesViewAccess().getLeftCurlyBracketKeyword_2()); } - - '{' - -{ after(grammarAccess.getPropertiesViewAccess().getLeftCurlyBracketKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__PropertiesView__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__PropertiesView__Group__3__Impl - rule__PropertiesView__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__PropertiesView__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getPropertiesViewAccess().getProcessingsAssignment_3()); } -(rule__PropertiesView__ProcessingsAssignment_3)* -{ after(grammarAccess.getPropertiesViewAccess().getProcessingsAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__PropertiesView__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__PropertiesView__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__PropertiesView__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getPropertiesViewAccess().getRightCurlyBracketKeyword_4()); } - - '}' - -{ after(grammarAccess.getPropertiesViewAccess().getRightCurlyBracketKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__Wizard__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Wizard__Group__0__Impl - rule__Wizard__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Wizard__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getWizardAccess().getWizardKeyword_0()); } - - 'wizard' - -{ after(grammarAccess.getWizardAccess().getWizardKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Wizard__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Wizard__Group__1__Impl - rule__Wizard__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Wizard__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getWizardAccess().getNameAssignment_1()); } -(rule__Wizard__NameAssignment_1)? -{ after(grammarAccess.getWizardAccess().getNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Wizard__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Wizard__Group__2__Impl - rule__Wizard__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Wizard__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getWizardAccess().getLeftCurlyBracketKeyword_2()); } - - '{' - -{ after(grammarAccess.getWizardAccess().getLeftCurlyBracketKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Wizard__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__Wizard__Group__3__Impl - rule__Wizard__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__Wizard__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getWizardAccess().getProcessingsAssignment_3()); } -(rule__Wizard__ProcessingsAssignment_3)* -{ after(grammarAccess.getWizardAccess().getProcessingsAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Wizard__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__Wizard__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Wizard__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getWizardAccess().getRightCurlyBracketKeyword_4()); } - - '}' - -{ after(grammarAccess.getWizardAccess().getRightCurlyBracketKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__Details__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Details__Group__0__Impl - rule__Details__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Details__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getDetailsAccess().getDetailsPageKeyword_0()); } - - 'detailsPage' - -{ after(grammarAccess.getDetailsAccess().getDetailsPageKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Details__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Details__Group__1__Impl - rule__Details__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Details__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getDetailsAccess().getNameAssignment_1()); } -(rule__Details__NameAssignment_1)? -{ after(grammarAccess.getDetailsAccess().getNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Details__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Details__Group__2__Impl - rule__Details__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Details__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getDetailsAccess().getLeftCurlyBracketKeyword_2()); } - - '{' - -{ after(grammarAccess.getDetailsAccess().getLeftCurlyBracketKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Details__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__Details__Group__3__Impl - rule__Details__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__Details__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getDetailsAccess().getProcessingsAssignment_3()); } -(rule__Details__ProcessingsAssignment_3)* -{ after(grammarAccess.getDetailsAccess().getProcessingsAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Details__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__Details__Group__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Details__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getDetailsAccess().getRightCurlyBracketKeyword_4()); } - - '}' - -{ after(grammarAccess.getDetailsAccess().getRightCurlyBracketKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - -rule__CreateProject__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateProject__Group__0__Impl - rule__CreateProject__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateProject__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateProjectAccess().getCreateProjectKeyword_0()); } - - 'createProject' - -{ after(grammarAccess.getCreateProjectAccess().getCreateProjectKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__CreateProject__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateProject__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateProject__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateProjectAccess().getProjectNameAssignment_1()); } -(rule__CreateProject__ProjectNameAssignment_1) -{ after(grammarAccess.getCreateProjectAccess().getProjectNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__RemoveProject__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__RemoveProject__Group__0__Impl - rule__RemoveProject__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__RemoveProject__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getRemoveProjectAccess().getDeleteProjectKeyword_0()); } - - 'deleteProject' - -{ after(grammarAccess.getRemoveProjectAccess().getDeleteProjectKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__RemoveProject__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__RemoveProject__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__RemoveProject__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getRemoveProjectAccess().getProjectNameAssignment_1()); } -(rule__RemoveProject__ProjectNameAssignment_1) -{ after(grammarAccess.getRemoveProjectAccess().getProjectNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__CreateModel__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateModel__Group__0__Impl - rule__CreateModel__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getCreateObjectKeyword_0()); } - - 'createObject' - -{ after(grammarAccess.getCreateModelAccess().getCreateObjectKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__CreateModel__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateModel__Group__1__Impl - rule__CreateModel__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getReferenceNameAssignment_1()); } -(rule__CreateModel__ReferenceNameAssignment_1) -{ after(grammarAccess.getCreateModelAccess().getReferenceNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__CreateModel__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateModel__Group__2__Impl - rule__CreateModel__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getColonKeyword_2()); } - - ':' - -{ after(grammarAccess.getCreateModelAccess().getColonKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__CreateModel__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateModel__Group__3__Impl - rule__CreateModel__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getRootURIAssignment_3()); } -(rule__CreateModel__RootURIAssignment_3) -{ after(grammarAccess.getCreateModelAccess().getRootURIAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__CreateModel__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateModel__Group__4__Impl - rule__CreateModel__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getInResourceKeyword_4()); } - - 'inResource' - -{ after(grammarAccess.getCreateModelAccess().getInResourceKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__CreateModel__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateModel__Group__5__Impl - rule__CreateModel__Group__6 -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getModelNameAssignment_5()); } -(rule__CreateModel__ModelNameAssignment_5) -{ after(grammarAccess.getCreateModelAccess().getModelNameAssignment_5()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__CreateModel__Group__6 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateModel__Group__6__Impl - rule__CreateModel__Group__7 -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__Group__6__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getAtKeyword_6()); } - - 'at' - -{ after(grammarAccess.getCreateModelAccess().getAtKeyword_6()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__CreateModel__Group__7 - @init { - int stackSize = keepStackSize(); - } -: - rule__CreateModel__Group__7__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__Group__7__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getPathAssignment_7()); } -(rule__CreateModel__PathAssignment_7) -{ after(grammarAccess.getCreateModelAccess().getPathAssignment_7()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - - - - - - - -rule__Save__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Save__Group__0__Impl - rule__Save__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Save__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSaveAccess().getSaveKeyword_0()); } - - 'save' - -{ after(grammarAccess.getSaveAccess().getSaveKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Save__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Save__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Save__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSaveAccess().getSaveAction_1()); } -( - -) -{ after(grammarAccess.getSaveAccess().getSaveAction_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Check__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Check__Group__0__Impl - rule__Check__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Check__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCheckAccess().getCheckKeyword_0()); } - - 'check!' - -{ after(grammarAccess.getCheckAccess().getCheckKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Check__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Check__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Check__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCheckAccess().getCheckAction_1()); } -( - -) -{ after(grammarAccess.getCheckAccess().getCheckAction_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__Add__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Add__Group__0__Impl - rule__Add__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getCreateObjectKeyword_0()); } - - 'createObject' - -{ after(grammarAccess.getAddAccess().getCreateObjectKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Add__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Add__Group__1__Impl - rule__Add__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getReferenceNameAssignment_1()); } -(rule__Add__ReferenceNameAssignment_1) -{ after(grammarAccess.getAddAccess().getReferenceNameAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Add__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Add__Group__2__Impl - rule__Add__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getColonKeyword_2()); } - - ':' - -{ after(grammarAccess.getAddAccess().getColonKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Add__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__Add__Group__3__Impl - rule__Add__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getTypeURIAssignment_3()); } -(rule__Add__TypeURIAssignment_3) -{ after(grammarAccess.getAddAccess().getTypeURIAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Add__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__Add__Group__4__Impl - rule__Add__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getInElementKeyword_4()); } - - 'inElement' - -{ after(grammarAccess.getAddAccess().getInElementKeyword_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Add__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__Add__Group__5__Impl - rule__Add__Group__6 -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getReferenceableObjectAssignment_5()); } -(rule__Add__ReferenceableObjectAssignment_5) -{ after(grammarAccess.getAddAccess().getReferenceableObjectAssignment_5()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Add__Group__6 - @init { - int stackSize = keepStackSize(); - } -: - rule__Add__Group__6__Impl - rule__Add__Group__7 -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__Group__6__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getInFeatureKeyword_6()); } - - 'inFeature' - -{ after(grammarAccess.getAddAccess().getInFeatureKeyword_6()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__Add__Group__7 - @init { - int stackSize = keepStackSize(); - } -: - rule__Add__Group__7__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__Group__7__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getEContainingFeatureURIAssignment_7()); } -(rule__Add__EContainingFeatureURIAssignment_7) -{ after(grammarAccess.getAddAccess().getEContainingFeatureURIAssignment_7()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - - - - - - - -rule__SetAttribute__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group__0__Impl - rule__SetAttribute__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getSetKeyword_0()); } - - 'set' - -{ after(grammarAccess.getSetAttributeAccess().getSetKeyword_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group__1__Impl - rule__SetAttribute__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getReferenceableObjectAssignment_1()); } -(rule__SetAttribute__ReferenceableObjectAssignment_1) -{ after(grammarAccess.getSetAttributeAccess().getReferenceableObjectAssignment_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group__2__Impl - rule__SetAttribute__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getValuesKeyword_2()); } - - 'values' - -{ after(grammarAccess.getSetAttributeAccess().getValuesKeyword_2()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group__3__Impl - rule__SetAttribute__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getValuesAssignment_3()); } -(rule__SetAttribute__ValuesAssignment_3) -{ after(grammarAccess.getSetAttributeAccess().getValuesAssignment_3()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group__4__Impl - rule__SetAttribute__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getGroup_4()); } -(rule__SetAttribute__Group_4__0)* -{ after(grammarAccess.getSetAttributeAccess().getGroup_4()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group__5__Impl - rule__SetAttribute__Group__6 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getInFeatureKeyword_5()); } - - 'inFeature' - -{ after(grammarAccess.getSetAttributeAccess().getInFeatureKeyword_5()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group__6 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group__6__Impl - rule__SetAttribute__Group__7 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group__6__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIAssignment_6()); } -(rule__SetAttribute__EContainingFeatureURIAssignment_6) -{ after(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIAssignment_6()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group__7 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group__7__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group__7__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getGroup_7()); } -(rule__SetAttribute__Group_7__0)? -{ after(grammarAccess.getSetAttributeAccess().getGroup_7()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - - - - - - - - - - - - -rule__SetAttribute__Group_4__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group_4__0__Impl - rule__SetAttribute__Group_4__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group_4__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getCommaKeyword_4_0()); } - - ',' - -{ after(grammarAccess.getSetAttributeAccess().getCommaKeyword_4_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group_4__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group_4__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group_4__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getValuesAssignment_4_1()); } -(rule__SetAttribute__ValuesAssignment_4_1) -{ after(grammarAccess.getSetAttributeAccess().getValuesAssignment_4_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - -rule__SetAttribute__Group_7__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group_7__0__Impl - rule__SetAttribute__Group_7__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group_7__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getUsingWidgetKeyword_7_0()); } - - 'usingWidget' - -{ after(grammarAccess.getSetAttributeAccess().getUsingWidgetKeyword_7_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -rule__SetAttribute__Group_7__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__SetAttribute__Group_7__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__Group_7__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIAssignment_7_1()); } -(rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1) -{ after(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIAssignment_7_1()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - - - - - - -rule__Scenario__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getScenarioAccess().getNameEStringParserRuleCall_1_0()); } - ruleEString{ after(grammarAccess.getScenarioAccess().getNameEStringParserRuleCall_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Scenario__ProcessingsAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getScenarioAccess().getProcessingsProcessingsParserRuleCall_3_0()); } - ruleProcessings{ after(grammarAccess.getScenarioAccess().getProcessingsProcessingsParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__PropertiesView__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getPropertiesViewAccess().getNameEStringParserRuleCall_1_0()); } - ruleEString{ after(grammarAccess.getPropertiesViewAccess().getNameEStringParserRuleCall_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__PropertiesView__ProcessingsAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getPropertiesViewAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); } - ruleSubProcessings{ after(grammarAccess.getPropertiesViewAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Wizard__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getWizardAccess().getNameEStringParserRuleCall_1_0()); } - ruleEString{ after(grammarAccess.getWizardAccess().getNameEStringParserRuleCall_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Wizard__ProcessingsAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getWizardAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); } - ruleSubProcessings{ after(grammarAccess.getWizardAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Details__NameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getDetailsAccess().getNameEStringParserRuleCall_1_0()); } - ruleEString{ after(grammarAccess.getDetailsAccess().getNameEStringParserRuleCall_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Details__ProcessingsAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getDetailsAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); } - ruleSubProcessings{ after(grammarAccess.getDetailsAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateProject__ProjectNameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateProjectAccess().getProjectNameEStringParserRuleCall_1_0()); } - ruleEString{ after(grammarAccess.getCreateProjectAccess().getProjectNameEStringParserRuleCall_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__RemoveProject__ProjectNameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getRemoveProjectAccess().getProjectNameEStringParserRuleCall_1_0()); } - ruleEString{ after(grammarAccess.getRemoveProjectAccess().getProjectNameEStringParserRuleCall_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__ReferenceNameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getReferenceNameIDTerminalRuleCall_1_0()); } - RULE_ID{ after(grammarAccess.getCreateModelAccess().getReferenceNameIDTerminalRuleCall_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__RootURIAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getRootURIEStringParserRuleCall_3_0()); } - ruleEString{ after(grammarAccess.getCreateModelAccess().getRootURIEStringParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__ModelNameAssignment_5 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getModelNameEStringParserRuleCall_5_0()); } - ruleEString{ after(grammarAccess.getCreateModelAccess().getModelNameEStringParserRuleCall_5_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__CreateModel__PathAssignment_7 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getCreateModelAccess().getPathEStringParserRuleCall_7_0()); } - ruleEString{ after(grammarAccess.getCreateModelAccess().getPathEStringParserRuleCall_7_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__ReferenceNameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getReferenceNameIDTerminalRuleCall_1_0()); } - RULE_ID{ after(grammarAccess.getAddAccess().getReferenceNameIDTerminalRuleCall_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__TypeURIAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getTypeURIEStringParserRuleCall_3_0()); } - ruleEString{ after(grammarAccess.getAddAccess().getTypeURIEStringParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__ReferenceableObjectAssignment_5 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectCrossReference_5_0()); } -( -{ before(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectIDTerminalRuleCall_5_0_1()); } - RULE_ID{ after(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectIDTerminalRuleCall_5_0_1()); } -) -{ after(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectCrossReference_5_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__Add__EContainingFeatureURIAssignment_7 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getAddAccess().getEContainingFeatureURIEStringParserRuleCall_7_0()); } - ruleEString{ after(grammarAccess.getAddAccess().getEContainingFeatureURIEStringParserRuleCall_7_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__ReferenceableObjectAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectCrossReference_1_0()); } -( -{ before(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectIDTerminalRuleCall_1_0_1()); } - RULE_ID{ after(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectIDTerminalRuleCall_1_0_1()); } -) -{ after(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectCrossReference_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__ValuesAssignment_3 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_3_0()); } - ruleEString{ after(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_3_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__ValuesAssignment_4_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_4_1_0()); } - ruleEString{ after(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_4_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__EContainingFeatureURIAssignment_6 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIEStringParserRuleCall_6_0()); } - ruleEString{ after(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIEStringParserRuleCall_6_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - -rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 - @init { - int stackSize = keepStackSize(); - } -: -( -{ before(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIEStringParserRuleCall_7_1_0()); } - ruleEString{ after(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIEStringParserRuleCall_7_1_0()); } -) - -; -finally { - restoreStackSize(stackSize); -} - - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; - - diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.tokens b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.tokens deleted file mode 100644 index 152c71924..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.tokens +++ /dev/null @@ -1,47 +0,0 @@ -RULE_ID=5 -T__29=29 -T__28=28 -T__27=27 -T__26=26 -T__25=25 -T__24=24 -T__23=23 -T__22=22 -RULE_ANY_OTHER=10 -T__21=21 -T__20=20 -RULE_SL_COMMENT=8 -RULE_ML_COMMENT=7 -T__30=30 -T__19=19 -RULE_STRING=4 -T__16=16 -T__15=15 -T__18=18 -T__17=17 -T__12=12 -T__11=11 -T__14=14 -T__13=13 -RULE_INT=6 -RULE_WS=9 -'check!'=24 -'}'=13 -'propertiesView'=14 -'inFeature'=26 -'scenario'=11 -'createProject'=17 -'inElement'=25 -'inResource'=21 -'at'=22 -'{'=12 -'set'=27 -'usingWidget'=30 -'deleteProject'=18 -'detailsPage'=16 -'wizard'=15 -':'=20 -','=29 -'values'=28 -'createObject'=19 -'save'=23 diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBotLexer.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBotLexer.java deleted file mode 100644 index 01cd76171..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBotLexer.java +++ /dev/null @@ -1,1514 +0,0 @@ -package org.eclipse.emf.eef.ui.contentassist.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalModelingBotLexer extends Lexer { - public static final int RULE_ID=5; - public static final int T__29=29; - public static final int T__28=28; - public static final int T__27=27; - public static final int T__26=26; - public static final int T__25=25; - public static final int T__24=24; - public static final int T__23=23; - public static final int T__22=22; - public static final int RULE_ANY_OTHER=10; - public static final int T__21=21; - public static final int T__20=20; - 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__30=30; - public static final int T__19=19; - public static final int RULE_STRING=4; - public static final int T__16=16; - public static final int T__15=15; - public static final int T__18=18; - public static final int T__17=17; - public static final int T__12=12; - public static final int T__11=11; - public static final int T__14=14; - public static final int T__13=13; - public static final int RULE_INT=6; - public static final int RULE_WS=9; - - // delegates - // delegators - - public InternalModelingBotLexer() {;} - public InternalModelingBotLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalModelingBotLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g"; } - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:11:7: ( 'scenario' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:11:9: 'scenario' - { - match("scenario"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:12:7: ( '{' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:12:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:13:7: ( '}' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:13:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:14:7: ( 'propertiesView' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:14:9: 'propertiesView' - { - match("propertiesView"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:15:7: ( 'wizard' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:15:9: 'wizard' - { - match("wizard"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:16:7: ( 'detailsPage' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:16:9: 'detailsPage' - { - match("detailsPage"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:17:7: ( 'createProject' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:17:9: 'createProject' - { - match("createProject"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:18:7: ( 'deleteProject' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:18:9: 'deleteProject' - { - match("deleteProject"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:19:7: ( 'createObject' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:19:9: 'createObject' - { - match("createObject"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:20:7: ( ':' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:20:9: ':' - { - match(':'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:21:7: ( 'inResource' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:21:9: 'inResource' - { - match("inResource"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:22:7: ( 'at' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:22:9: 'at' - { - match("at"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:23:7: ( 'save' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:23:9: 'save' - { - match("save"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:24:7: ( 'check!' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:24:9: 'check!' - { - match("check!"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:25:7: ( 'inElement' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:25:9: 'inElement' - { - match("inElement"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "T__26" - public final void mT__26() throws RecognitionException { - try { - int _type = T__26; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:26:7: ( 'inFeature' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:26:9: 'inFeature' - { - match("inFeature"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__26" - - // $ANTLR start "T__27" - public final void mT__27() throws RecognitionException { - try { - int _type = T__27; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:27:7: ( 'set' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:27:9: 'set' - { - match("set"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__27" - - // $ANTLR start "T__28" - public final void mT__28() throws RecognitionException { - try { - int _type = T__28; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:28:7: ( 'values' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:28:9: 'values' - { - match("values"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__28" - - // $ANTLR start "T__29" - public final void mT__29() throws RecognitionException { - try { - int _type = T__29; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:29:7: ( ',' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:29:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__29" - - // $ANTLR start "T__30" - public final void mT__30() throws RecognitionException { - try { - int _type = T__30; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:30:7: ( 'usingWidget' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:30:9: 'usingWidget' - { - match("usingWidget"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__30" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2855:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2855:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2855:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2855:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2855:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.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 { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2857:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2857:12: ( '0' .. '9' )+ - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2857:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2857:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='\"') ) { - alt6=1; - } - else if ( (LA6_0=='\'') ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* - 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 (alt4) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) - { - 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.LA(1)<='u') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:66: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop4; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: - do { - int alt5=3; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='\\') ) { - alt5=1; - } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; - } - - - switch (alt5) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) - { - 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.LA(1)<='u') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2859:137: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop5; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2861:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2861:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2861:24: ( options {greedy=false; } : . )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0=='*') ) { - int LA7_1 = input.LA(2); - - if ( (LA7_1=='/') ) { - alt7=2; - } - else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { - alt7=1; - } - - - } - else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2861:52: . - { - matchAny(); - - } - break; - - default : - break loop7; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2863:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2863:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2863:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2863: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)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop8; - } - } while (true); - - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2863:40: ( ( '\\r' )? '\\n' )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0=='\n'||LA10_0=='\r') ) { - alt10=1; - } - switch (alt10) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2863:41: ( '\\r' )? '\\n' - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2863:41: ( '\\r' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='\r') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2863:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2865:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2865:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2865:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt11=0; - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt11 >= 1 ) break loop11; - EarlyExitException eee = - new EarlyExitException(11, input); - throw eee; - } - cnt11++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2867:16: ( . ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2867:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=27; - alt12 = dfa12.predict(input); - switch (alt12) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:10: T__11 - { - mT__11(); - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:16: T__12 - { - mT__12(); - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:22: T__13 - { - mT__13(); - - } - break; - case 4 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:28: T__14 - { - mT__14(); - - } - break; - case 5 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:34: T__15 - { - mT__15(); - - } - break; - case 6 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:40: T__16 - { - mT__16(); - - } - break; - case 7 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:46: T__17 - { - mT__17(); - - } - break; - case 8 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:52: T__18 - { - mT__18(); - - } - break; - case 9 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:58: T__19 - { - mT__19(); - - } - break; - case 10 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:64: T__20 - { - mT__20(); - - } - break; - case 11 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:70: T__21 - { - mT__21(); - - } - break; - case 12 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:76: T__22 - { - mT__22(); - - } - break; - case 13 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:82: T__23 - { - mT__23(); - - } - break; - case 14 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:88: T__24 - { - mT__24(); - - } - break; - case 15 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:94: T__25 - { - mT__25(); - - } - break; - case 16 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:100: T__26 - { - mT__26(); - - } - break; - case 17 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:106: T__27 - { - mT__27(); - - } - break; - case 18 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:112: T__28 - { - mT__28(); - - } - break; - case 19 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:118: T__29 - { - mT__29(); - - } - break; - case 20 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:124: T__30 - { - mT__30(); - - } - break; - case 21 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:130: RULE_ID - { - mRULE_ID(); - - } - break; - case 22 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:138: RULE_INT - { - mRULE_INT(); - - } - break; - case 23 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:147: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 24 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:159: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 25 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:175: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 26 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:191: RULE_WS - { - mRULE_WS(); - - } - break; - case 27 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1:199: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA12 dfa12 = new DFA12(this); - static final String DFA12_eotS = - "\1\uffff\1\31\2\uffff\4\31\1\uffff\3\31\1\uffff\1\31\1\25\2\uffff"+ - "\3\25\2\uffff\3\31\3\uffff\5\31\1\uffff\1\31\1\70\1\31\1\uffff\1"+ - "\31\5\uffff\2\31\1\75\11\31\1\uffff\3\31\1\112\1\uffff\14\31\1\uffff"+ - "\15\31\1\144\3\31\1\uffff\3\31\1\154\3\31\1\uffff\7\31\1\uffff\1"+ - "\31\1\170\11\31\1\uffff\6\31\1\u0088\1\u0089\6\31\1\u0090\2\uffff"+ - "\2\31\1\u0093\3\31\1\uffff\1\u0097\1\31\1\uffff\2\31\1\u009b\1\uffff"+ - "\1\31\1\u009d\1\u009e\1\uffff\1\u009f\3\uffff"; - static final String DFA12_eofS = - "\u00a0\uffff"; - static final String DFA12_minS = - "\1\0\1\141\2\uffff\1\162\1\151\1\145\1\150\1\uffff\1\156\1\164\1"+ - "\141\1\uffff\1\163\1\101\2\uffff\2\0\1\52\2\uffff\1\145\1\166\1"+ - "\164\3\uffff\1\157\1\172\1\154\2\145\1\uffff\1\105\1\60\1\154\1"+ - "\uffff\1\151\5\uffff\1\156\1\145\1\60\1\160\2\141\1\145\1\141\1"+ - "\143\1\145\1\154\1\145\1\uffff\1\165\1\156\1\141\1\60\1\uffff\1"+ - "\145\1\162\1\151\2\164\1\153\1\163\1\145\1\141\1\145\1\147\1\162"+ - "\1\uffff\1\162\1\144\1\154\2\145\1\41\1\157\1\155\1\164\1\163\1"+ - "\127\1\151\1\164\1\60\1\163\1\120\1\117\1\uffff\1\165\1\145\1\165"+ - "\1\60\1\151\1\157\1\151\1\uffff\1\120\2\162\1\142\1\162\1\156\1"+ - "\162\1\uffff\1\144\1\60\1\145\1\141\2\157\1\152\1\143\1\164\1\145"+ - "\1\147\1\uffff\1\163\1\147\2\152\2\145\2\60\1\145\1\126\3\145\1"+ - "\143\1\60\2\uffff\1\164\1\151\1\60\2\143\1\164\1\uffff\1\60\1\145"+ - "\1\uffff\2\164\1\60\1\uffff\1\167\2\60\1\uffff\1\60\3\uffff"; - static final String DFA12_maxS = - "\1\uffff\1\145\2\uffff\1\162\1\151\1\145\1\162\1\uffff\1\156\1\164"+ - "\1\141\1\uffff\1\163\1\172\2\uffff\2\uffff\1\57\2\uffff\1\145\1"+ - "\166\1\164\3\uffff\1\157\1\172\1\164\2\145\1\uffff\1\122\1\172\1"+ - "\154\1\uffff\1\151\5\uffff\1\156\1\145\1\172\1\160\2\141\1\145\1"+ - "\141\1\143\1\145\1\154\1\145\1\uffff\1\165\1\156\1\141\1\172\1\uffff"+ - "\1\145\1\162\1\151\2\164\1\153\1\163\1\145\1\141\1\145\1\147\1\162"+ - "\1\uffff\1\162\1\144\1\154\2\145\1\41\1\157\1\155\1\164\1\163\1"+ - "\127\1\151\1\164\1\172\1\163\2\120\1\uffff\1\165\1\145\1\165\1\172"+ - "\1\151\1\157\1\151\1\uffff\1\120\2\162\1\142\1\162\1\156\1\162\1"+ - "\uffff\1\144\1\172\1\145\1\141\2\157\1\152\1\143\1\164\1\145\1\147"+ - "\1\uffff\1\163\1\147\2\152\2\145\2\172\1\145\1\126\3\145\1\143\1"+ - "\172\2\uffff\1\164\1\151\1\172\2\143\1\164\1\uffff\1\172\1\145\1"+ - "\uffff\2\164\1\172\1\uffff\1\167\2\172\1\uffff\1\172\3\uffff"; - static final String DFA12_acceptS = - "\2\uffff\1\2\1\3\4\uffff\1\12\3\uffff\1\23\2\uffff\1\25\1\26\3\uffff"+ - "\1\32\1\33\3\uffff\1\25\1\2\1\3\5\uffff\1\12\3\uffff\1\23\1\uffff"+ - "\1\26\1\27\1\30\1\31\1\32\14\uffff\1\14\4\uffff\1\21\14\uffff\1"+ - "\15\21\uffff\1\16\7\uffff\1\5\7\uffff\1\22\13\uffff\1\1\17\uffff"+ - "\1\17\1\20\6\uffff\1\13\2\uffff\1\6\3\uffff\1\24\3\uffff\1\11\1"+ - "\uffff\1\10\1\7\1\4"; - static final String DFA12_specialS = - "\1\1\20\uffff\1\0\1\2\u008d\uffff}>"; - static final String[] DFA12_transitionS = { - "\11\25\2\24\2\25\1\24\22\25\1\24\1\25\1\21\4\25\1\22\4\25\1"+ - "\14\2\25\1\23\12\20\1\10\6\25\32\17\3\25\1\16\1\17\1\25\1\12"+ - "\1\17\1\7\1\6\4\17\1\11\6\17\1\4\2\17\1\1\1\17\1\15\1\13\1\5"+ - "\3\17\1\2\1\25\1\3\uff82\25", - "\1\27\1\uffff\1\26\1\uffff\1\30", - "", - "", - "\1\34", - "\1\35", - "\1\36", - "\1\40\11\uffff\1\37", - "", - "\1\42", - "\1\43", - "\1\44", - "", - "\1\46", - "\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "", - "\0\50", - "\0\50", - "\1\51\4\uffff\1\52", - "", - "", - "\1\54", - "\1\55", - "\1\56", - "", - "", - "", - "\1\57", - "\1\60", - "\1\62\7\uffff\1\61", - "\1\63", - "\1\64", - "", - "\1\66\1\67\13\uffff\1\65", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\71", - "", - "\1\72", - "", - "", - "", - "", - "", - "\1\73", - "\1\74", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\76", - "\1\77", - "\1\100", - "\1\101", - "\1\102", - "\1\103", - "\1\104", - "\1\105", - "\1\106", - "", - "\1\107", - "\1\110", - "\1\111", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "\1\113", - "\1\114", - "\1\115", - "\1\116", - "\1\117", - "\1\120", - "\1\121", - "\1\122", - "\1\123", - "\1\124", - "\1\125", - "\1\126", - "", - "\1\127", - "\1\130", - "\1\131", - "\1\132", - "\1\133", - "\1\134", - "\1\135", - "\1\136", - "\1\137", - "\1\140", - "\1\141", - "\1\142", - "\1\143", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\145", - "\1\146", - "\1\150\1\147", - "", - "\1\151", - "\1\152", - "\1\153", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\155", - "\1\156", - "\1\157", - "", - "\1\160", - "\1\161", - "\1\162", - "\1\163", - "\1\164", - "\1\165", - "\1\166", - "", - "\1\167", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\1\176", - "\1\177", - "\1\u0080", - "\1\u0081", - "", - "\1\u0082", - "\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\u008a", - "\1\u008b", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\u008f", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "", - "\1\u0091", - "\1\u0092", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\u0094", - "\1\u0095", - "\1\u0096", - "", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\u0098", - "", - "\1\u0099", - "\1\u009a", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "\1\u009c", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "", - "" - }; - - static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); - static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); - static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); - static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); - static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); - static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); - static final short[][] DFA12_transition; - - static { - int numStates = DFA12_transitionS.length; - DFA12_transition = new short[numStates][]; - for (int i=0; i<numStates; i++) { - DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); - } - } - - static class DFA12 extends DFA { - - public DFA12(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 12; - this.eot = DFA12_eot; - this.eof = DFA12_eof; - this.min = DFA12_min; - this.max = DFA12_max; - this.accept = DFA12_accept; - this.special = DFA12_special; - this.transition = DFA12_transition; - } - public String getDescription() { - return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - IntStream input = _input; - int _s = s; - switch ( s ) { - case 0 : - int LA12_17 = input.LA(1); - - s = -1; - if ( ((LA12_17>='\u0000' && LA12_17<='\uFFFF')) ) {s = 40;} - - else s = 21; - - if ( s>=0 ) return s; - break; - case 1 : - int LA12_0 = input.LA(1); - - s = -1; - if ( (LA12_0=='s') ) {s = 1;} - - else if ( (LA12_0=='{') ) {s = 2;} - - else if ( (LA12_0=='}') ) {s = 3;} - - else if ( (LA12_0=='p') ) {s = 4;} - - else if ( (LA12_0=='w') ) {s = 5;} - - else if ( (LA12_0=='d') ) {s = 6;} - - else if ( (LA12_0=='c') ) {s = 7;} - - else if ( (LA12_0==':') ) {s = 8;} - - else if ( (LA12_0=='i') ) {s = 9;} - - else if ( (LA12_0=='a') ) {s = 10;} - - else if ( (LA12_0=='v') ) {s = 11;} - - else if ( (LA12_0==',') ) {s = 12;} - - else if ( (LA12_0=='u') ) {s = 13;} - - else if ( (LA12_0=='^') ) {s = 14;} - - else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='e' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='o')||(LA12_0>='q' && LA12_0<='r')||LA12_0=='t'||(LA12_0>='x' && LA12_0<='z')) ) {s = 15;} - - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 16;} - - else if ( (LA12_0=='\"') ) {s = 17;} - - else if ( (LA12_0=='\'') ) {s = 18;} - - else if ( (LA12_0=='/') ) {s = 19;} - - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 20;} - - else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=';' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 21;} - - if ( s>=0 ) return s; - break; - case 2 : - int LA12_18 = input.LA(1); - - s = -1; - if ( ((LA12_18>='\u0000' && LA12_18<='\uFFFF')) ) {s = 40;} - - else s = 21; - - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 12, _s, input); - error(nvae); - throw nvae; - } - } - - -}
\ No newline at end of file diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBotParser.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBotParser.java deleted file mode 100644 index aed933f1d..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBotParser.java +++ /dev/null @@ -1,7850 +0,0 @@ -package org.eclipse.emf.eef.ui.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; -import org.eclipse.emf.eef.services.ModelingBotGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalModelingBotParser extends AbstractInternalContentAssistParser { - public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'scenario'", "'{'", "'}'", "'propertiesView'", "'wizard'", "'detailsPage'", "'createProject'", "'deleteProject'", "'createObject'", "':'", "'inResource'", "'at'", "'save'", "'check!'", "'inElement'", "'inFeature'", "'set'", "'values'", "','", "'usingWidget'" - }; - public static final int RULE_ID=5; - public static final int T__29=29; - public static final int T__28=28; - public static final int T__27=27; - public static final int T__26=26; - public static final int T__25=25; - public static final int T__24=24; - public static final int T__23=23; - public static final int T__22=22; - public static final int RULE_ANY_OTHER=10; - public static final int T__21=21; - public static final int T__20=20; - public static final int RULE_SL_COMMENT=8; - public static final int EOF=-1; - public static final int RULE_ML_COMMENT=7; - public static final int T__30=30; - public static final int T__19=19; - public static final int RULE_STRING=4; - public static final int T__16=16; - public static final int T__15=15; - public static final int T__18=18; - public static final int T__17=17; - public static final int T__12=12; - public static final int T__11=11; - public static final int T__14=14; - public static final int T__13=13; - public static final int RULE_INT=6; - public static final int RULE_WS=9; - - // delegates - // delegators - - - public InternalModelingBotParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalModelingBotParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalModelingBotParser.tokenNames; } - public String getGrammarFileName() { return "../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g"; } - - - - private ModelingBotGrammarAccess grammarAccess; - - public void setGrammarAccess(ModelingBotGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - - - - - // $ANTLR start "entryRuleScenario" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:60:1: entryRuleScenario : ruleScenario EOF ; - public final void entryRuleScenario() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:61:1: ( ruleScenario EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:62:1: ruleScenario EOF - { - before(grammarAccess.getScenarioRule()); - pushFollow(FollowSets000.FOLLOW_ruleScenario_in_entryRuleScenario61); - ruleScenario(); - - state._fsp--; - - after(grammarAccess.getScenarioRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleScenario68); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleScenario" - - - // $ANTLR start "ruleScenario" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:69:1: ruleScenario : ( ( rule__Scenario__Group__0 ) ) ; - public final void ruleScenario() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:73:2: ( ( ( rule__Scenario__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:74:1: ( ( rule__Scenario__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:74:1: ( ( rule__Scenario__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:75:1: ( rule__Scenario__Group__0 ) - { - before(grammarAccess.getScenarioAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:76:1: ( rule__Scenario__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:76:2: rule__Scenario__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__0_in_ruleScenario94); - rule__Scenario__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getScenarioAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleScenario" - - - // $ANTLR start "entryRuleProcessings" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:88:1: entryRuleProcessings : ruleProcessings EOF ; - public final void entryRuleProcessings() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:89:1: ( ruleProcessings EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:90:1: ruleProcessings EOF - { - before(grammarAccess.getProcessingsRule()); - pushFollow(FollowSets000.FOLLOW_ruleProcessings_in_entryRuleProcessings121); - ruleProcessings(); - - state._fsp--; - - after(grammarAccess.getProcessingsRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleProcessings128); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleProcessings" - - - // $ANTLR start "ruleProcessings" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:97:1: ruleProcessings : ( ( rule__Processings__Alternatives ) ) ; - public final void ruleProcessings() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:101:2: ( ( ( rule__Processings__Alternatives ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:102:1: ( ( rule__Processings__Alternatives ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:102:1: ( ( rule__Processings__Alternatives ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:103:1: ( rule__Processings__Alternatives ) - { - before(grammarAccess.getProcessingsAccess().getAlternatives()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:104:1: ( rule__Processings__Alternatives ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:104:2: rule__Processings__Alternatives - { - pushFollow(FollowSets000.FOLLOW_rule__Processings__Alternatives_in_ruleProcessings154); - rule__Processings__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getProcessingsAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleProcessings" - - - // $ANTLR start "entryRulePropertiesView" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:116:1: entryRulePropertiesView : rulePropertiesView EOF ; - public final void entryRulePropertiesView() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:117:1: ( rulePropertiesView EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:118:1: rulePropertiesView EOF - { - before(grammarAccess.getPropertiesViewRule()); - pushFollow(FollowSets000.FOLLOW_rulePropertiesView_in_entryRulePropertiesView181); - rulePropertiesView(); - - state._fsp--; - - after(grammarAccess.getPropertiesViewRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePropertiesView188); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRulePropertiesView" - - - // $ANTLR start "rulePropertiesView" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:125:1: rulePropertiesView : ( ( rule__PropertiesView__Group__0 ) ) ; - public final void rulePropertiesView() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:129:2: ( ( ( rule__PropertiesView__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:130:1: ( ( rule__PropertiesView__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:130:1: ( ( rule__PropertiesView__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:131:1: ( rule__PropertiesView__Group__0 ) - { - before(grammarAccess.getPropertiesViewAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:132:1: ( rule__PropertiesView__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:132:2: rule__PropertiesView__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__0_in_rulePropertiesView214); - rule__PropertiesView__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getPropertiesViewAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rulePropertiesView" - - - // $ANTLR start "entryRuleWizard" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:144:1: entryRuleWizard : ruleWizard EOF ; - public final void entryRuleWizard() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:145:1: ( ruleWizard EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:146:1: ruleWizard EOF - { - before(grammarAccess.getWizardRule()); - pushFollow(FollowSets000.FOLLOW_ruleWizard_in_entryRuleWizard241); - ruleWizard(); - - state._fsp--; - - after(grammarAccess.getWizardRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWizard248); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleWizard" - - - // $ANTLR start "ruleWizard" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:153:1: ruleWizard : ( ( rule__Wizard__Group__0 ) ) ; - public final void ruleWizard() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:157:2: ( ( ( rule__Wizard__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:158:1: ( ( rule__Wizard__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:158:1: ( ( rule__Wizard__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:159:1: ( rule__Wizard__Group__0 ) - { - before(grammarAccess.getWizardAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:160:1: ( rule__Wizard__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:160:2: rule__Wizard__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__0_in_ruleWizard274); - rule__Wizard__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getWizardAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleWizard" - - - // $ANTLR start "entryRuleDetails" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:172:1: entryRuleDetails : ruleDetails EOF ; - public final void entryRuleDetails() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:173:1: ( ruleDetails EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:174:1: ruleDetails EOF - { - before(grammarAccess.getDetailsRule()); - pushFollow(FollowSets000.FOLLOW_ruleDetails_in_entryRuleDetails301); - ruleDetails(); - - state._fsp--; - - after(grammarAccess.getDetailsRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDetails308); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleDetails" - - - // $ANTLR start "ruleDetails" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:181:1: ruleDetails : ( ( rule__Details__Group__0 ) ) ; - public final void ruleDetails() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:185:2: ( ( ( rule__Details__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:186:1: ( ( rule__Details__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:186:1: ( ( rule__Details__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:187:1: ( rule__Details__Group__0 ) - { - before(grammarAccess.getDetailsAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:188:1: ( rule__Details__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:188:2: rule__Details__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__0_in_ruleDetails334); - rule__Details__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getDetailsAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleDetails" - - - // $ANTLR start "entryRuleSubProcessings" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:200:1: entryRuleSubProcessings : ruleSubProcessings EOF ; - public final void entryRuleSubProcessings() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:201:1: ( ruleSubProcessings EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:202:1: ruleSubProcessings EOF - { - before(grammarAccess.getSubProcessingsRule()); - pushFollow(FollowSets000.FOLLOW_ruleSubProcessings_in_entryRuleSubProcessings361); - ruleSubProcessings(); - - state._fsp--; - - after(grammarAccess.getSubProcessingsRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSubProcessings368); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSubProcessings" - - - // $ANTLR start "ruleSubProcessings" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:209:1: ruleSubProcessings : ( ( rule__SubProcessings__Alternatives ) ) ; - public final void ruleSubProcessings() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:213:2: ( ( ( rule__SubProcessings__Alternatives ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:214:1: ( ( rule__SubProcessings__Alternatives ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:214:1: ( ( rule__SubProcessings__Alternatives ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:215:1: ( rule__SubProcessings__Alternatives ) - { - before(grammarAccess.getSubProcessingsAccess().getAlternatives()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:216:1: ( rule__SubProcessings__Alternatives ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:216:2: rule__SubProcessings__Alternatives - { - pushFollow(FollowSets000.FOLLOW_rule__SubProcessings__Alternatives_in_ruleSubProcessings394); - rule__SubProcessings__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getSubProcessingsAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSubProcessings" - - - // $ANTLR start "entryRuleAction" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:228:1: entryRuleAction : ruleAction EOF ; - public final void entryRuleAction() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:229:1: ( ruleAction EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:230:1: ruleAction EOF - { - before(grammarAccess.getActionRule()); - pushFollow(FollowSets000.FOLLOW_ruleAction_in_entryRuleAction421); - ruleAction(); - - state._fsp--; - - after(grammarAccess.getActionRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAction428); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleAction" - - - // $ANTLR start "ruleAction" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:237:1: ruleAction : ( ( rule__Action__Alternatives ) ) ; - public final void ruleAction() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:241:2: ( ( ( rule__Action__Alternatives ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:242:1: ( ( rule__Action__Alternatives ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:242:1: ( ( rule__Action__Alternatives ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:243:1: ( rule__Action__Alternatives ) - { - before(grammarAccess.getActionAccess().getAlternatives()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:244:1: ( rule__Action__Alternatives ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:244:2: rule__Action__Alternatives - { - pushFollow(FollowSets000.FOLLOW_rule__Action__Alternatives_in_ruleAction454); - rule__Action__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getActionAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleAction" - - - // $ANTLR start "entryRuleEclipseAction" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:256:1: entryRuleEclipseAction : ruleEclipseAction EOF ; - public final void entryRuleEclipseAction() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:257:1: ( ruleEclipseAction EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:258:1: ruleEclipseAction EOF - { - before(grammarAccess.getEclipseActionRule()); - pushFollow(FollowSets000.FOLLOW_ruleEclipseAction_in_entryRuleEclipseAction481); - ruleEclipseAction(); - - state._fsp--; - - after(grammarAccess.getEclipseActionRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEclipseAction488); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleEclipseAction" - - - // $ANTLR start "ruleEclipseAction" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:265:1: ruleEclipseAction : ( ( rule__EclipseAction__Alternatives ) ) ; - public final void ruleEclipseAction() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:269:2: ( ( ( rule__EclipseAction__Alternatives ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:270:1: ( ( rule__EclipseAction__Alternatives ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:270:1: ( ( rule__EclipseAction__Alternatives ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:271:1: ( rule__EclipseAction__Alternatives ) - { - before(grammarAccess.getEclipseActionAccess().getAlternatives()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:272:1: ( rule__EclipseAction__Alternatives ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:272:2: rule__EclipseAction__Alternatives - { - pushFollow(FollowSets000.FOLLOW_rule__EclipseAction__Alternatives_in_ruleEclipseAction514); - rule__EclipseAction__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getEclipseActionAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleEclipseAction" - - - // $ANTLR start "entryRuleCreateProject" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:284:1: entryRuleCreateProject : ruleCreateProject EOF ; - public final void entryRuleCreateProject() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:285:1: ( ruleCreateProject EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:286:1: ruleCreateProject EOF - { - before(grammarAccess.getCreateProjectRule()); - pushFollow(FollowSets000.FOLLOW_ruleCreateProject_in_entryRuleCreateProject541); - ruleCreateProject(); - - state._fsp--; - - after(grammarAccess.getCreateProjectRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCreateProject548); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleCreateProject" - - - // $ANTLR start "ruleCreateProject" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:293:1: ruleCreateProject : ( ( rule__CreateProject__Group__0 ) ) ; - public final void ruleCreateProject() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:297:2: ( ( ( rule__CreateProject__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:298:1: ( ( rule__CreateProject__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:298:1: ( ( rule__CreateProject__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:299:1: ( rule__CreateProject__Group__0 ) - { - before(grammarAccess.getCreateProjectAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:300:1: ( rule__CreateProject__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:300:2: rule__CreateProject__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateProject__Group__0_in_ruleCreateProject574); - rule__CreateProject__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getCreateProjectAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleCreateProject" - - - // $ANTLR start "entryRuleRemoveProject" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:312:1: entryRuleRemoveProject : ruleRemoveProject EOF ; - public final void entryRuleRemoveProject() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:313:1: ( ruleRemoveProject EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:314:1: ruleRemoveProject EOF - { - before(grammarAccess.getRemoveProjectRule()); - pushFollow(FollowSets000.FOLLOW_ruleRemoveProject_in_entryRuleRemoveProject601); - ruleRemoveProject(); - - state._fsp--; - - after(grammarAccess.getRemoveProjectRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRemoveProject608); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleRemoveProject" - - - // $ANTLR start "ruleRemoveProject" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:321:1: ruleRemoveProject : ( ( rule__RemoveProject__Group__0 ) ) ; - public final void ruleRemoveProject() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:325:2: ( ( ( rule__RemoveProject__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:326:1: ( ( rule__RemoveProject__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:326:1: ( ( rule__RemoveProject__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:327:1: ( rule__RemoveProject__Group__0 ) - { - before(grammarAccess.getRemoveProjectAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:328:1: ( rule__RemoveProject__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:328:2: rule__RemoveProject__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__RemoveProject__Group__0_in_ruleRemoveProject634); - rule__RemoveProject__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getRemoveProjectAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleRemoveProject" - - - // $ANTLR start "entryRuleCreateModel" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:342:1: entryRuleCreateModel : ruleCreateModel EOF ; - public final void entryRuleCreateModel() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:343:1: ( ruleCreateModel EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:344:1: ruleCreateModel EOF - { - before(grammarAccess.getCreateModelRule()); - pushFollow(FollowSets000.FOLLOW_ruleCreateModel_in_entryRuleCreateModel663); - ruleCreateModel(); - - state._fsp--; - - after(grammarAccess.getCreateModelRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCreateModel670); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleCreateModel" - - - // $ANTLR start "ruleCreateModel" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:351:1: ruleCreateModel : ( ( rule__CreateModel__Group__0 ) ) ; - public final void ruleCreateModel() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:355:2: ( ( ( rule__CreateModel__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:356:1: ( ( rule__CreateModel__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:356:1: ( ( rule__CreateModel__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:357:1: ( rule__CreateModel__Group__0 ) - { - before(grammarAccess.getCreateModelAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:358:1: ( rule__CreateModel__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:358:2: rule__CreateModel__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__0_in_ruleCreateModel696); - rule__CreateModel__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getCreateModelAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleCreateModel" - - - // $ANTLR start "entryRuleSave" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:370:1: entryRuleSave : ruleSave EOF ; - public final void entryRuleSave() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:371:1: ( ruleSave EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:372:1: ruleSave EOF - { - before(grammarAccess.getSaveRule()); - pushFollow(FollowSets000.FOLLOW_ruleSave_in_entryRuleSave723); - ruleSave(); - - state._fsp--; - - after(grammarAccess.getSaveRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSave730); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSave" - - - // $ANTLR start "ruleSave" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:379:1: ruleSave : ( ( rule__Save__Group__0 ) ) ; - public final void ruleSave() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:383:2: ( ( ( rule__Save__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:384:1: ( ( rule__Save__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:384:1: ( ( rule__Save__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:385:1: ( rule__Save__Group__0 ) - { - before(grammarAccess.getSaveAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:386:1: ( rule__Save__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:386:2: rule__Save__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__Save__Group__0_in_ruleSave756); - rule__Save__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSaveAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSave" - - - // $ANTLR start "entryRuleEEFAction" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:398:1: entryRuleEEFAction : ruleEEFAction EOF ; - public final void entryRuleEEFAction() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:399:1: ( ruleEEFAction EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:400:1: ruleEEFAction EOF - { - before(grammarAccess.getEEFActionRule()); - pushFollow(FollowSets000.FOLLOW_ruleEEFAction_in_entryRuleEEFAction783); - ruleEEFAction(); - - state._fsp--; - - after(grammarAccess.getEEFActionRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEEFAction790); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleEEFAction" - - - // $ANTLR start "ruleEEFAction" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:407:1: ruleEEFAction : ( ( rule__EEFAction__Alternatives ) ) ; - public final void ruleEEFAction() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:411:2: ( ( ( rule__EEFAction__Alternatives ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:412:1: ( ( rule__EEFAction__Alternatives ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:412:1: ( ( rule__EEFAction__Alternatives ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:413:1: ( rule__EEFAction__Alternatives ) - { - before(grammarAccess.getEEFActionAccess().getAlternatives()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:414:1: ( rule__EEFAction__Alternatives ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:414:2: rule__EEFAction__Alternatives - { - pushFollow(FollowSets000.FOLLOW_rule__EEFAction__Alternatives_in_ruleEEFAction816); - rule__EEFAction__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getEEFActionAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleEEFAction" - - - // $ANTLR start "entryRuleCheck" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:426:1: entryRuleCheck : ruleCheck EOF ; - public final void entryRuleCheck() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:427:1: ( ruleCheck EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:428:1: ruleCheck EOF - { - before(grammarAccess.getCheckRule()); - pushFollow(FollowSets000.FOLLOW_ruleCheck_in_entryRuleCheck843); - ruleCheck(); - - state._fsp--; - - after(grammarAccess.getCheckRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCheck850); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleCheck" - - - // $ANTLR start "ruleCheck" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:435:1: ruleCheck : ( ( rule__Check__Group__0 ) ) ; - public final void ruleCheck() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:439:2: ( ( ( rule__Check__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:440:1: ( ( rule__Check__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:440:1: ( ( rule__Check__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:441:1: ( rule__Check__Group__0 ) - { - before(grammarAccess.getCheckAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:442:1: ( rule__Check__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:442:2: rule__Check__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__Check__Group__0_in_ruleCheck876); - rule__Check__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getCheckAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleCheck" - - - // $ANTLR start "entryRuleAdd" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:454:1: entryRuleAdd : ruleAdd EOF ; - public final void entryRuleAdd() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:455:1: ( ruleAdd EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:456:1: ruleAdd EOF - { - before(grammarAccess.getAddRule()); - pushFollow(FollowSets000.FOLLOW_ruleAdd_in_entryRuleAdd903); - ruleAdd(); - - state._fsp--; - - after(grammarAccess.getAddRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAdd910); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleAdd" - - - // $ANTLR start "ruleAdd" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:463:1: ruleAdd : ( ( rule__Add__Group__0 ) ) ; - public final void ruleAdd() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:467:2: ( ( ( rule__Add__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:468:1: ( ( rule__Add__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:468:1: ( ( rule__Add__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:469:1: ( rule__Add__Group__0 ) - { - before(grammarAccess.getAddAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:470:1: ( rule__Add__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:470:2: rule__Add__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__0_in_ruleAdd936); - rule__Add__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getAddAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleAdd" - - - // $ANTLR start "entryRuleSetAttribute" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:482:1: entryRuleSetAttribute : ruleSetAttribute EOF ; - public final void entryRuleSetAttribute() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:483:1: ( ruleSetAttribute EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:484:1: ruleSetAttribute EOF - { - before(grammarAccess.getSetAttributeRule()); - pushFollow(FollowSets000.FOLLOW_ruleSetAttribute_in_entryRuleSetAttribute963); - ruleSetAttribute(); - - state._fsp--; - - after(grammarAccess.getSetAttributeRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSetAttribute970); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleSetAttribute" - - - // $ANTLR start "ruleSetAttribute" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:491:1: ruleSetAttribute : ( ( rule__SetAttribute__Group__0 ) ) ; - public final void ruleSetAttribute() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:495:2: ( ( ( rule__SetAttribute__Group__0 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:496:1: ( ( rule__SetAttribute__Group__0 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:496:1: ( ( rule__SetAttribute__Group__0 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:497:1: ( rule__SetAttribute__Group__0 ) - { - before(grammarAccess.getSetAttributeAccess().getGroup()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:498:1: ( rule__SetAttribute__Group__0 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:498:2: rule__SetAttribute__Group__0 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__0_in_ruleSetAttribute996); - rule__SetAttribute__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getSetAttributeAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleSetAttribute" - - - // $ANTLR start "entryRuleEString" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:510:1: entryRuleEString : ruleEString EOF ; - public final void entryRuleEString() throws RecognitionException { - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:511:1: ( ruleEString EOF ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:512:1: ruleEString EOF - { - before(grammarAccess.getEStringRule()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_entryRuleEString1023); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getEStringRule()); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEString1030); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleEString" - - - // $ANTLR start "ruleEString" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:519:1: ruleEString : ( ( rule__EString__Alternatives ) ) ; - public final void ruleEString() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:523:2: ( ( ( rule__EString__Alternatives ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:524:1: ( ( rule__EString__Alternatives ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:524:1: ( ( rule__EString__Alternatives ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:525:1: ( rule__EString__Alternatives ) - { - before(grammarAccess.getEStringAccess().getAlternatives()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:526:1: ( rule__EString__Alternatives ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:526:2: rule__EString__Alternatives - { - pushFollow(FollowSets000.FOLLOW_rule__EString__Alternatives_in_ruleEString1056); - rule__EString__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getEStringAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleEString" - - - // $ANTLR start "rule__Processings__Alternatives" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:538:1: rule__Processings__Alternatives : ( ( ruleDetails ) | ( ruleWizard ) | ( rulePropertiesView ) | ( ruleAction ) ); - public final void rule__Processings__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:542:1: ( ( ruleDetails ) | ( ruleWizard ) | ( rulePropertiesView ) | ( ruleAction ) ) - int alt1=4; - switch ( input.LA(1) ) { - case 16: - { - alt1=1; - } - break; - case 15: - { - alt1=2; - } - break; - case 14: - { - alt1=3; - } - break; - case 17: - case 18: - case 19: - case 23: - case 24: - case 27: - { - alt1=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 1, 0, input); - - throw nvae; - } - - switch (alt1) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:543:1: ( ruleDetails ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:543:1: ( ruleDetails ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:544:1: ruleDetails - { - before(grammarAccess.getProcessingsAccess().getDetailsParserRuleCall_0()); - pushFollow(FollowSets000.FOLLOW_ruleDetails_in_rule__Processings__Alternatives1092); - ruleDetails(); - - state._fsp--; - - after(grammarAccess.getProcessingsAccess().getDetailsParserRuleCall_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:549:6: ( ruleWizard ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:549:6: ( ruleWizard ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:550:1: ruleWizard - { - before(grammarAccess.getProcessingsAccess().getWizardParserRuleCall_1()); - pushFollow(FollowSets000.FOLLOW_ruleWizard_in_rule__Processings__Alternatives1109); - ruleWizard(); - - state._fsp--; - - after(grammarAccess.getProcessingsAccess().getWizardParserRuleCall_1()); - - } - - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:555:6: ( rulePropertiesView ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:555:6: ( rulePropertiesView ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:556:1: rulePropertiesView - { - before(grammarAccess.getProcessingsAccess().getPropertiesViewParserRuleCall_2()); - pushFollow(FollowSets000.FOLLOW_rulePropertiesView_in_rule__Processings__Alternatives1126); - rulePropertiesView(); - - state._fsp--; - - after(grammarAccess.getProcessingsAccess().getPropertiesViewParserRuleCall_2()); - - } - - - } - break; - case 4 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:561:6: ( ruleAction ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:561:6: ( ruleAction ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:562:1: ruleAction - { - before(grammarAccess.getProcessingsAccess().getActionParserRuleCall_3()); - pushFollow(FollowSets000.FOLLOW_ruleAction_in_rule__Processings__Alternatives1143); - ruleAction(); - - state._fsp--; - - after(grammarAccess.getProcessingsAccess().getActionParserRuleCall_3()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Processings__Alternatives" - - - // $ANTLR start "rule__SubProcessings__Alternatives" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:572:1: rule__SubProcessings__Alternatives : ( ( ruleWizard ) | ( ruleDetails ) | ( rulePropertiesView ) | ( ruleAction ) ); - public final void rule__SubProcessings__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:576:1: ( ( ruleWizard ) | ( ruleDetails ) | ( rulePropertiesView ) | ( ruleAction ) ) - int alt2=4; - switch ( input.LA(1) ) { - case 15: - { - alt2=1; - } - break; - case 16: - { - alt2=2; - } - break; - case 14: - { - alt2=3; - } - break; - case 17: - case 18: - case 19: - case 23: - case 24: - case 27: - { - alt2=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 2, 0, input); - - throw nvae; - } - - switch (alt2) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:577:1: ( ruleWizard ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:577:1: ( ruleWizard ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:578:1: ruleWizard - { - before(grammarAccess.getSubProcessingsAccess().getWizardParserRuleCall_0()); - pushFollow(FollowSets000.FOLLOW_ruleWizard_in_rule__SubProcessings__Alternatives1175); - ruleWizard(); - - state._fsp--; - - after(grammarAccess.getSubProcessingsAccess().getWizardParserRuleCall_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:583:6: ( ruleDetails ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:583:6: ( ruleDetails ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:584:1: ruleDetails - { - before(grammarAccess.getSubProcessingsAccess().getDetailsParserRuleCall_1()); - pushFollow(FollowSets000.FOLLOW_ruleDetails_in_rule__SubProcessings__Alternatives1192); - ruleDetails(); - - state._fsp--; - - after(grammarAccess.getSubProcessingsAccess().getDetailsParserRuleCall_1()); - - } - - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:589:6: ( rulePropertiesView ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:589:6: ( rulePropertiesView ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:590:1: rulePropertiesView - { - before(grammarAccess.getSubProcessingsAccess().getPropertiesViewParserRuleCall_2()); - pushFollow(FollowSets000.FOLLOW_rulePropertiesView_in_rule__SubProcessings__Alternatives1209); - rulePropertiesView(); - - state._fsp--; - - after(grammarAccess.getSubProcessingsAccess().getPropertiesViewParserRuleCall_2()); - - } - - - } - break; - case 4 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:595:6: ( ruleAction ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:595:6: ( ruleAction ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:596:1: ruleAction - { - before(grammarAccess.getSubProcessingsAccess().getActionParserRuleCall_3()); - pushFollow(FollowSets000.FOLLOW_ruleAction_in_rule__SubProcessings__Alternatives1226); - ruleAction(); - - state._fsp--; - - after(grammarAccess.getSubProcessingsAccess().getActionParserRuleCall_3()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SubProcessings__Alternatives" - - - // $ANTLR start "rule__Action__Alternatives" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:606:1: rule__Action__Alternatives : ( ( ruleEclipseAction ) | ( ruleEEFAction ) ); - public final void rule__Action__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:610:1: ( ( ruleEclipseAction ) | ( ruleEEFAction ) ) - int alt3=2; - switch ( input.LA(1) ) { - case 17: - case 18: - case 23: - { - alt3=1; - } - break; - case 19: - { - int LA3_2 = input.LA(2); - - if ( (LA3_2==RULE_ID) ) { - int LA3_4 = input.LA(3); - - if ( (LA3_4==20) ) { - int LA3_5 = input.LA(4); - - if ( (LA3_5==RULE_STRING) ) { - int LA3_6 = input.LA(5); - - if ( (LA3_6==25) ) { - alt3=2; - } - else if ( (LA3_6==21) ) { - alt3=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 6, input); - - throw nvae; - } - } - else if ( (LA3_5==RULE_ID) ) { - int LA3_7 = input.LA(5); - - if ( (LA3_7==21) ) { - alt3=1; - } - else if ( (LA3_7==25) ) { - alt3=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 7, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 5, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 4, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 2, input); - - throw nvae; - } - } - break; - case 24: - case 27: - { - alt3=2; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); - - throw nvae; - } - - switch (alt3) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:611:1: ( ruleEclipseAction ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:611:1: ( ruleEclipseAction ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:612:1: ruleEclipseAction - { - before(grammarAccess.getActionAccess().getEclipseActionParserRuleCall_0()); - pushFollow(FollowSets000.FOLLOW_ruleEclipseAction_in_rule__Action__Alternatives1258); - ruleEclipseAction(); - - state._fsp--; - - after(grammarAccess.getActionAccess().getEclipseActionParserRuleCall_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:617:6: ( ruleEEFAction ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:617:6: ( ruleEEFAction ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:618:1: ruleEEFAction - { - before(grammarAccess.getActionAccess().getEEFActionParserRuleCall_1()); - pushFollow(FollowSets000.FOLLOW_ruleEEFAction_in_rule__Action__Alternatives1275); - ruleEEFAction(); - - state._fsp--; - - after(grammarAccess.getActionAccess().getEEFActionParserRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Action__Alternatives" - - - // $ANTLR start "rule__EclipseAction__Alternatives" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:628:1: rule__EclipseAction__Alternatives : ( ( ruleCreateProject ) | ( ruleCreateModel ) | ( ruleSave ) | ( ruleRemoveProject ) ); - public final void rule__EclipseAction__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:632:1: ( ( ruleCreateProject ) | ( ruleCreateModel ) | ( ruleSave ) | ( ruleRemoveProject ) ) - int alt4=4; - switch ( input.LA(1) ) { - case 17: - { - alt4=1; - } - break; - case 19: - { - alt4=2; - } - break; - case 23: - { - alt4=3; - } - break; - case 18: - { - alt4=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); - - throw nvae; - } - - switch (alt4) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:633:1: ( ruleCreateProject ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:633:1: ( ruleCreateProject ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:634:1: ruleCreateProject - { - before(grammarAccess.getEclipseActionAccess().getCreateProjectParserRuleCall_0()); - pushFollow(FollowSets000.FOLLOW_ruleCreateProject_in_rule__EclipseAction__Alternatives1307); - ruleCreateProject(); - - state._fsp--; - - after(grammarAccess.getEclipseActionAccess().getCreateProjectParserRuleCall_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:639:6: ( ruleCreateModel ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:639:6: ( ruleCreateModel ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:640:1: ruleCreateModel - { - before(grammarAccess.getEclipseActionAccess().getCreateModelParserRuleCall_1()); - pushFollow(FollowSets000.FOLLOW_ruleCreateModel_in_rule__EclipseAction__Alternatives1324); - ruleCreateModel(); - - state._fsp--; - - after(grammarAccess.getEclipseActionAccess().getCreateModelParserRuleCall_1()); - - } - - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:645:6: ( ruleSave ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:645:6: ( ruleSave ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:646:1: ruleSave - { - before(grammarAccess.getEclipseActionAccess().getSaveParserRuleCall_2()); - pushFollow(FollowSets000.FOLLOW_ruleSave_in_rule__EclipseAction__Alternatives1341); - ruleSave(); - - state._fsp--; - - after(grammarAccess.getEclipseActionAccess().getSaveParserRuleCall_2()); - - } - - - } - break; - case 4 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:651:6: ( ruleRemoveProject ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:651:6: ( ruleRemoveProject ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:652:1: ruleRemoveProject - { - before(grammarAccess.getEclipseActionAccess().getRemoveProjectParserRuleCall_3()); - pushFollow(FollowSets000.FOLLOW_ruleRemoveProject_in_rule__EclipseAction__Alternatives1358); - ruleRemoveProject(); - - state._fsp--; - - after(grammarAccess.getEclipseActionAccess().getRemoveProjectParserRuleCall_3()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EclipseAction__Alternatives" - - - // $ANTLR start "rule__EEFAction__Alternatives" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:663:1: rule__EEFAction__Alternatives : ( ( ruleCheck ) | ( ruleAdd ) | ( ruleSetAttribute ) ); - public final void rule__EEFAction__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:667:1: ( ( ruleCheck ) | ( ruleAdd ) | ( ruleSetAttribute ) ) - int alt5=3; - switch ( input.LA(1) ) { - case 24: - { - alt5=1; - } - break; - case 19: - { - alt5=2; - } - break; - case 27: - { - alt5=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - - throw nvae; - } - - switch (alt5) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:668:1: ( ruleCheck ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:668:1: ( ruleCheck ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:669:1: ruleCheck - { - before(grammarAccess.getEEFActionAccess().getCheckParserRuleCall_0()); - pushFollow(FollowSets000.FOLLOW_ruleCheck_in_rule__EEFAction__Alternatives1391); - ruleCheck(); - - state._fsp--; - - after(grammarAccess.getEEFActionAccess().getCheckParserRuleCall_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:674:6: ( ruleAdd ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:674:6: ( ruleAdd ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:675:1: ruleAdd - { - before(grammarAccess.getEEFActionAccess().getAddParserRuleCall_1()); - pushFollow(FollowSets000.FOLLOW_ruleAdd_in_rule__EEFAction__Alternatives1408); - ruleAdd(); - - state._fsp--; - - after(grammarAccess.getEEFActionAccess().getAddParserRuleCall_1()); - - } - - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:680:6: ( ruleSetAttribute ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:680:6: ( ruleSetAttribute ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:681:1: ruleSetAttribute - { - before(grammarAccess.getEEFActionAccess().getSetAttributeParserRuleCall_2()); - pushFollow(FollowSets000.FOLLOW_ruleSetAttribute_in_rule__EEFAction__Alternatives1425); - ruleSetAttribute(); - - state._fsp--; - - after(grammarAccess.getEEFActionAccess().getSetAttributeParserRuleCall_2()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EEFAction__Alternatives" - - - // $ANTLR start "rule__EString__Alternatives" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:691:1: rule__EString__Alternatives : ( ( RULE_STRING ) | ( RULE_ID ) ); - public final void rule__EString__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:695:1: ( ( RULE_STRING ) | ( RULE_ID ) ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==RULE_STRING) ) { - alt6=1; - } - else if ( (LA6_0==RULE_ID) ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:696:1: ( RULE_STRING ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:696:1: ( RULE_STRING ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:697:1: RULE_STRING - { - before(grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); - match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_rule__EString__Alternatives1457); - after(grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:702:6: ( RULE_ID ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:702:6: ( RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:703:1: RULE_ID - { - before(grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); - match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__EString__Alternatives1474); - after(grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__EString__Alternatives" - - - // $ANTLR start "rule__Scenario__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:715:1: rule__Scenario__Group__0 : rule__Scenario__Group__0__Impl rule__Scenario__Group__1 ; - public final void rule__Scenario__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:719:1: ( rule__Scenario__Group__0__Impl rule__Scenario__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:720:2: rule__Scenario__Group__0__Impl rule__Scenario__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__0__Impl_in_rule__Scenario__Group__01504); - rule__Scenario__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__1_in_rule__Scenario__Group__01507); - rule__Scenario__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__0" - - - // $ANTLR start "rule__Scenario__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:727:1: rule__Scenario__Group__0__Impl : ( 'scenario' ) ; - public final void rule__Scenario__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:731:1: ( ( 'scenario' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:732:1: ( 'scenario' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:732:1: ( 'scenario' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:733:1: 'scenario' - { - before(grammarAccess.getScenarioAccess().getScenarioKeyword_0()); - match(input,11,FollowSets000.FOLLOW_11_in_rule__Scenario__Group__0__Impl1535); - after(grammarAccess.getScenarioAccess().getScenarioKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__0__Impl" - - - // $ANTLR start "rule__Scenario__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:746:1: rule__Scenario__Group__1 : rule__Scenario__Group__1__Impl rule__Scenario__Group__2 ; - public final void rule__Scenario__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:750:1: ( rule__Scenario__Group__1__Impl rule__Scenario__Group__2 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:751:2: rule__Scenario__Group__1__Impl rule__Scenario__Group__2 - { - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__1__Impl_in_rule__Scenario__Group__11566); - rule__Scenario__Group__1__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__2_in_rule__Scenario__Group__11569); - rule__Scenario__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__1" - - - // $ANTLR start "rule__Scenario__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:758:1: rule__Scenario__Group__1__Impl : ( ( rule__Scenario__NameAssignment_1 ) ) ; - public final void rule__Scenario__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:762:1: ( ( ( rule__Scenario__NameAssignment_1 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:763:1: ( ( rule__Scenario__NameAssignment_1 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:763:1: ( ( rule__Scenario__NameAssignment_1 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:764:1: ( rule__Scenario__NameAssignment_1 ) - { - before(grammarAccess.getScenarioAccess().getNameAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:765:1: ( rule__Scenario__NameAssignment_1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:765:2: rule__Scenario__NameAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__Scenario__NameAssignment_1_in_rule__Scenario__Group__1__Impl1596); - rule__Scenario__NameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getScenarioAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__1__Impl" - - - // $ANTLR start "rule__Scenario__Group__2" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:775:1: rule__Scenario__Group__2 : rule__Scenario__Group__2__Impl rule__Scenario__Group__3 ; - public final void rule__Scenario__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:779:1: ( rule__Scenario__Group__2__Impl rule__Scenario__Group__3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:780:2: rule__Scenario__Group__2__Impl rule__Scenario__Group__3 - { - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__2__Impl_in_rule__Scenario__Group__21626); - rule__Scenario__Group__2__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__3_in_rule__Scenario__Group__21629); - rule__Scenario__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__2" - - - // $ANTLR start "rule__Scenario__Group__2__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:787:1: rule__Scenario__Group__2__Impl : ( '{' ) ; - public final void rule__Scenario__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:791:1: ( ( '{' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:792:1: ( '{' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:792:1: ( '{' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:793:1: '{' - { - before(grammarAccess.getScenarioAccess().getLeftCurlyBracketKeyword_2()); - match(input,12,FollowSets000.FOLLOW_12_in_rule__Scenario__Group__2__Impl1657); - after(grammarAccess.getScenarioAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__2__Impl" - - - // $ANTLR start "rule__Scenario__Group__3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:806:1: rule__Scenario__Group__3 : rule__Scenario__Group__3__Impl rule__Scenario__Group__4 ; - public final void rule__Scenario__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:810:1: ( rule__Scenario__Group__3__Impl rule__Scenario__Group__4 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:811:2: rule__Scenario__Group__3__Impl rule__Scenario__Group__4 - { - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__3__Impl_in_rule__Scenario__Group__31688); - rule__Scenario__Group__3__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__4_in_rule__Scenario__Group__31691); - rule__Scenario__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__3" - - - // $ANTLR start "rule__Scenario__Group__3__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:818:1: rule__Scenario__Group__3__Impl : ( ( rule__Scenario__ProcessingsAssignment_3 )* ) ; - public final void rule__Scenario__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:822:1: ( ( ( rule__Scenario__ProcessingsAssignment_3 )* ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:823:1: ( ( rule__Scenario__ProcessingsAssignment_3 )* ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:823:1: ( ( rule__Scenario__ProcessingsAssignment_3 )* ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:824:1: ( rule__Scenario__ProcessingsAssignment_3 )* - { - before(grammarAccess.getScenarioAccess().getProcessingsAssignment_3()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:825:1: ( rule__Scenario__ProcessingsAssignment_3 )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( ((LA7_0>=14 && LA7_0<=19)||(LA7_0>=23 && LA7_0<=24)||LA7_0==27) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:825:2: rule__Scenario__ProcessingsAssignment_3 - { - pushFollow(FollowSets000.FOLLOW_rule__Scenario__ProcessingsAssignment_3_in_rule__Scenario__Group__3__Impl1718); - rule__Scenario__ProcessingsAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop7; - } - } while (true); - - after(grammarAccess.getScenarioAccess().getProcessingsAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__3__Impl" - - - // $ANTLR start "rule__Scenario__Group__4" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:835:1: rule__Scenario__Group__4 : rule__Scenario__Group__4__Impl ; - public final void rule__Scenario__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:839:1: ( rule__Scenario__Group__4__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:840:2: rule__Scenario__Group__4__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__Scenario__Group__4__Impl_in_rule__Scenario__Group__41749); - rule__Scenario__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__4" - - - // $ANTLR start "rule__Scenario__Group__4__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:846:1: rule__Scenario__Group__4__Impl : ( '}' ) ; - public final void rule__Scenario__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:850:1: ( ( '}' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:851:1: ( '}' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:851:1: ( '}' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:852:1: '}' - { - before(grammarAccess.getScenarioAccess().getRightCurlyBracketKeyword_4()); - match(input,13,FollowSets000.FOLLOW_13_in_rule__Scenario__Group__4__Impl1777); - after(grammarAccess.getScenarioAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__Group__4__Impl" - - - // $ANTLR start "rule__PropertiesView__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:875:1: rule__PropertiesView__Group__0 : rule__PropertiesView__Group__0__Impl rule__PropertiesView__Group__1 ; - public final void rule__PropertiesView__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:879:1: ( rule__PropertiesView__Group__0__Impl rule__PropertiesView__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:880:2: rule__PropertiesView__Group__0__Impl rule__PropertiesView__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__0__Impl_in_rule__PropertiesView__Group__01818); - rule__PropertiesView__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__1_in_rule__PropertiesView__Group__01821); - rule__PropertiesView__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__0" - - - // $ANTLR start "rule__PropertiesView__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:887:1: rule__PropertiesView__Group__0__Impl : ( 'propertiesView' ) ; - public final void rule__PropertiesView__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:891:1: ( ( 'propertiesView' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:892:1: ( 'propertiesView' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:892:1: ( 'propertiesView' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:893:1: 'propertiesView' - { - before(grammarAccess.getPropertiesViewAccess().getPropertiesViewKeyword_0()); - match(input,14,FollowSets000.FOLLOW_14_in_rule__PropertiesView__Group__0__Impl1849); - after(grammarAccess.getPropertiesViewAccess().getPropertiesViewKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__0__Impl" - - - // $ANTLR start "rule__PropertiesView__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:906:1: rule__PropertiesView__Group__1 : rule__PropertiesView__Group__1__Impl rule__PropertiesView__Group__2 ; - public final void rule__PropertiesView__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:910:1: ( rule__PropertiesView__Group__1__Impl rule__PropertiesView__Group__2 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:911:2: rule__PropertiesView__Group__1__Impl rule__PropertiesView__Group__2 - { - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__1__Impl_in_rule__PropertiesView__Group__11880); - rule__PropertiesView__Group__1__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__2_in_rule__PropertiesView__Group__11883); - rule__PropertiesView__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__1" - - - // $ANTLR start "rule__PropertiesView__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:918:1: rule__PropertiesView__Group__1__Impl : ( ( rule__PropertiesView__NameAssignment_1 )? ) ; - public final void rule__PropertiesView__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:922:1: ( ( ( rule__PropertiesView__NameAssignment_1 )? ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:923:1: ( ( rule__PropertiesView__NameAssignment_1 )? ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:923:1: ( ( rule__PropertiesView__NameAssignment_1 )? ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:924:1: ( rule__PropertiesView__NameAssignment_1 )? - { - before(grammarAccess.getPropertiesViewAccess().getNameAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:925:1: ( rule__PropertiesView__NameAssignment_1 )? - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>=RULE_STRING && LA8_0<=RULE_ID)) ) { - alt8=1; - } - switch (alt8) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:925:2: rule__PropertiesView__NameAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__NameAssignment_1_in_rule__PropertiesView__Group__1__Impl1910); - rule__PropertiesView__NameAssignment_1(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getPropertiesViewAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__1__Impl" - - - // $ANTLR start "rule__PropertiesView__Group__2" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:935:1: rule__PropertiesView__Group__2 : rule__PropertiesView__Group__2__Impl rule__PropertiesView__Group__3 ; - public final void rule__PropertiesView__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:939:1: ( rule__PropertiesView__Group__2__Impl rule__PropertiesView__Group__3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:940:2: rule__PropertiesView__Group__2__Impl rule__PropertiesView__Group__3 - { - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__2__Impl_in_rule__PropertiesView__Group__21941); - rule__PropertiesView__Group__2__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__3_in_rule__PropertiesView__Group__21944); - rule__PropertiesView__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__2" - - - // $ANTLR start "rule__PropertiesView__Group__2__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:947:1: rule__PropertiesView__Group__2__Impl : ( '{' ) ; - public final void rule__PropertiesView__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:951:1: ( ( '{' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:952:1: ( '{' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:952:1: ( '{' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:953:1: '{' - { - before(grammarAccess.getPropertiesViewAccess().getLeftCurlyBracketKeyword_2()); - match(input,12,FollowSets000.FOLLOW_12_in_rule__PropertiesView__Group__2__Impl1972); - after(grammarAccess.getPropertiesViewAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__2__Impl" - - - // $ANTLR start "rule__PropertiesView__Group__3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:966:1: rule__PropertiesView__Group__3 : rule__PropertiesView__Group__3__Impl rule__PropertiesView__Group__4 ; - public final void rule__PropertiesView__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:970:1: ( rule__PropertiesView__Group__3__Impl rule__PropertiesView__Group__4 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:971:2: rule__PropertiesView__Group__3__Impl rule__PropertiesView__Group__4 - { - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__3__Impl_in_rule__PropertiesView__Group__32003); - rule__PropertiesView__Group__3__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__4_in_rule__PropertiesView__Group__32006); - rule__PropertiesView__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__3" - - - // $ANTLR start "rule__PropertiesView__Group__3__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:978:1: rule__PropertiesView__Group__3__Impl : ( ( rule__PropertiesView__ProcessingsAssignment_3 )* ) ; - public final void rule__PropertiesView__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:982:1: ( ( ( rule__PropertiesView__ProcessingsAssignment_3 )* ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:983:1: ( ( rule__PropertiesView__ProcessingsAssignment_3 )* ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:983:1: ( ( rule__PropertiesView__ProcessingsAssignment_3 )* ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:984:1: ( rule__PropertiesView__ProcessingsAssignment_3 )* - { - before(grammarAccess.getPropertiesViewAccess().getProcessingsAssignment_3()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:985:1: ( rule__PropertiesView__ProcessingsAssignment_3 )* - loop9: - do { - int alt9=2; - int LA9_0 = input.LA(1); - - if ( ((LA9_0>=14 && LA9_0<=19)||(LA9_0>=23 && LA9_0<=24)||LA9_0==27) ) { - alt9=1; - } - - - switch (alt9) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:985:2: rule__PropertiesView__ProcessingsAssignment_3 - { - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__ProcessingsAssignment_3_in_rule__PropertiesView__Group__3__Impl2033); - rule__PropertiesView__ProcessingsAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop9; - } - } while (true); - - after(grammarAccess.getPropertiesViewAccess().getProcessingsAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__3__Impl" - - - // $ANTLR start "rule__PropertiesView__Group__4" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:995:1: rule__PropertiesView__Group__4 : rule__PropertiesView__Group__4__Impl ; - public final void rule__PropertiesView__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:999:1: ( rule__PropertiesView__Group__4__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1000:2: rule__PropertiesView__Group__4__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__PropertiesView__Group__4__Impl_in_rule__PropertiesView__Group__42064); - rule__PropertiesView__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__4" - - - // $ANTLR start "rule__PropertiesView__Group__4__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1006:1: rule__PropertiesView__Group__4__Impl : ( '}' ) ; - public final void rule__PropertiesView__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1010:1: ( ( '}' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1011:1: ( '}' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1011:1: ( '}' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1012:1: '}' - { - before(grammarAccess.getPropertiesViewAccess().getRightCurlyBracketKeyword_4()); - match(input,13,FollowSets000.FOLLOW_13_in_rule__PropertiesView__Group__4__Impl2092); - after(grammarAccess.getPropertiesViewAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__Group__4__Impl" - - - // $ANTLR start "rule__Wizard__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1035:1: rule__Wizard__Group__0 : rule__Wizard__Group__0__Impl rule__Wizard__Group__1 ; - public final void rule__Wizard__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1039:1: ( rule__Wizard__Group__0__Impl rule__Wizard__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1040:2: rule__Wizard__Group__0__Impl rule__Wizard__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__0__Impl_in_rule__Wizard__Group__02133); - rule__Wizard__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__1_in_rule__Wizard__Group__02136); - rule__Wizard__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__0" - - - // $ANTLR start "rule__Wizard__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1047:1: rule__Wizard__Group__0__Impl : ( 'wizard' ) ; - public final void rule__Wizard__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1051:1: ( ( 'wizard' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1052:1: ( 'wizard' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1052:1: ( 'wizard' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1053:1: 'wizard' - { - before(grammarAccess.getWizardAccess().getWizardKeyword_0()); - match(input,15,FollowSets000.FOLLOW_15_in_rule__Wizard__Group__0__Impl2164); - after(grammarAccess.getWizardAccess().getWizardKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__0__Impl" - - - // $ANTLR start "rule__Wizard__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1066:1: rule__Wizard__Group__1 : rule__Wizard__Group__1__Impl rule__Wizard__Group__2 ; - public final void rule__Wizard__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1070:1: ( rule__Wizard__Group__1__Impl rule__Wizard__Group__2 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1071:2: rule__Wizard__Group__1__Impl rule__Wizard__Group__2 - { - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__1__Impl_in_rule__Wizard__Group__12195); - rule__Wizard__Group__1__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__2_in_rule__Wizard__Group__12198); - rule__Wizard__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__1" - - - // $ANTLR start "rule__Wizard__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1078:1: rule__Wizard__Group__1__Impl : ( ( rule__Wizard__NameAssignment_1 )? ) ; - public final void rule__Wizard__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1082:1: ( ( ( rule__Wizard__NameAssignment_1 )? ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1083:1: ( ( rule__Wizard__NameAssignment_1 )? ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1083:1: ( ( rule__Wizard__NameAssignment_1 )? ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1084:1: ( rule__Wizard__NameAssignment_1 )? - { - before(grammarAccess.getWizardAccess().getNameAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1085:1: ( rule__Wizard__NameAssignment_1 )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( ((LA10_0>=RULE_STRING && LA10_0<=RULE_ID)) ) { - alt10=1; - } - switch (alt10) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1085:2: rule__Wizard__NameAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__Wizard__NameAssignment_1_in_rule__Wizard__Group__1__Impl2225); - rule__Wizard__NameAssignment_1(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getWizardAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__1__Impl" - - - // $ANTLR start "rule__Wizard__Group__2" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1095:1: rule__Wizard__Group__2 : rule__Wizard__Group__2__Impl rule__Wizard__Group__3 ; - public final void rule__Wizard__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1099:1: ( rule__Wizard__Group__2__Impl rule__Wizard__Group__3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1100:2: rule__Wizard__Group__2__Impl rule__Wizard__Group__3 - { - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__2__Impl_in_rule__Wizard__Group__22256); - rule__Wizard__Group__2__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__3_in_rule__Wizard__Group__22259); - rule__Wizard__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__2" - - - // $ANTLR start "rule__Wizard__Group__2__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1107:1: rule__Wizard__Group__2__Impl : ( '{' ) ; - public final void rule__Wizard__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1111:1: ( ( '{' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1112:1: ( '{' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1112:1: ( '{' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1113:1: '{' - { - before(grammarAccess.getWizardAccess().getLeftCurlyBracketKeyword_2()); - match(input,12,FollowSets000.FOLLOW_12_in_rule__Wizard__Group__2__Impl2287); - after(grammarAccess.getWizardAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__2__Impl" - - - // $ANTLR start "rule__Wizard__Group__3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1126:1: rule__Wizard__Group__3 : rule__Wizard__Group__3__Impl rule__Wizard__Group__4 ; - public final void rule__Wizard__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1130:1: ( rule__Wizard__Group__3__Impl rule__Wizard__Group__4 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1131:2: rule__Wizard__Group__3__Impl rule__Wizard__Group__4 - { - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__3__Impl_in_rule__Wizard__Group__32318); - rule__Wizard__Group__3__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__4_in_rule__Wizard__Group__32321); - rule__Wizard__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__3" - - - // $ANTLR start "rule__Wizard__Group__3__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1138:1: rule__Wizard__Group__3__Impl : ( ( rule__Wizard__ProcessingsAssignment_3 )* ) ; - public final void rule__Wizard__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1142:1: ( ( ( rule__Wizard__ProcessingsAssignment_3 )* ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1143:1: ( ( rule__Wizard__ProcessingsAssignment_3 )* ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1143:1: ( ( rule__Wizard__ProcessingsAssignment_3 )* ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1144:1: ( rule__Wizard__ProcessingsAssignment_3 )* - { - before(grammarAccess.getWizardAccess().getProcessingsAssignment_3()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1145:1: ( rule__Wizard__ProcessingsAssignment_3 )* - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>=14 && LA11_0<=19)||(LA11_0>=23 && LA11_0<=24)||LA11_0==27) ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1145:2: rule__Wizard__ProcessingsAssignment_3 - { - pushFollow(FollowSets000.FOLLOW_rule__Wizard__ProcessingsAssignment_3_in_rule__Wizard__Group__3__Impl2348); - rule__Wizard__ProcessingsAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop11; - } - } while (true); - - after(grammarAccess.getWizardAccess().getProcessingsAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__3__Impl" - - - // $ANTLR start "rule__Wizard__Group__4" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1155:1: rule__Wizard__Group__4 : rule__Wizard__Group__4__Impl ; - public final void rule__Wizard__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1159:1: ( rule__Wizard__Group__4__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1160:2: rule__Wizard__Group__4__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__Wizard__Group__4__Impl_in_rule__Wizard__Group__42379); - rule__Wizard__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__4" - - - // $ANTLR start "rule__Wizard__Group__4__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1166:1: rule__Wizard__Group__4__Impl : ( '}' ) ; - public final void rule__Wizard__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1170:1: ( ( '}' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1171:1: ( '}' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1171:1: ( '}' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1172:1: '}' - { - before(grammarAccess.getWizardAccess().getRightCurlyBracketKeyword_4()); - match(input,13,FollowSets000.FOLLOW_13_in_rule__Wizard__Group__4__Impl2407); - after(grammarAccess.getWizardAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__Group__4__Impl" - - - // $ANTLR start "rule__Details__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1195:1: rule__Details__Group__0 : rule__Details__Group__0__Impl rule__Details__Group__1 ; - public final void rule__Details__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1199:1: ( rule__Details__Group__0__Impl rule__Details__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1200:2: rule__Details__Group__0__Impl rule__Details__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__0__Impl_in_rule__Details__Group__02448); - rule__Details__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__1_in_rule__Details__Group__02451); - rule__Details__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__0" - - - // $ANTLR start "rule__Details__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1207:1: rule__Details__Group__0__Impl : ( 'detailsPage' ) ; - public final void rule__Details__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1211:1: ( ( 'detailsPage' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1212:1: ( 'detailsPage' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1212:1: ( 'detailsPage' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1213:1: 'detailsPage' - { - before(grammarAccess.getDetailsAccess().getDetailsPageKeyword_0()); - match(input,16,FollowSets000.FOLLOW_16_in_rule__Details__Group__0__Impl2479); - after(grammarAccess.getDetailsAccess().getDetailsPageKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__0__Impl" - - - // $ANTLR start "rule__Details__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1226:1: rule__Details__Group__1 : rule__Details__Group__1__Impl rule__Details__Group__2 ; - public final void rule__Details__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1230:1: ( rule__Details__Group__1__Impl rule__Details__Group__2 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1231:2: rule__Details__Group__1__Impl rule__Details__Group__2 - { - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__1__Impl_in_rule__Details__Group__12510); - rule__Details__Group__1__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__2_in_rule__Details__Group__12513); - rule__Details__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__1" - - - // $ANTLR start "rule__Details__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1238:1: rule__Details__Group__1__Impl : ( ( rule__Details__NameAssignment_1 )? ) ; - public final void rule__Details__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1242:1: ( ( ( rule__Details__NameAssignment_1 )? ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1243:1: ( ( rule__Details__NameAssignment_1 )? ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1243:1: ( ( rule__Details__NameAssignment_1 )? ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1244:1: ( rule__Details__NameAssignment_1 )? - { - before(grammarAccess.getDetailsAccess().getNameAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1245:1: ( rule__Details__NameAssignment_1 )? - int alt12=2; - int LA12_0 = input.LA(1); - - if ( ((LA12_0>=RULE_STRING && LA12_0<=RULE_ID)) ) { - alt12=1; - } - switch (alt12) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1245:2: rule__Details__NameAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__Details__NameAssignment_1_in_rule__Details__Group__1__Impl2540); - rule__Details__NameAssignment_1(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getDetailsAccess().getNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__1__Impl" - - - // $ANTLR start "rule__Details__Group__2" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1255:1: rule__Details__Group__2 : rule__Details__Group__2__Impl rule__Details__Group__3 ; - public final void rule__Details__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1259:1: ( rule__Details__Group__2__Impl rule__Details__Group__3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1260:2: rule__Details__Group__2__Impl rule__Details__Group__3 - { - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__2__Impl_in_rule__Details__Group__22571); - rule__Details__Group__2__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__3_in_rule__Details__Group__22574); - rule__Details__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__2" - - - // $ANTLR start "rule__Details__Group__2__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1267:1: rule__Details__Group__2__Impl : ( '{' ) ; - public final void rule__Details__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1271:1: ( ( '{' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1272:1: ( '{' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1272:1: ( '{' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1273:1: '{' - { - before(grammarAccess.getDetailsAccess().getLeftCurlyBracketKeyword_2()); - match(input,12,FollowSets000.FOLLOW_12_in_rule__Details__Group__2__Impl2602); - after(grammarAccess.getDetailsAccess().getLeftCurlyBracketKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__2__Impl" - - - // $ANTLR start "rule__Details__Group__3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1286:1: rule__Details__Group__3 : rule__Details__Group__3__Impl rule__Details__Group__4 ; - public final void rule__Details__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1290:1: ( rule__Details__Group__3__Impl rule__Details__Group__4 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1291:2: rule__Details__Group__3__Impl rule__Details__Group__4 - { - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__3__Impl_in_rule__Details__Group__32633); - rule__Details__Group__3__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__4_in_rule__Details__Group__32636); - rule__Details__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__3" - - - // $ANTLR start "rule__Details__Group__3__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1298:1: rule__Details__Group__3__Impl : ( ( rule__Details__ProcessingsAssignment_3 )* ) ; - public final void rule__Details__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1302:1: ( ( ( rule__Details__ProcessingsAssignment_3 )* ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1303:1: ( ( rule__Details__ProcessingsAssignment_3 )* ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1303:1: ( ( rule__Details__ProcessingsAssignment_3 )* ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1304:1: ( rule__Details__ProcessingsAssignment_3 )* - { - before(grammarAccess.getDetailsAccess().getProcessingsAssignment_3()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1305:1: ( rule__Details__ProcessingsAssignment_3 )* - loop13: - do { - int alt13=2; - int LA13_0 = input.LA(1); - - if ( ((LA13_0>=14 && LA13_0<=19)||(LA13_0>=23 && LA13_0<=24)||LA13_0==27) ) { - alt13=1; - } - - - switch (alt13) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1305:2: rule__Details__ProcessingsAssignment_3 - { - pushFollow(FollowSets000.FOLLOW_rule__Details__ProcessingsAssignment_3_in_rule__Details__Group__3__Impl2663); - rule__Details__ProcessingsAssignment_3(); - - state._fsp--; - - - } - break; - - default : - break loop13; - } - } while (true); - - after(grammarAccess.getDetailsAccess().getProcessingsAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__3__Impl" - - - // $ANTLR start "rule__Details__Group__4" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1315:1: rule__Details__Group__4 : rule__Details__Group__4__Impl ; - public final void rule__Details__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1319:1: ( rule__Details__Group__4__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1320:2: rule__Details__Group__4__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__Details__Group__4__Impl_in_rule__Details__Group__42694); - rule__Details__Group__4__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__4" - - - // $ANTLR start "rule__Details__Group__4__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1326:1: rule__Details__Group__4__Impl : ( '}' ) ; - public final void rule__Details__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1330:1: ( ( '}' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1331:1: ( '}' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1331:1: ( '}' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1332:1: '}' - { - before(grammarAccess.getDetailsAccess().getRightCurlyBracketKeyword_4()); - match(input,13,FollowSets000.FOLLOW_13_in_rule__Details__Group__4__Impl2722); - after(grammarAccess.getDetailsAccess().getRightCurlyBracketKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__Group__4__Impl" - - - // $ANTLR start "rule__CreateProject__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1355:1: rule__CreateProject__Group__0 : rule__CreateProject__Group__0__Impl rule__CreateProject__Group__1 ; - public final void rule__CreateProject__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1359:1: ( rule__CreateProject__Group__0__Impl rule__CreateProject__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1360:2: rule__CreateProject__Group__0__Impl rule__CreateProject__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateProject__Group__0__Impl_in_rule__CreateProject__Group__02763); - rule__CreateProject__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__CreateProject__Group__1_in_rule__CreateProject__Group__02766); - rule__CreateProject__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateProject__Group__0" - - - // $ANTLR start "rule__CreateProject__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1367:1: rule__CreateProject__Group__0__Impl : ( 'createProject' ) ; - public final void rule__CreateProject__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1371:1: ( ( 'createProject' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1372:1: ( 'createProject' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1372:1: ( 'createProject' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1373:1: 'createProject' - { - before(grammarAccess.getCreateProjectAccess().getCreateProjectKeyword_0()); - match(input,17,FollowSets000.FOLLOW_17_in_rule__CreateProject__Group__0__Impl2794); - after(grammarAccess.getCreateProjectAccess().getCreateProjectKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateProject__Group__0__Impl" - - - // $ANTLR start "rule__CreateProject__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1386:1: rule__CreateProject__Group__1 : rule__CreateProject__Group__1__Impl ; - public final void rule__CreateProject__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1390:1: ( rule__CreateProject__Group__1__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1391:2: rule__CreateProject__Group__1__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__CreateProject__Group__1__Impl_in_rule__CreateProject__Group__12825); - rule__CreateProject__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateProject__Group__1" - - - // $ANTLR start "rule__CreateProject__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1397:1: rule__CreateProject__Group__1__Impl : ( ( rule__CreateProject__ProjectNameAssignment_1 ) ) ; - public final void rule__CreateProject__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1401:1: ( ( ( rule__CreateProject__ProjectNameAssignment_1 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1402:1: ( ( rule__CreateProject__ProjectNameAssignment_1 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1402:1: ( ( rule__CreateProject__ProjectNameAssignment_1 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1403:1: ( rule__CreateProject__ProjectNameAssignment_1 ) - { - before(grammarAccess.getCreateProjectAccess().getProjectNameAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1404:1: ( rule__CreateProject__ProjectNameAssignment_1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1404:2: rule__CreateProject__ProjectNameAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateProject__ProjectNameAssignment_1_in_rule__CreateProject__Group__1__Impl2852); - rule__CreateProject__ProjectNameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getCreateProjectAccess().getProjectNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateProject__Group__1__Impl" - - - // $ANTLR start "rule__RemoveProject__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1418:1: rule__RemoveProject__Group__0 : rule__RemoveProject__Group__0__Impl rule__RemoveProject__Group__1 ; - public final void rule__RemoveProject__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1422:1: ( rule__RemoveProject__Group__0__Impl rule__RemoveProject__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1423:2: rule__RemoveProject__Group__0__Impl rule__RemoveProject__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__RemoveProject__Group__0__Impl_in_rule__RemoveProject__Group__02886); - rule__RemoveProject__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__RemoveProject__Group__1_in_rule__RemoveProject__Group__02889); - rule__RemoveProject__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RemoveProject__Group__0" - - - // $ANTLR start "rule__RemoveProject__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1430:1: rule__RemoveProject__Group__0__Impl : ( 'deleteProject' ) ; - public final void rule__RemoveProject__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1434:1: ( ( 'deleteProject' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1435:1: ( 'deleteProject' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1435:1: ( 'deleteProject' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1436:1: 'deleteProject' - { - before(grammarAccess.getRemoveProjectAccess().getDeleteProjectKeyword_0()); - match(input,18,FollowSets000.FOLLOW_18_in_rule__RemoveProject__Group__0__Impl2917); - after(grammarAccess.getRemoveProjectAccess().getDeleteProjectKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RemoveProject__Group__0__Impl" - - - // $ANTLR start "rule__RemoveProject__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1449:1: rule__RemoveProject__Group__1 : rule__RemoveProject__Group__1__Impl ; - public final void rule__RemoveProject__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1453:1: ( rule__RemoveProject__Group__1__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1454:2: rule__RemoveProject__Group__1__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__RemoveProject__Group__1__Impl_in_rule__RemoveProject__Group__12948); - rule__RemoveProject__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RemoveProject__Group__1" - - - // $ANTLR start "rule__RemoveProject__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1460:1: rule__RemoveProject__Group__1__Impl : ( ( rule__RemoveProject__ProjectNameAssignment_1 ) ) ; - public final void rule__RemoveProject__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1464:1: ( ( ( rule__RemoveProject__ProjectNameAssignment_1 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1465:1: ( ( rule__RemoveProject__ProjectNameAssignment_1 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1465:1: ( ( rule__RemoveProject__ProjectNameAssignment_1 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1466:1: ( rule__RemoveProject__ProjectNameAssignment_1 ) - { - before(grammarAccess.getRemoveProjectAccess().getProjectNameAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1467:1: ( rule__RemoveProject__ProjectNameAssignment_1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1467:2: rule__RemoveProject__ProjectNameAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__RemoveProject__ProjectNameAssignment_1_in_rule__RemoveProject__Group__1__Impl2975); - rule__RemoveProject__ProjectNameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getRemoveProjectAccess().getProjectNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RemoveProject__Group__1__Impl" - - - // $ANTLR start "rule__CreateModel__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1481:1: rule__CreateModel__Group__0 : rule__CreateModel__Group__0__Impl rule__CreateModel__Group__1 ; - public final void rule__CreateModel__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1485:1: ( rule__CreateModel__Group__0__Impl rule__CreateModel__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1486:2: rule__CreateModel__Group__0__Impl rule__CreateModel__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__0__Impl_in_rule__CreateModel__Group__03009); - rule__CreateModel__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__1_in_rule__CreateModel__Group__03012); - rule__CreateModel__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__0" - - - // $ANTLR start "rule__CreateModel__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1493:1: rule__CreateModel__Group__0__Impl : ( 'createObject' ) ; - public final void rule__CreateModel__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1497:1: ( ( 'createObject' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1498:1: ( 'createObject' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1498:1: ( 'createObject' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1499:1: 'createObject' - { - before(grammarAccess.getCreateModelAccess().getCreateObjectKeyword_0()); - match(input,19,FollowSets000.FOLLOW_19_in_rule__CreateModel__Group__0__Impl3040); - after(grammarAccess.getCreateModelAccess().getCreateObjectKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__0__Impl" - - - // $ANTLR start "rule__CreateModel__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1512:1: rule__CreateModel__Group__1 : rule__CreateModel__Group__1__Impl rule__CreateModel__Group__2 ; - public final void rule__CreateModel__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1516:1: ( rule__CreateModel__Group__1__Impl rule__CreateModel__Group__2 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1517:2: rule__CreateModel__Group__1__Impl rule__CreateModel__Group__2 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__1__Impl_in_rule__CreateModel__Group__13071); - rule__CreateModel__Group__1__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__2_in_rule__CreateModel__Group__13074); - rule__CreateModel__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__1" - - - // $ANTLR start "rule__CreateModel__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1524:1: rule__CreateModel__Group__1__Impl : ( ( rule__CreateModel__ReferenceNameAssignment_1 ) ) ; - public final void rule__CreateModel__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1528:1: ( ( ( rule__CreateModel__ReferenceNameAssignment_1 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1529:1: ( ( rule__CreateModel__ReferenceNameAssignment_1 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1529:1: ( ( rule__CreateModel__ReferenceNameAssignment_1 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1530:1: ( rule__CreateModel__ReferenceNameAssignment_1 ) - { - before(grammarAccess.getCreateModelAccess().getReferenceNameAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1531:1: ( rule__CreateModel__ReferenceNameAssignment_1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1531:2: rule__CreateModel__ReferenceNameAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__ReferenceNameAssignment_1_in_rule__CreateModel__Group__1__Impl3101); - rule__CreateModel__ReferenceNameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getCreateModelAccess().getReferenceNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__1__Impl" - - - // $ANTLR start "rule__CreateModel__Group__2" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1541:1: rule__CreateModel__Group__2 : rule__CreateModel__Group__2__Impl rule__CreateModel__Group__3 ; - public final void rule__CreateModel__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1545:1: ( rule__CreateModel__Group__2__Impl rule__CreateModel__Group__3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1546:2: rule__CreateModel__Group__2__Impl rule__CreateModel__Group__3 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__2__Impl_in_rule__CreateModel__Group__23131); - rule__CreateModel__Group__2__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__3_in_rule__CreateModel__Group__23134); - rule__CreateModel__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__2" - - - // $ANTLR start "rule__CreateModel__Group__2__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1553:1: rule__CreateModel__Group__2__Impl : ( ':' ) ; - public final void rule__CreateModel__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1557:1: ( ( ':' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1558:1: ( ':' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1558:1: ( ':' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1559:1: ':' - { - before(grammarAccess.getCreateModelAccess().getColonKeyword_2()); - match(input,20,FollowSets000.FOLLOW_20_in_rule__CreateModel__Group__2__Impl3162); - after(grammarAccess.getCreateModelAccess().getColonKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__2__Impl" - - - // $ANTLR start "rule__CreateModel__Group__3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1572:1: rule__CreateModel__Group__3 : rule__CreateModel__Group__3__Impl rule__CreateModel__Group__4 ; - public final void rule__CreateModel__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1576:1: ( rule__CreateModel__Group__3__Impl rule__CreateModel__Group__4 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1577:2: rule__CreateModel__Group__3__Impl rule__CreateModel__Group__4 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__3__Impl_in_rule__CreateModel__Group__33193); - rule__CreateModel__Group__3__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__4_in_rule__CreateModel__Group__33196); - rule__CreateModel__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__3" - - - // $ANTLR start "rule__CreateModel__Group__3__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1584:1: rule__CreateModel__Group__3__Impl : ( ( rule__CreateModel__RootURIAssignment_3 ) ) ; - public final void rule__CreateModel__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1588:1: ( ( ( rule__CreateModel__RootURIAssignment_3 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1589:1: ( ( rule__CreateModel__RootURIAssignment_3 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1589:1: ( ( rule__CreateModel__RootURIAssignment_3 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1590:1: ( rule__CreateModel__RootURIAssignment_3 ) - { - before(grammarAccess.getCreateModelAccess().getRootURIAssignment_3()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1591:1: ( rule__CreateModel__RootURIAssignment_3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1591:2: rule__CreateModel__RootURIAssignment_3 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__RootURIAssignment_3_in_rule__CreateModel__Group__3__Impl3223); - rule__CreateModel__RootURIAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getCreateModelAccess().getRootURIAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__3__Impl" - - - // $ANTLR start "rule__CreateModel__Group__4" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1601:1: rule__CreateModel__Group__4 : rule__CreateModel__Group__4__Impl rule__CreateModel__Group__5 ; - public final void rule__CreateModel__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1605:1: ( rule__CreateModel__Group__4__Impl rule__CreateModel__Group__5 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1606:2: rule__CreateModel__Group__4__Impl rule__CreateModel__Group__5 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__4__Impl_in_rule__CreateModel__Group__43253); - rule__CreateModel__Group__4__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__5_in_rule__CreateModel__Group__43256); - rule__CreateModel__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__4" - - - // $ANTLR start "rule__CreateModel__Group__4__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1613:1: rule__CreateModel__Group__4__Impl : ( 'inResource' ) ; - public final void rule__CreateModel__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1617:1: ( ( 'inResource' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1618:1: ( 'inResource' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1618:1: ( 'inResource' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1619:1: 'inResource' - { - before(grammarAccess.getCreateModelAccess().getInResourceKeyword_4()); - match(input,21,FollowSets000.FOLLOW_21_in_rule__CreateModel__Group__4__Impl3284); - after(grammarAccess.getCreateModelAccess().getInResourceKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__4__Impl" - - - // $ANTLR start "rule__CreateModel__Group__5" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1632:1: rule__CreateModel__Group__5 : rule__CreateModel__Group__5__Impl rule__CreateModel__Group__6 ; - public final void rule__CreateModel__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1636:1: ( rule__CreateModel__Group__5__Impl rule__CreateModel__Group__6 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1637:2: rule__CreateModel__Group__5__Impl rule__CreateModel__Group__6 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__5__Impl_in_rule__CreateModel__Group__53315); - rule__CreateModel__Group__5__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__6_in_rule__CreateModel__Group__53318); - rule__CreateModel__Group__6(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__5" - - - // $ANTLR start "rule__CreateModel__Group__5__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1644:1: rule__CreateModel__Group__5__Impl : ( ( rule__CreateModel__ModelNameAssignment_5 ) ) ; - public final void rule__CreateModel__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1648:1: ( ( ( rule__CreateModel__ModelNameAssignment_5 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1649:1: ( ( rule__CreateModel__ModelNameAssignment_5 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1649:1: ( ( rule__CreateModel__ModelNameAssignment_5 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1650:1: ( rule__CreateModel__ModelNameAssignment_5 ) - { - before(grammarAccess.getCreateModelAccess().getModelNameAssignment_5()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1651:1: ( rule__CreateModel__ModelNameAssignment_5 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1651:2: rule__CreateModel__ModelNameAssignment_5 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__ModelNameAssignment_5_in_rule__CreateModel__Group__5__Impl3345); - rule__CreateModel__ModelNameAssignment_5(); - - state._fsp--; - - - } - - after(grammarAccess.getCreateModelAccess().getModelNameAssignment_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__5__Impl" - - - // $ANTLR start "rule__CreateModel__Group__6" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1661:1: rule__CreateModel__Group__6 : rule__CreateModel__Group__6__Impl rule__CreateModel__Group__7 ; - public final void rule__CreateModel__Group__6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1665:1: ( rule__CreateModel__Group__6__Impl rule__CreateModel__Group__7 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1666:2: rule__CreateModel__Group__6__Impl rule__CreateModel__Group__7 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__6__Impl_in_rule__CreateModel__Group__63375); - rule__CreateModel__Group__6__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__7_in_rule__CreateModel__Group__63378); - rule__CreateModel__Group__7(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__6" - - - // $ANTLR start "rule__CreateModel__Group__6__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1673:1: rule__CreateModel__Group__6__Impl : ( 'at' ) ; - public final void rule__CreateModel__Group__6__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1677:1: ( ( 'at' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1678:1: ( 'at' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1678:1: ( 'at' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1679:1: 'at' - { - before(grammarAccess.getCreateModelAccess().getAtKeyword_6()); - match(input,22,FollowSets000.FOLLOW_22_in_rule__CreateModel__Group__6__Impl3406); - after(grammarAccess.getCreateModelAccess().getAtKeyword_6()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__6__Impl" - - - // $ANTLR start "rule__CreateModel__Group__7" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1692:1: rule__CreateModel__Group__7 : rule__CreateModel__Group__7__Impl ; - public final void rule__CreateModel__Group__7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1696:1: ( rule__CreateModel__Group__7__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1697:2: rule__CreateModel__Group__7__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__Group__7__Impl_in_rule__CreateModel__Group__73437); - rule__CreateModel__Group__7__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__7" - - - // $ANTLR start "rule__CreateModel__Group__7__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1703:1: rule__CreateModel__Group__7__Impl : ( ( rule__CreateModel__PathAssignment_7 ) ) ; - public final void rule__CreateModel__Group__7__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1707:1: ( ( ( rule__CreateModel__PathAssignment_7 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1708:1: ( ( rule__CreateModel__PathAssignment_7 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1708:1: ( ( rule__CreateModel__PathAssignment_7 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1709:1: ( rule__CreateModel__PathAssignment_7 ) - { - before(grammarAccess.getCreateModelAccess().getPathAssignment_7()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1710:1: ( rule__CreateModel__PathAssignment_7 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1710:2: rule__CreateModel__PathAssignment_7 - { - pushFollow(FollowSets000.FOLLOW_rule__CreateModel__PathAssignment_7_in_rule__CreateModel__Group__7__Impl3464); - rule__CreateModel__PathAssignment_7(); - - state._fsp--; - - - } - - after(grammarAccess.getCreateModelAccess().getPathAssignment_7()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__Group__7__Impl" - - - // $ANTLR start "rule__Save__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1736:1: rule__Save__Group__0 : rule__Save__Group__0__Impl rule__Save__Group__1 ; - public final void rule__Save__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1740:1: ( rule__Save__Group__0__Impl rule__Save__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1741:2: rule__Save__Group__0__Impl rule__Save__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__Save__Group__0__Impl_in_rule__Save__Group__03510); - rule__Save__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Save__Group__1_in_rule__Save__Group__03513); - rule__Save__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Save__Group__0" - - - // $ANTLR start "rule__Save__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1748:1: rule__Save__Group__0__Impl : ( 'save' ) ; - public final void rule__Save__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1752:1: ( ( 'save' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1753:1: ( 'save' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1753:1: ( 'save' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1754:1: 'save' - { - before(grammarAccess.getSaveAccess().getSaveKeyword_0()); - match(input,23,FollowSets000.FOLLOW_23_in_rule__Save__Group__0__Impl3541); - after(grammarAccess.getSaveAccess().getSaveKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Save__Group__0__Impl" - - - // $ANTLR start "rule__Save__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1767:1: rule__Save__Group__1 : rule__Save__Group__1__Impl ; - public final void rule__Save__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1771:1: ( rule__Save__Group__1__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1772:2: rule__Save__Group__1__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__Save__Group__1__Impl_in_rule__Save__Group__13572); - rule__Save__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Save__Group__1" - - - // $ANTLR start "rule__Save__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1778:1: rule__Save__Group__1__Impl : ( () ) ; - public final void rule__Save__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1782:1: ( ( () ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1783:1: ( () ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1783:1: ( () ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1784:1: () - { - before(grammarAccess.getSaveAccess().getSaveAction_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1785:1: () - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1787:1: - { - } - - after(grammarAccess.getSaveAccess().getSaveAction_1()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Save__Group__1__Impl" - - - // $ANTLR start "rule__Check__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1801:1: rule__Check__Group__0 : rule__Check__Group__0__Impl rule__Check__Group__1 ; - public final void rule__Check__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1805:1: ( rule__Check__Group__0__Impl rule__Check__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1806:2: rule__Check__Group__0__Impl rule__Check__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__Check__Group__0__Impl_in_rule__Check__Group__03634); - rule__Check__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Check__Group__1_in_rule__Check__Group__03637); - rule__Check__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Check__Group__0" - - - // $ANTLR start "rule__Check__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1813:1: rule__Check__Group__0__Impl : ( 'check!' ) ; - public final void rule__Check__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1817:1: ( ( 'check!' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1818:1: ( 'check!' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1818:1: ( 'check!' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1819:1: 'check!' - { - before(grammarAccess.getCheckAccess().getCheckKeyword_0()); - match(input,24,FollowSets000.FOLLOW_24_in_rule__Check__Group__0__Impl3665); - after(grammarAccess.getCheckAccess().getCheckKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Check__Group__0__Impl" - - - // $ANTLR start "rule__Check__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1832:1: rule__Check__Group__1 : rule__Check__Group__1__Impl ; - public final void rule__Check__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1836:1: ( rule__Check__Group__1__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1837:2: rule__Check__Group__1__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__Check__Group__1__Impl_in_rule__Check__Group__13696); - rule__Check__Group__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Check__Group__1" - - - // $ANTLR start "rule__Check__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1843:1: rule__Check__Group__1__Impl : ( () ) ; - public final void rule__Check__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1847:1: ( ( () ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1848:1: ( () ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1848:1: ( () ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1849:1: () - { - before(grammarAccess.getCheckAccess().getCheckAction_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1850:1: () - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1852:1: - { - } - - after(grammarAccess.getCheckAccess().getCheckAction_1()); - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Check__Group__1__Impl" - - - // $ANTLR start "rule__Add__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1866:1: rule__Add__Group__0 : rule__Add__Group__0__Impl rule__Add__Group__1 ; - public final void rule__Add__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1870:1: ( rule__Add__Group__0__Impl rule__Add__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1871:2: rule__Add__Group__0__Impl rule__Add__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__0__Impl_in_rule__Add__Group__03758); - rule__Add__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__1_in_rule__Add__Group__03761); - rule__Add__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__0" - - - // $ANTLR start "rule__Add__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1878:1: rule__Add__Group__0__Impl : ( 'createObject' ) ; - public final void rule__Add__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1882:1: ( ( 'createObject' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1883:1: ( 'createObject' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1883:1: ( 'createObject' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1884:1: 'createObject' - { - before(grammarAccess.getAddAccess().getCreateObjectKeyword_0()); - match(input,19,FollowSets000.FOLLOW_19_in_rule__Add__Group__0__Impl3789); - after(grammarAccess.getAddAccess().getCreateObjectKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__0__Impl" - - - // $ANTLR start "rule__Add__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1897:1: rule__Add__Group__1 : rule__Add__Group__1__Impl rule__Add__Group__2 ; - public final void rule__Add__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1901:1: ( rule__Add__Group__1__Impl rule__Add__Group__2 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1902:2: rule__Add__Group__1__Impl rule__Add__Group__2 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__1__Impl_in_rule__Add__Group__13820); - rule__Add__Group__1__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__2_in_rule__Add__Group__13823); - rule__Add__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__1" - - - // $ANTLR start "rule__Add__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1909:1: rule__Add__Group__1__Impl : ( ( rule__Add__ReferenceNameAssignment_1 ) ) ; - public final void rule__Add__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1913:1: ( ( ( rule__Add__ReferenceNameAssignment_1 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1914:1: ( ( rule__Add__ReferenceNameAssignment_1 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1914:1: ( ( rule__Add__ReferenceNameAssignment_1 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1915:1: ( rule__Add__ReferenceNameAssignment_1 ) - { - before(grammarAccess.getAddAccess().getReferenceNameAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1916:1: ( rule__Add__ReferenceNameAssignment_1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1916:2: rule__Add__ReferenceNameAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__ReferenceNameAssignment_1_in_rule__Add__Group__1__Impl3850); - rule__Add__ReferenceNameAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getAddAccess().getReferenceNameAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__1__Impl" - - - // $ANTLR start "rule__Add__Group__2" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1926:1: rule__Add__Group__2 : rule__Add__Group__2__Impl rule__Add__Group__3 ; - public final void rule__Add__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1930:1: ( rule__Add__Group__2__Impl rule__Add__Group__3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1931:2: rule__Add__Group__2__Impl rule__Add__Group__3 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__2__Impl_in_rule__Add__Group__23880); - rule__Add__Group__2__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__3_in_rule__Add__Group__23883); - rule__Add__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__2" - - - // $ANTLR start "rule__Add__Group__2__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1938:1: rule__Add__Group__2__Impl : ( ':' ) ; - public final void rule__Add__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1942:1: ( ( ':' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1943:1: ( ':' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1943:1: ( ':' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1944:1: ':' - { - before(grammarAccess.getAddAccess().getColonKeyword_2()); - match(input,20,FollowSets000.FOLLOW_20_in_rule__Add__Group__2__Impl3911); - after(grammarAccess.getAddAccess().getColonKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__2__Impl" - - - // $ANTLR start "rule__Add__Group__3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1957:1: rule__Add__Group__3 : rule__Add__Group__3__Impl rule__Add__Group__4 ; - public final void rule__Add__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1961:1: ( rule__Add__Group__3__Impl rule__Add__Group__4 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1962:2: rule__Add__Group__3__Impl rule__Add__Group__4 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__3__Impl_in_rule__Add__Group__33942); - rule__Add__Group__3__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__4_in_rule__Add__Group__33945); - rule__Add__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__3" - - - // $ANTLR start "rule__Add__Group__3__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1969:1: rule__Add__Group__3__Impl : ( ( rule__Add__TypeURIAssignment_3 ) ) ; - public final void rule__Add__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1973:1: ( ( ( rule__Add__TypeURIAssignment_3 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1974:1: ( ( rule__Add__TypeURIAssignment_3 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1974:1: ( ( rule__Add__TypeURIAssignment_3 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1975:1: ( rule__Add__TypeURIAssignment_3 ) - { - before(grammarAccess.getAddAccess().getTypeURIAssignment_3()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1976:1: ( rule__Add__TypeURIAssignment_3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1976:2: rule__Add__TypeURIAssignment_3 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__TypeURIAssignment_3_in_rule__Add__Group__3__Impl3972); - rule__Add__TypeURIAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getAddAccess().getTypeURIAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__3__Impl" - - - // $ANTLR start "rule__Add__Group__4" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1986:1: rule__Add__Group__4 : rule__Add__Group__4__Impl rule__Add__Group__5 ; - public final void rule__Add__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1990:1: ( rule__Add__Group__4__Impl rule__Add__Group__5 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1991:2: rule__Add__Group__4__Impl rule__Add__Group__5 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__4__Impl_in_rule__Add__Group__44002); - rule__Add__Group__4__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__5_in_rule__Add__Group__44005); - rule__Add__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__4" - - - // $ANTLR start "rule__Add__Group__4__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:1998:1: rule__Add__Group__4__Impl : ( 'inElement' ) ; - public final void rule__Add__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2002:1: ( ( 'inElement' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2003:1: ( 'inElement' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2003:1: ( 'inElement' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2004:1: 'inElement' - { - before(grammarAccess.getAddAccess().getInElementKeyword_4()); - match(input,25,FollowSets000.FOLLOW_25_in_rule__Add__Group__4__Impl4033); - after(grammarAccess.getAddAccess().getInElementKeyword_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__4__Impl" - - - // $ANTLR start "rule__Add__Group__5" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2017:1: rule__Add__Group__5 : rule__Add__Group__5__Impl rule__Add__Group__6 ; - public final void rule__Add__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2021:1: ( rule__Add__Group__5__Impl rule__Add__Group__6 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2022:2: rule__Add__Group__5__Impl rule__Add__Group__6 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__5__Impl_in_rule__Add__Group__54064); - rule__Add__Group__5__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__6_in_rule__Add__Group__54067); - rule__Add__Group__6(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__5" - - - // $ANTLR start "rule__Add__Group__5__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2029:1: rule__Add__Group__5__Impl : ( ( rule__Add__ReferenceableObjectAssignment_5 ) ) ; - public final void rule__Add__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2033:1: ( ( ( rule__Add__ReferenceableObjectAssignment_5 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2034:1: ( ( rule__Add__ReferenceableObjectAssignment_5 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2034:1: ( ( rule__Add__ReferenceableObjectAssignment_5 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2035:1: ( rule__Add__ReferenceableObjectAssignment_5 ) - { - before(grammarAccess.getAddAccess().getReferenceableObjectAssignment_5()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2036:1: ( rule__Add__ReferenceableObjectAssignment_5 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2036:2: rule__Add__ReferenceableObjectAssignment_5 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__ReferenceableObjectAssignment_5_in_rule__Add__Group__5__Impl4094); - rule__Add__ReferenceableObjectAssignment_5(); - - state._fsp--; - - - } - - after(grammarAccess.getAddAccess().getReferenceableObjectAssignment_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__5__Impl" - - - // $ANTLR start "rule__Add__Group__6" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2046:1: rule__Add__Group__6 : rule__Add__Group__6__Impl rule__Add__Group__7 ; - public final void rule__Add__Group__6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2050:1: ( rule__Add__Group__6__Impl rule__Add__Group__7 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2051:2: rule__Add__Group__6__Impl rule__Add__Group__7 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__6__Impl_in_rule__Add__Group__64124); - rule__Add__Group__6__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__7_in_rule__Add__Group__64127); - rule__Add__Group__7(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__6" - - - // $ANTLR start "rule__Add__Group__6__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2058:1: rule__Add__Group__6__Impl : ( 'inFeature' ) ; - public final void rule__Add__Group__6__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2062:1: ( ( 'inFeature' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2063:1: ( 'inFeature' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2063:1: ( 'inFeature' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2064:1: 'inFeature' - { - before(grammarAccess.getAddAccess().getInFeatureKeyword_6()); - match(input,26,FollowSets000.FOLLOW_26_in_rule__Add__Group__6__Impl4155); - after(grammarAccess.getAddAccess().getInFeatureKeyword_6()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__6__Impl" - - - // $ANTLR start "rule__Add__Group__7" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2077:1: rule__Add__Group__7 : rule__Add__Group__7__Impl ; - public final void rule__Add__Group__7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2081:1: ( rule__Add__Group__7__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2082:2: rule__Add__Group__7__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__Add__Group__7__Impl_in_rule__Add__Group__74186); - rule__Add__Group__7__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__7" - - - // $ANTLR start "rule__Add__Group__7__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2088:1: rule__Add__Group__7__Impl : ( ( rule__Add__EContainingFeatureURIAssignment_7 ) ) ; - public final void rule__Add__Group__7__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2092:1: ( ( ( rule__Add__EContainingFeatureURIAssignment_7 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2093:1: ( ( rule__Add__EContainingFeatureURIAssignment_7 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2093:1: ( ( rule__Add__EContainingFeatureURIAssignment_7 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2094:1: ( rule__Add__EContainingFeatureURIAssignment_7 ) - { - before(grammarAccess.getAddAccess().getEContainingFeatureURIAssignment_7()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2095:1: ( rule__Add__EContainingFeatureURIAssignment_7 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2095:2: rule__Add__EContainingFeatureURIAssignment_7 - { - pushFollow(FollowSets000.FOLLOW_rule__Add__EContainingFeatureURIAssignment_7_in_rule__Add__Group__7__Impl4213); - rule__Add__EContainingFeatureURIAssignment_7(); - - state._fsp--; - - - } - - after(grammarAccess.getAddAccess().getEContainingFeatureURIAssignment_7()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__Group__7__Impl" - - - // $ANTLR start "rule__SetAttribute__Group__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2121:1: rule__SetAttribute__Group__0 : rule__SetAttribute__Group__0__Impl rule__SetAttribute__Group__1 ; - public final void rule__SetAttribute__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2125:1: ( rule__SetAttribute__Group__0__Impl rule__SetAttribute__Group__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2126:2: rule__SetAttribute__Group__0__Impl rule__SetAttribute__Group__1 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__0__Impl_in_rule__SetAttribute__Group__04259); - rule__SetAttribute__Group__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__1_in_rule__SetAttribute__Group__04262); - rule__SetAttribute__Group__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__0" - - - // $ANTLR start "rule__SetAttribute__Group__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2133:1: rule__SetAttribute__Group__0__Impl : ( 'set' ) ; - public final void rule__SetAttribute__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2137:1: ( ( 'set' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2138:1: ( 'set' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2138:1: ( 'set' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2139:1: 'set' - { - before(grammarAccess.getSetAttributeAccess().getSetKeyword_0()); - match(input,27,FollowSets000.FOLLOW_27_in_rule__SetAttribute__Group__0__Impl4290); - after(grammarAccess.getSetAttributeAccess().getSetKeyword_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__0__Impl" - - - // $ANTLR start "rule__SetAttribute__Group__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2152:1: rule__SetAttribute__Group__1 : rule__SetAttribute__Group__1__Impl rule__SetAttribute__Group__2 ; - public final void rule__SetAttribute__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2156:1: ( rule__SetAttribute__Group__1__Impl rule__SetAttribute__Group__2 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2157:2: rule__SetAttribute__Group__1__Impl rule__SetAttribute__Group__2 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__1__Impl_in_rule__SetAttribute__Group__14321); - rule__SetAttribute__Group__1__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__2_in_rule__SetAttribute__Group__14324); - rule__SetAttribute__Group__2(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__1" - - - // $ANTLR start "rule__SetAttribute__Group__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2164:1: rule__SetAttribute__Group__1__Impl : ( ( rule__SetAttribute__ReferenceableObjectAssignment_1 ) ) ; - public final void rule__SetAttribute__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2168:1: ( ( ( rule__SetAttribute__ReferenceableObjectAssignment_1 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2169:1: ( ( rule__SetAttribute__ReferenceableObjectAssignment_1 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2169:1: ( ( rule__SetAttribute__ReferenceableObjectAssignment_1 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2170:1: ( rule__SetAttribute__ReferenceableObjectAssignment_1 ) - { - before(grammarAccess.getSetAttributeAccess().getReferenceableObjectAssignment_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2171:1: ( rule__SetAttribute__ReferenceableObjectAssignment_1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2171:2: rule__SetAttribute__ReferenceableObjectAssignment_1 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__ReferenceableObjectAssignment_1_in_rule__SetAttribute__Group__1__Impl4351); - rule__SetAttribute__ReferenceableObjectAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSetAttributeAccess().getReferenceableObjectAssignment_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__1__Impl" - - - // $ANTLR start "rule__SetAttribute__Group__2" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2181:1: rule__SetAttribute__Group__2 : rule__SetAttribute__Group__2__Impl rule__SetAttribute__Group__3 ; - public final void rule__SetAttribute__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2185:1: ( rule__SetAttribute__Group__2__Impl rule__SetAttribute__Group__3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2186:2: rule__SetAttribute__Group__2__Impl rule__SetAttribute__Group__3 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__2__Impl_in_rule__SetAttribute__Group__24381); - rule__SetAttribute__Group__2__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__3_in_rule__SetAttribute__Group__24384); - rule__SetAttribute__Group__3(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__2" - - - // $ANTLR start "rule__SetAttribute__Group__2__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2193:1: rule__SetAttribute__Group__2__Impl : ( 'values' ) ; - public final void rule__SetAttribute__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2197:1: ( ( 'values' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2198:1: ( 'values' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2198:1: ( 'values' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2199:1: 'values' - { - before(grammarAccess.getSetAttributeAccess().getValuesKeyword_2()); - match(input,28,FollowSets000.FOLLOW_28_in_rule__SetAttribute__Group__2__Impl4412); - after(grammarAccess.getSetAttributeAccess().getValuesKeyword_2()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__2__Impl" - - - // $ANTLR start "rule__SetAttribute__Group__3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2212:1: rule__SetAttribute__Group__3 : rule__SetAttribute__Group__3__Impl rule__SetAttribute__Group__4 ; - public final void rule__SetAttribute__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2216:1: ( rule__SetAttribute__Group__3__Impl rule__SetAttribute__Group__4 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2217:2: rule__SetAttribute__Group__3__Impl rule__SetAttribute__Group__4 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__3__Impl_in_rule__SetAttribute__Group__34443); - rule__SetAttribute__Group__3__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__4_in_rule__SetAttribute__Group__34446); - rule__SetAttribute__Group__4(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__3" - - - // $ANTLR start "rule__SetAttribute__Group__3__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2224:1: rule__SetAttribute__Group__3__Impl : ( ( rule__SetAttribute__ValuesAssignment_3 ) ) ; - public final void rule__SetAttribute__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2228:1: ( ( ( rule__SetAttribute__ValuesAssignment_3 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2229:1: ( ( rule__SetAttribute__ValuesAssignment_3 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2229:1: ( ( rule__SetAttribute__ValuesAssignment_3 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2230:1: ( rule__SetAttribute__ValuesAssignment_3 ) - { - before(grammarAccess.getSetAttributeAccess().getValuesAssignment_3()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2231:1: ( rule__SetAttribute__ValuesAssignment_3 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2231:2: rule__SetAttribute__ValuesAssignment_3 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__ValuesAssignment_3_in_rule__SetAttribute__Group__3__Impl4473); - rule__SetAttribute__ValuesAssignment_3(); - - state._fsp--; - - - } - - after(grammarAccess.getSetAttributeAccess().getValuesAssignment_3()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__3__Impl" - - - // $ANTLR start "rule__SetAttribute__Group__4" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2241:1: rule__SetAttribute__Group__4 : rule__SetAttribute__Group__4__Impl rule__SetAttribute__Group__5 ; - public final void rule__SetAttribute__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2245:1: ( rule__SetAttribute__Group__4__Impl rule__SetAttribute__Group__5 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2246:2: rule__SetAttribute__Group__4__Impl rule__SetAttribute__Group__5 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__4__Impl_in_rule__SetAttribute__Group__44503); - rule__SetAttribute__Group__4__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__5_in_rule__SetAttribute__Group__44506); - rule__SetAttribute__Group__5(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__4" - - - // $ANTLR start "rule__SetAttribute__Group__4__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2253:1: rule__SetAttribute__Group__4__Impl : ( ( rule__SetAttribute__Group_4__0 )* ) ; - public final void rule__SetAttribute__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2257:1: ( ( ( rule__SetAttribute__Group_4__0 )* ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2258:1: ( ( rule__SetAttribute__Group_4__0 )* ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2258:1: ( ( rule__SetAttribute__Group_4__0 )* ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2259:1: ( rule__SetAttribute__Group_4__0 )* - { - before(grammarAccess.getSetAttributeAccess().getGroup_4()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2260:1: ( rule__SetAttribute__Group_4__0 )* - loop14: - do { - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==29) ) { - alt14=1; - } - - - switch (alt14) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2260:2: rule__SetAttribute__Group_4__0 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group_4__0_in_rule__SetAttribute__Group__4__Impl4533); - rule__SetAttribute__Group_4__0(); - - state._fsp--; - - - } - break; - - default : - break loop14; - } - } while (true); - - after(grammarAccess.getSetAttributeAccess().getGroup_4()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__4__Impl" - - - // $ANTLR start "rule__SetAttribute__Group__5" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2270:1: rule__SetAttribute__Group__5 : rule__SetAttribute__Group__5__Impl rule__SetAttribute__Group__6 ; - public final void rule__SetAttribute__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2274:1: ( rule__SetAttribute__Group__5__Impl rule__SetAttribute__Group__6 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2275:2: rule__SetAttribute__Group__5__Impl rule__SetAttribute__Group__6 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__5__Impl_in_rule__SetAttribute__Group__54564); - rule__SetAttribute__Group__5__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__6_in_rule__SetAttribute__Group__54567); - rule__SetAttribute__Group__6(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__5" - - - // $ANTLR start "rule__SetAttribute__Group__5__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2282:1: rule__SetAttribute__Group__5__Impl : ( 'inFeature' ) ; - public final void rule__SetAttribute__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2286:1: ( ( 'inFeature' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2287:1: ( 'inFeature' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2287:1: ( 'inFeature' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2288:1: 'inFeature' - { - before(grammarAccess.getSetAttributeAccess().getInFeatureKeyword_5()); - match(input,26,FollowSets000.FOLLOW_26_in_rule__SetAttribute__Group__5__Impl4595); - after(grammarAccess.getSetAttributeAccess().getInFeatureKeyword_5()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__5__Impl" - - - // $ANTLR start "rule__SetAttribute__Group__6" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2301:1: rule__SetAttribute__Group__6 : rule__SetAttribute__Group__6__Impl rule__SetAttribute__Group__7 ; - public final void rule__SetAttribute__Group__6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2305:1: ( rule__SetAttribute__Group__6__Impl rule__SetAttribute__Group__7 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2306:2: rule__SetAttribute__Group__6__Impl rule__SetAttribute__Group__7 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__6__Impl_in_rule__SetAttribute__Group__64626); - rule__SetAttribute__Group__6__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__7_in_rule__SetAttribute__Group__64629); - rule__SetAttribute__Group__7(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__6" - - - // $ANTLR start "rule__SetAttribute__Group__6__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2313:1: rule__SetAttribute__Group__6__Impl : ( ( rule__SetAttribute__EContainingFeatureURIAssignment_6 ) ) ; - public final void rule__SetAttribute__Group__6__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2317:1: ( ( ( rule__SetAttribute__EContainingFeatureURIAssignment_6 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2318:1: ( ( rule__SetAttribute__EContainingFeatureURIAssignment_6 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2318:1: ( ( rule__SetAttribute__EContainingFeatureURIAssignment_6 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2319:1: ( rule__SetAttribute__EContainingFeatureURIAssignment_6 ) - { - before(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIAssignment_6()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2320:1: ( rule__SetAttribute__EContainingFeatureURIAssignment_6 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2320:2: rule__SetAttribute__EContainingFeatureURIAssignment_6 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__EContainingFeatureURIAssignment_6_in_rule__SetAttribute__Group__6__Impl4656); - rule__SetAttribute__EContainingFeatureURIAssignment_6(); - - state._fsp--; - - - } - - after(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIAssignment_6()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__6__Impl" - - - // $ANTLR start "rule__SetAttribute__Group__7" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2330:1: rule__SetAttribute__Group__7 : rule__SetAttribute__Group__7__Impl ; - public final void rule__SetAttribute__Group__7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2334:1: ( rule__SetAttribute__Group__7__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2335:2: rule__SetAttribute__Group__7__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group__7__Impl_in_rule__SetAttribute__Group__74686); - rule__SetAttribute__Group__7__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__7" - - - // $ANTLR start "rule__SetAttribute__Group__7__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2341:1: rule__SetAttribute__Group__7__Impl : ( ( rule__SetAttribute__Group_7__0 )? ) ; - public final void rule__SetAttribute__Group__7__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2345:1: ( ( ( rule__SetAttribute__Group_7__0 )? ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2346:1: ( ( rule__SetAttribute__Group_7__0 )? ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2346:1: ( ( rule__SetAttribute__Group_7__0 )? ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2347:1: ( rule__SetAttribute__Group_7__0 )? - { - before(grammarAccess.getSetAttributeAccess().getGroup_7()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2348:1: ( rule__SetAttribute__Group_7__0 )? - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==30) ) { - alt15=1; - } - switch (alt15) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2348:2: rule__SetAttribute__Group_7__0 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group_7__0_in_rule__SetAttribute__Group__7__Impl4713); - rule__SetAttribute__Group_7__0(); - - state._fsp--; - - - } - break; - - } - - after(grammarAccess.getSetAttributeAccess().getGroup_7()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group__7__Impl" - - - // $ANTLR start "rule__SetAttribute__Group_4__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2374:1: rule__SetAttribute__Group_4__0 : rule__SetAttribute__Group_4__0__Impl rule__SetAttribute__Group_4__1 ; - public final void rule__SetAttribute__Group_4__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2378:1: ( rule__SetAttribute__Group_4__0__Impl rule__SetAttribute__Group_4__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2379:2: rule__SetAttribute__Group_4__0__Impl rule__SetAttribute__Group_4__1 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group_4__0__Impl_in_rule__SetAttribute__Group_4__04760); - rule__SetAttribute__Group_4__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group_4__1_in_rule__SetAttribute__Group_4__04763); - rule__SetAttribute__Group_4__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group_4__0" - - - // $ANTLR start "rule__SetAttribute__Group_4__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2386:1: rule__SetAttribute__Group_4__0__Impl : ( ',' ) ; - public final void rule__SetAttribute__Group_4__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2390:1: ( ( ',' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2391:1: ( ',' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2391:1: ( ',' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2392:1: ',' - { - before(grammarAccess.getSetAttributeAccess().getCommaKeyword_4_0()); - match(input,29,FollowSets000.FOLLOW_29_in_rule__SetAttribute__Group_4__0__Impl4791); - after(grammarAccess.getSetAttributeAccess().getCommaKeyword_4_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group_4__0__Impl" - - - // $ANTLR start "rule__SetAttribute__Group_4__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2405:1: rule__SetAttribute__Group_4__1 : rule__SetAttribute__Group_4__1__Impl ; - public final void rule__SetAttribute__Group_4__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2409:1: ( rule__SetAttribute__Group_4__1__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2410:2: rule__SetAttribute__Group_4__1__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group_4__1__Impl_in_rule__SetAttribute__Group_4__14822); - rule__SetAttribute__Group_4__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group_4__1" - - - // $ANTLR start "rule__SetAttribute__Group_4__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2416:1: rule__SetAttribute__Group_4__1__Impl : ( ( rule__SetAttribute__ValuesAssignment_4_1 ) ) ; - public final void rule__SetAttribute__Group_4__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2420:1: ( ( ( rule__SetAttribute__ValuesAssignment_4_1 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2421:1: ( ( rule__SetAttribute__ValuesAssignment_4_1 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2421:1: ( ( rule__SetAttribute__ValuesAssignment_4_1 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2422:1: ( rule__SetAttribute__ValuesAssignment_4_1 ) - { - before(grammarAccess.getSetAttributeAccess().getValuesAssignment_4_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2423:1: ( rule__SetAttribute__ValuesAssignment_4_1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2423:2: rule__SetAttribute__ValuesAssignment_4_1 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__ValuesAssignment_4_1_in_rule__SetAttribute__Group_4__1__Impl4849); - rule__SetAttribute__ValuesAssignment_4_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSetAttributeAccess().getValuesAssignment_4_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group_4__1__Impl" - - - // $ANTLR start "rule__SetAttribute__Group_7__0" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2437:1: rule__SetAttribute__Group_7__0 : rule__SetAttribute__Group_7__0__Impl rule__SetAttribute__Group_7__1 ; - public final void rule__SetAttribute__Group_7__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2441:1: ( rule__SetAttribute__Group_7__0__Impl rule__SetAttribute__Group_7__1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2442:2: rule__SetAttribute__Group_7__0__Impl rule__SetAttribute__Group_7__1 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group_7__0__Impl_in_rule__SetAttribute__Group_7__04883); - rule__SetAttribute__Group_7__0__Impl(); - - state._fsp--; - - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group_7__1_in_rule__SetAttribute__Group_7__04886); - rule__SetAttribute__Group_7__1(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group_7__0" - - - // $ANTLR start "rule__SetAttribute__Group_7__0__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2449:1: rule__SetAttribute__Group_7__0__Impl : ( 'usingWidget' ) ; - public final void rule__SetAttribute__Group_7__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2453:1: ( ( 'usingWidget' ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2454:1: ( 'usingWidget' ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2454:1: ( 'usingWidget' ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2455:1: 'usingWidget' - { - before(grammarAccess.getSetAttributeAccess().getUsingWidgetKeyword_7_0()); - match(input,30,FollowSets000.FOLLOW_30_in_rule__SetAttribute__Group_7__0__Impl4914); - after(grammarAccess.getSetAttributeAccess().getUsingWidgetKeyword_7_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group_7__0__Impl" - - - // $ANTLR start "rule__SetAttribute__Group_7__1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2468:1: rule__SetAttribute__Group_7__1 : rule__SetAttribute__Group_7__1__Impl ; - public final void rule__SetAttribute__Group_7__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2472:1: ( rule__SetAttribute__Group_7__1__Impl ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2473:2: rule__SetAttribute__Group_7__1__Impl - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__Group_7__1__Impl_in_rule__SetAttribute__Group_7__14945); - rule__SetAttribute__Group_7__1__Impl(); - - state._fsp--; - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group_7__1" - - - // $ANTLR start "rule__SetAttribute__Group_7__1__Impl" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2479:1: rule__SetAttribute__Group_7__1__Impl : ( ( rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 ) ) ; - public final void rule__SetAttribute__Group_7__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2483:1: ( ( ( rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2484:1: ( ( rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2484:1: ( ( rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2485:1: ( rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 ) - { - before(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIAssignment_7_1()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2486:1: ( rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2486:2: rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 - { - pushFollow(FollowSets000.FOLLOW_rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1_in_rule__SetAttribute__Group_7__1__Impl4972); - rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1(); - - state._fsp--; - - - } - - after(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIAssignment_7_1()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__Group_7__1__Impl" - - - // $ANTLR start "rule__Scenario__NameAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2501:1: rule__Scenario__NameAssignment_1 : ( ruleEString ) ; - public final void rule__Scenario__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2505:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2506:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2506:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2507:1: ruleEString - { - before(grammarAccess.getScenarioAccess().getNameEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__Scenario__NameAssignment_15011); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getScenarioAccess().getNameEStringParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__NameAssignment_1" - - - // $ANTLR start "rule__Scenario__ProcessingsAssignment_3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2516:1: rule__Scenario__ProcessingsAssignment_3 : ( ruleProcessings ) ; - public final void rule__Scenario__ProcessingsAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2520:1: ( ( ruleProcessings ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2521:1: ( ruleProcessings ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2521:1: ( ruleProcessings ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2522:1: ruleProcessings - { - before(grammarAccess.getScenarioAccess().getProcessingsProcessingsParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleProcessings_in_rule__Scenario__ProcessingsAssignment_35042); - ruleProcessings(); - - state._fsp--; - - after(grammarAccess.getScenarioAccess().getProcessingsProcessingsParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Scenario__ProcessingsAssignment_3" - - - // $ANTLR start "rule__PropertiesView__NameAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2531:1: rule__PropertiesView__NameAssignment_1 : ( ruleEString ) ; - public final void rule__PropertiesView__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2535:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2536:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2536:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2537:1: ruleEString - { - before(grammarAccess.getPropertiesViewAccess().getNameEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__PropertiesView__NameAssignment_15073); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getPropertiesViewAccess().getNameEStringParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__NameAssignment_1" - - - // $ANTLR start "rule__PropertiesView__ProcessingsAssignment_3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2546:1: rule__PropertiesView__ProcessingsAssignment_3 : ( ruleSubProcessings ) ; - public final void rule__PropertiesView__ProcessingsAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2550:1: ( ( ruleSubProcessings ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2551:1: ( ruleSubProcessings ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2551:1: ( ruleSubProcessings ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2552:1: ruleSubProcessings - { - before(grammarAccess.getPropertiesViewAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleSubProcessings_in_rule__PropertiesView__ProcessingsAssignment_35104); - ruleSubProcessings(); - - state._fsp--; - - after(grammarAccess.getPropertiesViewAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__PropertiesView__ProcessingsAssignment_3" - - - // $ANTLR start "rule__Wizard__NameAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2561:1: rule__Wizard__NameAssignment_1 : ( ruleEString ) ; - public final void rule__Wizard__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2565:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2566:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2566:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2567:1: ruleEString - { - before(grammarAccess.getWizardAccess().getNameEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__Wizard__NameAssignment_15135); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getWizardAccess().getNameEStringParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__NameAssignment_1" - - - // $ANTLR start "rule__Wizard__ProcessingsAssignment_3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2576:1: rule__Wizard__ProcessingsAssignment_3 : ( ruleSubProcessings ) ; - public final void rule__Wizard__ProcessingsAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2580:1: ( ( ruleSubProcessings ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2581:1: ( ruleSubProcessings ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2581:1: ( ruleSubProcessings ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2582:1: ruleSubProcessings - { - before(grammarAccess.getWizardAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleSubProcessings_in_rule__Wizard__ProcessingsAssignment_35166); - ruleSubProcessings(); - - state._fsp--; - - after(grammarAccess.getWizardAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Wizard__ProcessingsAssignment_3" - - - // $ANTLR start "rule__Details__NameAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2591:1: rule__Details__NameAssignment_1 : ( ruleEString ) ; - public final void rule__Details__NameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2595:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2596:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2596:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2597:1: ruleEString - { - before(grammarAccess.getDetailsAccess().getNameEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__Details__NameAssignment_15197); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getDetailsAccess().getNameEStringParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__NameAssignment_1" - - - // $ANTLR start "rule__Details__ProcessingsAssignment_3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2606:1: rule__Details__ProcessingsAssignment_3 : ( ruleSubProcessings ) ; - public final void rule__Details__ProcessingsAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2610:1: ( ( ruleSubProcessings ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2611:1: ( ruleSubProcessings ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2611:1: ( ruleSubProcessings ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2612:1: ruleSubProcessings - { - before(grammarAccess.getDetailsAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleSubProcessings_in_rule__Details__ProcessingsAssignment_35228); - ruleSubProcessings(); - - state._fsp--; - - after(grammarAccess.getDetailsAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Details__ProcessingsAssignment_3" - - - // $ANTLR start "rule__CreateProject__ProjectNameAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2621:1: rule__CreateProject__ProjectNameAssignment_1 : ( ruleEString ) ; - public final void rule__CreateProject__ProjectNameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2625:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2626:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2626:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2627:1: ruleEString - { - before(grammarAccess.getCreateProjectAccess().getProjectNameEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__CreateProject__ProjectNameAssignment_15259); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getCreateProjectAccess().getProjectNameEStringParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateProject__ProjectNameAssignment_1" - - - // $ANTLR start "rule__RemoveProject__ProjectNameAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2636:1: rule__RemoveProject__ProjectNameAssignment_1 : ( ruleEString ) ; - public final void rule__RemoveProject__ProjectNameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2640:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2641:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2641:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2642:1: ruleEString - { - before(grammarAccess.getRemoveProjectAccess().getProjectNameEStringParserRuleCall_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__RemoveProject__ProjectNameAssignment_15290); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getRemoveProjectAccess().getProjectNameEStringParserRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__RemoveProject__ProjectNameAssignment_1" - - - // $ANTLR start "rule__CreateModel__ReferenceNameAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2651:1: rule__CreateModel__ReferenceNameAssignment_1 : ( RULE_ID ) ; - public final void rule__CreateModel__ReferenceNameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2655:1: ( ( RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2656:1: ( RULE_ID ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2656:1: ( RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2657:1: RULE_ID - { - before(grammarAccess.getCreateModelAccess().getReferenceNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__CreateModel__ReferenceNameAssignment_15321); - after(grammarAccess.getCreateModelAccess().getReferenceNameIDTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__ReferenceNameAssignment_1" - - - // $ANTLR start "rule__CreateModel__RootURIAssignment_3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2666:1: rule__CreateModel__RootURIAssignment_3 : ( ruleEString ) ; - public final void rule__CreateModel__RootURIAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2670:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2671:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2671:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2672:1: ruleEString - { - before(grammarAccess.getCreateModelAccess().getRootURIEStringParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__CreateModel__RootURIAssignment_35352); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getCreateModelAccess().getRootURIEStringParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__RootURIAssignment_3" - - - // $ANTLR start "rule__CreateModel__ModelNameAssignment_5" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2681:1: rule__CreateModel__ModelNameAssignment_5 : ( ruleEString ) ; - public final void rule__CreateModel__ModelNameAssignment_5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2685:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2686:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2686:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2687:1: ruleEString - { - before(grammarAccess.getCreateModelAccess().getModelNameEStringParserRuleCall_5_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__CreateModel__ModelNameAssignment_55383); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getCreateModelAccess().getModelNameEStringParserRuleCall_5_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__ModelNameAssignment_5" - - - // $ANTLR start "rule__CreateModel__PathAssignment_7" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2696:1: rule__CreateModel__PathAssignment_7 : ( ruleEString ) ; - public final void rule__CreateModel__PathAssignment_7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2700:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2701:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2701:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2702:1: ruleEString - { - before(grammarAccess.getCreateModelAccess().getPathEStringParserRuleCall_7_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__CreateModel__PathAssignment_75414); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getCreateModelAccess().getPathEStringParserRuleCall_7_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__CreateModel__PathAssignment_7" - - - // $ANTLR start "rule__Add__ReferenceNameAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2711:1: rule__Add__ReferenceNameAssignment_1 : ( RULE_ID ) ; - public final void rule__Add__ReferenceNameAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2715:1: ( ( RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2716:1: ( RULE_ID ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2716:1: ( RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2717:1: RULE_ID - { - before(grammarAccess.getAddAccess().getReferenceNameIDTerminalRuleCall_1_0()); - match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__Add__ReferenceNameAssignment_15445); - after(grammarAccess.getAddAccess().getReferenceNameIDTerminalRuleCall_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__ReferenceNameAssignment_1" - - - // $ANTLR start "rule__Add__TypeURIAssignment_3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2726:1: rule__Add__TypeURIAssignment_3 : ( ruleEString ) ; - public final void rule__Add__TypeURIAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2730:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2731:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2731:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2732:1: ruleEString - { - before(grammarAccess.getAddAccess().getTypeURIEStringParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__Add__TypeURIAssignment_35476); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getAddAccess().getTypeURIEStringParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__TypeURIAssignment_3" - - - // $ANTLR start "rule__Add__ReferenceableObjectAssignment_5" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2741:1: rule__Add__ReferenceableObjectAssignment_5 : ( ( RULE_ID ) ) ; - public final void rule__Add__ReferenceableObjectAssignment_5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2745:1: ( ( ( RULE_ID ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2746:1: ( ( RULE_ID ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2746:1: ( ( RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2747:1: ( RULE_ID ) - { - before(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectCrossReference_5_0()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2748:1: ( RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2749:1: RULE_ID - { - before(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectIDTerminalRuleCall_5_0_1()); - match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__Add__ReferenceableObjectAssignment_55511); - after(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectIDTerminalRuleCall_5_0_1()); - - } - - after(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectCrossReference_5_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__ReferenceableObjectAssignment_5" - - - // $ANTLR start "rule__Add__EContainingFeatureURIAssignment_7" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2760:1: rule__Add__EContainingFeatureURIAssignment_7 : ( ruleEString ) ; - public final void rule__Add__EContainingFeatureURIAssignment_7() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2764:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2765:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2765:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2766:1: ruleEString - { - before(grammarAccess.getAddAccess().getEContainingFeatureURIEStringParserRuleCall_7_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__Add__EContainingFeatureURIAssignment_75546); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getAddAccess().getEContainingFeatureURIEStringParserRuleCall_7_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Add__EContainingFeatureURIAssignment_7" - - - // $ANTLR start "rule__SetAttribute__ReferenceableObjectAssignment_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2775:1: rule__SetAttribute__ReferenceableObjectAssignment_1 : ( ( RULE_ID ) ) ; - public final void rule__SetAttribute__ReferenceableObjectAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2779:1: ( ( ( RULE_ID ) ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2780:1: ( ( RULE_ID ) ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2780:1: ( ( RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2781:1: ( RULE_ID ) - { - before(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectCrossReference_1_0()); - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2782:1: ( RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2783:1: RULE_ID - { - before(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectIDTerminalRuleCall_1_0_1()); - match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_rule__SetAttribute__ReferenceableObjectAssignment_15581); - after(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectIDTerminalRuleCall_1_0_1()); - - } - - after(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectCrossReference_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__ReferenceableObjectAssignment_1" - - - // $ANTLR start "rule__SetAttribute__ValuesAssignment_3" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2794:1: rule__SetAttribute__ValuesAssignment_3 : ( ruleEString ) ; - public final void rule__SetAttribute__ValuesAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2798:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2799:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2799:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2800:1: ruleEString - { - before(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_3_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__SetAttribute__ValuesAssignment_35616); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__ValuesAssignment_3" - - - // $ANTLR start "rule__SetAttribute__ValuesAssignment_4_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2809:1: rule__SetAttribute__ValuesAssignment_4_1 : ( ruleEString ) ; - public final void rule__SetAttribute__ValuesAssignment_4_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2813:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2814:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2814:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2815:1: ruleEString - { - before(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_4_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__SetAttribute__ValuesAssignment_4_15647); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_4_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__ValuesAssignment_4_1" - - - // $ANTLR start "rule__SetAttribute__EContainingFeatureURIAssignment_6" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2824:1: rule__SetAttribute__EContainingFeatureURIAssignment_6 : ( ruleEString ) ; - public final void rule__SetAttribute__EContainingFeatureURIAssignment_6() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2828:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2829:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2829:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2830:1: ruleEString - { - before(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIEStringParserRuleCall_6_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__SetAttribute__EContainingFeatureURIAssignment_65678); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIEStringParserRuleCall_6_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__EContainingFeatureURIAssignment_6" - - - // $ANTLR start "rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1" - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2839:1: rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1 : ( ruleEString ) ; - public final void rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2843:1: ( ( ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2844:1: ( ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2844:1: ( ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/contentassist/antlr/internal/InternalModelingBot.g:2845:1: ruleEString - { - before(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIEStringParserRuleCall_7_1_0()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rule__SetAttribute__PropertiesEditionElementURIAssignment_7_15709); - ruleEString(); - - state._fsp--; - - after(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIEStringParserRuleCall_7_1_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1" - - // Delegated rules - - - - - - private static class FollowSets000 { - public static final BitSet FOLLOW_ruleScenario_in_entryRuleScenario61 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleScenario68 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Scenario__Group__0_in_ruleScenario94 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleProcessings_in_entryRuleProcessings121 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleProcessings128 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Processings__Alternatives_in_ruleProcessings154 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertiesView_in_entryRulePropertiesView181 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePropertiesView188 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__0_in_rulePropertiesView214 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleWizard_in_entryRuleWizard241 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleWizard248 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Wizard__Group__0_in_ruleWizard274 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDetails_in_entryRuleDetails301 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDetails308 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Details__Group__0_in_ruleDetails334 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSubProcessings_in_entryRuleSubProcessings361 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSubProcessings368 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SubProcessings__Alternatives_in_ruleSubProcessings394 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAction_in_entryRuleAction421 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAction428 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Action__Alternatives_in_ruleAction454 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEclipseAction_in_entryRuleEclipseAction481 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEclipseAction488 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__EclipseAction__Alternatives_in_ruleEclipseAction514 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCreateProject_in_entryRuleCreateProject541 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCreateProject548 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateProject__Group__0_in_ruleCreateProject574 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRemoveProject_in_entryRuleRemoveProject601 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRemoveProject608 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__RemoveProject__Group__0_in_ruleRemoveProject634 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCreateModel_in_entryRuleCreateModel663 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCreateModel670 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__0_in_ruleCreateModel696 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSave_in_entryRuleSave723 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSave730 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Save__Group__0_in_ruleSave756 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEEFAction_in_entryRuleEEFAction783 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEEFAction790 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__EEFAction__Alternatives_in_ruleEEFAction816 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCheck_in_entryRuleCheck843 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCheck850 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Check__Group__0_in_ruleCheck876 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdd_in_entryRuleAdd903 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAdd910 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__0_in_ruleAdd936 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSetAttribute_in_entryRuleSetAttribute963 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSetAttribute970 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__0_in_ruleSetAttribute996 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_entryRuleEString1023 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEString1030 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__EString__Alternatives_in_ruleEString1056 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDetails_in_rule__Processings__Alternatives1092 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleWizard_in_rule__Processings__Alternatives1109 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertiesView_in_rule__Processings__Alternatives1126 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAction_in_rule__Processings__Alternatives1143 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleWizard_in_rule__SubProcessings__Alternatives1175 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDetails_in_rule__SubProcessings__Alternatives1192 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertiesView_in_rule__SubProcessings__Alternatives1209 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAction_in_rule__SubProcessings__Alternatives1226 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEclipseAction_in_rule__Action__Alternatives1258 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEEFAction_in_rule__Action__Alternatives1275 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCreateProject_in_rule__EclipseAction__Alternatives1307 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCreateModel_in_rule__EclipseAction__Alternatives1324 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSave_in_rule__EclipseAction__Alternatives1341 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRemoveProject_in_rule__EclipseAction__Alternatives1358 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCheck_in_rule__EEFAction__Alternatives1391 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdd_in_rule__EEFAction__Alternatives1408 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSetAttribute_in_rule__EEFAction__Alternatives1425 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_rule__EString__Alternatives1457 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_rule__EString__Alternatives1474 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Scenario__Group__0__Impl_in_rule__Scenario__Group__01504 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__Scenario__Group__1_in_rule__Scenario__Group__01507 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_11_in_rule__Scenario__Group__0__Impl1535 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Scenario__Group__1__Impl_in_rule__Scenario__Group__11566 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_rule__Scenario__Group__2_in_rule__Scenario__Group__11569 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Scenario__NameAssignment_1_in_rule__Scenario__Group__1__Impl1596 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Scenario__Group__2__Impl_in_rule__Scenario__Group__21626 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_rule__Scenario__Group__3_in_rule__Scenario__Group__21629 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_12_in_rule__Scenario__Group__2__Impl1657 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Scenario__Group__3__Impl_in_rule__Scenario__Group__31688 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_rule__Scenario__Group__4_in_rule__Scenario__Group__31691 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Scenario__ProcessingsAssignment_3_in_rule__Scenario__Group__3__Impl1718 = new BitSet(new long[]{0x00000000098FC002L}); - public static final BitSet FOLLOW_rule__Scenario__Group__4__Impl_in_rule__Scenario__Group__41749 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_13_in_rule__Scenario__Group__4__Impl1777 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__0__Impl_in_rule__PropertiesView__Group__01818 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__1_in_rule__PropertiesView__Group__01821 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_14_in_rule__PropertiesView__Group__0__Impl1849 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__1__Impl_in_rule__PropertiesView__Group__11880 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__2_in_rule__PropertiesView__Group__11883 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__PropertiesView__NameAssignment_1_in_rule__PropertiesView__Group__1__Impl1910 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__2__Impl_in_rule__PropertiesView__Group__21941 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__3_in_rule__PropertiesView__Group__21944 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_12_in_rule__PropertiesView__Group__2__Impl1972 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__3__Impl_in_rule__PropertiesView__Group__32003 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__4_in_rule__PropertiesView__Group__32006 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__PropertiesView__ProcessingsAssignment_3_in_rule__PropertiesView__Group__3__Impl2033 = new BitSet(new long[]{0x00000000098FC002L}); - public static final BitSet FOLLOW_rule__PropertiesView__Group__4__Impl_in_rule__PropertiesView__Group__42064 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_13_in_rule__PropertiesView__Group__4__Impl2092 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Wizard__Group__0__Impl_in_rule__Wizard__Group__02133 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_rule__Wizard__Group__1_in_rule__Wizard__Group__02136 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_15_in_rule__Wizard__Group__0__Impl2164 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Wizard__Group__1__Impl_in_rule__Wizard__Group__12195 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_rule__Wizard__Group__2_in_rule__Wizard__Group__12198 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Wizard__NameAssignment_1_in_rule__Wizard__Group__1__Impl2225 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Wizard__Group__2__Impl_in_rule__Wizard__Group__22256 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_rule__Wizard__Group__3_in_rule__Wizard__Group__22259 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_12_in_rule__Wizard__Group__2__Impl2287 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Wizard__Group__3__Impl_in_rule__Wizard__Group__32318 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_rule__Wizard__Group__4_in_rule__Wizard__Group__32321 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Wizard__ProcessingsAssignment_3_in_rule__Wizard__Group__3__Impl2348 = new BitSet(new long[]{0x00000000098FC002L}); - public static final BitSet FOLLOW_rule__Wizard__Group__4__Impl_in_rule__Wizard__Group__42379 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_13_in_rule__Wizard__Group__4__Impl2407 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Details__Group__0__Impl_in_rule__Details__Group__02448 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_rule__Details__Group__1_in_rule__Details__Group__02451 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_16_in_rule__Details__Group__0__Impl2479 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Details__Group__1__Impl_in_rule__Details__Group__12510 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_rule__Details__Group__2_in_rule__Details__Group__12513 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Details__NameAssignment_1_in_rule__Details__Group__1__Impl2540 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Details__Group__2__Impl_in_rule__Details__Group__22571 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_rule__Details__Group__3_in_rule__Details__Group__22574 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_12_in_rule__Details__Group__2__Impl2602 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Details__Group__3__Impl_in_rule__Details__Group__32633 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_rule__Details__Group__4_in_rule__Details__Group__32636 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Details__ProcessingsAssignment_3_in_rule__Details__Group__3__Impl2663 = new BitSet(new long[]{0x00000000098FC002L}); - public static final BitSet FOLLOW_rule__Details__Group__4__Impl_in_rule__Details__Group__42694 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_13_in_rule__Details__Group__4__Impl2722 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateProject__Group__0__Impl_in_rule__CreateProject__Group__02763 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__CreateProject__Group__1_in_rule__CreateProject__Group__02766 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_17_in_rule__CreateProject__Group__0__Impl2794 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateProject__Group__1__Impl_in_rule__CreateProject__Group__12825 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateProject__ProjectNameAssignment_1_in_rule__CreateProject__Group__1__Impl2852 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__RemoveProject__Group__0__Impl_in_rule__RemoveProject__Group__02886 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__RemoveProject__Group__1_in_rule__RemoveProject__Group__02889 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_18_in_rule__RemoveProject__Group__0__Impl2917 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__RemoveProject__Group__1__Impl_in_rule__RemoveProject__Group__12948 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__RemoveProject__ProjectNameAssignment_1_in_rule__RemoveProject__Group__1__Impl2975 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__0__Impl_in_rule__CreateModel__Group__03009 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__1_in_rule__CreateModel__Group__03012 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_19_in_rule__CreateModel__Group__0__Impl3040 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__1__Impl_in_rule__CreateModel__Group__13071 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__2_in_rule__CreateModel__Group__13074 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__ReferenceNameAssignment_1_in_rule__CreateModel__Group__1__Impl3101 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__2__Impl_in_rule__CreateModel__Group__23131 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__3_in_rule__CreateModel__Group__23134 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_20_in_rule__CreateModel__Group__2__Impl3162 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__3__Impl_in_rule__CreateModel__Group__33193 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__4_in_rule__CreateModel__Group__33196 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__RootURIAssignment_3_in_rule__CreateModel__Group__3__Impl3223 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__4__Impl_in_rule__CreateModel__Group__43253 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__5_in_rule__CreateModel__Group__43256 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_21_in_rule__CreateModel__Group__4__Impl3284 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__5__Impl_in_rule__CreateModel__Group__53315 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__6_in_rule__CreateModel__Group__53318 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__ModelNameAssignment_5_in_rule__CreateModel__Group__5__Impl3345 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__6__Impl_in_rule__CreateModel__Group__63375 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__7_in_rule__CreateModel__Group__63378 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_22_in_rule__CreateModel__Group__6__Impl3406 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__Group__7__Impl_in_rule__CreateModel__Group__73437 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__CreateModel__PathAssignment_7_in_rule__CreateModel__Group__7__Impl3464 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Save__Group__0__Impl_in_rule__Save__Group__03510 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_rule__Save__Group__1_in_rule__Save__Group__03513 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_23_in_rule__Save__Group__0__Impl3541 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Save__Group__1__Impl_in_rule__Save__Group__13572 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Check__Group__0__Impl_in_rule__Check__Group__03634 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_rule__Check__Group__1_in_rule__Check__Group__03637 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_24_in_rule__Check__Group__0__Impl3665 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Check__Group__1__Impl_in_rule__Check__Group__13696 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__0__Impl_in_rule__Add__Group__03758 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_rule__Add__Group__1_in_rule__Add__Group__03761 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_19_in_rule__Add__Group__0__Impl3789 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__1__Impl_in_rule__Add__Group__13820 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_rule__Add__Group__2_in_rule__Add__Group__13823 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__ReferenceNameAssignment_1_in_rule__Add__Group__1__Impl3850 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__2__Impl_in_rule__Add__Group__23880 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__Add__Group__3_in_rule__Add__Group__23883 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_20_in_rule__Add__Group__2__Impl3911 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__3__Impl_in_rule__Add__Group__33942 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_rule__Add__Group__4_in_rule__Add__Group__33945 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__TypeURIAssignment_3_in_rule__Add__Group__3__Impl3972 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__4__Impl_in_rule__Add__Group__44002 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_rule__Add__Group__5_in_rule__Add__Group__44005 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_25_in_rule__Add__Group__4__Impl4033 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__5__Impl_in_rule__Add__Group__54064 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_rule__Add__Group__6_in_rule__Add__Group__54067 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__ReferenceableObjectAssignment_5_in_rule__Add__Group__5__Impl4094 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__6__Impl_in_rule__Add__Group__64124 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__Add__Group__7_in_rule__Add__Group__64127 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_26_in_rule__Add__Group__6__Impl4155 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__Group__7__Impl_in_rule__Add__Group__74186 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__Add__EContainingFeatureURIAssignment_7_in_rule__Add__Group__7__Impl4213 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__0__Impl_in_rule__SetAttribute__Group__04259 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__1_in_rule__SetAttribute__Group__04262 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_27_in_rule__SetAttribute__Group__0__Impl4290 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__1__Impl_in_rule__SetAttribute__Group__14321 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__2_in_rule__SetAttribute__Group__14324 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__ReferenceableObjectAssignment_1_in_rule__SetAttribute__Group__1__Impl4351 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__2__Impl_in_rule__SetAttribute__Group__24381 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__3_in_rule__SetAttribute__Group__24384 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_rule__SetAttribute__Group__2__Impl4412 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__3__Impl_in_rule__SetAttribute__Group__34443 = new BitSet(new long[]{0x0000000024000000L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__4_in_rule__SetAttribute__Group__34446 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__ValuesAssignment_3_in_rule__SetAttribute__Group__3__Impl4473 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__4__Impl_in_rule__SetAttribute__Group__44503 = new BitSet(new long[]{0x0000000024000000L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__5_in_rule__SetAttribute__Group__44506 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group_4__0_in_rule__SetAttribute__Group__4__Impl4533 = new BitSet(new long[]{0x0000000020000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__5__Impl_in_rule__SetAttribute__Group__54564 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__6_in_rule__SetAttribute__Group__54567 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_26_in_rule__SetAttribute__Group__5__Impl4595 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__6__Impl_in_rule__SetAttribute__Group__64626 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__7_in_rule__SetAttribute__Group__64629 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__EContainingFeatureURIAssignment_6_in_rule__SetAttribute__Group__6__Impl4656 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group__7__Impl_in_rule__SetAttribute__Group__74686 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group_7__0_in_rule__SetAttribute__Group__7__Impl4713 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group_4__0__Impl_in_rule__SetAttribute__Group_4__04760 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group_4__1_in_rule__SetAttribute__Group_4__04763 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_29_in_rule__SetAttribute__Group_4__0__Impl4791 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group_4__1__Impl_in_rule__SetAttribute__Group_4__14822 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__ValuesAssignment_4_1_in_rule__SetAttribute__Group_4__1__Impl4849 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group_7__0__Impl_in_rule__SetAttribute__Group_7__04883 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group_7__1_in_rule__SetAttribute__Group_7__04886 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_rule__SetAttribute__Group_7__0__Impl4914 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__Group_7__1__Impl_in_rule__SetAttribute__Group_7__14945 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__SetAttribute__PropertiesEditionElementURIAssignment_7_1_in_rule__SetAttribute__Group_7__1__Impl4972 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__Scenario__NameAssignment_15011 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleProcessings_in_rule__Scenario__ProcessingsAssignment_35042 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__PropertiesView__NameAssignment_15073 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSubProcessings_in_rule__PropertiesView__ProcessingsAssignment_35104 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__Wizard__NameAssignment_15135 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSubProcessings_in_rule__Wizard__ProcessingsAssignment_35166 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__Details__NameAssignment_15197 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSubProcessings_in_rule__Details__ProcessingsAssignment_35228 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__CreateProject__ProjectNameAssignment_15259 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__RemoveProject__ProjectNameAssignment_15290 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_rule__CreateModel__ReferenceNameAssignment_15321 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__CreateModel__RootURIAssignment_35352 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__CreateModel__ModelNameAssignment_55383 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__CreateModel__PathAssignment_75414 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_rule__Add__ReferenceNameAssignment_15445 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__Add__TypeURIAssignment_35476 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_rule__Add__ReferenceableObjectAssignment_55511 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__Add__EContainingFeatureURIAssignment_75546 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_rule__SetAttribute__ReferenceableObjectAssignment_15581 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__SetAttribute__ValuesAssignment_35616 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__SetAttribute__ValuesAssignment_4_15647 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__SetAttribute__EContainingFeatureURIAssignment_65678 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_rule__SetAttribute__PropertiesEditionElementURIAssignment_7_15709 = new BitSet(new long[]{0x0000000000000002L}); - } - - -}
\ No newline at end of file diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/internal/ModelingBotActivator.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/internal/ModelingBotActivator.java deleted file mode 100644 index ee35f3faf..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src-gen/org/eclipse/emf/eef/ui/internal/ModelingBotActivator.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.emf.eef.ui.internal; - -import java.util.Collections; -import java.util.Map; - -import org.apache.log4j.Logger; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.eclipse.xtext.ui.shared.SharedStateModule; -import org.eclipse.xtext.util.Modules2; -import org.osgi.framework.BundleContext; - -import com.google.common.collect.Maps; -import com.google.inject.Guice; -import com.google.inject.Injector; -import com.google.inject.Module; - -/** - * This class was generated. Customizations should only happen in a newly - * introduced subclass. - */ -public class ModelingBotActivator extends AbstractUIPlugin { - - public static final String ORG_ECLIPSE_EMF_EEF_MODELINGBOT = "org.eclipse.emf.eef.ModelingBot"; - - private static final Logger logger = Logger.getLogger(ModelingBotActivator.class); - - private static ModelingBotActivator INSTANCE; - - private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1)); - - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - INSTANCE = this; - } - - @Override - public void stop(BundleContext context) throws Exception { - injectors.clear(); - INSTANCE = null; - super.stop(context); - } - - public static ModelingBotActivator getInstance() { - return INSTANCE; - } - - public Injector getInjector(String language) { - synchronized (injectors) { - Injector injector = injectors.get(language); - if (injector == null) { - injectors.put(language, injector = createInjector(language)); - } - return injector; - } - } - - protected Injector createInjector(String language) { - try { - Module runtimeModule = getRuntimeModule(language); - Module sharedStateModule = getSharedStateModule(); - Module uiModule = getUiModule(language); - Module mergedModule = Modules2.mixin(runtimeModule, sharedStateModule, uiModule); - return Guice.createInjector(mergedModule); - } catch (Exception e) { - logger.error("Failed to create injector for " + language); - logger.error(e.getMessage(), e); - throw new RuntimeException("Failed to create injector for " + language, e); - } - } - - protected Module getRuntimeModule(String grammar) { - if (ORG_ECLIPSE_EMF_EEF_MODELINGBOT.equals(grammar)) { - return new org.eclipse.emf.eef.ModelingBotRuntimeModule(); - } - - throw new IllegalArgumentException(grammar); - } - - protected Module getUiModule(String grammar) { - if (ORG_ECLIPSE_EMF_EEF_MODELINGBOT.equals(grammar)) { - return new org.eclipse.emf.eef.ui.ModelingBotUiModule(this); - } - - throw new IllegalArgumentException(grammar); - } - - protected Module getSharedStateModule() { - return new SharedStateModule(); - } - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/ModelingBotUiModule.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/ModelingBotUiModule.java deleted file mode 100644 index 08829ea21..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/ModelingBotUiModule.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.emf.eef.ui; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * Use this class to register components to be used within the IDE. - */ -public class ModelingBotUiModule extends org.eclipse.emf.eef.ui.AbstractModelingBotUiModule { - public ModelingBotUiModule(AbstractUIPlugin plugin) { - super(plugin); - } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/contentassist/ModelingBotProposalProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/contentassist/ModelingBotProposalProvider.java deleted file mode 100644 index 09bf66bdf..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/contentassist/ModelingBotProposalProvider.java +++ /dev/null @@ -1,11 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.ui.contentassist; - -/** - * see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#contentAssist on how to customize content assistant - */ -public class ModelingBotProposalProvider extends org.eclipse.emf.eef.ui.contentassist.AbstractModelingBotProposalProvider { - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/labeling/ModelingBotDescriptionLabelProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/labeling/ModelingBotDescriptionLabelProvider.java deleted file mode 100644 index cb01aede0..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/labeling/ModelingBotDescriptionLabelProvider.java +++ /dev/null @@ -1,22 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.ui.labeling; - -/** - * Provides labels for a IEObjectDescriptions and IResourceDescriptions. - * - * see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#labelProvider - */ -public class ModelingBotDescriptionLabelProvider extends org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider { - - // Labels and icons can be computed like this: - -// String text(IEObjectDescription ele) { -// return ele.getName(); -// } -// -// String image(IEObjectDescription ele) { -// return ele.getEClass().getName() + ".gif"; -// } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/labeling/ModelingBotLabelProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/labeling/ModelingBotLabelProvider.java deleted file mode 100644 index 4bcf2f729..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/labeling/ModelingBotLabelProvider.java +++ /dev/null @@ -1,29 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.ui.labeling; - -import com.google.inject.Inject; - -/** - * Provides labels for a EObjects. - * - * see http://www.eclipse.org/Xtext/documentation/latest/xtext.html#labelProvider - */ -public class ModelingBotLabelProvider extends org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider { - - @Inject - public ModelingBotLabelProvider(org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider delegate) { - super(delegate); - } - - // Labels and icons can be computed like this: - -// String text(Greeting ele) { -// return "A greeting to " + ele.getName(); -// } -// -// String image(Greeting ele) { -// return "Greeting.gif"; -// } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/outline/ModelingBotOutlineTreeProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/outline/ModelingBotOutlineTreeProvider.java deleted file mode 100644 index 629769c9f..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/outline/ModelingBotOutlineTreeProvider.java +++ /dev/null @@ -1,13 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.ui.outline; - -/** - * Customization of the default outline structure. - * - * see http://www.eclipse.org/Xtext/documentation.html#outline - */ -public class ModelingBotOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider { - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/quickfix/ModelingBotQuickfixProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/quickfix/ModelingBotQuickfixProvider.java deleted file mode 100644 index 927370af1..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext.ui/src/org/eclipse/emf/eef/ui/quickfix/ModelingBotQuickfixProvider.java +++ /dev/null @@ -1,24 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.ui.quickfix; - -/** - * Custom quickfixes. - * - * see http://www.eclipse.org/Xtext/documentation.html#quickfixes - */ -public class ModelingBotQuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider { - -// @Fix(MyJavaValidator.INVALID_NAME) -// public void capitalizeName(final Issue issue, IssueResolutionAcceptor acceptor) { -// acceptor.accept(issue, "Capitalize name", "Capitalize the name.", "upcase.png", new IModification() { -// public void apply(IModificationContext context) throws BadLocationException { -// IXtextDocument xtextDocument = context.getXtextDocument(); -// String firstLetter = xtextDocument.get(issue.getOffset(), 1); -// xtextDocument.replace(issue.getOffset(), 1, firstLetter.toUpperCase()); -// } -// }); -// } - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/.antlr-generator-3.2.0.jar b/plugins/org.eclipse.emf.modelingbot.xtext/.antlr-generator-3.2.0.jar Binary files differdeleted file mode 100644 index 424349240..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/.antlr-generator-3.2.0.jar +++ /dev/null diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/.classpath b/plugins/org.eclipse.emf.modelingbot.xtext/.classpath deleted file mode 100644 index 668c0c677..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/.classpath +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src"/> - <classpathentry kind="src" path="src-gen"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/.project b/plugins/org.eclipse.emf.modelingbot.xtext/.project deleted file mode 100644 index 1d510ce1c..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/.project +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.emf.modelingbot.xtext</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.emf.modelingbot.xtext/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 54e493c07..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,11 +0,0 @@ -eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.modelingbot.xtext/META-INF/MANIFEST.MF deleted file mode 100644 index 3749d6262..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/META-INF/MANIFEST.MF +++ /dev/null @@ -1,33 +0,0 @@ -Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: org.eclipse.emf.modelingbot.xtext
-Bundle-Vendor: My Company
-Bundle-Version: 1.2.0.qualifier
-Bundle-SymbolicName: org.eclipse.emf.modelingbot.xtext; singleton:=true
-Bundle-ActivationPolicy: lazy
-Require-Bundle: org.eclipse.xtext;visibility:=reexport,
- org.apache.log4j;bundle-version="1.2.15";visibility:=reexport,
- org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional;visibility:=reexport,
- org.eclipse.xtext.generator;resolution:=optional,
- org.eclipse.emf.codegen.ecore;resolution:=optional,
- org.eclipse.emf.mwe.utils;resolution:=optional,
- org.eclipse.emf.mwe2.launch;resolution:=optional,
- org.eclipse.emf.eef.modelingbot;bundle-version="1.2.0",
- org.eclipse.xtext.util,
- org.eclipse.emf.ecore,
- org.eclipse.emf.common,
- org.antlr.runtime,
- org.eclipse.xtext.common.types,
- org.eclipse.xtext.common.types.shared
-Import-Package: org.apache.log4j,
- org.apache.commons.logging,
- org.eclipse.xtext.xbase.lib
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Export-Package: org.eclipse.emf.eef,
- org.eclipse.emf.eef.services,
- org.eclipse.emf.eef.parseTreeConstruction,
- org.eclipse.emf.eef.parser.antlr,
- org.eclipse.emf.eef.parser.antlr.internal,
- org.eclipse.emf.eef.validation,
- org.eclipse.emf.eef.scoping,
- org.eclipse.emf.eef.formatting
diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/build.properties b/plugins/org.eclipse.emf.modelingbot.xtext/build.properties deleted file mode 100644 index 194903d36..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -bin.includes = .,\ - META-INF/ -source.. = src/,\ - src-gen/ diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/AbstractModelingBotRuntimeModule.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/AbstractModelingBotRuntimeModule.java deleted file mode 100644 index fe43e2caf..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/AbstractModelingBotRuntimeModule.java +++ /dev/null @@ -1,147 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.emf.eef; - -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; - -/** - * Manual modifications go to {org.eclipse.emf.eef.ModelingBotRuntimeModule} - */ - @SuppressWarnings("all") -public abstract class AbstractModelingBotRuntimeModule extends DefaultRuntimeModule { - - protected Properties properties = null; - - @Override - public void configure(Binder binder) { - properties = tryBindProperties(binder, "org/eclipse/emf/eef/ModelingBot.properties"); - super.configure(binder); - } - - public void configureLanguageName(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.emf.eef.ModelingBot"); - } - - public void configureFileExtensions(Binder binder) { - if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) - binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("modelingbot"); - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { - return getClass().getClassLoader(); - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() { - return org.eclipse.emf.eef.services.ModelingBotGrammarAccess.class; - } - - // contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment - public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() { - return org.eclipse.emf.eef.parseTreeConstruction.ModelingBotParsetreeConstructor.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() { - return org.eclipse.emf.eef.parser.antlr.ModelingBotParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() { - return org.eclipse.emf.eef.parser.antlr.ModelingBotAntlrTokenFileProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() { - return org.eclipse.emf.eef.parser.antlr.internal.InternalModelingBotLexer.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider<org.eclipse.emf.eef.parser.antlr.internal.InternalModelingBotLexer> provideInternalModelingBotLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.emf.eef.parser.antlr.internal.InternalModelingBotLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.emf.eef.parser.antlr.internal.InternalModelingBotLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; - } - - // contributed by org.eclipse.xtext.generator.ecore2xtext.Ecore2XtextValueConverterServiceFragment - public Class<? extends org.eclipse.xtext.conversion.IValueConverterService> bindIValueConverterService() { - return org.eclipse.xtext.common.services.Ecore2XtextTerminalConverters.class; - } - - // contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment - @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.emf.eef.validation.ModelingBotJavaValidator> bindModelingBotJavaValidator() { - return org.eclipse.emf.eef.validation.ModelingBotJavaValidator.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() { - return org.eclipse.emf.eef.scoping.ModelingBotScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class); - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() { - return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIgnoreCaseLinking(com.google.inject.Binder binder) { - binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false); - } - - // contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment - public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { - return org.eclipse.xtext.naming.SimpleNameProvider.class; - } - - // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment - public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() { - return org.eclipse.emf.eef.formatting.ModelingBotFormatter.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() { - return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() { - return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class; - } - - // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment - 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 - public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class); - } - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/ModelingBot.xmi b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/ModelingBot.xmi deleted file mode 100644 index 86d797159..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/ModelingBot.xmi +++ /dev/null @@ -1,442 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xtext="http://www.eclipse.org/2008/Xtext"> - <xtext:Grammar name="org.eclipse.emf.eef.ModelingBot" usedGrammars="/1"> - <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore"> - <ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/> - </metamodelDeclarations> - <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="mbot"> - <ePackage href="http://www.eclipse.org/emf/eef/mbot/1.0.0#/"/> - </metamodelDeclarations> - <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="EclipseActions"> - <ePackage href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EclipseActions"/> - </metamodelDeclarations> - <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="EEFActions"> - <ePackage href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EEFActions"/> - </metamodelDeclarations> - <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="EEFExtended"> - <ePackage href="http://www.eclipse.org/emf/eef/extended/editor/1.0.0#/"/> - </metamodelDeclarations> - <rules xsi:type="xtext:ParserRule" name="Scenario"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//Scenario"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="scenario"/> - <elements xsi:type="xtext:Assignment" feature="name" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Keyword" value="{"/> - <elements xsi:type="xtext:Assignment" cardinality="*" feature="processings" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/> - </elements> - <elements xsi:type="xtext:Keyword" value="}"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="Processings"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//Processing"/> - </type> - <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.3"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.2"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.6"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="PropertiesView"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//PropertiesView"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="propertiesView"/> - <elements xsi:type="xtext:Assignment" cardinality="?" feature="name" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Keyword" value="{"/> - <elements xsi:type="xtext:Assignment" cardinality="*" feature="processings" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/> - </elements> - <elements xsi:type="xtext:Keyword" value="}"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="Wizard"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//Wizard"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="wizard"/> - <elements xsi:type="xtext:Assignment" cardinality="?" feature="name" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Keyword" value="{"/> - <elements xsi:type="xtext:Assignment" cardinality="*" feature="processings" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/> - </elements> - <elements xsi:type="xtext:Keyword" value="}"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="Details"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//DetailsPage"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="detailsPage"/> - <elements xsi:type="xtext:Assignment" cardinality="?" feature="name" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Keyword" value="{"/> - <elements xsi:type="xtext:Assignment" cardinality="*" feature="processings" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/> - </elements> - <elements xsi:type="xtext:Keyword" value="}"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="SubProcessings"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//Processing"/> - </type> - <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.3"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.4"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.2"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.6"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="Action"> - <type metamodel="/0/@metamodelDeclarations.1"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//Action"/> - </type> - <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.7"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="EclipseAction"> - <type metamodel="/0/@metamodelDeclarations.2"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EclipseActions/EclipseAction"/> - </type> - <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.8"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.12"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.9"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="CreateProject"> - <type metamodel="/0/@metamodelDeclarations.2"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EclipseActions/CreateProject"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="createProject"/> - <elements xsi:type="xtext:Assignment" feature="projectName" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="RemoveProject"> - <type metamodel="/0/@metamodelDeclarations.2"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EclipseActions/RemoveProject"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="deleteProject"/> - <elements xsi:type="xtext:Assignment" feature="projectName" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="ReferenceableObject"> - <type metamodel="/0/@metamodelDeclarations.4"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/extended/editor/1.0.0#//ReferenceableObject"/> - </type> - <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.15"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="CreateModel"> - <type metamodel="/0/@metamodelDeclarations.2"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EclipseActions/CreateModel"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="createObject"/> - <elements xsi:type="xtext:Assignment" feature="referenceName" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/> - </elements> - <elements xsi:type="xtext:Keyword" value=":"/> - <elements xsi:type="xtext:Assignment" feature="rootURI" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Keyword" value="inResource"/> - <elements xsi:type="xtext:Assignment" feature="modelName" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Keyword" value="at"/> - <elements xsi:type="xtext:Assignment" feature="path" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="Save"> - <type metamodel="/0/@metamodelDeclarations.2"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EclipseActions/Save"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="save"/> - <elements xsi:type="xtext:Action"> - <type metamodel="/0/@metamodelDeclarations.2"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EclipseActions/Save"/> - </type> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="EEFAction"> - <type metamodel="/0/@metamodelDeclarations.3"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EEFActions/EEFAction"/> - </type> - <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.14"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.15"/> - <elements xsi:type="xtext:RuleCall" rule="/0/@rules.16"/> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="Check"> - <type metamodel="/0/@metamodelDeclarations.3"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EEFActions/Check"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="check!"/> - <elements xsi:type="xtext:Action"> - <type metamodel="/0/@metamodelDeclarations.3"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EEFActions/Check"/> - </type> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="Add"> - <type metamodel="/0/@metamodelDeclarations.3"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EEFActions/Add"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="createObject"/> - <elements xsi:type="xtext:Assignment" feature="referenceName" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/> - </elements> - <elements xsi:type="xtext:Keyword" value=":"/> - <elements xsi:type="xtext:Assignment" feature="typeURI" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Keyword" value="inElement"/> - <elements xsi:type="xtext:Assignment" feature="referenceableObject" operator="="> - <terminal xsi:type="xtext:CrossReference"> - <type metamodel="/0/@metamodelDeclarations.4"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/extended/editor/1.0.0#//ReferenceableObject"/> - </type> - <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/> - </terminal> - </elements> - <elements xsi:type="xtext:Keyword" value="inFeature"/> - <elements xsi:type="xtext:Assignment" feature="eContainingFeatureURI" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="SetAttribute"> - <type metamodel="/0/@metamodelDeclarations.3"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/mbot/1.0.0#//EEFActions/SetAttribute"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="set"/> - <elements xsi:type="xtext:Assignment" feature="referenceableObject" operator="="> - <terminal xsi:type="xtext:CrossReference"> - <type metamodel="/0/@metamodelDeclarations.4"> - <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/eef/extended/editor/1.0.0#//ReferenceableObject"/> - </type> - <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/> - </terminal> - </elements> - <elements xsi:type="xtext:Keyword" value="values"/> - <elements xsi:type="xtext:Assignment" feature="values" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Group" cardinality="*"> - <elements xsi:type="xtext:Keyword" value=","/> - <elements xsi:type="xtext:Assignment" feature="values" operator="+="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - </elements> - <elements xsi:type="xtext:Keyword" value="inFeature"/> - <elements xsi:type="xtext:Assignment" feature="eContainingFeatureURI" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - <elements xsi:type="xtext:Group" cardinality="?"> - <elements xsi:type="xtext:Keyword" value="usingWidget"/> - <elements xsi:type="xtext:Assignment" feature="propertiesEditionElementURI" operator="="> - <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/> - </elements> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:ParserRule" name="EString"> - <type metamodel="/0/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </type> - <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:RuleCall" rule="/1/@rules.2"/> - <elements xsi:type="xtext:RuleCall" rule="/1/@rules.0"/> - </alternatives> - </rules> - </xtext:Grammar> - <xtext:Grammar name="org.eclipse.xtext.common.Terminals" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4"> - <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore"> - <ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/> - </metamodelDeclarations> - <rules xsi:type="xtext:TerminalRule" name="ID"> - <type metamodel="/1/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" cardinality="?" value="^"/> - <elements xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:CharacterRange"> - <left value="a"/> - <right value="z"/> - </elements> - <elements xsi:type="xtext:CharacterRange"> - <left value="A"/> - <right value="Z"/> - </elements> - <elements xsi:type="xtext:Keyword" value="_"/> - </elements> - <elements xsi:type="xtext:Alternatives" cardinality="*"> - <elements xsi:type="xtext:CharacterRange"> - <left value="a"/> - <right value="z"/> - </elements> - <elements xsi:type="xtext:CharacterRange"> - <left value="A"/> - <right value="Z"/> - </elements> - <elements xsi:type="xtext:Keyword" value="_"/> - <elements xsi:type="xtext:CharacterRange"> - <left value="0"/> - <right value="9"/> - </elements> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:TerminalRule" name="INT"> - <type metamodel="/1/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/> - </type> - <alternatives xsi:type="xtext:CharacterRange" cardinality="+"> - <left value="0"/> - <right value="9"/> - </alternatives> - </rules> - <rules xsi:type="xtext:TerminalRule" name="STRING"> - <type metamodel="/1/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </type> - <alternatives xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="""/> - <elements xsi:type="xtext:Alternatives" cardinality="*"> - <elements xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="\"/> - <elements xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:Keyword" value="b"/> - <elements xsi:type="xtext:Keyword" value="t"/> - <elements xsi:type="xtext:Keyword" value="n"/> - <elements xsi:type="xtext:Keyword" value="f"/> - <elements xsi:type="xtext:Keyword" value="r"/> - <elements xsi:type="xtext:Keyword" value="u"/> - <elements xsi:type="xtext:Keyword" value="""/> - <elements xsi:type="xtext:Keyword" value="'"/> - <elements xsi:type="xtext:Keyword" value="\"/> - </elements> - </elements> - <elements xsi:type="xtext:NegatedToken"> - <terminal xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:Keyword" value="\"/> - <elements xsi:type="xtext:Keyword" value="""/> - </terminal> - </elements> - </elements> - <elements xsi:type="xtext:Keyword" value="""/> - </elements> - <elements xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="'"/> - <elements xsi:type="xtext:Alternatives" cardinality="*"> - <elements xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="\"/> - <elements xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:Keyword" value="b"/> - <elements xsi:type="xtext:Keyword" value="t"/> - <elements xsi:type="xtext:Keyword" value="n"/> - <elements xsi:type="xtext:Keyword" value="f"/> - <elements xsi:type="xtext:Keyword" value="r"/> - <elements xsi:type="xtext:Keyword" value="u"/> - <elements xsi:type="xtext:Keyword" value="""/> - <elements xsi:type="xtext:Keyword" value="'"/> - <elements xsi:type="xtext:Keyword" value="\"/> - </elements> - </elements> - <elements xsi:type="xtext:NegatedToken"> - <terminal xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:Keyword" value="\"/> - <elements xsi:type="xtext:Keyword" value="'"/> - </terminal> - </elements> - </elements> - <elements xsi:type="xtext:Keyword" value="'"/> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:TerminalRule" name="ML_COMMENT"> - <type metamodel="/1/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="/*"/> - <elements xsi:type="xtext:UntilToken"> - <terminal xsi:type="xtext:Keyword" value="*/"/> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:TerminalRule" name="SL_COMMENT"> - <type metamodel="/1/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </type> - <alternatives xsi:type="xtext:Group"> - <elements xsi:type="xtext:Keyword" value="//"/> - <elements xsi:type="xtext:NegatedToken" cardinality="*"> - <terminal xsi:type="xtext:Alternatives"> - <elements xsi:type="xtext:Keyword" value="
"/> - <elements xsi:type="xtext:Keyword" value="
"/> - </terminal> - </elements> - <elements xsi:type="xtext:Group" cardinality="?"> - <elements xsi:type="xtext:Keyword" cardinality="?" value="
"/> - <elements xsi:type="xtext:Keyword" value="
"/> - </elements> - </alternatives> - </rules> - <rules xsi:type="xtext:TerminalRule" name="WS"> - <type metamodel="/1/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </type> - <alternatives xsi:type="xtext:Alternatives" cardinality="+"> - <elements xsi:type="xtext:Keyword" value=" "/> - <elements xsi:type="xtext:Keyword" value="	"/> - <elements xsi:type="xtext:Keyword" value="
"/> - <elements xsi:type="xtext:Keyword" value="
"/> - </alternatives> - </rules> - <rules xsi:type="xtext:TerminalRule" name="ANY_OTHER"> - <type metamodel="/1/@metamodelDeclarations.0"> - <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/> - </type> - <alternatives xsi:type="xtext:Wildcard"/> - </rules> - </xtext:Grammar> -</xmi:XMI> diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/ModelingBotStandaloneSetupGenerated.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/ModelingBotStandaloneSetupGenerated.java deleted file mode 100644 index 25f8e592e..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/ModelingBotStandaloneSetupGenerated.java +++ /dev/null @@ -1,40 +0,0 @@ - -package org.eclipse.emf.eef; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.ISetup; -import org.eclipse.emf.ecore.resource.Resource; - -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ -@SuppressWarnings("all") -public class ModelingBotStandaloneSetupGenerated implements ISetup { - - public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); - - Injector injector = createInjector(); - register(injector); - return injector; - } - - public Injector createInjector() { - return Guice.createInjector(new org.eclipse.emf.eef.ModelingBotRuntimeModule()); - } - - public void register(Injector injector) { - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("modelingbot", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("modelingbot", serviceProvider); - - - - - } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parseTreeConstruction/ModelingBotParsetreeConstructor.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parseTreeConstruction/ModelingBotParsetreeConstructor.java deleted file mode 100644 index 3db30847e..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parseTreeConstruction/ModelingBotParsetreeConstructor.java +++ /dev/null @@ -1,3062 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.parseTreeConstruction; - -import org.eclipse.emf.ecore.*; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer; -import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor; - -import org.eclipse.emf.eef.services.ModelingBotGrammarAccess; - -import com.google.inject.Inject; - -@SuppressWarnings("all") -public class ModelingBotParsetreeConstructor extends AbstractParseTreeConstructor { - - @Inject - private ModelingBotGrammarAccess grammarAccess; - - @Override - protected AbstractToken getRootToken(IEObjectConsumer inst) { - return new ThisRootNode(inst); - } - -protected class ThisRootNode extends RootToken { - public ThisRootNode(IEObjectConsumer inst) { - super(inst); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Scenario_Group(this, this, 0, inst); - case 1: return new Processings_Alternatives(this, this, 1, inst); - case 2: return new PropertiesView_Group(this, this, 2, inst); - case 3: return new Wizard_Group(this, this, 3, inst); - case 4: return new Details_Group(this, this, 4, inst); - case 5: return new SubProcessings_Alternatives(this, this, 5, inst); - case 6: return new Action_Alternatives(this, this, 6, inst); - case 7: return new EclipseAction_Alternatives(this, this, 7, inst); - case 8: return new CreateProject_Group(this, this, 8, inst); - case 9: return new RemoveProject_Group(this, this, 9, inst); - case 10: return new ReferenceableObject_Alternatives(this, this, 10, inst); - case 11: return new CreateModel_Group(this, this, 11, inst); - case 12: return new Save_Group(this, this, 12, inst); - case 13: return new EEFAction_Alternatives(this, this, 13, inst); - case 14: return new Check_Group(this, this, 14, inst); - case 15: return new Add_Group(this, this, 15, inst); - case 16: return new SetAttribute_Group(this, this, 16, inst); - default: return null; - } - } -} - - -/************ begin Rule Scenario **************** - * - * Scenario returns mbot::Scenario: - * "scenario" name=EString "{" processings+=Processings* "}"; - * - **/ - -// "scenario" name=EString "{" processings+=Processings* "}" -protected class Scenario_Group extends GroupToken { - - public Scenario_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getScenarioAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Scenario_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getScenarioRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "scenario" -protected class Scenario_ScenarioKeyword_0 extends KeywordToken { - - public Scenario_ScenarioKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getScenarioAccess().getScenarioKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// name=EString -protected class Scenario_NameAssignment_1 extends AssignmentToken { - - public Scenario_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getScenarioAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Scenario_ScenarioKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getScenarioAccess().getNameEStringParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getScenarioAccess().getNameEStringParserRuleCall_1_0(); - return obj; - } - return null; - } - -} - -// "{" -protected class Scenario_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public Scenario_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getScenarioAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Scenario_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// processings+=Processings* -protected class Scenario_ProcessingsAssignment_3 extends AssignmentToken { - - public Scenario_ProcessingsAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getScenarioAccess().getProcessingsAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Processings_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("processings",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("processings"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getProcessingsRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getScenarioAccess().getProcessingsProcessingsParserRuleCall_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new Scenario_ProcessingsAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); - case 1: return new Scenario_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// "}" -protected class Scenario_RightCurlyBracketKeyword_4 extends KeywordToken { - - public Scenario_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getScenarioAccess().getRightCurlyBracketKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Scenario_ProcessingsAssignment_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new Scenario_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - - -/************ end Rule Scenario ****************/ - - -/************ begin Rule Processings **************** - * - * Processings returns mbot::Processing: - * Details | Wizard | PropertiesView | Action; - * - **/ - -// Details | Wizard | PropertiesView | Action -protected class Processings_Alternatives extends AlternativesToken { - - public Processings_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getProcessingsAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Processings_DetailsParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new Processings_WizardParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new Processings_PropertiesViewParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: return new Processings_ActionParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDetailsRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getPropertiesViewRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getWizardRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// Details -protected class Processings_DetailsParserRuleCall_0 extends RuleCallToken { - - public Processings_DetailsParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getProcessingsAccess().getDetailsParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Details_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDetailsRule().getType().getClassifier()) - return null; - if(checkForRecursion(Details_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Wizard -protected class Processings_WizardParserRuleCall_1 extends RuleCallToken { - - public Processings_WizardParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getProcessingsAccess().getWizardParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Wizard_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getWizardRule().getType().getClassifier()) - return null; - if(checkForRecursion(Wizard_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// PropertiesView -protected class Processings_PropertiesViewParserRuleCall_2 extends RuleCallToken { - - public Processings_PropertiesViewParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getProcessingsAccess().getPropertiesViewParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertiesView_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getPropertiesViewRule().getType().getClassifier()) - return null; - if(checkForRecursion(PropertiesView_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Action -protected class Processings_ActionParserRuleCall_3 extends RuleCallToken { - - public Processings_ActionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getProcessingsAccess().getActionParserRuleCall_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Action_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier()) - return null; - if(checkForRecursion(Action_Alternatives.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule Processings ****************/ - - -/************ begin Rule PropertiesView **************** - * - * PropertiesView returns mbot::PropertiesView: - * "propertiesView" name=EString? "{" processings+=SubProcessings* "}"; - * - **/ - -// "propertiesView" name=EString? "{" processings+=SubProcessings* "}" -protected class PropertiesView_Group extends GroupToken { - - public PropertiesView_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getPropertiesViewAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertiesView_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getPropertiesViewRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "propertiesView" -protected class PropertiesView_PropertiesViewKeyword_0 extends KeywordToken { - - public PropertiesView_PropertiesViewKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getPropertiesViewAccess().getPropertiesViewKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// name=EString? -protected class PropertiesView_NameAssignment_1 extends AssignmentToken { - - public PropertiesView_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getPropertiesViewAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertiesView_PropertiesViewKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("name",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getPropertiesViewAccess().getNameEStringParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getPropertiesViewAccess().getNameEStringParserRuleCall_1_0(); - return obj; - } - return null; - } - -} - -// "{" -protected class PropertiesView_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public PropertiesView_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getPropertiesViewAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertiesView_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new PropertiesView_PropertiesViewKeyword_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// processings+=SubProcessings* -protected class PropertiesView_ProcessingsAssignment_3 extends AssignmentToken { - - public PropertiesView_ProcessingsAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getPropertiesViewAccess().getProcessingsAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SubProcessings_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("processings",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("processings"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSubProcessingsRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getPropertiesViewAccess().getProcessingsSubProcessingsParserRuleCall_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new PropertiesView_ProcessingsAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); - case 1: return new PropertiesView_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// "}" -protected class PropertiesView_RightCurlyBracketKeyword_4 extends KeywordToken { - - public PropertiesView_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getPropertiesViewAccess().getRightCurlyBracketKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertiesView_ProcessingsAssignment_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new PropertiesView_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - - -/************ end Rule PropertiesView ****************/ - - -/************ begin Rule Wizard **************** - * - * Wizard returns mbot::Wizard: - * "wizard" name=EString? "{" processings+=SubProcessings* "}"; - * - **/ - -// "wizard" name=EString? "{" processings+=SubProcessings* "}" -protected class Wizard_Group extends GroupToken { - - public Wizard_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getWizardAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Wizard_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getWizardRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "wizard" -protected class Wizard_WizardKeyword_0 extends KeywordToken { - - public Wizard_WizardKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getWizardAccess().getWizardKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// name=EString? -protected class Wizard_NameAssignment_1 extends AssignmentToken { - - public Wizard_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getWizardAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Wizard_WizardKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("name",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getWizardAccess().getNameEStringParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getWizardAccess().getNameEStringParserRuleCall_1_0(); - return obj; - } - return null; - } - -} - -// "{" -protected class Wizard_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public Wizard_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getWizardAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Wizard_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new Wizard_WizardKeyword_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// processings+=SubProcessings* -protected class Wizard_ProcessingsAssignment_3 extends AssignmentToken { - - public Wizard_ProcessingsAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getWizardAccess().getProcessingsAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SubProcessings_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("processings",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("processings"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSubProcessingsRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getWizardAccess().getProcessingsSubProcessingsParserRuleCall_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new Wizard_ProcessingsAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); - case 1: return new Wizard_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// "}" -protected class Wizard_RightCurlyBracketKeyword_4 extends KeywordToken { - - public Wizard_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getWizardAccess().getRightCurlyBracketKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Wizard_ProcessingsAssignment_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new Wizard_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - - -/************ end Rule Wizard ****************/ - - -/************ begin Rule Details **************** - * - * Details returns mbot::DetailsPage: - * "detailsPage" name=EString? "{" processings+=SubProcessings* "}"; - * - **/ - -// "detailsPage" name=EString? "{" processings+=SubProcessings* "}" -protected class Details_Group extends GroupToken { - - public Details_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getDetailsAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Details_RightCurlyBracketKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDetailsRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "detailsPage" -protected class Details_DetailsPageKeyword_0 extends KeywordToken { - - public Details_DetailsPageKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDetailsAccess().getDetailsPageKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// name=EString? -protected class Details_NameAssignment_1 extends AssignmentToken { - - public Details_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDetailsAccess().getNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Details_DetailsPageKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("name",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getDetailsAccess().getNameEStringParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getDetailsAccess().getNameEStringParserRuleCall_1_0(); - return obj; - } - return null; - } - -} - -// "{" -protected class Details_LeftCurlyBracketKeyword_2 extends KeywordToken { - - public Details_LeftCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDetailsAccess().getLeftCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Details_NameAssignment_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new Details_DetailsPageKeyword_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// processings+=SubProcessings* -protected class Details_ProcessingsAssignment_3 extends AssignmentToken { - - public Details_ProcessingsAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDetailsAccess().getProcessingsAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SubProcessings_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("processings",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("processings"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSubProcessingsRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getDetailsAccess().getProcessingsSubProcessingsParserRuleCall_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new Details_ProcessingsAssignment_3(lastRuleCallOrigin, next, actIndex, consumed); - case 1: return new Details_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// "}" -protected class Details_RightCurlyBracketKeyword_4 extends KeywordToken { - - public Details_RightCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDetailsAccess().getRightCurlyBracketKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Details_ProcessingsAssignment_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new Details_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - - -/************ end Rule Details ****************/ - - -/************ begin Rule SubProcessings **************** - * - * SubProcessings returns mbot::Processing: - * Wizard | Details | PropertiesView | Action; - * - **/ - -// Wizard | Details | PropertiesView | Action -protected class SubProcessings_Alternatives extends AlternativesToken { - - public SubProcessings_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getSubProcessingsAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SubProcessings_WizardParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new SubProcessings_DetailsParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new SubProcessings_PropertiesViewParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: return new SubProcessings_ActionParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDetailsRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getPropertiesViewRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getWizardRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// Wizard -protected class SubProcessings_WizardParserRuleCall_0 extends RuleCallToken { - - public SubProcessings_WizardParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getSubProcessingsAccess().getWizardParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Wizard_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getWizardRule().getType().getClassifier()) - return null; - if(checkForRecursion(Wizard_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Details -protected class SubProcessings_DetailsParserRuleCall_1 extends RuleCallToken { - - public SubProcessings_DetailsParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getSubProcessingsAccess().getDetailsParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Details_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDetailsRule().getType().getClassifier()) - return null; - if(checkForRecursion(Details_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// PropertiesView -protected class SubProcessings_PropertiesViewParserRuleCall_2 extends RuleCallToken { - - public SubProcessings_PropertiesViewParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getSubProcessingsAccess().getPropertiesViewParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertiesView_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getPropertiesViewRule().getType().getClassifier()) - return null; - if(checkForRecursion(PropertiesView_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Action -protected class SubProcessings_ActionParserRuleCall_3 extends RuleCallToken { - - public SubProcessings_ActionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getSubProcessingsAccess().getActionParserRuleCall_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Action_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier()) - return null; - if(checkForRecursion(Action_Alternatives.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule SubProcessings ****************/ - - -/************ begin Rule Action **************** - * - * Action returns mbot::Action: - * EclipseAction | EEFAction; - * - **/ - -// EclipseAction | EEFAction -protected class Action_Alternatives extends AlternativesToken { - - public Action_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getActionAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Action_EclipseActionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new Action_EEFActionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// EclipseAction -protected class Action_EclipseActionParserRuleCall_0 extends RuleCallToken { - - public Action_EclipseActionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getActionAccess().getEclipseActionParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EclipseAction_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier()) - return null; - if(checkForRecursion(EclipseAction_Alternatives.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// EEFAction -protected class Action_EEFActionParserRuleCall_1 extends RuleCallToken { - - public Action_EEFActionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getActionAccess().getEEFActionParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EEFAction_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier()) - return null; - if(checkForRecursion(EEFAction_Alternatives.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule Action ****************/ - - -/************ begin Rule EclipseAction **************** - * - * EclipseAction returns EclipseActions::EclipseAction: - * CreateProject | CreateModel | Save | RemoveProject; - * - **/ - -// CreateProject | CreateModel | Save | RemoveProject -protected class EclipseAction_Alternatives extends AlternativesToken { - - public EclipseAction_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getEclipseActionAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EclipseAction_CreateProjectParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new EclipseAction_CreateModelParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new EclipseAction_SaveParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: return new EclipseAction_RemoveProjectParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// CreateProject -protected class EclipseAction_CreateProjectParserRuleCall_0 extends RuleCallToken { - - public EclipseAction_CreateProjectParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getEclipseActionAccess().getCreateProjectParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateProject_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier()) - return null; - if(checkForRecursion(CreateProject_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// CreateModel -protected class EclipseAction_CreateModelParserRuleCall_1 extends RuleCallToken { - - public EclipseAction_CreateModelParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getEclipseActionAccess().getCreateModelParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier()) - return null; - if(checkForRecursion(CreateModel_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Save -protected class EclipseAction_SaveParserRuleCall_2 extends RuleCallToken { - - public EclipseAction_SaveParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getEclipseActionAccess().getSaveParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Save_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier()) - return null; - if(checkForRecursion(Save_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// RemoveProject -protected class EclipseAction_RemoveProjectParserRuleCall_3 extends RuleCallToken { - - public EclipseAction_RemoveProjectParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getEclipseActionAccess().getRemoveProjectParserRuleCall_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RemoveProject_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier()) - return null; - if(checkForRecursion(RemoveProject_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule EclipseAction ****************/ - - -/************ begin Rule CreateProject **************** - * - * CreateProject returns EclipseActions::CreateProject: - * "createProject" projectName=EString; - * - **/ - -// "createProject" projectName=EString -protected class CreateProject_Group extends GroupToken { - - public CreateProject_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getCreateProjectAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateProject_ProjectNameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCreateProjectRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "createProject" -protected class CreateProject_CreateProjectKeyword_0 extends KeywordToken { - - public CreateProject_CreateProjectKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getCreateProjectAccess().getCreateProjectKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// projectName=EString -protected class CreateProject_ProjectNameAssignment_1 extends AssignmentToken { - - public CreateProject_ProjectNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getCreateProjectAccess().getProjectNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateProject_CreateProjectKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("projectName",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("projectName"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getCreateProjectAccess().getProjectNameEStringParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getCreateProjectAccess().getProjectNameEStringParserRuleCall_1_0(); - return obj; - } - return null; - } - -} - - -/************ end Rule CreateProject ****************/ - - -/************ begin Rule RemoveProject **************** - * - * RemoveProject returns EclipseActions::RemoveProject: - * "deleteProject" projectName=EString; - * - **/ - -// "deleteProject" projectName=EString -protected class RemoveProject_Group extends GroupToken { - - public RemoveProject_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getRemoveProjectAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RemoveProject_ProjectNameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getRemoveProjectRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "deleteProject" -protected class RemoveProject_DeleteProjectKeyword_0 extends KeywordToken { - - public RemoveProject_DeleteProjectKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getRemoveProjectAccess().getDeleteProjectKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// projectName=EString -protected class RemoveProject_ProjectNameAssignment_1 extends AssignmentToken { - - public RemoveProject_ProjectNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRemoveProjectAccess().getProjectNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RemoveProject_DeleteProjectKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("projectName",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("projectName"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getRemoveProjectAccess().getProjectNameEStringParserRuleCall_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getRemoveProjectAccess().getProjectNameEStringParserRuleCall_1_0(); - return obj; - } - return null; - } - -} - - -/************ end Rule RemoveProject ****************/ - - -/************ begin Rule ReferenceableObject **************** - * - * ReferenceableObject returns EEFExtended::ReferenceableObject: - * CreateModel | Add; - * - **/ - -// CreateModel | Add -protected class ReferenceableObject_Alternatives extends AlternativesToken { - - public ReferenceableObject_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getReferenceableObjectAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ReferenceableObject_CreateModelParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new ReferenceableObject_AddParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// CreateModel -protected class ReferenceableObject_CreateModelParserRuleCall_0 extends RuleCallToken { - - public ReferenceableObject_CreateModelParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getReferenceableObjectAccess().getCreateModelParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier()) - return null; - if(checkForRecursion(CreateModel_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Add -protected class ReferenceableObject_AddParserRuleCall_1 extends RuleCallToken { - - public ReferenceableObject_AddParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getReferenceableObjectAccess().getAddParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier()) - return null; - if(checkForRecursion(Add_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule ReferenceableObject ****************/ - - -/************ begin Rule CreateModel **************** - * - * CreateModel returns EclipseActions::CreateModel: - * "createObject" referenceName=ID ":" rootURI=EString "inResource" modelName=EString "at" path=EString; - * - **/ - -// "createObject" referenceName=ID ":" rootURI=EString "inResource" modelName=EString "at" path=EString -protected class CreateModel_Group extends GroupToken { - - public CreateModel_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getCreateModelAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_PathAssignment_7(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCreateModelRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "createObject" -protected class CreateModel_CreateObjectKeyword_0 extends KeywordToken { - - public CreateModel_CreateObjectKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getCreateModelAccess().getCreateObjectKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// referenceName=ID -protected class CreateModel_ReferenceNameAssignment_1 extends AssignmentToken { - - public CreateModel_ReferenceNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getCreateModelAccess().getReferenceNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_CreateObjectKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("referenceName",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referenceName"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getCreateModelAccess().getReferenceNameIDTerminalRuleCall_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getCreateModelAccess().getReferenceNameIDTerminalRuleCall_1_0(); - return obj; - } - return null; - } - -} - -// ":" -protected class CreateModel_ColonKeyword_2 extends KeywordToken { - - public CreateModel_ColonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getCreateModelAccess().getColonKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_ReferenceNameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// rootURI=EString -protected class CreateModel_RootURIAssignment_3 extends AssignmentToken { - - public CreateModel_RootURIAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getCreateModelAccess().getRootURIAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_ColonKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("rootURI",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("rootURI"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getCreateModelAccess().getRootURIEStringParserRuleCall_3_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getCreateModelAccess().getRootURIEStringParserRuleCall_3_0(); - return obj; - } - return null; - } - -} - -// "inResource" -protected class CreateModel_InResourceKeyword_4 extends KeywordToken { - - public CreateModel_InResourceKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getCreateModelAccess().getInResourceKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_RootURIAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// modelName=EString -protected class CreateModel_ModelNameAssignment_5 extends AssignmentToken { - - public CreateModel_ModelNameAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getCreateModelAccess().getModelNameAssignment_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_InResourceKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("modelName",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("modelName"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getCreateModelAccess().getModelNameEStringParserRuleCall_5_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getCreateModelAccess().getModelNameEStringParserRuleCall_5_0(); - return obj; - } - return null; - } - -} - -// "at" -protected class CreateModel_AtKeyword_6 extends KeywordToken { - - public CreateModel_AtKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getCreateModelAccess().getAtKeyword_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_ModelNameAssignment_5(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// path=EString -protected class CreateModel_PathAssignment_7 extends AssignmentToken { - - public CreateModel_PathAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getCreateModelAccess().getPathAssignment_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CreateModel_AtKeyword_6(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("path",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getCreateModelAccess().getPathEStringParserRuleCall_7_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getCreateModelAccess().getPathEStringParserRuleCall_7_0(); - return obj; - } - return null; - } - -} - - -/************ end Rule CreateModel ****************/ - - -/************ begin Rule Save **************** - * - * Save returns EclipseActions::Save: - * "save" {EclipseActions::Save}; - * - **/ - -// "save" {EclipseActions::Save} -protected class Save_Group extends GroupToken { - - public Save_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getSaveAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Save_SaveAction_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getSaveAccess().getSaveAction_1().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "save" -protected class Save_SaveKeyword_0 extends KeywordToken { - - public Save_SaveKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getSaveAccess().getSaveKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// {EclipseActions::Save} -protected class Save_SaveAction_1 extends ActionToken { - - public Save_SaveAction_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Action getGrammarElement() { - return grammarAccess.getSaveAccess().getSaveAction_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Save_SaveKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(!eObjectConsumer.isConsumed()) return null; - return eObjectConsumer; - } -} - - -/************ end Rule Save ****************/ - - -/************ begin Rule EEFAction **************** - * - * EEFAction returns EEFActions::EEFAction: - * Check | Add | SetAttribute; - * - **/ - -// Check | Add | SetAttribute -protected class EEFAction_Alternatives extends AlternativesToken { - - public EEFAction_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getEEFActionAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EEFAction_CheckParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new EEFAction_AddParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new EEFAction_SetAttributeParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// Check -protected class EEFAction_CheckParserRuleCall_0 extends RuleCallToken { - - public EEFAction_CheckParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getEEFActionAccess().getCheckParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Check_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier()) - return null; - if(checkForRecursion(Check_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Add -protected class EEFAction_AddParserRuleCall_1 extends RuleCallToken { - - public EEFAction_AddParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getEEFActionAccess().getAddParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier()) - return null; - if(checkForRecursion(Add_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// SetAttribute -protected class EEFAction_SetAttributeParserRuleCall_2 extends RuleCallToken { - - public EEFAction_SetAttributeParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getEEFActionAccess().getSetAttributeParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier()) - return null; - if(checkForRecursion(SetAttribute_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule EEFAction ****************/ - - -/************ begin Rule Check **************** - * - * Check returns EEFActions::Check: - * "check!" {EEFActions::Check}; - * - **/ - -// "check!" {EEFActions::Check} -protected class Check_Group extends GroupToken { - - public Check_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getCheckAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Check_CheckAction_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCheckAccess().getCheckAction_1().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "check!" -protected class Check_CheckKeyword_0 extends KeywordToken { - - public Check_CheckKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getCheckAccess().getCheckKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// {EEFActions::Check} -protected class Check_CheckAction_1 extends ActionToken { - - public Check_CheckAction_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Action getGrammarElement() { - return grammarAccess.getCheckAccess().getCheckAction_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Check_CheckKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(!eObjectConsumer.isConsumed()) return null; - return eObjectConsumer; - } -} - - -/************ end Rule Check ****************/ - - -/************ begin Rule Add **************** - * - * Add returns EEFActions::Add: - * "createObject" referenceName=ID ":" typeURI=EString "inElement" referenceableObject=[EEFExtended::ReferenceableObject] - * "inFeature" eContainingFeatureURI=EString; - * - **/ - -// "createObject" referenceName=ID ":" typeURI=EString "inElement" referenceableObject=[EEFExtended::ReferenceableObject] -// "inFeature" eContainingFeatureURI=EString -protected class Add_Group extends GroupToken { - - public Add_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAddAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_EContainingFeatureURIAssignment_7(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAddRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "createObject" -protected class Add_CreateObjectKeyword_0 extends KeywordToken { - - public Add_CreateObjectKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAddAccess().getCreateObjectKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// referenceName=ID -protected class Add_ReferenceNameAssignment_1 extends AssignmentToken { - - public Add_ReferenceNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAddAccess().getReferenceNameAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_CreateObjectKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("referenceName",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referenceName"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAddAccess().getReferenceNameIDTerminalRuleCall_1_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getAddAccess().getReferenceNameIDTerminalRuleCall_1_0(); - return obj; - } - return null; - } - -} - -// ":" -protected class Add_ColonKeyword_2 extends KeywordToken { - - public Add_ColonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAddAccess().getColonKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_ReferenceNameAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// typeURI=EString -protected class Add_TypeURIAssignment_3 extends AssignmentToken { - - public Add_TypeURIAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAddAccess().getTypeURIAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_ColonKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("typeURI",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeURI"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAddAccess().getTypeURIEStringParserRuleCall_3_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getAddAccess().getTypeURIEStringParserRuleCall_3_0(); - return obj; - } - return null; - } - -} - -// "inElement" -protected class Add_InElementKeyword_4 extends KeywordToken { - - public Add_InElementKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAddAccess().getInElementKeyword_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_TypeURIAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// referenceableObject=[EEFExtended::ReferenceableObject] -protected class Add_ReferenceableObjectAssignment_5 extends AssignmentToken { - - public Add_ReferenceableObjectAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAddAccess().getReferenceableObjectAssignment_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_InElementKeyword_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("referenceableObject",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referenceableObject"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectCrossReference_5_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectCrossReference_5_0(); - return obj; - } - } - return null; - } - -} - -// "inFeature" -protected class Add_InFeatureKeyword_6 extends KeywordToken { - - public Add_InFeatureKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getAddAccess().getInFeatureKeyword_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_ReferenceableObjectAssignment_5(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// eContainingFeatureURI=EString -protected class Add_EContainingFeatureURIAssignment_7 extends AssignmentToken { - - public Add_EContainingFeatureURIAssignment_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAddAccess().getEContainingFeatureURIAssignment_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Add_InFeatureKeyword_6(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("eContainingFeatureURI",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("eContainingFeatureURI"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getAddAccess().getEContainingFeatureURIEStringParserRuleCall_7_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getAddAccess().getEContainingFeatureURIEStringParserRuleCall_7_0(); - return obj; - } - return null; - } - -} - - -/************ end Rule Add ****************/ - - -/************ begin Rule SetAttribute **************** - * - * SetAttribute returns EEFActions::SetAttribute: - * "set" referenceableObject=[EEFExtended::ReferenceableObject] "values" values+=EString ("," values+=EString)* - * "inFeature" eContainingFeatureURI=EString ("usingWidget" propertiesEditionElementURI=EString)?; - * - **/ - -// "set" referenceableObject=[EEFExtended::ReferenceableObject] "values" values+=EString ("," values+=EString)* "inFeature" -// eContainingFeatureURI=EString ("usingWidget" propertiesEditionElementURI=EString)? -protected class SetAttribute_Group extends GroupToken { - - public SetAttribute_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_Group_7(lastRuleCallOrigin, this, 0, inst); - case 1: return new SetAttribute_EContainingFeatureURIAssignment_6(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getSetAttributeRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "set" -protected class SetAttribute_SetKeyword_0 extends KeywordToken { - - public SetAttribute_SetKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getSetKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// referenceableObject=[EEFExtended::ReferenceableObject] -protected class SetAttribute_ReferenceableObjectAssignment_1 extends AssignmentToken { - - public SetAttribute_ReferenceableObjectAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getReferenceableObjectAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_SetKeyword_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("referenceableObject",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("referenceableObject"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectCrossReference_1_0(); - return obj; - } - } - return null; - } - -} - -// "values" -protected class SetAttribute_ValuesKeyword_2 extends KeywordToken { - - public SetAttribute_ValuesKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getValuesKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_ReferenceableObjectAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// values+=EString -protected class SetAttribute_ValuesAssignment_3 extends AssignmentToken { - - public SetAttribute_ValuesAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getValuesAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_ValuesKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("values",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_3_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_3_0(); - return obj; - } - return null; - } - -} - -// ("," values+=EString)* -protected class SetAttribute_Group_4 extends GroupToken { - - public SetAttribute_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getGroup_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_ValuesAssignment_4_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "," -protected class SetAttribute_CommaKeyword_4_0 extends KeywordToken { - - public SetAttribute_CommaKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getCommaKeyword_4_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: return new SetAttribute_ValuesAssignment_3(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// values+=EString -protected class SetAttribute_ValuesAssignment_4_1 extends AssignmentToken { - - public SetAttribute_ValuesAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getValuesAssignment_4_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_CommaKeyword_4_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("values",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_4_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_4_1_0(); - return obj; - } - return null; - } - -} - - -// "inFeature" -protected class SetAttribute_InFeatureKeyword_5 extends KeywordToken { - - public SetAttribute_InFeatureKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getInFeatureKeyword_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: return new SetAttribute_ValuesAssignment_3(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// eContainingFeatureURI=EString -protected class SetAttribute_EContainingFeatureURIAssignment_6 extends AssignmentToken { - - public SetAttribute_EContainingFeatureURIAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getEContainingFeatureURIAssignment_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_InFeatureKeyword_5(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("eContainingFeatureURI",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("eContainingFeatureURI"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSetAttributeAccess().getEContainingFeatureURIEStringParserRuleCall_6_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getSetAttributeAccess().getEContainingFeatureURIEStringParserRuleCall_6_0(); - return obj; - } - return null; - } - -} - -// ("usingWidget" propertiesEditionElementURI=EString)? -protected class SetAttribute_Group_7 extends GroupToken { - - public SetAttribute_Group_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getGroup_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_PropertiesEditionElementURIAssignment_7_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "usingWidget" -protected class SetAttribute_UsingWidgetKeyword_7_0 extends KeywordToken { - - public SetAttribute_UsingWidgetKeyword_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getUsingWidgetKeyword_7_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_EContainingFeatureURIAssignment_6(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// propertiesEditionElementURI=EString -protected class SetAttribute_PropertiesEditionElementURIAssignment_7_1 extends AssignmentToken { - - public SetAttribute_PropertiesEditionElementURIAssignment_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIAssignment_7_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SetAttribute_UsingWidgetKeyword_7_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("propertiesEditionElementURI",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("propertiesEditionElementURI"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIEStringParserRuleCall_7_1_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIEStringParserRuleCall_7_1_0(); - return obj; - } - return null; - } - -} - - - -/************ end Rule SetAttribute ****************/ - - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/ModelingBotAntlrTokenFileProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/ModelingBotAntlrTokenFileProvider.java deleted file mode 100644 index 7933b3592..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/ModelingBotAntlrTokenFileProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class ModelingBotAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.tokens"); - } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/ModelingBotParser.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/ModelingBotParser.java deleted file mode 100644 index a79a5213d..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/ModelingBotParser.java +++ /dev/null @@ -1,39 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.parser.antlr; - -import com.google.inject.Inject; - -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.emf.eef.services.ModelingBotGrammarAccess; - -public class ModelingBotParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - - @Inject - private ModelingBotGrammarAccess grammarAccess; - - @Override - protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { - tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); - } - - @Override - protected org.eclipse.emf.eef.parser.antlr.internal.InternalModelingBotParser createParser(XtextTokenStream stream) { - return new org.eclipse.emf.eef.parser.antlr.internal.InternalModelingBotParser(stream, getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "Scenario"; - } - - public ModelingBotGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(ModelingBotGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g deleted file mode 100644 index 48938b45e..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g +++ /dev/null @@ -1,1151 +0,0 @@ -/* -* generated by Xtext -*/ -grammar InternalModelingBot; - -options { - superClass=AbstractInternalAntlrParser; - -} - -@lexer::header { -package org.eclipse.emf.eef.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.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -package org.eclipse.emf.eef.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.emf.eef.services.ModelingBotGrammarAccess; - -} - -@parser::members { - - private ModelingBotGrammarAccess grammarAccess; - - public InternalModelingBotParser(TokenStream input, ModelingBotGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "Scenario"; - } - - @Override - protected ModelingBotGrammarAccess getGrammarAccess() { - return grammarAccess; - } -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - - - - -// Entry rule entryRuleScenario -entryRuleScenario returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getScenarioRule()); } - iv_ruleScenario=ruleScenario - { $current=$iv_ruleScenario.current; } - EOF -; - -// Rule Scenario -ruleScenario returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='scenario' - { - newLeafNode(otherlv_0, grammarAccess.getScenarioAccess().getScenarioKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getScenarioAccess().getNameEStringParserRuleCall_1_0()); - } - lv_name_1_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getScenarioRule()); - } - set( - $current, - "name", - lv_name_1_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getScenarioAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getScenarioAccess().getProcessingsProcessingsParserRuleCall_3_0()); - } - lv_processings_3_0=ruleProcessings { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getScenarioRule()); - } - add( - $current, - "processings", - lv_processings_3_0, - "Processings"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getScenarioAccess().getRightCurlyBracketKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleProcessings -entryRuleProcessings returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getProcessingsRule()); } - iv_ruleProcessings=ruleProcessings - { $current=$iv_ruleProcessings.current; } - EOF -; - -// Rule Processings -ruleProcessings returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getProcessingsAccess().getDetailsParserRuleCall_0()); - } - this_Details_0=ruleDetails - { - $current = $this_Details_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getProcessingsAccess().getWizardParserRuleCall_1()); - } - this_Wizard_1=ruleWizard - { - $current = $this_Wizard_1.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getProcessingsAccess().getPropertiesViewParserRuleCall_2()); - } - this_PropertiesView_2=rulePropertiesView - { - $current = $this_PropertiesView_2.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getProcessingsAccess().getActionParserRuleCall_3()); - } - this_Action_3=ruleAction - { - $current = $this_Action_3.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRulePropertiesView -entryRulePropertiesView returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getPropertiesViewRule()); } - iv_rulePropertiesView=rulePropertiesView - { $current=$iv_rulePropertiesView.current; } - EOF -; - -// Rule PropertiesView -rulePropertiesView returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='propertiesView' - { - newLeafNode(otherlv_0, grammarAccess.getPropertiesViewAccess().getPropertiesViewKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getPropertiesViewAccess().getNameEStringParserRuleCall_1_0()); - } - lv_name_1_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPropertiesViewRule()); - } - set( - $current, - "name", - lv_name_1_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)? otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getPropertiesViewAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getPropertiesViewAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - } - lv_processings_3_0=ruleSubProcessings { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getPropertiesViewRule()); - } - add( - $current, - "processings", - lv_processings_3_0, - "SubProcessings"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getPropertiesViewAccess().getRightCurlyBracketKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleWizard -entryRuleWizard returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getWizardRule()); } - iv_ruleWizard=ruleWizard - { $current=$iv_ruleWizard.current; } - EOF -; - -// Rule Wizard -ruleWizard returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='wizard' - { - newLeafNode(otherlv_0, grammarAccess.getWizardAccess().getWizardKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getWizardAccess().getNameEStringParserRuleCall_1_0()); - } - lv_name_1_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getWizardRule()); - } - set( - $current, - "name", - lv_name_1_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)? otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getWizardAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getWizardAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - } - lv_processings_3_0=ruleSubProcessings { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getWizardRule()); - } - add( - $current, - "processings", - lv_processings_3_0, - "SubProcessings"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getWizardAccess().getRightCurlyBracketKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleDetails -entryRuleDetails returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getDetailsRule()); } - iv_ruleDetails=ruleDetails - { $current=$iv_ruleDetails.current; } - EOF -; - -// Rule Details -ruleDetails returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='detailsPage' - { - newLeafNode(otherlv_0, grammarAccess.getDetailsAccess().getDetailsPageKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getDetailsAccess().getNameEStringParserRuleCall_1_0()); - } - lv_name_1_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDetailsRule()); - } - set( - $current, - "name", - lv_name_1_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)? otherlv_2='{' - { - newLeafNode(otherlv_2, grammarAccess.getDetailsAccess().getLeftCurlyBracketKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getDetailsAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - } - lv_processings_3_0=ruleSubProcessings { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDetailsRule()); - } - add( - $current, - "processings", - lv_processings_3_0, - "SubProcessings"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_4='}' - { - newLeafNode(otherlv_4, grammarAccess.getDetailsAccess().getRightCurlyBracketKeyword_4()); - } -) -; - - - - - -// Entry rule entryRuleSubProcessings -entryRuleSubProcessings returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSubProcessingsRule()); } - iv_ruleSubProcessings=ruleSubProcessings - { $current=$iv_ruleSubProcessings.current; } - EOF -; - -// Rule SubProcessings -ruleSubProcessings returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getSubProcessingsAccess().getWizardParserRuleCall_0()); - } - this_Wizard_0=ruleWizard - { - $current = $this_Wizard_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getSubProcessingsAccess().getDetailsParserRuleCall_1()); - } - this_Details_1=ruleDetails - { - $current = $this_Details_1.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getSubProcessingsAccess().getPropertiesViewParserRuleCall_2()); - } - this_PropertiesView_2=rulePropertiesView - { - $current = $this_PropertiesView_2.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getSubProcessingsAccess().getActionParserRuleCall_3()); - } - this_Action_3=ruleAction - { - $current = $this_Action_3.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleAction -entryRuleAction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getActionRule()); } - iv_ruleAction=ruleAction - { $current=$iv_ruleAction.current; } - EOF -; - -// Rule Action -ruleAction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getActionAccess().getEclipseActionParserRuleCall_0()); - } - this_EclipseAction_0=ruleEclipseAction - { - $current = $this_EclipseAction_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getActionAccess().getEEFActionParserRuleCall_1()); - } - this_EEFAction_1=ruleEEFAction - { - $current = $this_EEFAction_1.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleEclipseAction -entryRuleEclipseAction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getEclipseActionRule()); } - iv_ruleEclipseAction=ruleEclipseAction - { $current=$iv_ruleEclipseAction.current; } - EOF -; - -// Rule EclipseAction -ruleEclipseAction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getEclipseActionAccess().getCreateProjectParserRuleCall_0()); - } - this_CreateProject_0=ruleCreateProject - { - $current = $this_CreateProject_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getEclipseActionAccess().getCreateModelParserRuleCall_1()); - } - this_CreateModel_1=ruleCreateModel - { - $current = $this_CreateModel_1.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getEclipseActionAccess().getSaveParserRuleCall_2()); - } - this_Save_2=ruleSave - { - $current = $this_Save_2.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getEclipseActionAccess().getRemoveProjectParserRuleCall_3()); - } - this_RemoveProject_3=ruleRemoveProject - { - $current = $this_RemoveProject_3.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleCreateProject -entryRuleCreateProject returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getCreateProjectRule()); } - iv_ruleCreateProject=ruleCreateProject - { $current=$iv_ruleCreateProject.current; } - EOF -; - -// Rule CreateProject -ruleCreateProject returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='createProject' - { - newLeafNode(otherlv_0, grammarAccess.getCreateProjectAccess().getCreateProjectKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getCreateProjectAccess().getProjectNameEStringParserRuleCall_1_0()); - } - lv_projectName_1_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCreateProjectRule()); - } - set( - $current, - "projectName", - lv_projectName_1_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - -// Entry rule entryRuleRemoveProject -entryRuleRemoveProject returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getRemoveProjectRule()); } - iv_ruleRemoveProject=ruleRemoveProject - { $current=$iv_ruleRemoveProject.current; } - EOF -; - -// Rule RemoveProject -ruleRemoveProject returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='deleteProject' - { - newLeafNode(otherlv_0, grammarAccess.getRemoveProjectAccess().getDeleteProjectKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getRemoveProjectAccess().getProjectNameEStringParserRuleCall_1_0()); - } - lv_projectName_1_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getRemoveProjectRule()); - } - set( - $current, - "projectName", - lv_projectName_1_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - - - -// Entry rule entryRuleCreateModel -entryRuleCreateModel returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getCreateModelRule()); } - iv_ruleCreateModel=ruleCreateModel - { $current=$iv_ruleCreateModel.current; } - EOF -; - -// Rule CreateModel -ruleCreateModel returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='createObject' - { - newLeafNode(otherlv_0, grammarAccess.getCreateModelAccess().getCreateObjectKeyword_0()); - } -( -( - lv_referenceName_1_0=RULE_ID - { - newLeafNode(lv_referenceName_1_0, grammarAccess.getCreateModelAccess().getReferenceNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCreateModelRule()); - } - setWithLastConsumed( - $current, - "referenceName", - lv_referenceName_1_0, - "ID"); - } - -) -) otherlv_2=':' - { - newLeafNode(otherlv_2, grammarAccess.getCreateModelAccess().getColonKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getCreateModelAccess().getRootURIEStringParserRuleCall_3_0()); - } - lv_rootURI_3_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCreateModelRule()); - } - set( - $current, - "rootURI", - lv_rootURI_3_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_4='inResource' - { - newLeafNode(otherlv_4, grammarAccess.getCreateModelAccess().getInResourceKeyword_4()); - } -( -( - { - newCompositeNode(grammarAccess.getCreateModelAccess().getModelNameEStringParserRuleCall_5_0()); - } - lv_modelName_5_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCreateModelRule()); - } - set( - $current, - "modelName", - lv_modelName_5_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_6='at' - { - newLeafNode(otherlv_6, grammarAccess.getCreateModelAccess().getAtKeyword_6()); - } -( -( - { - newCompositeNode(grammarAccess.getCreateModelAccess().getPathEStringParserRuleCall_7_0()); - } - lv_path_7_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getCreateModelRule()); - } - set( - $current, - "path", - lv_path_7_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - -// Entry rule entryRuleSave -entryRuleSave returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSaveRule()); } - iv_ruleSave=ruleSave - { $current=$iv_ruleSave.current; } - EOF -; - -// Rule Save -ruleSave returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='save' - { - newLeafNode(otherlv_0, grammarAccess.getSaveAccess().getSaveKeyword_0()); - } -( - { - $current = forceCreateModelElement( - grammarAccess.getSaveAccess().getSaveAction_1(), - $current); - } -)) -; - - - - - -// Entry rule entryRuleEEFAction -entryRuleEEFAction returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getEEFActionRule()); } - iv_ruleEEFAction=ruleEEFAction - { $current=$iv_ruleEEFAction.current; } - EOF -; - -// Rule EEFAction -ruleEEFAction returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getEEFActionAccess().getCheckParserRuleCall_0()); - } - this_Check_0=ruleCheck - { - $current = $this_Check_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getEEFActionAccess().getAddParserRuleCall_1()); - } - this_Add_1=ruleAdd - { - $current = $this_Add_1.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getEEFActionAccess().getSetAttributeParserRuleCall_2()); - } - this_SetAttribute_2=ruleSetAttribute - { - $current = $this_SetAttribute_2.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - -// Entry rule entryRuleCheck -entryRuleCheck returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getCheckRule()); } - iv_ruleCheck=ruleCheck - { $current=$iv_ruleCheck.current; } - EOF -; - -// Rule Check -ruleCheck returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='check!' - { - newLeafNode(otherlv_0, grammarAccess.getCheckAccess().getCheckKeyword_0()); - } -( - { - $current = forceCreateModelElement( - grammarAccess.getCheckAccess().getCheckAction_1(), - $current); - } -)) -; - - - - - -// Entry rule entryRuleAdd -entryRuleAdd returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getAddRule()); } - iv_ruleAdd=ruleAdd - { $current=$iv_ruleAdd.current; } - EOF -; - -// Rule Add -ruleAdd returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='createObject' - { - newLeafNode(otherlv_0, grammarAccess.getAddAccess().getCreateObjectKeyword_0()); - } -( -( - lv_referenceName_1_0=RULE_ID - { - newLeafNode(lv_referenceName_1_0, grammarAccess.getAddAccess().getReferenceNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAddRule()); - } - setWithLastConsumed( - $current, - "referenceName", - lv_referenceName_1_0, - "ID"); - } - -) -) otherlv_2=':' - { - newLeafNode(otherlv_2, grammarAccess.getAddAccess().getColonKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getAddAccess().getTypeURIEStringParserRuleCall_3_0()); - } - lv_typeURI_3_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAddRule()); - } - set( - $current, - "typeURI", - lv_typeURI_3_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_4='inElement' - { - newLeafNode(otherlv_4, grammarAccess.getAddAccess().getInElementKeyword_4()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAddRule()); - } - } - otherlv_5=RULE_ID - { - newLeafNode(otherlv_5, grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectCrossReference_5_0()); - } - -) -) otherlv_6='inFeature' - { - newLeafNode(otherlv_6, grammarAccess.getAddAccess().getInFeatureKeyword_6()); - } -( -( - { - newCompositeNode(grammarAccess.getAddAccess().getEContainingFeatureURIEStringParserRuleCall_7_0()); - } - lv_eContainingFeatureURI_7_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAddRule()); - } - set( - $current, - "eContainingFeatureURI", - lv_eContainingFeatureURI_7_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)) -; - - - - - -// Entry rule entryRuleSetAttribute -entryRuleSetAttribute returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getSetAttributeRule()); } - iv_ruleSetAttribute=ruleSetAttribute - { $current=$iv_ruleSetAttribute.current; } - EOF -; - -// Rule SetAttribute -ruleSetAttribute returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='set' - { - newLeafNode(otherlv_0, grammarAccess.getSetAttributeAccess().getSetKeyword_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSetAttributeRule()); - } - } - otherlv_1=RULE_ID - { - newLeafNode(otherlv_1, grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectCrossReference_1_0()); - } - -) -) otherlv_2='values' - { - newLeafNode(otherlv_2, grammarAccess.getSetAttributeAccess().getValuesKeyword_2()); - } -( -( - { - newCompositeNode(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_3_0()); - } - lv_values_3_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSetAttributeRule()); - } - add( - $current, - "values", - lv_values_3_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)( otherlv_4=',' - { - newLeafNode(otherlv_4, grammarAccess.getSetAttributeAccess().getCommaKeyword_4_0()); - } -( -( - { - newCompositeNode(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_4_1_0()); - } - lv_values_5_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSetAttributeRule()); - } - add( - $current, - "values", - lv_values_5_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -))* otherlv_6='inFeature' - { - newLeafNode(otherlv_6, grammarAccess.getSetAttributeAccess().getInFeatureKeyword_5()); - } -( -( - { - newCompositeNode(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIEStringParserRuleCall_6_0()); - } - lv_eContainingFeatureURI_7_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSetAttributeRule()); - } - set( - $current, - "eContainingFeatureURI", - lv_eContainingFeatureURI_7_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -)( otherlv_8='usingWidget' - { - newLeafNode(otherlv_8, grammarAccess.getSetAttributeAccess().getUsingWidgetKeyword_7_0()); - } -( -( - { - newCompositeNode(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIEStringParserRuleCall_7_1_0()); - } - lv_propertiesEditionElementURI_9_0=ruleEString { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSetAttributeRule()); - } - set( - $current, - "propertiesEditionElementURI", - lv_propertiesEditionElementURI_9_0, - "EString"); - afterParserOrEnumRuleCall(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleEString -entryRuleEString returns [String current=null] - : - { newCompositeNode(grammarAccess.getEStringRule()); } - iv_ruleEString=ruleEString - { $current=$iv_ruleEString.current.getText(); } - EOF -; - -// Rule EString -ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( this_STRING_0=RULE_STRING { - $current.merge(this_STRING_0); - } - - { - newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); - } - - | this_ID_1=RULE_ID { - $current.merge(this_ID_1); - } - - { - newLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); - } -) - ; - - - - - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; - - diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.tokens b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.tokens deleted file mode 100644 index fcb2ffabb..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.tokens +++ /dev/null @@ -1,47 +0,0 @@ -RULE_ID=4 -T__29=29 -T__28=28 -T__27=27 -T__26=26 -T__25=25 -T__24=24 -T__23=23 -T__22=22 -RULE_ANY_OTHER=10 -T__21=21 -T__20=20 -RULE_SL_COMMENT=8 -RULE_ML_COMMENT=7 -T__30=30 -T__19=19 -RULE_STRING=5 -T__16=16 -T__15=15 -T__18=18 -T__17=17 -T__12=12 -T__11=11 -T__14=14 -T__13=13 -RULE_INT=6 -RULE_WS=9 -'check!'=24 -'}'=13 -'propertiesView'=14 -'inFeature'=26 -'scenario'=11 -'createProject'=17 -'inElement'=25 -'inResource'=21 -'at'=22 -'{'=12 -'set'=27 -'usingWidget'=30 -'deleteProject'=18 -'detailsPage'=16 -'wizard'=15 -':'=20 -','=29 -'values'=28 -'createObject'=19 -'save'=23 diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBotLexer.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBotLexer.java deleted file mode 100644 index 0be562fe0..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBotLexer.java +++ /dev/null @@ -1,1514 +0,0 @@ -package org.eclipse.emf.eef.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.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalModelingBotLexer extends Lexer { - public static final int RULE_ID=4; - public static final int T__29=29; - public static final int T__28=28; - public static final int T__27=27; - public static final int T__26=26; - public static final int T__25=25; - public static final int T__24=24; - public static final int T__23=23; - public static final int T__22=22; - public static final int RULE_ANY_OTHER=10; - public static final int T__21=21; - public static final int T__20=20; - 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__30=30; - 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 T__15=15; - public static final int T__18=18; - public static final int T__17=17; - public static final int T__12=12; - public static final int T__11=11; - public static final int T__14=14; - public static final int T__13=13; - public static final int RULE_INT=6; - public static final int RULE_WS=9; - - // delegates - // delegators - - public InternalModelingBotLexer() {;} - public InternalModelingBotLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalModelingBotLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g"; } - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:11:7: ( 'scenario' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:11:9: 'scenario' - { - match("scenario"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:12:7: ( '{' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:12:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:13:7: ( '}' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:13:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__13" - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:14:7: ( 'propertiesView' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:14:9: 'propertiesView' - { - match("propertiesView"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:15:7: ( 'wizard' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:15:9: 'wizard' - { - match("wizard"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:16:7: ( 'detailsPage' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:16:9: 'detailsPage' - { - match("detailsPage"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:17:7: ( 'createProject' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:17:9: 'createProject' - { - match("createProject"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:18:7: ( 'deleteProject' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:18:9: 'deleteProject' - { - match("deleteProject"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:19:7: ( 'createObject' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:19:9: 'createObject' - { - match("createObject"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:20:7: ( ':' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:20:9: ':' - { - match(':'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:21:7: ( 'inResource' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:21:9: 'inResource' - { - match("inResource"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:22:7: ( 'at' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:22:9: 'at' - { - match("at"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "T__23" - public final void mT__23() throws RecognitionException { - try { - int _type = T__23; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:23:7: ( 'save' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:23:9: 'save' - { - match("save"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__23" - - // $ANTLR start "T__24" - public final void mT__24() throws RecognitionException { - try { - int _type = T__24; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:24:7: ( 'check!' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:24:9: 'check!' - { - match("check!"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__24" - - // $ANTLR start "T__25" - public final void mT__25() throws RecognitionException { - try { - int _type = T__25; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:25:7: ( 'inElement' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:25:9: 'inElement' - { - match("inElement"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__25" - - // $ANTLR start "T__26" - public final void mT__26() throws RecognitionException { - try { - int _type = T__26; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:26:7: ( 'inFeature' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:26:9: 'inFeature' - { - match("inFeature"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__26" - - // $ANTLR start "T__27" - public final void mT__27() throws RecognitionException { - try { - int _type = T__27; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:27:7: ( 'set' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:27:9: 'set' - { - match("set"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__27" - - // $ANTLR start "T__28" - public final void mT__28() throws RecognitionException { - try { - int _type = T__28; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:28:7: ( 'values' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:28:9: 'values' - { - match("values"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__28" - - // $ANTLR start "T__29" - public final void mT__29() throws RecognitionException { - try { - int _type = T__29; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:29:7: ( ',' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:29:9: ',' - { - match(','); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__29" - - // $ANTLR start "T__30" - public final void mT__30() throws RecognitionException { - try { - int _type = T__30; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:30:7: ( 'usingWidget' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:30:9: 'usingWidget' - { - match("usingWidget"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__30" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1137:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1137:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1137:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='^') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1137:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1137:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.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 { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1139:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1139:12: ( '0' .. '9' )+ - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1139:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1139:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='\"') ) { - alt6=1; - } - else if ( (LA6_0=='\'') ) { - alt6=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* - 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 (alt4) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) - { - 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.LA(1)<='u') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:66: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop4; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: - do { - int alt5=3; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='\\') ) { - alt5=1; - } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; - } - - - switch (alt5) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) - { - 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.LA(1)<='u') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1141:137: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop5; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1143:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1143:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1143:24: ( options {greedy=false; } : . )* - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0=='*') ) { - int LA7_1 = input.LA(2); - - if ( (LA7_1=='/') ) { - alt7=2; - } - else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { - alt7=1; - } - - - } - else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1143:52: . - { - matchAny(); - - } - break; - - default : - break loop7; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1145:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1145:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1145:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1145: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)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop8; - } - } while (true); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1145:40: ( ( '\\r' )? '\\n' )? - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0=='\n'||LA10_0=='\r') ) { - alt10=1; - } - switch (alt10) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1145:41: ( '\\r' )? '\\n' - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1145:41: ( '\\r' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='\r') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1145:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1147:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1147:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1147:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt11=0; - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt11 >= 1 ) break loop11; - EarlyExitException eee = - new EarlyExitException(11, input); - throw eee; - } - cnt11++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1149:16: ( . ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1149:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=27; - alt12 = dfa12.predict(input); - switch (alt12) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:10: T__11 - { - mT__11(); - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:16: T__12 - { - mT__12(); - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:22: T__13 - { - mT__13(); - - } - break; - case 4 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:28: T__14 - { - mT__14(); - - } - break; - case 5 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:34: T__15 - { - mT__15(); - - } - break; - case 6 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:40: T__16 - { - mT__16(); - - } - break; - case 7 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:46: T__17 - { - mT__17(); - - } - break; - case 8 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:52: T__18 - { - mT__18(); - - } - break; - case 9 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:58: T__19 - { - mT__19(); - - } - break; - case 10 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:64: T__20 - { - mT__20(); - - } - break; - case 11 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:70: T__21 - { - mT__21(); - - } - break; - case 12 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:76: T__22 - { - mT__22(); - - } - break; - case 13 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:82: T__23 - { - mT__23(); - - } - break; - case 14 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:88: T__24 - { - mT__24(); - - } - break; - case 15 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:94: T__25 - { - mT__25(); - - } - break; - case 16 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:100: T__26 - { - mT__26(); - - } - break; - case 17 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:106: T__27 - { - mT__27(); - - } - break; - case 18 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:112: T__28 - { - mT__28(); - - } - break; - case 19 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:118: T__29 - { - mT__29(); - - } - break; - case 20 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:124: T__30 - { - mT__30(); - - } - break; - case 21 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:130: RULE_ID - { - mRULE_ID(); - - } - break; - case 22 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:138: RULE_INT - { - mRULE_INT(); - - } - break; - case 23 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:147: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 24 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:159: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 25 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:175: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 26 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:191: RULE_WS - { - mRULE_WS(); - - } - break; - case 27 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1:199: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA12 dfa12 = new DFA12(this); - static final String DFA12_eotS = - "\1\uffff\1\31\2\uffff\4\31\1\uffff\3\31\1\uffff\1\31\1\25\2\uffff"+ - "\3\25\2\uffff\3\31\3\uffff\5\31\1\uffff\1\31\1\70\1\31\1\uffff\1"+ - "\31\5\uffff\2\31\1\75\11\31\1\uffff\3\31\1\112\1\uffff\14\31\1\uffff"+ - "\15\31\1\144\3\31\1\uffff\3\31\1\154\3\31\1\uffff\7\31\1\uffff\1"+ - "\31\1\170\11\31\1\uffff\6\31\1\u0088\1\u0089\6\31\1\u0090\2\uffff"+ - "\2\31\1\u0093\3\31\1\uffff\1\u0097\1\31\1\uffff\2\31\1\u009b\1\uffff"+ - "\1\31\1\u009d\1\u009e\1\uffff\1\u009f\3\uffff"; - static final String DFA12_eofS = - "\u00a0\uffff"; - static final String DFA12_minS = - "\1\0\1\141\2\uffff\1\162\1\151\1\145\1\150\1\uffff\1\156\1\164\1"+ - "\141\1\uffff\1\163\1\101\2\uffff\2\0\1\52\2\uffff\1\145\1\166\1"+ - "\164\3\uffff\1\157\1\172\1\154\2\145\1\uffff\1\105\1\60\1\154\1"+ - "\uffff\1\151\5\uffff\1\156\1\145\1\60\1\160\2\141\1\145\1\141\1"+ - "\143\1\145\1\154\1\145\1\uffff\1\165\1\156\1\141\1\60\1\uffff\1"+ - "\145\1\162\1\151\2\164\1\153\1\163\1\145\1\141\1\145\1\147\1\162"+ - "\1\uffff\1\162\1\144\1\154\2\145\1\41\1\157\1\155\1\164\1\163\1"+ - "\127\1\151\1\164\1\60\1\163\1\120\1\117\1\uffff\1\165\1\145\1\165"+ - "\1\60\1\151\1\157\1\151\1\uffff\1\120\2\162\1\142\1\162\1\156\1"+ - "\162\1\uffff\1\144\1\60\1\145\1\141\2\157\1\152\1\143\1\164\1\145"+ - "\1\147\1\uffff\1\163\1\147\2\152\2\145\2\60\1\145\1\126\3\145\1"+ - "\143\1\60\2\uffff\1\164\1\151\1\60\2\143\1\164\1\uffff\1\60\1\145"+ - "\1\uffff\2\164\1\60\1\uffff\1\167\2\60\1\uffff\1\60\3\uffff"; - static final String DFA12_maxS = - "\1\uffff\1\145\2\uffff\1\162\1\151\1\145\1\162\1\uffff\1\156\1\164"+ - "\1\141\1\uffff\1\163\1\172\2\uffff\2\uffff\1\57\2\uffff\1\145\1"+ - "\166\1\164\3\uffff\1\157\1\172\1\164\2\145\1\uffff\1\122\1\172\1"+ - "\154\1\uffff\1\151\5\uffff\1\156\1\145\1\172\1\160\2\141\1\145\1"+ - "\141\1\143\1\145\1\154\1\145\1\uffff\1\165\1\156\1\141\1\172\1\uffff"+ - "\1\145\1\162\1\151\2\164\1\153\1\163\1\145\1\141\1\145\1\147\1\162"+ - "\1\uffff\1\162\1\144\1\154\2\145\1\41\1\157\1\155\1\164\1\163\1"+ - "\127\1\151\1\164\1\172\1\163\2\120\1\uffff\1\165\1\145\1\165\1\172"+ - "\1\151\1\157\1\151\1\uffff\1\120\2\162\1\142\1\162\1\156\1\162\1"+ - "\uffff\1\144\1\172\1\145\1\141\2\157\1\152\1\143\1\164\1\145\1\147"+ - "\1\uffff\1\163\1\147\2\152\2\145\2\172\1\145\1\126\3\145\1\143\1"+ - "\172\2\uffff\1\164\1\151\1\172\2\143\1\164\1\uffff\1\172\1\145\1"+ - "\uffff\2\164\1\172\1\uffff\1\167\2\172\1\uffff\1\172\3\uffff"; - static final String DFA12_acceptS = - "\2\uffff\1\2\1\3\4\uffff\1\12\3\uffff\1\23\2\uffff\1\25\1\26\3\uffff"+ - "\1\32\1\33\3\uffff\1\25\1\2\1\3\5\uffff\1\12\3\uffff\1\23\1\uffff"+ - "\1\26\1\27\1\30\1\31\1\32\14\uffff\1\14\4\uffff\1\21\14\uffff\1"+ - "\15\21\uffff\1\16\7\uffff\1\5\7\uffff\1\22\13\uffff\1\1\17\uffff"+ - "\1\17\1\20\6\uffff\1\13\2\uffff\1\6\3\uffff\1\24\3\uffff\1\11\1"+ - "\uffff\1\10\1\7\1\4"; - static final String DFA12_specialS = - "\1\1\20\uffff\1\0\1\2\u008d\uffff}>"; - static final String[] DFA12_transitionS = { - "\11\25\2\24\2\25\1\24\22\25\1\24\1\25\1\21\4\25\1\22\4\25\1"+ - "\14\2\25\1\23\12\20\1\10\6\25\32\17\3\25\1\16\1\17\1\25\1\12"+ - "\1\17\1\7\1\6\4\17\1\11\6\17\1\4\2\17\1\1\1\17\1\15\1\13\1\5"+ - "\3\17\1\2\1\25\1\3\uff82\25", - "\1\27\1\uffff\1\26\1\uffff\1\30", - "", - "", - "\1\34", - "\1\35", - "\1\36", - "\1\40\11\uffff\1\37", - "", - "\1\42", - "\1\43", - "\1\44", - "", - "\1\46", - "\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "", - "\0\50", - "\0\50", - "\1\51\4\uffff\1\52", - "", - "", - "\1\54", - "\1\55", - "\1\56", - "", - "", - "", - "\1\57", - "\1\60", - "\1\62\7\uffff\1\61", - "\1\63", - "\1\64", - "", - "\1\66\1\67\13\uffff\1\65", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\71", - "", - "\1\72", - "", - "", - "", - "", - "", - "\1\73", - "\1\74", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\76", - "\1\77", - "\1\100", - "\1\101", - "\1\102", - "\1\103", - "\1\104", - "\1\105", - "\1\106", - "", - "\1\107", - "\1\110", - "\1\111", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "\1\113", - "\1\114", - "\1\115", - "\1\116", - "\1\117", - "\1\120", - "\1\121", - "\1\122", - "\1\123", - "\1\124", - "\1\125", - "\1\126", - "", - "\1\127", - "\1\130", - "\1\131", - "\1\132", - "\1\133", - "\1\134", - "\1\135", - "\1\136", - "\1\137", - "\1\140", - "\1\141", - "\1\142", - "\1\143", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\145", - "\1\146", - "\1\150\1\147", - "", - "\1\151", - "\1\152", - "\1\153", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\155", - "\1\156", - "\1\157", - "", - "\1\160", - "\1\161", - "\1\162", - "\1\163", - "\1\164", - "\1\165", - "\1\166", - "", - "\1\167", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "\1\175", - "\1\176", - "\1\177", - "\1\u0080", - "\1\u0081", - "", - "\1\u0082", - "\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\u008a", - "\1\u008b", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\u008f", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "", - "\1\u0091", - "\1\u0092", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\u0094", - "\1\u0095", - "\1\u0096", - "", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\1\u0098", - "", - "\1\u0099", - "\1\u009a", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "\1\u009c", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "\12\31\7\uffff\32\31\4\uffff\1\31\1\uffff\32\31", - "", - "", - "" - }; - - static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); - static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); - static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); - static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); - static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); - static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); - static final short[][] DFA12_transition; - - static { - int numStates = DFA12_transitionS.length; - DFA12_transition = new short[numStates][]; - for (int i=0; i<numStates; i++) { - DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); - } - } - - static class DFA12 extends DFA { - - public DFA12(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 12; - this.eot = DFA12_eot; - this.eof = DFA12_eof; - this.min = DFA12_min; - this.max = DFA12_max; - this.accept = DFA12_accept; - this.special = DFA12_special; - this.transition = DFA12_transition; - } - public String getDescription() { - return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - IntStream input = _input; - int _s = s; - switch ( s ) { - case 0 : - int LA12_17 = input.LA(1); - - s = -1; - if ( ((LA12_17>='\u0000' && LA12_17<='\uFFFF')) ) {s = 40;} - - else s = 21; - - if ( s>=0 ) return s; - break; - case 1 : - int LA12_0 = input.LA(1); - - s = -1; - if ( (LA12_0=='s') ) {s = 1;} - - else if ( (LA12_0=='{') ) {s = 2;} - - else if ( (LA12_0=='}') ) {s = 3;} - - else if ( (LA12_0=='p') ) {s = 4;} - - else if ( (LA12_0=='w') ) {s = 5;} - - else if ( (LA12_0=='d') ) {s = 6;} - - else if ( (LA12_0=='c') ) {s = 7;} - - else if ( (LA12_0==':') ) {s = 8;} - - else if ( (LA12_0=='i') ) {s = 9;} - - else if ( (LA12_0=='a') ) {s = 10;} - - else if ( (LA12_0=='v') ) {s = 11;} - - else if ( (LA12_0==',') ) {s = 12;} - - else if ( (LA12_0=='u') ) {s = 13;} - - else if ( (LA12_0=='^') ) {s = 14;} - - else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||(LA12_0>='e' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='o')||(LA12_0>='q' && LA12_0<='r')||LA12_0=='t'||(LA12_0>='x' && LA12_0<='z')) ) {s = 15;} - - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 16;} - - else if ( (LA12_0=='\"') ) {s = 17;} - - else if ( (LA12_0=='\'') ) {s = 18;} - - else if ( (LA12_0=='/') ) {s = 19;} - - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 20;} - - else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||(LA12_0>='-' && LA12_0<='.')||(LA12_0>=';' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 21;} - - if ( s>=0 ) return s; - break; - case 2 : - int LA12_18 = input.LA(1); - - s = -1; - if ( ((LA12_18>='\u0000' && LA12_18<='\uFFFF')) ) {s = 40;} - - else s = 21; - - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 12, _s, input); - error(nvae); - throw nvae; - } - } - - -}
\ No newline at end of file diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBotParser.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBotParser.java deleted file mode 100644 index 74305f8f9..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBotParser.java +++ /dev/null @@ -1,3036 +0,0 @@ -package org.eclipse.emf.eef.parser.antlr.internal; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.emf.eef.services.ModelingBotGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalModelingBotParser extends AbstractInternalAntlrParser { - public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'scenario'", "'{'", "'}'", "'propertiesView'", "'wizard'", "'detailsPage'", "'createProject'", "'deleteProject'", "'createObject'", "':'", "'inResource'", "'at'", "'save'", "'check!'", "'inElement'", "'inFeature'", "'set'", "'values'", "','", "'usingWidget'" - }; - public static final int RULE_ID=4; - public static final int T__29=29; - public static final int T__28=28; - public static final int T__27=27; - public static final int T__26=26; - public static final int T__25=25; - public static final int T__24=24; - public static final int T__23=23; - public static final int T__22=22; - public static final int RULE_ANY_OTHER=10; - public static final int T__21=21; - public static final int T__20=20; - public static final int RULE_SL_COMMENT=8; - public static final int EOF=-1; - public static final int RULE_ML_COMMENT=7; - public static final int T__30=30; - 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 T__15=15; - public static final int T__18=18; - public static final int T__17=17; - public static final int T__12=12; - public static final int T__11=11; - public static final int T__14=14; - public static final int T__13=13; - public static final int RULE_INT=6; - public static final int RULE_WS=9; - - // delegates - // delegators - - - public InternalModelingBotParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalModelingBotParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalModelingBotParser.tokenNames; } - public String getGrammarFileName() { return "../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g"; } - - - - private ModelingBotGrammarAccess grammarAccess; - - public InternalModelingBotParser(TokenStream input, ModelingBotGrammarAccess grammarAccess) { - this(input); - this.grammarAccess = grammarAccess; - registerRules(grammarAccess.getGrammar()); - } - - @Override - protected String getFirstRuleName() { - return "Scenario"; - } - - @Override - protected ModelingBotGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - - - // $ANTLR start "entryRuleScenario" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:67:1: entryRuleScenario returns [EObject current=null] : iv_ruleScenario= ruleScenario EOF ; - public final EObject entryRuleScenario() throws RecognitionException { - EObject current = null; - - EObject iv_ruleScenario = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:68:2: (iv_ruleScenario= ruleScenario EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:69:2: iv_ruleScenario= ruleScenario EOF - { - newCompositeNode(grammarAccess.getScenarioRule()); - pushFollow(FollowSets000.FOLLOW_ruleScenario_in_entryRuleScenario75); - iv_ruleScenario=ruleScenario(); - - state._fsp--; - - current =iv_ruleScenario; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleScenario85); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleScenario" - - - // $ANTLR start "ruleScenario" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:76:1: ruleScenario returns [EObject current=null] : (otherlv_0= 'scenario' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' ( (lv_processings_3_0= ruleProcessings ) )* otherlv_4= '}' ) ; - public final EObject ruleScenario() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - - EObject lv_processings_3_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:79:28: ( (otherlv_0= 'scenario' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' ( (lv_processings_3_0= ruleProcessings ) )* otherlv_4= '}' ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:80:1: (otherlv_0= 'scenario' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' ( (lv_processings_3_0= ruleProcessings ) )* otherlv_4= '}' ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:80:1: (otherlv_0= 'scenario' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' ( (lv_processings_3_0= ruleProcessings ) )* otherlv_4= '}' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:80:3: otherlv_0= 'scenario' ( (lv_name_1_0= ruleEString ) ) otherlv_2= '{' ( (lv_processings_3_0= ruleProcessings ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,11,FollowSets000.FOLLOW_11_in_ruleScenario122); - - newLeafNode(otherlv_0, grammarAccess.getScenarioAccess().getScenarioKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:84:1: ( (lv_name_1_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:85:1: (lv_name_1_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:85:1: (lv_name_1_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:86:3: lv_name_1_0= ruleEString - { - - newCompositeNode(grammarAccess.getScenarioAccess().getNameEStringParserRuleCall_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleScenario143); - lv_name_1_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getScenarioRule()); - } - set( - current, - "name", - lv_name_1_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleScenario155); - - newLeafNode(otherlv_2, grammarAccess.getScenarioAccess().getLeftCurlyBracketKeyword_2()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:106:1: ( (lv_processings_3_0= ruleProcessings ) )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( ((LA1_0>=14 && LA1_0<=19)||(LA1_0>=23 && LA1_0<=24)||LA1_0==27) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:107:1: (lv_processings_3_0= ruleProcessings ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:107:1: (lv_processings_3_0= ruleProcessings ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:108:3: lv_processings_3_0= ruleProcessings - { - - newCompositeNode(grammarAccess.getScenarioAccess().getProcessingsProcessingsParserRuleCall_3_0()); - - pushFollow(FollowSets000.FOLLOW_ruleProcessings_in_ruleScenario176); - lv_processings_3_0=ruleProcessings(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getScenarioRule()); - } - add( - current, - "processings", - lv_processings_3_0, - "Processings"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop1; - } - } while (true); - - otherlv_4=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleScenario189); - - newLeafNode(otherlv_4, grammarAccess.getScenarioAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleScenario" - - - // $ANTLR start "entryRuleProcessings" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:136:1: entryRuleProcessings returns [EObject current=null] : iv_ruleProcessings= ruleProcessings EOF ; - public final EObject entryRuleProcessings() throws RecognitionException { - EObject current = null; - - EObject iv_ruleProcessings = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:137:2: (iv_ruleProcessings= ruleProcessings EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:138:2: iv_ruleProcessings= ruleProcessings EOF - { - newCompositeNode(grammarAccess.getProcessingsRule()); - pushFollow(FollowSets000.FOLLOW_ruleProcessings_in_entryRuleProcessings225); - iv_ruleProcessings=ruleProcessings(); - - state._fsp--; - - current =iv_ruleProcessings; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleProcessings235); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleProcessings" - - - // $ANTLR start "ruleProcessings" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:145:1: ruleProcessings returns [EObject current=null] : (this_Details_0= ruleDetails | this_Wizard_1= ruleWizard | this_PropertiesView_2= rulePropertiesView | this_Action_3= ruleAction ) ; - public final EObject ruleProcessings() throws RecognitionException { - EObject current = null; - - EObject this_Details_0 = null; - - EObject this_Wizard_1 = null; - - EObject this_PropertiesView_2 = null; - - EObject this_Action_3 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:148:28: ( (this_Details_0= ruleDetails | this_Wizard_1= ruleWizard | this_PropertiesView_2= rulePropertiesView | this_Action_3= ruleAction ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:149:1: (this_Details_0= ruleDetails | this_Wizard_1= ruleWizard | this_PropertiesView_2= rulePropertiesView | this_Action_3= ruleAction ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:149:1: (this_Details_0= ruleDetails | this_Wizard_1= ruleWizard | this_PropertiesView_2= rulePropertiesView | this_Action_3= ruleAction ) - int alt2=4; - switch ( input.LA(1) ) { - case 16: - { - alt2=1; - } - break; - case 15: - { - alt2=2; - } - break; - case 14: - { - alt2=3; - } - break; - case 17: - case 18: - case 19: - case 23: - case 24: - case 27: - { - alt2=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 2, 0, input); - - throw nvae; - } - - switch (alt2) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:150:5: this_Details_0= ruleDetails - { - - newCompositeNode(grammarAccess.getProcessingsAccess().getDetailsParserRuleCall_0()); - - pushFollow(FollowSets000.FOLLOW_ruleDetails_in_ruleProcessings282); - this_Details_0=ruleDetails(); - - state._fsp--; - - - current = this_Details_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:160:5: this_Wizard_1= ruleWizard - { - - newCompositeNode(grammarAccess.getProcessingsAccess().getWizardParserRuleCall_1()); - - pushFollow(FollowSets000.FOLLOW_ruleWizard_in_ruleProcessings309); - this_Wizard_1=ruleWizard(); - - state._fsp--; - - - current = this_Wizard_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:170:5: this_PropertiesView_2= rulePropertiesView - { - - newCompositeNode(grammarAccess.getProcessingsAccess().getPropertiesViewParserRuleCall_2()); - - pushFollow(FollowSets000.FOLLOW_rulePropertiesView_in_ruleProcessings336); - this_PropertiesView_2=rulePropertiesView(); - - state._fsp--; - - - current = this_PropertiesView_2; - afterParserOrEnumRuleCall(); - - - } - break; - case 4 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:180:5: this_Action_3= ruleAction - { - - newCompositeNode(grammarAccess.getProcessingsAccess().getActionParserRuleCall_3()); - - pushFollow(FollowSets000.FOLLOW_ruleAction_in_ruleProcessings363); - this_Action_3=ruleAction(); - - state._fsp--; - - - current = this_Action_3; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleProcessings" - - - // $ANTLR start "entryRulePropertiesView" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:196:1: entryRulePropertiesView returns [EObject current=null] : iv_rulePropertiesView= rulePropertiesView EOF ; - public final EObject entryRulePropertiesView() throws RecognitionException { - EObject current = null; - - EObject iv_rulePropertiesView = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:197:2: (iv_rulePropertiesView= rulePropertiesView EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:198:2: iv_rulePropertiesView= rulePropertiesView EOF - { - newCompositeNode(grammarAccess.getPropertiesViewRule()); - pushFollow(FollowSets000.FOLLOW_rulePropertiesView_in_entryRulePropertiesView398); - iv_rulePropertiesView=rulePropertiesView(); - - state._fsp--; - - current =iv_rulePropertiesView; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRulePropertiesView408); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRulePropertiesView" - - - // $ANTLR start "rulePropertiesView" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:205:1: rulePropertiesView returns [EObject current=null] : (otherlv_0= 'propertiesView' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) ; - public final EObject rulePropertiesView() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - - EObject lv_processings_3_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:208:28: ( (otherlv_0= 'propertiesView' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:209:1: (otherlv_0= 'propertiesView' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:209:1: (otherlv_0= 'propertiesView' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:209:3: otherlv_0= 'propertiesView' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,14,FollowSets000.FOLLOW_14_in_rulePropertiesView445); - - newLeafNode(otherlv_0, grammarAccess.getPropertiesViewAccess().getPropertiesViewKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:213:1: ( (lv_name_1_0= ruleEString ) )? - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>=RULE_ID && LA3_0<=RULE_STRING)) ) { - alt3=1; - } - switch (alt3) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:214:1: (lv_name_1_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:214:1: (lv_name_1_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:215:3: lv_name_1_0= ruleEString - { - - newCompositeNode(grammarAccess.getPropertiesViewAccess().getNameEStringParserRuleCall_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_rulePropertiesView466); - lv_name_1_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPropertiesViewRule()); - } - set( - current, - "name", - lv_name_1_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - } - - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_rulePropertiesView479); - - newLeafNode(otherlv_2, grammarAccess.getPropertiesViewAccess().getLeftCurlyBracketKeyword_2()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:235:1: ( (lv_processings_3_0= ruleSubProcessings ) )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( ((LA4_0>=14 && LA4_0<=19)||(LA4_0>=23 && LA4_0<=24)||LA4_0==27) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:236:1: (lv_processings_3_0= ruleSubProcessings ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:236:1: (lv_processings_3_0= ruleSubProcessings ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:237:3: lv_processings_3_0= ruleSubProcessings - { - - newCompositeNode(grammarAccess.getPropertiesViewAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - - pushFollow(FollowSets000.FOLLOW_ruleSubProcessings_in_rulePropertiesView500); - lv_processings_3_0=ruleSubProcessings(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getPropertiesViewRule()); - } - add( - current, - "processings", - lv_processings_3_0, - "SubProcessings"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop4; - } - } while (true); - - otherlv_4=(Token)match(input,13,FollowSets000.FOLLOW_13_in_rulePropertiesView513); - - newLeafNode(otherlv_4, grammarAccess.getPropertiesViewAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "rulePropertiesView" - - - // $ANTLR start "entryRuleWizard" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:265:1: entryRuleWizard returns [EObject current=null] : iv_ruleWizard= ruleWizard EOF ; - public final EObject entryRuleWizard() throws RecognitionException { - EObject current = null; - - EObject iv_ruleWizard = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:266:2: (iv_ruleWizard= ruleWizard EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:267:2: iv_ruleWizard= ruleWizard EOF - { - newCompositeNode(grammarAccess.getWizardRule()); - pushFollow(FollowSets000.FOLLOW_ruleWizard_in_entryRuleWizard549); - iv_ruleWizard=ruleWizard(); - - state._fsp--; - - current =iv_ruleWizard; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleWizard559); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleWizard" - - - // $ANTLR start "ruleWizard" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:274:1: ruleWizard returns [EObject current=null] : (otherlv_0= 'wizard' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) ; - public final EObject ruleWizard() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - - EObject lv_processings_3_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:277:28: ( (otherlv_0= 'wizard' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:278:1: (otherlv_0= 'wizard' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:278:1: (otherlv_0= 'wizard' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:278:3: otherlv_0= 'wizard' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleWizard596); - - newLeafNode(otherlv_0, grammarAccess.getWizardAccess().getWizardKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:282:1: ( (lv_name_1_0= ruleEString ) )? - int alt5=2; - int LA5_0 = input.LA(1); - - if ( ((LA5_0>=RULE_ID && LA5_0<=RULE_STRING)) ) { - alt5=1; - } - switch (alt5) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:283:1: (lv_name_1_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:283:1: (lv_name_1_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:284:3: lv_name_1_0= ruleEString - { - - newCompositeNode(grammarAccess.getWizardAccess().getNameEStringParserRuleCall_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleWizard617); - lv_name_1_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getWizardRule()); - } - set( - current, - "name", - lv_name_1_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - } - - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleWizard630); - - newLeafNode(otherlv_2, grammarAccess.getWizardAccess().getLeftCurlyBracketKeyword_2()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:304:1: ( (lv_processings_3_0= ruleSubProcessings ) )* - loop6: - do { - int alt6=2; - int LA6_0 = input.LA(1); - - if ( ((LA6_0>=14 && LA6_0<=19)||(LA6_0>=23 && LA6_0<=24)||LA6_0==27) ) { - alt6=1; - } - - - switch (alt6) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:305:1: (lv_processings_3_0= ruleSubProcessings ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:305:1: (lv_processings_3_0= ruleSubProcessings ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:306:3: lv_processings_3_0= ruleSubProcessings - { - - newCompositeNode(grammarAccess.getWizardAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - - pushFollow(FollowSets000.FOLLOW_ruleSubProcessings_in_ruleWizard651); - lv_processings_3_0=ruleSubProcessings(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getWizardRule()); - } - add( - current, - "processings", - lv_processings_3_0, - "SubProcessings"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop6; - } - } while (true); - - otherlv_4=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleWizard664); - - newLeafNode(otherlv_4, grammarAccess.getWizardAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleWizard" - - - // $ANTLR start "entryRuleDetails" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:334:1: entryRuleDetails returns [EObject current=null] : iv_ruleDetails= ruleDetails EOF ; - public final EObject entryRuleDetails() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDetails = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:335:2: (iv_ruleDetails= ruleDetails EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:336:2: iv_ruleDetails= ruleDetails EOF - { - newCompositeNode(grammarAccess.getDetailsRule()); - pushFollow(FollowSets000.FOLLOW_ruleDetails_in_entryRuleDetails700); - iv_ruleDetails=ruleDetails(); - - state._fsp--; - - current =iv_ruleDetails; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDetails710); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleDetails" - - - // $ANTLR start "ruleDetails" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:343:1: ruleDetails returns [EObject current=null] : (otherlv_0= 'detailsPage' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) ; - public final EObject ruleDetails() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - AntlrDatatypeRuleToken lv_name_1_0 = null; - - EObject lv_processings_3_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:346:28: ( (otherlv_0= 'detailsPage' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:347:1: (otherlv_0= 'detailsPage' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:347:1: (otherlv_0= 'detailsPage' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:347:3: otherlv_0= 'detailsPage' ( (lv_name_1_0= ruleEString ) )? otherlv_2= '{' ( (lv_processings_3_0= ruleSubProcessings ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleDetails747); - - newLeafNode(otherlv_0, grammarAccess.getDetailsAccess().getDetailsPageKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:351:1: ( (lv_name_1_0= ruleEString ) )? - int alt7=2; - int LA7_0 = input.LA(1); - - if ( ((LA7_0>=RULE_ID && LA7_0<=RULE_STRING)) ) { - alt7=1; - } - switch (alt7) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:352:1: (lv_name_1_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:352:1: (lv_name_1_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:353:3: lv_name_1_0= ruleEString - { - - newCompositeNode(grammarAccess.getDetailsAccess().getNameEStringParserRuleCall_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleDetails768); - lv_name_1_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getDetailsRule()); - } - set( - current, - "name", - lv_name_1_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - } - - otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_12_in_ruleDetails781); - - newLeafNode(otherlv_2, grammarAccess.getDetailsAccess().getLeftCurlyBracketKeyword_2()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:373:1: ( (lv_processings_3_0= ruleSubProcessings ) )* - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>=14 && LA8_0<=19)||(LA8_0>=23 && LA8_0<=24)||LA8_0==27) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:374:1: (lv_processings_3_0= ruleSubProcessings ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:374:1: (lv_processings_3_0= ruleSubProcessings ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:375:3: lv_processings_3_0= ruleSubProcessings - { - - newCompositeNode(grammarAccess.getDetailsAccess().getProcessingsSubProcessingsParserRuleCall_3_0()); - - pushFollow(FollowSets000.FOLLOW_ruleSubProcessings_in_ruleDetails802); - lv_processings_3_0=ruleSubProcessings(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getDetailsRule()); - } - add( - current, - "processings", - lv_processings_3_0, - "SubProcessings"); - afterParserOrEnumRuleCall(); - - - } - - - } - break; - - default : - break loop8; - } - } while (true); - - otherlv_4=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleDetails815); - - newLeafNode(otherlv_4, grammarAccess.getDetailsAccess().getRightCurlyBracketKeyword_4()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleDetails" - - - // $ANTLR start "entryRuleSubProcessings" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:403:1: entryRuleSubProcessings returns [EObject current=null] : iv_ruleSubProcessings= ruleSubProcessings EOF ; - public final EObject entryRuleSubProcessings() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSubProcessings = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:404:2: (iv_ruleSubProcessings= ruleSubProcessings EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:405:2: iv_ruleSubProcessings= ruleSubProcessings EOF - { - newCompositeNode(grammarAccess.getSubProcessingsRule()); - pushFollow(FollowSets000.FOLLOW_ruleSubProcessings_in_entryRuleSubProcessings851); - iv_ruleSubProcessings=ruleSubProcessings(); - - state._fsp--; - - current =iv_ruleSubProcessings; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSubProcessings861); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSubProcessings" - - - // $ANTLR start "ruleSubProcessings" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:412:1: ruleSubProcessings returns [EObject current=null] : (this_Wizard_0= ruleWizard | this_Details_1= ruleDetails | this_PropertiesView_2= rulePropertiesView | this_Action_3= ruleAction ) ; - public final EObject ruleSubProcessings() throws RecognitionException { - EObject current = null; - - EObject this_Wizard_0 = null; - - EObject this_Details_1 = null; - - EObject this_PropertiesView_2 = null; - - EObject this_Action_3 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:415:28: ( (this_Wizard_0= ruleWizard | this_Details_1= ruleDetails | this_PropertiesView_2= rulePropertiesView | this_Action_3= ruleAction ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:416:1: (this_Wizard_0= ruleWizard | this_Details_1= ruleDetails | this_PropertiesView_2= rulePropertiesView | this_Action_3= ruleAction ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:416:1: (this_Wizard_0= ruleWizard | this_Details_1= ruleDetails | this_PropertiesView_2= rulePropertiesView | this_Action_3= ruleAction ) - int alt9=4; - switch ( input.LA(1) ) { - case 15: - { - alt9=1; - } - break; - case 16: - { - alt9=2; - } - break; - case 14: - { - alt9=3; - } - break; - case 17: - case 18: - case 19: - case 23: - case 24: - case 27: - { - alt9=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); - - throw nvae; - } - - switch (alt9) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:417:5: this_Wizard_0= ruleWizard - { - - newCompositeNode(grammarAccess.getSubProcessingsAccess().getWizardParserRuleCall_0()); - - pushFollow(FollowSets000.FOLLOW_ruleWizard_in_ruleSubProcessings908); - this_Wizard_0=ruleWizard(); - - state._fsp--; - - - current = this_Wizard_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:427:5: this_Details_1= ruleDetails - { - - newCompositeNode(grammarAccess.getSubProcessingsAccess().getDetailsParserRuleCall_1()); - - pushFollow(FollowSets000.FOLLOW_ruleDetails_in_ruleSubProcessings935); - this_Details_1=ruleDetails(); - - state._fsp--; - - - current = this_Details_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:437:5: this_PropertiesView_2= rulePropertiesView - { - - newCompositeNode(grammarAccess.getSubProcessingsAccess().getPropertiesViewParserRuleCall_2()); - - pushFollow(FollowSets000.FOLLOW_rulePropertiesView_in_ruleSubProcessings962); - this_PropertiesView_2=rulePropertiesView(); - - state._fsp--; - - - current = this_PropertiesView_2; - afterParserOrEnumRuleCall(); - - - } - break; - case 4 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:447:5: this_Action_3= ruleAction - { - - newCompositeNode(grammarAccess.getSubProcessingsAccess().getActionParserRuleCall_3()); - - pushFollow(FollowSets000.FOLLOW_ruleAction_in_ruleSubProcessings989); - this_Action_3=ruleAction(); - - state._fsp--; - - - current = this_Action_3; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSubProcessings" - - - // $ANTLR start "entryRuleAction" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:463:1: entryRuleAction returns [EObject current=null] : iv_ruleAction= ruleAction EOF ; - public final EObject entryRuleAction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAction = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:464:2: (iv_ruleAction= ruleAction EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:465:2: iv_ruleAction= ruleAction EOF - { - newCompositeNode(grammarAccess.getActionRule()); - pushFollow(FollowSets000.FOLLOW_ruleAction_in_entryRuleAction1024); - iv_ruleAction=ruleAction(); - - state._fsp--; - - current =iv_ruleAction; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAction1034); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAction" - - - // $ANTLR start "ruleAction" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:472:1: ruleAction returns [EObject current=null] : (this_EclipseAction_0= ruleEclipseAction | this_EEFAction_1= ruleEEFAction ) ; - public final EObject ruleAction() throws RecognitionException { - EObject current = null; - - EObject this_EclipseAction_0 = null; - - EObject this_EEFAction_1 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:475:28: ( (this_EclipseAction_0= ruleEclipseAction | this_EEFAction_1= ruleEEFAction ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:476:1: (this_EclipseAction_0= ruleEclipseAction | this_EEFAction_1= ruleEEFAction ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:476:1: (this_EclipseAction_0= ruleEclipseAction | this_EEFAction_1= ruleEEFAction ) - int alt10=2; - switch ( input.LA(1) ) { - case 17: - case 18: - case 23: - { - alt10=1; - } - break; - case 19: - { - int LA10_2 = input.LA(2); - - if ( (LA10_2==RULE_ID) ) { - int LA10_4 = input.LA(3); - - if ( (LA10_4==20) ) { - int LA10_5 = input.LA(4); - - if ( (LA10_5==RULE_STRING) ) { - int LA10_6 = input.LA(5); - - if ( (LA10_6==25) ) { - alt10=2; - } - else if ( (LA10_6==21) ) { - alt10=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 6, input); - - throw nvae; - } - } - else if ( (LA10_5==RULE_ID) ) { - int LA10_7 = input.LA(5); - - if ( (LA10_7==21) ) { - alt10=1; - } - else if ( (LA10_7==25) ) { - alt10=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 7, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 5, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 4, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("", 10, 2, input); - - throw nvae; - } - } - break; - case 24: - case 27: - { - alt10=2; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 10, 0, input); - - throw nvae; - } - - switch (alt10) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:477:5: this_EclipseAction_0= ruleEclipseAction - { - - newCompositeNode(grammarAccess.getActionAccess().getEclipseActionParserRuleCall_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEclipseAction_in_ruleAction1081); - this_EclipseAction_0=ruleEclipseAction(); - - state._fsp--; - - - current = this_EclipseAction_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:487:5: this_EEFAction_1= ruleEEFAction - { - - newCompositeNode(grammarAccess.getActionAccess().getEEFActionParserRuleCall_1()); - - pushFollow(FollowSets000.FOLLOW_ruleEEFAction_in_ruleAction1108); - this_EEFAction_1=ruleEEFAction(); - - state._fsp--; - - - current = this_EEFAction_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAction" - - - // $ANTLR start "entryRuleEclipseAction" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:503:1: entryRuleEclipseAction returns [EObject current=null] : iv_ruleEclipseAction= ruleEclipseAction EOF ; - public final EObject entryRuleEclipseAction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleEclipseAction = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:504:2: (iv_ruleEclipseAction= ruleEclipseAction EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:505:2: iv_ruleEclipseAction= ruleEclipseAction EOF - { - newCompositeNode(grammarAccess.getEclipseActionRule()); - pushFollow(FollowSets000.FOLLOW_ruleEclipseAction_in_entryRuleEclipseAction1143); - iv_ruleEclipseAction=ruleEclipseAction(); - - state._fsp--; - - current =iv_ruleEclipseAction; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEclipseAction1153); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleEclipseAction" - - - // $ANTLR start "ruleEclipseAction" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:512:1: ruleEclipseAction returns [EObject current=null] : (this_CreateProject_0= ruleCreateProject | this_CreateModel_1= ruleCreateModel | this_Save_2= ruleSave | this_RemoveProject_3= ruleRemoveProject ) ; - public final EObject ruleEclipseAction() throws RecognitionException { - EObject current = null; - - EObject this_CreateProject_0 = null; - - EObject this_CreateModel_1 = null; - - EObject this_Save_2 = null; - - EObject this_RemoveProject_3 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:515:28: ( (this_CreateProject_0= ruleCreateProject | this_CreateModel_1= ruleCreateModel | this_Save_2= ruleSave | this_RemoveProject_3= ruleRemoveProject ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:516:1: (this_CreateProject_0= ruleCreateProject | this_CreateModel_1= ruleCreateModel | this_Save_2= ruleSave | this_RemoveProject_3= ruleRemoveProject ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:516:1: (this_CreateProject_0= ruleCreateProject | this_CreateModel_1= ruleCreateModel | this_Save_2= ruleSave | this_RemoveProject_3= ruleRemoveProject ) - int alt11=4; - switch ( input.LA(1) ) { - case 17: - { - alt11=1; - } - break; - case 19: - { - alt11=2; - } - break; - case 23: - { - alt11=3; - } - break; - case 18: - { - alt11=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 11, 0, input); - - throw nvae; - } - - switch (alt11) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:517:5: this_CreateProject_0= ruleCreateProject - { - - newCompositeNode(grammarAccess.getEclipseActionAccess().getCreateProjectParserRuleCall_0()); - - pushFollow(FollowSets000.FOLLOW_ruleCreateProject_in_ruleEclipseAction1200); - this_CreateProject_0=ruleCreateProject(); - - state._fsp--; - - - current = this_CreateProject_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:527:5: this_CreateModel_1= ruleCreateModel - { - - newCompositeNode(grammarAccess.getEclipseActionAccess().getCreateModelParserRuleCall_1()); - - pushFollow(FollowSets000.FOLLOW_ruleCreateModel_in_ruleEclipseAction1227); - this_CreateModel_1=ruleCreateModel(); - - state._fsp--; - - - current = this_CreateModel_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:537:5: this_Save_2= ruleSave - { - - newCompositeNode(grammarAccess.getEclipseActionAccess().getSaveParserRuleCall_2()); - - pushFollow(FollowSets000.FOLLOW_ruleSave_in_ruleEclipseAction1254); - this_Save_2=ruleSave(); - - state._fsp--; - - - current = this_Save_2; - afterParserOrEnumRuleCall(); - - - } - break; - case 4 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:547:5: this_RemoveProject_3= ruleRemoveProject - { - - newCompositeNode(grammarAccess.getEclipseActionAccess().getRemoveProjectParserRuleCall_3()); - - pushFollow(FollowSets000.FOLLOW_ruleRemoveProject_in_ruleEclipseAction1281); - this_RemoveProject_3=ruleRemoveProject(); - - state._fsp--; - - - current = this_RemoveProject_3; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleEclipseAction" - - - // $ANTLR start "entryRuleCreateProject" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:563:1: entryRuleCreateProject returns [EObject current=null] : iv_ruleCreateProject= ruleCreateProject EOF ; - public final EObject entryRuleCreateProject() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCreateProject = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:564:2: (iv_ruleCreateProject= ruleCreateProject EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:565:2: iv_ruleCreateProject= ruleCreateProject EOF - { - newCompositeNode(grammarAccess.getCreateProjectRule()); - pushFollow(FollowSets000.FOLLOW_ruleCreateProject_in_entryRuleCreateProject1316); - iv_ruleCreateProject=ruleCreateProject(); - - state._fsp--; - - current =iv_ruleCreateProject; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCreateProject1326); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCreateProject" - - - // $ANTLR start "ruleCreateProject" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:572:1: ruleCreateProject returns [EObject current=null] : (otherlv_0= 'createProject' ( (lv_projectName_1_0= ruleEString ) ) ) ; - public final EObject ruleCreateProject() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - AntlrDatatypeRuleToken lv_projectName_1_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:575:28: ( (otherlv_0= 'createProject' ( (lv_projectName_1_0= ruleEString ) ) ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:576:1: (otherlv_0= 'createProject' ( (lv_projectName_1_0= ruleEString ) ) ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:576:1: (otherlv_0= 'createProject' ( (lv_projectName_1_0= ruleEString ) ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:576:3: otherlv_0= 'createProject' ( (lv_projectName_1_0= ruleEString ) ) - { - otherlv_0=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleCreateProject1363); - - newLeafNode(otherlv_0, grammarAccess.getCreateProjectAccess().getCreateProjectKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:580:1: ( (lv_projectName_1_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:581:1: (lv_projectName_1_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:581:1: (lv_projectName_1_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:582:3: lv_projectName_1_0= ruleEString - { - - newCompositeNode(grammarAccess.getCreateProjectAccess().getProjectNameEStringParserRuleCall_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleCreateProject1384); - lv_projectName_1_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCreateProjectRule()); - } - set( - current, - "projectName", - lv_projectName_1_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCreateProject" - - - // $ANTLR start "entryRuleRemoveProject" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:606:1: entryRuleRemoveProject returns [EObject current=null] : iv_ruleRemoveProject= ruleRemoveProject EOF ; - public final EObject entryRuleRemoveProject() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRemoveProject = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:607:2: (iv_ruleRemoveProject= ruleRemoveProject EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:608:2: iv_ruleRemoveProject= ruleRemoveProject EOF - { - newCompositeNode(grammarAccess.getRemoveProjectRule()); - pushFollow(FollowSets000.FOLLOW_ruleRemoveProject_in_entryRuleRemoveProject1420); - iv_ruleRemoveProject=ruleRemoveProject(); - - state._fsp--; - - current =iv_ruleRemoveProject; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleRemoveProject1430); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleRemoveProject" - - - // $ANTLR start "ruleRemoveProject" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:615:1: ruleRemoveProject returns [EObject current=null] : (otherlv_0= 'deleteProject' ( (lv_projectName_1_0= ruleEString ) ) ) ; - public final EObject ruleRemoveProject() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - AntlrDatatypeRuleToken lv_projectName_1_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:618:28: ( (otherlv_0= 'deleteProject' ( (lv_projectName_1_0= ruleEString ) ) ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:619:1: (otherlv_0= 'deleteProject' ( (lv_projectName_1_0= ruleEString ) ) ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:619:1: (otherlv_0= 'deleteProject' ( (lv_projectName_1_0= ruleEString ) ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:619:3: otherlv_0= 'deleteProject' ( (lv_projectName_1_0= ruleEString ) ) - { - otherlv_0=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleRemoveProject1467); - - newLeafNode(otherlv_0, grammarAccess.getRemoveProjectAccess().getDeleteProjectKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:623:1: ( (lv_projectName_1_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:624:1: (lv_projectName_1_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:624:1: (lv_projectName_1_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:625:3: lv_projectName_1_0= ruleEString - { - - newCompositeNode(grammarAccess.getRemoveProjectAccess().getProjectNameEStringParserRuleCall_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleRemoveProject1488); - lv_projectName_1_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getRemoveProjectRule()); - } - set( - current, - "projectName", - lv_projectName_1_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleRemoveProject" - - - // $ANTLR start "entryRuleCreateModel" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:651:1: entryRuleCreateModel returns [EObject current=null] : iv_ruleCreateModel= ruleCreateModel EOF ; - public final EObject entryRuleCreateModel() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCreateModel = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:652:2: (iv_ruleCreateModel= ruleCreateModel EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:653:2: iv_ruleCreateModel= ruleCreateModel EOF - { - newCompositeNode(grammarAccess.getCreateModelRule()); - pushFollow(FollowSets000.FOLLOW_ruleCreateModel_in_entryRuleCreateModel1526); - iv_ruleCreateModel=ruleCreateModel(); - - state._fsp--; - - current =iv_ruleCreateModel; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCreateModel1536); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCreateModel" - - - // $ANTLR start "ruleCreateModel" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:660:1: ruleCreateModel returns [EObject current=null] : (otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_rootURI_3_0= ruleEString ) ) otherlv_4= 'inResource' ( (lv_modelName_5_0= ruleEString ) ) otherlv_6= 'at' ( (lv_path_7_0= ruleEString ) ) ) ; - public final EObject ruleCreateModel() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_referenceName_1_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - AntlrDatatypeRuleToken lv_rootURI_3_0 = null; - - AntlrDatatypeRuleToken lv_modelName_5_0 = null; - - AntlrDatatypeRuleToken lv_path_7_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:663:28: ( (otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_rootURI_3_0= ruleEString ) ) otherlv_4= 'inResource' ( (lv_modelName_5_0= ruleEString ) ) otherlv_6= 'at' ( (lv_path_7_0= ruleEString ) ) ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:664:1: (otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_rootURI_3_0= ruleEString ) ) otherlv_4= 'inResource' ( (lv_modelName_5_0= ruleEString ) ) otherlv_6= 'at' ( (lv_path_7_0= ruleEString ) ) ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:664:1: (otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_rootURI_3_0= ruleEString ) ) otherlv_4= 'inResource' ( (lv_modelName_5_0= ruleEString ) ) otherlv_6= 'at' ( (lv_path_7_0= ruleEString ) ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:664:3: otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_rootURI_3_0= ruleEString ) ) otherlv_4= 'inResource' ( (lv_modelName_5_0= ruleEString ) ) otherlv_6= 'at' ( (lv_path_7_0= ruleEString ) ) - { - otherlv_0=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleCreateModel1573); - - newLeafNode(otherlv_0, grammarAccess.getCreateModelAccess().getCreateObjectKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:668:1: ( (lv_referenceName_1_0= RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:669:1: (lv_referenceName_1_0= RULE_ID ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:669:1: (lv_referenceName_1_0= RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:670:3: lv_referenceName_1_0= RULE_ID - { - lv_referenceName_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleCreateModel1590); - - newLeafNode(lv_referenceName_1_0, grammarAccess.getCreateModelAccess().getReferenceNameIDTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getCreateModelRule()); - } - setWithLastConsumed( - current, - "referenceName", - lv_referenceName_1_0, - "ID"); - - - } - - - } - - otherlv_2=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleCreateModel1607); - - newLeafNode(otherlv_2, grammarAccess.getCreateModelAccess().getColonKeyword_2()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:690:1: ( (lv_rootURI_3_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:691:1: (lv_rootURI_3_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:691:1: (lv_rootURI_3_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:692:3: lv_rootURI_3_0= ruleEString - { - - newCompositeNode(grammarAccess.getCreateModelAccess().getRootURIEStringParserRuleCall_3_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleCreateModel1628); - lv_rootURI_3_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCreateModelRule()); - } - set( - current, - "rootURI", - lv_rootURI_3_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_4=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleCreateModel1640); - - newLeafNode(otherlv_4, grammarAccess.getCreateModelAccess().getInResourceKeyword_4()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:712:1: ( (lv_modelName_5_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:713:1: (lv_modelName_5_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:713:1: (lv_modelName_5_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:714:3: lv_modelName_5_0= ruleEString - { - - newCompositeNode(grammarAccess.getCreateModelAccess().getModelNameEStringParserRuleCall_5_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleCreateModel1661); - lv_modelName_5_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCreateModelRule()); - } - set( - current, - "modelName", - lv_modelName_5_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_6=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleCreateModel1673); - - newLeafNode(otherlv_6, grammarAccess.getCreateModelAccess().getAtKeyword_6()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:734:1: ( (lv_path_7_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:735:1: (lv_path_7_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:735:1: (lv_path_7_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:736:3: lv_path_7_0= ruleEString - { - - newCompositeNode(grammarAccess.getCreateModelAccess().getPathEStringParserRuleCall_7_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleCreateModel1694); - lv_path_7_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getCreateModelRule()); - } - set( - current, - "path", - lv_path_7_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCreateModel" - - - // $ANTLR start "entryRuleSave" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:760:1: entryRuleSave returns [EObject current=null] : iv_ruleSave= ruleSave EOF ; - public final EObject entryRuleSave() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSave = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:761:2: (iv_ruleSave= ruleSave EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:762:2: iv_ruleSave= ruleSave EOF - { - newCompositeNode(grammarAccess.getSaveRule()); - pushFollow(FollowSets000.FOLLOW_ruleSave_in_entryRuleSave1730); - iv_ruleSave=ruleSave(); - - state._fsp--; - - current =iv_ruleSave; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSave1740); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSave" - - - // $ANTLR start "ruleSave" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:769:1: ruleSave returns [EObject current=null] : (otherlv_0= 'save' () ) ; - public final EObject ruleSave() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:772:28: ( (otherlv_0= 'save' () ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:773:1: (otherlv_0= 'save' () ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:773:1: (otherlv_0= 'save' () ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:773:3: otherlv_0= 'save' () - { - otherlv_0=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleSave1777); - - newLeafNode(otherlv_0, grammarAccess.getSaveAccess().getSaveKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:777:1: () - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:778:5: - { - - current = forceCreateModelElement( - grammarAccess.getSaveAccess().getSaveAction_1(), - current); - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSave" - - - // $ANTLR start "entryRuleEEFAction" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:791:1: entryRuleEEFAction returns [EObject current=null] : iv_ruleEEFAction= ruleEEFAction EOF ; - public final EObject entryRuleEEFAction() throws RecognitionException { - EObject current = null; - - EObject iv_ruleEEFAction = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:792:2: (iv_ruleEEFAction= ruleEEFAction EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:793:2: iv_ruleEEFAction= ruleEEFAction EOF - { - newCompositeNode(grammarAccess.getEEFActionRule()); - pushFollow(FollowSets000.FOLLOW_ruleEEFAction_in_entryRuleEEFAction1822); - iv_ruleEEFAction=ruleEEFAction(); - - state._fsp--; - - current =iv_ruleEEFAction; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEEFAction1832); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleEEFAction" - - - // $ANTLR start "ruleEEFAction" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:800:1: ruleEEFAction returns [EObject current=null] : (this_Check_0= ruleCheck | this_Add_1= ruleAdd | this_SetAttribute_2= ruleSetAttribute ) ; - public final EObject ruleEEFAction() throws RecognitionException { - EObject current = null; - - EObject this_Check_0 = null; - - EObject this_Add_1 = null; - - EObject this_SetAttribute_2 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:803:28: ( (this_Check_0= ruleCheck | this_Add_1= ruleAdd | this_SetAttribute_2= ruleSetAttribute ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:804:1: (this_Check_0= ruleCheck | this_Add_1= ruleAdd | this_SetAttribute_2= ruleSetAttribute ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:804:1: (this_Check_0= ruleCheck | this_Add_1= ruleAdd | this_SetAttribute_2= ruleSetAttribute ) - int alt12=3; - switch ( input.LA(1) ) { - case 24: - { - alt12=1; - } - break; - case 19: - { - alt12=2; - } - break; - case 27: - { - alt12=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 12, 0, input); - - throw nvae; - } - - switch (alt12) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:805:5: this_Check_0= ruleCheck - { - - newCompositeNode(grammarAccess.getEEFActionAccess().getCheckParserRuleCall_0()); - - pushFollow(FollowSets000.FOLLOW_ruleCheck_in_ruleEEFAction1879); - this_Check_0=ruleCheck(); - - state._fsp--; - - - current = this_Check_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:815:5: this_Add_1= ruleAdd - { - - newCompositeNode(grammarAccess.getEEFActionAccess().getAddParserRuleCall_1()); - - pushFollow(FollowSets000.FOLLOW_ruleAdd_in_ruleEEFAction1906); - this_Add_1=ruleAdd(); - - state._fsp--; - - - current = this_Add_1; - afterParserOrEnumRuleCall(); - - - } - break; - case 3 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:825:5: this_SetAttribute_2= ruleSetAttribute - { - - newCompositeNode(grammarAccess.getEEFActionAccess().getSetAttributeParserRuleCall_2()); - - pushFollow(FollowSets000.FOLLOW_ruleSetAttribute_in_ruleEEFAction1933); - this_SetAttribute_2=ruleSetAttribute(); - - state._fsp--; - - - current = this_SetAttribute_2; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleEEFAction" - - - // $ANTLR start "entryRuleCheck" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:841:1: entryRuleCheck returns [EObject current=null] : iv_ruleCheck= ruleCheck EOF ; - public final EObject entryRuleCheck() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCheck = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:842:2: (iv_ruleCheck= ruleCheck EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:843:2: iv_ruleCheck= ruleCheck EOF - { - newCompositeNode(grammarAccess.getCheckRule()); - pushFollow(FollowSets000.FOLLOW_ruleCheck_in_entryRuleCheck1968); - iv_ruleCheck=ruleCheck(); - - state._fsp--; - - current =iv_ruleCheck; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleCheck1978); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleCheck" - - - // $ANTLR start "ruleCheck" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:850:1: ruleCheck returns [EObject current=null] : (otherlv_0= 'check!' () ) ; - public final EObject ruleCheck() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:853:28: ( (otherlv_0= 'check!' () ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:854:1: (otherlv_0= 'check!' () ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:854:1: (otherlv_0= 'check!' () ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:854:3: otherlv_0= 'check!' () - { - otherlv_0=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleCheck2015); - - newLeafNode(otherlv_0, grammarAccess.getCheckAccess().getCheckKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:858:1: () - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:859:5: - { - - current = forceCreateModelElement( - grammarAccess.getCheckAccess().getCheckAction_1(), - current); - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleCheck" - - - // $ANTLR start "entryRuleAdd" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:872:1: entryRuleAdd returns [EObject current=null] : iv_ruleAdd= ruleAdd EOF ; - public final EObject entryRuleAdd() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAdd = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:873:2: (iv_ruleAdd= ruleAdd EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:874:2: iv_ruleAdd= ruleAdd EOF - { - newCompositeNode(grammarAccess.getAddRule()); - pushFollow(FollowSets000.FOLLOW_ruleAdd_in_entryRuleAdd2060); - iv_ruleAdd=ruleAdd(); - - state._fsp--; - - current =iv_ruleAdd; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleAdd2070); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleAdd" - - - // $ANTLR start "ruleAdd" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:881:1: ruleAdd returns [EObject current=null] : (otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_typeURI_3_0= ruleEString ) ) otherlv_4= 'inElement' ( (otherlv_5= RULE_ID ) ) otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) ) ; - public final EObject ruleAdd() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_referenceName_1_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_5=null; - Token otherlv_6=null; - AntlrDatatypeRuleToken lv_typeURI_3_0 = null; - - AntlrDatatypeRuleToken lv_eContainingFeatureURI_7_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:884:28: ( (otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_typeURI_3_0= ruleEString ) ) otherlv_4= 'inElement' ( (otherlv_5= RULE_ID ) ) otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:885:1: (otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_typeURI_3_0= ruleEString ) ) otherlv_4= 'inElement' ( (otherlv_5= RULE_ID ) ) otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:885:1: (otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_typeURI_3_0= ruleEString ) ) otherlv_4= 'inElement' ( (otherlv_5= RULE_ID ) ) otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:885:3: otherlv_0= 'createObject' ( (lv_referenceName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_typeURI_3_0= ruleEString ) ) otherlv_4= 'inElement' ( (otherlv_5= RULE_ID ) ) otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) - { - otherlv_0=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleAdd2107); - - newLeafNode(otherlv_0, grammarAccess.getAddAccess().getCreateObjectKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:889:1: ( (lv_referenceName_1_0= RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:890:1: (lv_referenceName_1_0= RULE_ID ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:890:1: (lv_referenceName_1_0= RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:891:3: lv_referenceName_1_0= RULE_ID - { - lv_referenceName_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleAdd2124); - - newLeafNode(lv_referenceName_1_0, grammarAccess.getAddAccess().getReferenceNameIDTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getAddRule()); - } - setWithLastConsumed( - current, - "referenceName", - lv_referenceName_1_0, - "ID"); - - - } - - - } - - otherlv_2=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleAdd2141); - - newLeafNode(otherlv_2, grammarAccess.getAddAccess().getColonKeyword_2()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:911:1: ( (lv_typeURI_3_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:912:1: (lv_typeURI_3_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:912:1: (lv_typeURI_3_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:913:3: lv_typeURI_3_0= ruleEString - { - - newCompositeNode(grammarAccess.getAddAccess().getTypeURIEStringParserRuleCall_3_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAdd2162); - lv_typeURI_3_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAddRule()); - } - set( - current, - "typeURI", - lv_typeURI_3_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_4=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleAdd2174); - - newLeafNode(otherlv_4, grammarAccess.getAddAccess().getInElementKeyword_4()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:933:1: ( (otherlv_5= RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:934:1: (otherlv_5= RULE_ID ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:934:1: (otherlv_5= RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:935:3: otherlv_5= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getAddRule()); - } - - otherlv_5=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleAdd2194); - - newLeafNode(otherlv_5, grammarAccess.getAddAccess().getReferenceableObjectReferenceableObjectCrossReference_5_0()); - - - } - - - } - - otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleAdd2206); - - newLeafNode(otherlv_6, grammarAccess.getAddAccess().getInFeatureKeyword_6()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:950:1: ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:951:1: (lv_eContainingFeatureURI_7_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:951:1: (lv_eContainingFeatureURI_7_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:952:3: lv_eContainingFeatureURI_7_0= ruleEString - { - - newCompositeNode(grammarAccess.getAddAccess().getEContainingFeatureURIEStringParserRuleCall_7_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleAdd2227); - lv_eContainingFeatureURI_7_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getAddRule()); - } - set( - current, - "eContainingFeatureURI", - lv_eContainingFeatureURI_7_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleAdd" - - - // $ANTLR start "entryRuleSetAttribute" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:976:1: entryRuleSetAttribute returns [EObject current=null] : iv_ruleSetAttribute= ruleSetAttribute EOF ; - public final EObject entryRuleSetAttribute() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSetAttribute = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:977:2: (iv_ruleSetAttribute= ruleSetAttribute EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:978:2: iv_ruleSetAttribute= ruleSetAttribute EOF - { - newCompositeNode(grammarAccess.getSetAttributeRule()); - pushFollow(FollowSets000.FOLLOW_ruleSetAttribute_in_entryRuleSetAttribute2263); - iv_ruleSetAttribute=ruleSetAttribute(); - - state._fsp--; - - current =iv_ruleSetAttribute; - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleSetAttribute2273); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleSetAttribute" - - - // $ANTLR start "ruleSetAttribute" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:985:1: ruleSetAttribute returns [EObject current=null] : (otherlv_0= 'set' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'values' ( (lv_values_3_0= ruleEString ) ) (otherlv_4= ',' ( (lv_values_5_0= ruleEString ) ) )* otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) (otherlv_8= 'usingWidget' ( (lv_propertiesEditionElementURI_9_0= ruleEString ) ) )? ) ; - public final EObject ruleSetAttribute() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_6=null; - Token otherlv_8=null; - AntlrDatatypeRuleToken lv_values_3_0 = null; - - AntlrDatatypeRuleToken lv_values_5_0 = null; - - AntlrDatatypeRuleToken lv_eContainingFeatureURI_7_0 = null; - - AntlrDatatypeRuleToken lv_propertiesEditionElementURI_9_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:988:28: ( (otherlv_0= 'set' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'values' ( (lv_values_3_0= ruleEString ) ) (otherlv_4= ',' ( (lv_values_5_0= ruleEString ) ) )* otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) (otherlv_8= 'usingWidget' ( (lv_propertiesEditionElementURI_9_0= ruleEString ) ) )? ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:989:1: (otherlv_0= 'set' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'values' ( (lv_values_3_0= ruleEString ) ) (otherlv_4= ',' ( (lv_values_5_0= ruleEString ) ) )* otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) (otherlv_8= 'usingWidget' ( (lv_propertiesEditionElementURI_9_0= ruleEString ) ) )? ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:989:1: (otherlv_0= 'set' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'values' ( (lv_values_3_0= ruleEString ) ) (otherlv_4= ',' ( (lv_values_5_0= ruleEString ) ) )* otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) (otherlv_8= 'usingWidget' ( (lv_propertiesEditionElementURI_9_0= ruleEString ) ) )? ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:989:3: otherlv_0= 'set' ( (otherlv_1= RULE_ID ) ) otherlv_2= 'values' ( (lv_values_3_0= ruleEString ) ) (otherlv_4= ',' ( (lv_values_5_0= ruleEString ) ) )* otherlv_6= 'inFeature' ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) (otherlv_8= 'usingWidget' ( (lv_propertiesEditionElementURI_9_0= ruleEString ) ) )? - { - otherlv_0=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleSetAttribute2310); - - newLeafNode(otherlv_0, grammarAccess.getSetAttributeAccess().getSetKeyword_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:993:1: ( (otherlv_1= RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:994:1: (otherlv_1= RULE_ID ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:994:1: (otherlv_1= RULE_ID ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:995:3: otherlv_1= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getSetAttributeRule()); - } - - otherlv_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleSetAttribute2330); - - newLeafNode(otherlv_1, grammarAccess.getSetAttributeAccess().getReferenceableObjectReferenceableObjectCrossReference_1_0()); - - - } - - - } - - otherlv_2=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleSetAttribute2342); - - newLeafNode(otherlv_2, grammarAccess.getSetAttributeAccess().getValuesKeyword_2()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1010:1: ( (lv_values_3_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1011:1: (lv_values_3_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1011:1: (lv_values_3_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1012:3: lv_values_3_0= ruleEString - { - - newCompositeNode(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_3_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleSetAttribute2363); - lv_values_3_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSetAttributeRule()); - } - add( - current, - "values", - lv_values_3_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1028:2: (otherlv_4= ',' ( (lv_values_5_0= ruleEString ) ) )* - loop13: - do { - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==29) ) { - alt13=1; - } - - - switch (alt13) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1028:4: otherlv_4= ',' ( (lv_values_5_0= ruleEString ) ) - { - otherlv_4=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleSetAttribute2376); - - newLeafNode(otherlv_4, grammarAccess.getSetAttributeAccess().getCommaKeyword_4_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1032:1: ( (lv_values_5_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1033:1: (lv_values_5_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1033:1: (lv_values_5_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1034:3: lv_values_5_0= ruleEString - { - - newCompositeNode(grammarAccess.getSetAttributeAccess().getValuesEStringParserRuleCall_4_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleSetAttribute2397); - lv_values_5_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSetAttributeRule()); - } - add( - current, - "values", - lv_values_5_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - default : - break loop13; - } - } while (true); - - otherlv_6=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleSetAttribute2411); - - newLeafNode(otherlv_6, grammarAccess.getSetAttributeAccess().getInFeatureKeyword_5()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1054:1: ( (lv_eContainingFeatureURI_7_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1055:1: (lv_eContainingFeatureURI_7_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1055:1: (lv_eContainingFeatureURI_7_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1056:3: lv_eContainingFeatureURI_7_0= ruleEString - { - - newCompositeNode(grammarAccess.getSetAttributeAccess().getEContainingFeatureURIEStringParserRuleCall_6_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleSetAttribute2432); - lv_eContainingFeatureURI_7_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSetAttributeRule()); - } - set( - current, - "eContainingFeatureURI", - lv_eContainingFeatureURI_7_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1072:2: (otherlv_8= 'usingWidget' ( (lv_propertiesEditionElementURI_9_0= ruleEString ) ) )? - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==30) ) { - alt14=1; - } - switch (alt14) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1072:4: otherlv_8= 'usingWidget' ( (lv_propertiesEditionElementURI_9_0= ruleEString ) ) - { - otherlv_8=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleSetAttribute2445); - - newLeafNode(otherlv_8, grammarAccess.getSetAttributeAccess().getUsingWidgetKeyword_7_0()); - - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1076:1: ( (lv_propertiesEditionElementURI_9_0= ruleEString ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1077:1: (lv_propertiesEditionElementURI_9_0= ruleEString ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1077:1: (lv_propertiesEditionElementURI_9_0= ruleEString ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1078:3: lv_propertiesEditionElementURI_9_0= ruleEString - { - - newCompositeNode(grammarAccess.getSetAttributeAccess().getPropertiesEditionElementURIEStringParserRuleCall_7_1_0()); - - pushFollow(FollowSets000.FOLLOW_ruleEString_in_ruleSetAttribute2466); - lv_propertiesEditionElementURI_9_0=ruleEString(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSetAttributeRule()); - } - set( - current, - "propertiesEditionElementURI", - lv_propertiesEditionElementURI_9_0, - "EString"); - afterParserOrEnumRuleCall(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleSetAttribute" - - - // $ANTLR start "entryRuleEString" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1102:1: entryRuleEString returns [String current=null] : iv_ruleEString= ruleEString EOF ; - public final String entryRuleEString() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleEString = null; - - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1103:2: (iv_ruleEString= ruleEString EOF ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1104:2: iv_ruleEString= ruleEString EOF - { - newCompositeNode(grammarAccess.getEStringRule()); - pushFollow(FollowSets000.FOLLOW_ruleEString_in_entryRuleEString2505); - iv_ruleEString=ruleEString(); - - state._fsp--; - - current =iv_ruleEString.getText(); - match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleEString2516); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleEString" - - - // $ANTLR start "ruleEString" - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1111:1: ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) ; - public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_STRING_0=null; - Token this_ID_1=null; - - enterRule(); - - try { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1114:28: ( (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) ) - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1115:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) - { - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1115:1: (this_STRING_0= RULE_STRING | this_ID_1= RULE_ID ) - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==RULE_STRING) ) { - alt15=1; - } - else if ( (LA15_0==RULE_ID) ) { - alt15=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); - - throw nvae; - } - switch (alt15) { - case 1 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1115:6: this_STRING_0= RULE_STRING - { - this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_RULE_STRING_in_ruleEString2556); - - current.merge(this_STRING_0); - - - newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall_0()); - - - } - break; - case 2 : - // ../org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/parser/antlr/internal/InternalModelingBot.g:1123:10: this_ID_1= RULE_ID - { - this_ID_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_RULE_ID_in_ruleEString2582); - - current.merge(this_ID_1); - - - newLeafNode(this_ID_1, grammarAccess.getEStringAccess().getIDTerminalRuleCall_1()); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleEString" - - // Delegated rules - - - - - - private static class FollowSets000 { - public static final BitSet FOLLOW_ruleScenario_in_entryRuleScenario75 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleScenario85 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_11_in_ruleScenario122 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleScenario143 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleScenario155 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_ruleProcessings_in_ruleScenario176 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_13_in_ruleScenario189 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleProcessings_in_entryRuleProcessings225 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleProcessings235 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDetails_in_ruleProcessings282 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleWizard_in_ruleProcessings309 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertiesView_in_ruleProcessings336 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAction_in_ruleProcessings363 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertiesView_in_entryRulePropertiesView398 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePropertiesView408 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_14_in_rulePropertiesView445 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_ruleEString_in_rulePropertiesView466 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_rulePropertiesView479 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_ruleSubProcessings_in_rulePropertiesView500 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_13_in_rulePropertiesView513 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleWizard_in_entryRuleWizard549 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleWizard559 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_15_in_ruleWizard596 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleWizard617 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleWizard630 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_ruleSubProcessings_in_ruleWizard651 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_13_in_ruleWizard664 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDetails_in_entryRuleDetails700 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDetails710 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_16_in_ruleDetails747 = new BitSet(new long[]{0x0000000000001030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleDetails768 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleDetails781 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_ruleSubProcessings_in_ruleDetails802 = new BitSet(new long[]{0x00000000098FE000L}); - public static final BitSet FOLLOW_13_in_ruleDetails815 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSubProcessings_in_entryRuleSubProcessings851 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSubProcessings861 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleWizard_in_ruleSubProcessings908 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDetails_in_ruleSubProcessings935 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertiesView_in_ruleSubProcessings962 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAction_in_ruleSubProcessings989 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAction_in_entryRuleAction1024 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAction1034 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEclipseAction_in_ruleAction1081 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEEFAction_in_ruleAction1108 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEclipseAction_in_entryRuleEclipseAction1143 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEclipseAction1153 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCreateProject_in_ruleEclipseAction1200 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCreateModel_in_ruleEclipseAction1227 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSave_in_ruleEclipseAction1254 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRemoveProject_in_ruleEclipseAction1281 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCreateProject_in_entryRuleCreateProject1316 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCreateProject1326 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_17_in_ruleCreateProject1363 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleCreateProject1384 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRemoveProject_in_entryRuleRemoveProject1420 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRemoveProject1430 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_18_in_ruleRemoveProject1467 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleRemoveProject1488 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCreateModel_in_entryRuleCreateModel1526 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCreateModel1536 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_19_in_ruleCreateModel1573 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleCreateModel1590 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_20_in_ruleCreateModel1607 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleCreateModel1628 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_21_in_ruleCreateModel1640 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleCreateModel1661 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_22_in_ruleCreateModel1673 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleCreateModel1694 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSave_in_entryRuleSave1730 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSave1740 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_23_in_ruleSave1777 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEEFAction_in_entryRuleEEFAction1822 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEEFAction1832 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCheck_in_ruleEEFAction1879 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdd_in_ruleEEFAction1906 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSetAttribute_in_ruleEEFAction1933 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCheck_in_entryRuleCheck1968 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCheck1978 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_24_in_ruleCheck2015 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdd_in_entryRuleAdd2060 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAdd2070 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_19_in_ruleAdd2107 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleAdd2124 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_20_in_ruleAdd2141 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAdd2162 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_25_in_ruleAdd2174 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleAdd2194 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_26_in_ruleAdd2206 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleAdd2227 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSetAttribute_in_entryRuleSetAttribute2263 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSetAttribute2273 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_27_in_ruleSetAttribute2310 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSetAttribute2330 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_28_in_ruleSetAttribute2342 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleSetAttribute2363 = new BitSet(new long[]{0x0000000024000000L}); - public static final BitSet FOLLOW_29_in_ruleSetAttribute2376 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleSetAttribute2397 = new BitSet(new long[]{0x0000000024000000L}); - public static final BitSet FOLLOW_26_in_ruleSetAttribute2411 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleSetAttribute2432 = new BitSet(new long[]{0x0000000040000002L}); - public static final BitSet FOLLOW_30_in_ruleSetAttribute2445 = new BitSet(new long[]{0x0000000000000030L}); - public static final BitSet FOLLOW_ruleEString_in_ruleSetAttribute2466 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEString_in_entryRuleEString2505 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEString2516 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleEString2556 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleEString2582 = new BitSet(new long[]{0x0000000000000002L}); - } - - -}
\ No newline at end of file diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/services/ModelingBotGrammarAccess.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/services/ModelingBotGrammarAccess.java deleted file mode 100644 index f2474ef38..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/services/ModelingBotGrammarAccess.java +++ /dev/null @@ -1,932 +0,0 @@ -/* -* generated by Xtext -*/ - -package org.eclipse.emf.eef.services; - -import com.google.inject.Singleton; -import com.google.inject.Inject; - -import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - -import org.eclipse.xtext.common.services.TerminalsGrammarAccess; - -@Singleton -public class ModelingBotGrammarAccess extends AbstractGrammarElementFinder { - - - public class ScenarioElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Scenario"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cScenarioKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameEStringParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cProcessingsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cProcessingsProcessingsParserRuleCall_3_0 = (RuleCall)cProcessingsAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //Scenario returns mbot::Scenario: - // "scenario" name=EString "{" processings+=Processings* "}"; - public ParserRule getRule() { return rule; } - - //"scenario" name=EString "{" processings+=Processings* "}" - public Group getGroup() { return cGroup; } - - //"scenario" - public Keyword getScenarioKeyword_0() { return cScenarioKeyword_0; } - - //name=EString - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //EString - public RuleCall getNameEStringParserRuleCall_1_0() { return cNameEStringParserRuleCall_1_0; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //processings+=Processings* - public Assignment getProcessingsAssignment_3() { return cProcessingsAssignment_3; } - - //Processings - public RuleCall getProcessingsProcessingsParserRuleCall_3_0() { return cProcessingsProcessingsParserRuleCall_3_0; } - - //"}" - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - - public class ProcessingsElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Processings"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cDetailsParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cWizardParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cPropertiesViewParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cActionParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - - //Processings returns mbot::Processing: - // Details | Wizard | PropertiesView | Action; - public ParserRule getRule() { return rule; } - - //Details | Wizard | PropertiesView | Action - public Alternatives getAlternatives() { return cAlternatives; } - - //Details - public RuleCall getDetailsParserRuleCall_0() { return cDetailsParserRuleCall_0; } - - //Wizard - public RuleCall getWizardParserRuleCall_1() { return cWizardParserRuleCall_1; } - - //PropertiesView - public RuleCall getPropertiesViewParserRuleCall_2() { return cPropertiesViewParserRuleCall_2; } - - //Action - public RuleCall getActionParserRuleCall_3() { return cActionParserRuleCall_3; } - } - - public class PropertiesViewElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertiesView"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cPropertiesViewKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameEStringParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cProcessingsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cProcessingsSubProcessingsParserRuleCall_3_0 = (RuleCall)cProcessingsAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //PropertiesView returns mbot::PropertiesView: - // "propertiesView" name=EString? "{" processings+=SubProcessings* "}"; - public ParserRule getRule() { return rule; } - - //"propertiesView" name=EString? "{" processings+=SubProcessings* "}" - public Group getGroup() { return cGroup; } - - //"propertiesView" - public Keyword getPropertiesViewKeyword_0() { return cPropertiesViewKeyword_0; } - - //name=EString? - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //EString - public RuleCall getNameEStringParserRuleCall_1_0() { return cNameEStringParserRuleCall_1_0; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //processings+=SubProcessings* - public Assignment getProcessingsAssignment_3() { return cProcessingsAssignment_3; } - - //SubProcessings - public RuleCall getProcessingsSubProcessingsParserRuleCall_3_0() { return cProcessingsSubProcessingsParserRuleCall_3_0; } - - //"}" - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - - public class WizardElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Wizard"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cWizardKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameEStringParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cProcessingsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cProcessingsSubProcessingsParserRuleCall_3_0 = (RuleCall)cProcessingsAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //Wizard returns mbot::Wizard: - // "wizard" name=EString? "{" processings+=SubProcessings* "}"; - public ParserRule getRule() { return rule; } - - //"wizard" name=EString? "{" processings+=SubProcessings* "}" - public Group getGroup() { return cGroup; } - - //"wizard" - public Keyword getWizardKeyword_0() { return cWizardKeyword_0; } - - //name=EString? - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //EString - public RuleCall getNameEStringParserRuleCall_1_0() { return cNameEStringParserRuleCall_1_0; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //processings+=SubProcessings* - public Assignment getProcessingsAssignment_3() { return cProcessingsAssignment_3; } - - //SubProcessings - public RuleCall getProcessingsSubProcessingsParserRuleCall_3_0() { return cProcessingsSubProcessingsParserRuleCall_3_0; } - - //"}" - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - - public class DetailsElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Details"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cDetailsPageKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cNameEStringParserRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cProcessingsAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cProcessingsSubProcessingsParserRuleCall_3_0 = (RuleCall)cProcessingsAssignment_3.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); - - //Details returns mbot::DetailsPage: - // "detailsPage" name=EString? "{" processings+=SubProcessings* "}"; - public ParserRule getRule() { return rule; } - - //"detailsPage" name=EString? "{" processings+=SubProcessings* "}" - public Group getGroup() { return cGroup; } - - //"detailsPage" - public Keyword getDetailsPageKeyword_0() { return cDetailsPageKeyword_0; } - - //name=EString? - public Assignment getNameAssignment_1() { return cNameAssignment_1; } - - //EString - public RuleCall getNameEStringParserRuleCall_1_0() { return cNameEStringParserRuleCall_1_0; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } - - //processings+=SubProcessings* - public Assignment getProcessingsAssignment_3() { return cProcessingsAssignment_3; } - - //SubProcessings - public RuleCall getProcessingsSubProcessingsParserRuleCall_3_0() { return cProcessingsSubProcessingsParserRuleCall_3_0; } - - //"}" - public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } - } - - public class SubProcessingsElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SubProcessings"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cWizardParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cDetailsParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cPropertiesViewParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cActionParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - - //SubProcessings returns mbot::Processing: - // Wizard | Details | PropertiesView | Action; - public ParserRule getRule() { return rule; } - - //Wizard | Details | PropertiesView | Action - public Alternatives getAlternatives() { return cAlternatives; } - - //Wizard - public RuleCall getWizardParserRuleCall_0() { return cWizardParserRuleCall_0; } - - //Details - public RuleCall getDetailsParserRuleCall_1() { return cDetailsParserRuleCall_1; } - - //PropertiesView - public RuleCall getPropertiesViewParserRuleCall_2() { return cPropertiesViewParserRuleCall_2; } - - //Action - public RuleCall getActionParserRuleCall_3() { return cActionParserRuleCall_3; } - } - - public class ActionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Action"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cEclipseActionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cEEFActionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //Action returns mbot::Action: - // EclipseAction | EEFAction; - public ParserRule getRule() { return rule; } - - //EclipseAction | EEFAction - public Alternatives getAlternatives() { return cAlternatives; } - - //EclipseAction - public RuleCall getEclipseActionParserRuleCall_0() { return cEclipseActionParserRuleCall_0; } - - //EEFAction - public RuleCall getEEFActionParserRuleCall_1() { return cEEFActionParserRuleCall_1; } - } - - public class EclipseActionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EclipseAction"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cCreateProjectParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cCreateModelParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cSaveParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cRemoveProjectParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - - //EclipseAction returns EclipseActions::EclipseAction: - // CreateProject | CreateModel | Save | RemoveProject; - public ParserRule getRule() { return rule; } - - //CreateProject | CreateModel | Save | RemoveProject - public Alternatives getAlternatives() { return cAlternatives; } - - //CreateProject - public RuleCall getCreateProjectParserRuleCall_0() { return cCreateProjectParserRuleCall_0; } - - //CreateModel - public RuleCall getCreateModelParserRuleCall_1() { return cCreateModelParserRuleCall_1; } - - //Save - public RuleCall getSaveParserRuleCall_2() { return cSaveParserRuleCall_2; } - - //RemoveProject - public RuleCall getRemoveProjectParserRuleCall_3() { return cRemoveProjectParserRuleCall_3; } - } - - public class CreateProjectElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "CreateProject"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cCreateProjectKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cProjectNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cProjectNameEStringParserRuleCall_1_0 = (RuleCall)cProjectNameAssignment_1.eContents().get(0); - - //CreateProject returns EclipseActions::CreateProject: - // "createProject" projectName=EString; - public ParserRule getRule() { return rule; } - - //"createProject" projectName=EString - public Group getGroup() { return cGroup; } - - //"createProject" - public Keyword getCreateProjectKeyword_0() { return cCreateProjectKeyword_0; } - - //projectName=EString - public Assignment getProjectNameAssignment_1() { return cProjectNameAssignment_1; } - - //EString - public RuleCall getProjectNameEStringParserRuleCall_1_0() { return cProjectNameEStringParserRuleCall_1_0; } - } - - public class RemoveProjectElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RemoveProject"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cDeleteProjectKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cProjectNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cProjectNameEStringParserRuleCall_1_0 = (RuleCall)cProjectNameAssignment_1.eContents().get(0); - - //RemoveProject returns EclipseActions::RemoveProject: - // "deleteProject" projectName=EString; - public ParserRule getRule() { return rule; } - - //"deleteProject" projectName=EString - public Group getGroup() { return cGroup; } - - //"deleteProject" - public Keyword getDeleteProjectKeyword_0() { return cDeleteProjectKeyword_0; } - - //projectName=EString - public Assignment getProjectNameAssignment_1() { return cProjectNameAssignment_1; } - - //EString - public RuleCall getProjectNameEStringParserRuleCall_1_0() { return cProjectNameEStringParserRuleCall_1_0; } - } - - public class ReferenceableObjectElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ReferenceableObject"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cCreateModelParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cAddParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //ReferenceableObject returns EEFExtended::ReferenceableObject: - // CreateModel | Add; - public ParserRule getRule() { return rule; } - - //CreateModel | Add - public Alternatives getAlternatives() { return cAlternatives; } - - //CreateModel - public RuleCall getCreateModelParserRuleCall_0() { return cCreateModelParserRuleCall_0; } - - //Add - public RuleCall getAddParserRuleCall_1() { return cAddParserRuleCall_1; } - } - - public class CreateModelElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "CreateModel"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cCreateObjectKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cReferenceNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cReferenceNameIDTerminalRuleCall_1_0 = (RuleCall)cReferenceNameAssignment_1.eContents().get(0); - private final Keyword cColonKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cRootURIAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cRootURIEStringParserRuleCall_3_0 = (RuleCall)cRootURIAssignment_3.eContents().get(0); - private final Keyword cInResourceKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Assignment cModelNameAssignment_5 = (Assignment)cGroup.eContents().get(5); - private final RuleCall cModelNameEStringParserRuleCall_5_0 = (RuleCall)cModelNameAssignment_5.eContents().get(0); - private final Keyword cAtKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Assignment cPathAssignment_7 = (Assignment)cGroup.eContents().get(7); - private final RuleCall cPathEStringParserRuleCall_7_0 = (RuleCall)cPathAssignment_7.eContents().get(0); - - //CreateModel returns EclipseActions::CreateModel: - // "createObject" referenceName=ID ":" rootURI=EString "inResource" modelName=EString "at" path=EString; - public ParserRule getRule() { return rule; } - - //"createObject" referenceName=ID ":" rootURI=EString "inResource" modelName=EString "at" path=EString - public Group getGroup() { return cGroup; } - - //"createObject" - public Keyword getCreateObjectKeyword_0() { return cCreateObjectKeyword_0; } - - //referenceName=ID - public Assignment getReferenceNameAssignment_1() { return cReferenceNameAssignment_1; } - - //ID - public RuleCall getReferenceNameIDTerminalRuleCall_1_0() { return cReferenceNameIDTerminalRuleCall_1_0; } - - //":" - public Keyword getColonKeyword_2() { return cColonKeyword_2; } - - //rootURI=EString - public Assignment getRootURIAssignment_3() { return cRootURIAssignment_3; } - - //EString - public RuleCall getRootURIEStringParserRuleCall_3_0() { return cRootURIEStringParserRuleCall_3_0; } - - //"inResource" - public Keyword getInResourceKeyword_4() { return cInResourceKeyword_4; } - - //modelName=EString - public Assignment getModelNameAssignment_5() { return cModelNameAssignment_5; } - - //EString - public RuleCall getModelNameEStringParserRuleCall_5_0() { return cModelNameEStringParserRuleCall_5_0; } - - //"at" - public Keyword getAtKeyword_6() { return cAtKeyword_6; } - - //path=EString - public Assignment getPathAssignment_7() { return cPathAssignment_7; } - - //EString - public RuleCall getPathEStringParserRuleCall_7_0() { return cPathEStringParserRuleCall_7_0; } - } - - public class SaveElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Save"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cSaveKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Action cSaveAction_1 = (Action)cGroup.eContents().get(1); - - //Save returns EclipseActions::Save: - // "save" {EclipseActions::Save}; - public ParserRule getRule() { return rule; } - - //"save" {EclipseActions::Save} - public Group getGroup() { return cGroup; } - - //"save" - public Keyword getSaveKeyword_0() { return cSaveKeyword_0; } - - //{EclipseActions::Save} - public Action getSaveAction_1() { return cSaveAction_1; } - } - - public class EEFActionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EEFAction"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cCheckParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cAddParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cSetAttributeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - - //EEFAction returns EEFActions::EEFAction: - // Check | Add | SetAttribute; - public ParserRule getRule() { return rule; } - - //Check | Add | SetAttribute - public Alternatives getAlternatives() { return cAlternatives; } - - //Check - public RuleCall getCheckParserRuleCall_0() { return cCheckParserRuleCall_0; } - - //Add - public RuleCall getAddParserRuleCall_1() { return cAddParserRuleCall_1; } - - //SetAttribute - public RuleCall getSetAttributeParserRuleCall_2() { return cSetAttributeParserRuleCall_2; } - } - - public class CheckElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Check"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cCheckKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Action cCheckAction_1 = (Action)cGroup.eContents().get(1); - - //Check returns EEFActions::Check: - // "check!" {EEFActions::Check}; - public ParserRule getRule() { return rule; } - - //"check!" {EEFActions::Check} - public Group getGroup() { return cGroup; } - - //"check!" - public Keyword getCheckKeyword_0() { return cCheckKeyword_0; } - - //{EEFActions::Check} - public Action getCheckAction_1() { return cCheckAction_1; } - } - - public class AddElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Add"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cCreateObjectKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cReferenceNameAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cReferenceNameIDTerminalRuleCall_1_0 = (RuleCall)cReferenceNameAssignment_1.eContents().get(0); - private final Keyword cColonKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cTypeURIAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cTypeURIEStringParserRuleCall_3_0 = (RuleCall)cTypeURIAssignment_3.eContents().get(0); - private final Keyword cInElementKeyword_4 = (Keyword)cGroup.eContents().get(4); - private final Assignment cReferenceableObjectAssignment_5 = (Assignment)cGroup.eContents().get(5); - private final CrossReference cReferenceableObjectReferenceableObjectCrossReference_5_0 = (CrossReference)cReferenceableObjectAssignment_5.eContents().get(0); - private final RuleCall cReferenceableObjectReferenceableObjectIDTerminalRuleCall_5_0_1 = (RuleCall)cReferenceableObjectReferenceableObjectCrossReference_5_0.eContents().get(1); - private final Keyword cInFeatureKeyword_6 = (Keyword)cGroup.eContents().get(6); - private final Assignment cEContainingFeatureURIAssignment_7 = (Assignment)cGroup.eContents().get(7); - private final RuleCall cEContainingFeatureURIEStringParserRuleCall_7_0 = (RuleCall)cEContainingFeatureURIAssignment_7.eContents().get(0); - - //Add returns EEFActions::Add: - // "createObject" referenceName=ID ":" typeURI=EString "inElement" referenceableObject=[EEFExtended::ReferenceableObject] - // "inFeature" eContainingFeatureURI=EString; - public ParserRule getRule() { return rule; } - - //"createObject" referenceName=ID ":" typeURI=EString "inElement" referenceableObject=[EEFExtended::ReferenceableObject] - //"inFeature" eContainingFeatureURI=EString - public Group getGroup() { return cGroup; } - - //"createObject" - public Keyword getCreateObjectKeyword_0() { return cCreateObjectKeyword_0; } - - //referenceName=ID - public Assignment getReferenceNameAssignment_1() { return cReferenceNameAssignment_1; } - - //ID - public RuleCall getReferenceNameIDTerminalRuleCall_1_0() { return cReferenceNameIDTerminalRuleCall_1_0; } - - //":" - public Keyword getColonKeyword_2() { return cColonKeyword_2; } - - //typeURI=EString - public Assignment getTypeURIAssignment_3() { return cTypeURIAssignment_3; } - - //EString - public RuleCall getTypeURIEStringParserRuleCall_3_0() { return cTypeURIEStringParserRuleCall_3_0; } - - //"inElement" - public Keyword getInElementKeyword_4() { return cInElementKeyword_4; } - - //referenceableObject=[EEFExtended::ReferenceableObject] - public Assignment getReferenceableObjectAssignment_5() { return cReferenceableObjectAssignment_5; } - - //[EEFExtended::ReferenceableObject] - public CrossReference getReferenceableObjectReferenceableObjectCrossReference_5_0() { return cReferenceableObjectReferenceableObjectCrossReference_5_0; } - - //ID - public RuleCall getReferenceableObjectReferenceableObjectIDTerminalRuleCall_5_0_1() { return cReferenceableObjectReferenceableObjectIDTerminalRuleCall_5_0_1; } - - //"inFeature" - public Keyword getInFeatureKeyword_6() { return cInFeatureKeyword_6; } - - //eContainingFeatureURI=EString - public Assignment getEContainingFeatureURIAssignment_7() { return cEContainingFeatureURIAssignment_7; } - - //EString - public RuleCall getEContainingFeatureURIEStringParserRuleCall_7_0() { return cEContainingFeatureURIEStringParserRuleCall_7_0; } - } - - public class SetAttributeElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SetAttribute"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cSetKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cReferenceableObjectAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cReferenceableObjectReferenceableObjectCrossReference_1_0 = (CrossReference)cReferenceableObjectAssignment_1.eContents().get(0); - private final RuleCall cReferenceableObjectReferenceableObjectIDTerminalRuleCall_1_0_1 = (RuleCall)cReferenceableObjectReferenceableObjectCrossReference_1_0.eContents().get(1); - private final Keyword cValuesKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cValuesAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cValuesEStringParserRuleCall_3_0 = (RuleCall)cValuesAssignment_3.eContents().get(0); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cCommaKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Assignment cValuesAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final RuleCall cValuesEStringParserRuleCall_4_1_0 = (RuleCall)cValuesAssignment_4_1.eContents().get(0); - private final Keyword cInFeatureKeyword_5 = (Keyword)cGroup.eContents().get(5); - private final Assignment cEContainingFeatureURIAssignment_6 = (Assignment)cGroup.eContents().get(6); - private final RuleCall cEContainingFeatureURIEStringParserRuleCall_6_0 = (RuleCall)cEContainingFeatureURIAssignment_6.eContents().get(0); - private final Group cGroup_7 = (Group)cGroup.eContents().get(7); - private final Keyword cUsingWidgetKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0); - private final Assignment cPropertiesEditionElementURIAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1); - private final RuleCall cPropertiesEditionElementURIEStringParserRuleCall_7_1_0 = (RuleCall)cPropertiesEditionElementURIAssignment_7_1.eContents().get(0); - - //SetAttribute returns EEFActions::SetAttribute: - // "set" referenceableObject=[EEFExtended::ReferenceableObject] "values" values+=EString ("," values+=EString)* - // "inFeature" eContainingFeatureURI=EString ("usingWidget" propertiesEditionElementURI=EString)?; - public ParserRule getRule() { return rule; } - - //"set" referenceableObject=[EEFExtended::ReferenceableObject] "values" values+=EString ("," values+=EString)* "inFeature" - //eContainingFeatureURI=EString ("usingWidget" propertiesEditionElementURI=EString)? - public Group getGroup() { return cGroup; } - - //"set" - public Keyword getSetKeyword_0() { return cSetKeyword_0; } - - //referenceableObject=[EEFExtended::ReferenceableObject] - public Assignment getReferenceableObjectAssignment_1() { return cReferenceableObjectAssignment_1; } - - //[EEFExtended::ReferenceableObject] - public CrossReference getReferenceableObjectReferenceableObjectCrossReference_1_0() { return cReferenceableObjectReferenceableObjectCrossReference_1_0; } - - //ID - public RuleCall getReferenceableObjectReferenceableObjectIDTerminalRuleCall_1_0_1() { return cReferenceableObjectReferenceableObjectIDTerminalRuleCall_1_0_1; } - - //"values" - public Keyword getValuesKeyword_2() { return cValuesKeyword_2; } - - //values+=EString - public Assignment getValuesAssignment_3() { return cValuesAssignment_3; } - - //EString - public RuleCall getValuesEStringParserRuleCall_3_0() { return cValuesEStringParserRuleCall_3_0; } - - //("," values+=EString)* - public Group getGroup_4() { return cGroup_4; } - - //"," - public Keyword getCommaKeyword_4_0() { return cCommaKeyword_4_0; } - - //values+=EString - public Assignment getValuesAssignment_4_1() { return cValuesAssignment_4_1; } - - //EString - public RuleCall getValuesEStringParserRuleCall_4_1_0() { return cValuesEStringParserRuleCall_4_1_0; } - - //"inFeature" - public Keyword getInFeatureKeyword_5() { return cInFeatureKeyword_5; } - - //eContainingFeatureURI=EString - public Assignment getEContainingFeatureURIAssignment_6() { return cEContainingFeatureURIAssignment_6; } - - //EString - public RuleCall getEContainingFeatureURIEStringParserRuleCall_6_0() { return cEContainingFeatureURIEStringParserRuleCall_6_0; } - - //("usingWidget" propertiesEditionElementURI=EString)? - public Group getGroup_7() { return cGroup_7; } - - //"usingWidget" - public Keyword getUsingWidgetKeyword_7_0() { return cUsingWidgetKeyword_7_0; } - - //propertiesEditionElementURI=EString - public Assignment getPropertiesEditionElementURIAssignment_7_1() { return cPropertiesEditionElementURIAssignment_7_1; } - - //EString - public RuleCall getPropertiesEditionElementURIEStringParserRuleCall_7_1_0() { return cPropertiesEditionElementURIEStringParserRuleCall_7_1_0; } - } - - public class EStringElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EString"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cSTRINGTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cIDTerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //EString returns ecore::EString: - // STRING | ID; - public ParserRule getRule() { return rule; } - - //STRING | ID - public Alternatives getAlternatives() { return cAlternatives; } - - //STRING - public RuleCall getSTRINGTerminalRuleCall_0() { return cSTRINGTerminalRuleCall_0; } - - //ID - public RuleCall getIDTerminalRuleCall_1() { return cIDTerminalRuleCall_1; } - } - - - private ScenarioElements pScenario; - private ProcessingsElements pProcessings; - private PropertiesViewElements pPropertiesView; - private WizardElements pWizard; - private DetailsElements pDetails; - private SubProcessingsElements pSubProcessings; - private ActionElements pAction; - private EclipseActionElements pEclipseAction; - private CreateProjectElements pCreateProject; - private RemoveProjectElements pRemoveProject; - private ReferenceableObjectElements pReferenceableObject; - private CreateModelElements pCreateModel; - private SaveElements pSave; - private EEFActionElements pEEFAction; - private CheckElements pCheck; - private AddElements pAdd; - private SetAttributeElements pSetAttribute; - private EStringElements pEString; - - private final Grammar grammar; - - private TerminalsGrammarAccess gaTerminals; - - @Inject - public ModelingBotGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { - this.grammar = internalFindGrammar(grammarProvider); - this.gaTerminals = gaTerminals; - } - - protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { - Grammar grammar = grammarProvider.getGrammar(this); - while (grammar != null) { - if ("org.eclipse.emf.eef.ModelingBot".equals(grammar.getName())) { - return grammar; - } - List<Grammar> grammars = grammar.getUsedGrammars(); - if (!grammars.isEmpty()) { - grammar = grammars.iterator().next(); - } else { - return null; - } - } - return grammar; - } - - - public Grammar getGrammar() { - return grammar; - } - - - public TerminalsGrammarAccess getTerminalsGrammarAccess() { - return gaTerminals; - } - - - //Scenario returns mbot::Scenario: - // "scenario" name=EString "{" processings+=Processings* "}"; - public ScenarioElements getScenarioAccess() { - return (pScenario != null) ? pScenario : (pScenario = new ScenarioElements()); - } - - public ParserRule getScenarioRule() { - return getScenarioAccess().getRule(); - } - - //Processings returns mbot::Processing: - // Details | Wizard | PropertiesView | Action; - public ProcessingsElements getProcessingsAccess() { - return (pProcessings != null) ? pProcessings : (pProcessings = new ProcessingsElements()); - } - - public ParserRule getProcessingsRule() { - return getProcessingsAccess().getRule(); - } - - //PropertiesView returns mbot::PropertiesView: - // "propertiesView" name=EString? "{" processings+=SubProcessings* "}"; - public PropertiesViewElements getPropertiesViewAccess() { - return (pPropertiesView != null) ? pPropertiesView : (pPropertiesView = new PropertiesViewElements()); - } - - public ParserRule getPropertiesViewRule() { - return getPropertiesViewAccess().getRule(); - } - - //Wizard returns mbot::Wizard: - // "wizard" name=EString? "{" processings+=SubProcessings* "}"; - public WizardElements getWizardAccess() { - return (pWizard != null) ? pWizard : (pWizard = new WizardElements()); - } - - public ParserRule getWizardRule() { - return getWizardAccess().getRule(); - } - - //Details returns mbot::DetailsPage: - // "detailsPage" name=EString? "{" processings+=SubProcessings* "}"; - public DetailsElements getDetailsAccess() { - return (pDetails != null) ? pDetails : (pDetails = new DetailsElements()); - } - - public ParserRule getDetailsRule() { - return getDetailsAccess().getRule(); - } - - //SubProcessings returns mbot::Processing: - // Wizard | Details | PropertiesView | Action; - public SubProcessingsElements getSubProcessingsAccess() { - return (pSubProcessings != null) ? pSubProcessings : (pSubProcessings = new SubProcessingsElements()); - } - - public ParserRule getSubProcessingsRule() { - return getSubProcessingsAccess().getRule(); - } - - //Action returns mbot::Action: - // EclipseAction | EEFAction; - public ActionElements getActionAccess() { - return (pAction != null) ? pAction : (pAction = new ActionElements()); - } - - public ParserRule getActionRule() { - return getActionAccess().getRule(); - } - - //EclipseAction returns EclipseActions::EclipseAction: - // CreateProject | CreateModel | Save | RemoveProject; - public EclipseActionElements getEclipseActionAccess() { - return (pEclipseAction != null) ? pEclipseAction : (pEclipseAction = new EclipseActionElements()); - } - - public ParserRule getEclipseActionRule() { - return getEclipseActionAccess().getRule(); - } - - //CreateProject returns EclipseActions::CreateProject: - // "createProject" projectName=EString; - public CreateProjectElements getCreateProjectAccess() { - return (pCreateProject != null) ? pCreateProject : (pCreateProject = new CreateProjectElements()); - } - - public ParserRule getCreateProjectRule() { - return getCreateProjectAccess().getRule(); - } - - //RemoveProject returns EclipseActions::RemoveProject: - // "deleteProject" projectName=EString; - public RemoveProjectElements getRemoveProjectAccess() { - return (pRemoveProject != null) ? pRemoveProject : (pRemoveProject = new RemoveProjectElements()); - } - - public ParserRule getRemoveProjectRule() { - return getRemoveProjectAccess().getRule(); - } - - //ReferenceableObject returns EEFExtended::ReferenceableObject: - // CreateModel | Add; - public ReferenceableObjectElements getReferenceableObjectAccess() { - return (pReferenceableObject != null) ? pReferenceableObject : (pReferenceableObject = new ReferenceableObjectElements()); - } - - public ParserRule getReferenceableObjectRule() { - return getReferenceableObjectAccess().getRule(); - } - - //CreateModel returns EclipseActions::CreateModel: - // "createObject" referenceName=ID ":" rootURI=EString "inResource" modelName=EString "at" path=EString; - public CreateModelElements getCreateModelAccess() { - return (pCreateModel != null) ? pCreateModel : (pCreateModel = new CreateModelElements()); - } - - public ParserRule getCreateModelRule() { - return getCreateModelAccess().getRule(); - } - - //Save returns EclipseActions::Save: - // "save" {EclipseActions::Save}; - public SaveElements getSaveAccess() { - return (pSave != null) ? pSave : (pSave = new SaveElements()); - } - - public ParserRule getSaveRule() { - return getSaveAccess().getRule(); - } - - //EEFAction returns EEFActions::EEFAction: - // Check | Add | SetAttribute; - public EEFActionElements getEEFActionAccess() { - return (pEEFAction != null) ? pEEFAction : (pEEFAction = new EEFActionElements()); - } - - public ParserRule getEEFActionRule() { - return getEEFActionAccess().getRule(); - } - - //Check returns EEFActions::Check: - // "check!" {EEFActions::Check}; - public CheckElements getCheckAccess() { - return (pCheck != null) ? pCheck : (pCheck = new CheckElements()); - } - - public ParserRule getCheckRule() { - return getCheckAccess().getRule(); - } - - //Add returns EEFActions::Add: - // "createObject" referenceName=ID ":" typeURI=EString "inElement" referenceableObject=[EEFExtended::ReferenceableObject] - // "inFeature" eContainingFeatureURI=EString; - public AddElements getAddAccess() { - return (pAdd != null) ? pAdd : (pAdd = new AddElements()); - } - - public ParserRule getAddRule() { - return getAddAccess().getRule(); - } - - //SetAttribute returns EEFActions::SetAttribute: - // "set" referenceableObject=[EEFExtended::ReferenceableObject] "values" values+=EString ("," values+=EString)* - // "inFeature" eContainingFeatureURI=EString ("usingWidget" propertiesEditionElementURI=EString)?; - public SetAttributeElements getSetAttributeAccess() { - return (pSetAttribute != null) ? pSetAttribute : (pSetAttribute = new SetAttributeElements()); - } - - public ParserRule getSetAttributeRule() { - return getSetAttributeAccess().getRule(); - } - - //EString returns ecore::EString: - // STRING | ID; - public EStringElements getEStringAccess() { - return (pEString != null) ? pEString : (pEString = new EStringElements()); - } - - public ParserRule getEStringRule() { - return getEStringAccess().getRule(); - } - - //terminal ID: - // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*; - public TerminalRule getIDRule() { - return gaTerminals.getIDRule(); - } - - //terminal INT returns ecore::EInt: - // "0".."9"+; - public TerminalRule getINTRule() { - return gaTerminals.getINTRule(); - } - - //terminal STRING: - // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | - // "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'"; - public TerminalRule getSTRINGRule() { - return gaTerminals.getSTRINGRule(); - } - - //terminal ML_COMMENT: - // "/ *"->"* /"; - public TerminalRule getML_COMMENTRule() { - return gaTerminals.getML_COMMENTRule(); - } - - //terminal SL_COMMENT: - // "//" !("\n" | "\r")* ("\r"? "\n")?; - public TerminalRule getSL_COMMENTRule() { - return gaTerminals.getSL_COMMENTRule(); - } - - //terminal WS: - // (" " | "\t" | "\r" | "\n")+; - public TerminalRule getWSRule() { - return gaTerminals.getWSRule(); - } - - //terminal ANY_OTHER: - // .; - public TerminalRule getANY_OTHERRule() { - return gaTerminals.getANY_OTHERRule(); - } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/validation/AbstractModelingBotJavaValidator.java b/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/validation/AbstractModelingBotJavaValidator.java deleted file mode 100644 index 90cf34b18..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src-gen/org/eclipse/emf/eef/validation/AbstractModelingBotJavaValidator.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.eclipse.emf.eef.validation; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.validation.AbstractDeclarativeValidator; - -public class AbstractModelingBotJavaValidator extends AbstractDeclarativeValidator { - - @Override - protected List<EPackage> getEPackages() { - List<EPackage> result = new ArrayList<EPackage>(); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/emf/eef/mbot/1.0.0")); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/emf/eef/test/EclipseActions/1.0.0")); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/emf/eef/extended/editor/1.0.0")); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/emf/eef/test/EEFActions/1.0.0")); - return result; - } - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/GenerateModelingBotLanguage.mwe2 b/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/GenerateModelingBotLanguage.mwe2 deleted file mode 100644 index 850288da5..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/GenerateModelingBotLanguage.mwe2 +++ /dev/null @@ -1,118 +0,0 @@ -module org.eclipse.emf.ModelingBotLanguage
-
-import org.eclipse.emf.mwe.utils.*
-import org.eclipse.xtext.generator.*
-import org.eclipse.xtext.ui.generator.*
-
-var grammarURI = "classpath:/org/eclipse/emf/ModelingBotLanguage.xtext"
-var file.extensions = "modelingbot"
-var projectName = "org.eclipse.emf.modelingbot.xtext"
-var runtimeProject = "../${projectName}"
-
-Workflow {
- bean = StandaloneSetup {
- scanClassPath = true
- platformUri = "${runtimeProject}/.."
- registerGeneratedEPackage = "org.eclipse.emf.eef.modelingBot.EclipseActions.EclipseActionsPackage"
- registerGeneratedEPackage = "org.eclipse.emf.eef.modelingBot.EEFActions.EEFActionsPackage"
- registerGeneratedEPackage = "org.eclipse.emf.eef.modelingBot.ModelingBotPackage"
- // registerGenModelFile = "platform:/resource/org.eclipse.emf.eef.modelingbot/model/mbot.genmodel"
-
- }
-
- component = DirectoryCleaner {
- directory = "${runtimeProject}/src-gen"
- }
-
- component = DirectoryCleaner {
- directory = "${runtimeProject}.ui/src-gen"
- }
-
- component = Generator {
- pathRtProject = runtimeProject
- pathUiProject = "${runtimeProject}.ui"
- projectNameRt = projectName
- projectNameUi = "${projectName}.ui"
- language = {
- uri = grammarURI
- fileExtensions = file.extensions
-
- // Java API to access grammar elements (required by several other fragments)
- fragment = grammarAccess.GrammarAccessFragment {}
-
- // generates Java API for the generated EPackages
- // fragment = ecore.EcoreGeneratorFragment {}
-
- // the serialization component
- fragment = parseTreeConstructor.ParseTreeConstructorFragment {}
-
- // a custom ResourceFactory for use with EMF
- fragment = resourceFactory.ResourceFactoryFragment {
- fileExtensions = file.extensions
- }
-
- // the Antlr parser
- fragment = parser.antlr.XtextAntlrGeneratorFragment {
- options = {
- classSplitting = true
- }
- }
-
- // the Ecore2Xtext specific terminal converter
- fragment = ecore2xtext.Ecore2XtextValueConverterServiceFragment {}
-
- // java-based API for validation
- fragment = validation.JavaValidatorFragment {
- // composedCheck = "org.eclipse.xtext.validation.ImportUriValidator"
- // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
- }
-
- // scoping and exporting API
- fragment = scoping.ImportURIScopingFragment {}
- fragment = exporting.SimpleNamesFragment {}
-
- // scoping and exporting API
-
- // fragment = scoping.ImportNamespacesScopingFragment {}
- // fragment = exporting.QualifiedNamesFragment {}
-
-
- // formatter API
- fragment = ecore2xtext.FormatterFragment {}
-
- // labeling API
- fragment = labeling.LabelProviderFragment {}
-
- // outline API
- fragment = outline.OutlineTreeProviderFragment {}
- fragment = outline.QuickOutlineFragment {}
-
- // java-based API for content assistance
- fragment = contentAssist.JavaBasedContentAssistFragment {}
-
- // antlr parser generator tailored for content assist
- fragment = parser.antlr.XtextAntlrUiGeneratorFragment {
- options = {
- classSplitting = true
- }
- }
-
- // provides a compare view
- fragment = compare.CompareFragment {
- fileExtensions = file.extensions
- }
-
- fragment = builder.BuilderIntegrationFragment {}
-
- // project wizard (optional)
-
- // fragment = projectWizard.SimpleProjectWizardFragment {
- // generatorProjectName = "${projectName}.generator"
- // modelFileExtension = file.extensions
- // }
-
- // quickfix API
- fragment = quickfix.QuickfixProviderFragment {}
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/ModelingBotLanguage.xtext b/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/ModelingBotLanguage.xtext deleted file mode 100644 index 5fc09629d..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/ModelingBotLanguage.xtext +++ /dev/null @@ -1,95 +0,0 @@ -grammar org.eclipse.emf.eef.ModelingBot with org.eclipse.xtext.common.Terminals - -import "http://www.eclipse.org/emf/2002/Ecore" as ecore - -import "http://www.eclipse.org/emf/eef/mbot/1.0.0" as mbot -import "http://www.eclipse.org/emf/eef/test/EclipseActions/1.0.0" as EclipseActions -import "http://www.eclipse.org/emf/eef/test/EEFActions/1.0.0" as EEFActions -import "http://www.eclipse.org/emf/eef/extended/editor/1.0.0" as EEFExtended - -Scenario returns mbot::Scenario: - 'scenario' name=EString '{' - processings+=Processings* - '}'; - -Processings returns mbot::Processing: - Details | Wizard | PropertiesView | Action -; - -PropertiesView returns mbot::PropertiesView: - 'propertiesView' (name=EString)? '{' - processings+=SubProcessings* - '}' -; - -Wizard returns mbot::Wizard: - 'wizard' (name=EString)? '{' - processings+=SubProcessings* - '}' -; - - -Details returns mbot::DetailsPage: - 'detailsPage' (name=EString)? '{' - processings+=SubProcessings* - '}' -; - - -SubProcessings returns mbot::Processing: - Wizard | Details | PropertiesView | Action -; - -Action returns mbot::Action: - EclipseAction | EEFAction -; - -EclipseAction returns EclipseActions::EclipseAction: - CreateProject | CreateModel | Save | RemoveProject -; - -CreateProject returns EclipseActions::CreateProject: - 'createProject' (projectName=EString) -; - -RemoveProject returns EclipseActions::RemoveProject: - 'deleteProject' (projectName=EString) -; - -ReferenceableObject returns EEFExtended::ReferenceableObject: - CreateModel | Add -; - -CreateModel returns EclipseActions::CreateModel: - 'createObject' referenceName=ID ':' rootURI=EString - 'inResource' modelName=EString - 'at' path=EString -; - -Save returns EclipseActions::Save: - 'save' {EclipseActions::Save} -; - -EEFAction returns EEFActions::EEFAction: - Check | Add | SetAttribute -; - -Check returns EEFActions::Check: - 'check!' {EEFActions::Check} -; - -Add returns EEFActions::Add: - 'createObject' referenceName=ID ':' typeURI=EString - 'inElement' referenceableObject=[EEFExtended::ReferenceableObject] - 'inFeature' eContainingFeatureURI=EString -; - -SetAttribute returns EEFActions::SetAttribute: - 'set' referenceableObject=[EEFExtended::ReferenceableObject] - 'values' (values+=EString)("," values+=EString)* - 'inFeature' eContainingFeatureURI=EString - ('usingWidget' propertiesEditionElementURI=EString)? -; - -EString returns ecore::EString: - STRING | ID; diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/ModelingBotRuntimeModule.java b/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/ModelingBotRuntimeModule.java deleted file mode 100644 index cd9c57880..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/ModelingBotRuntimeModule.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.emf.eef; - -import org.eclipse.emf.eef.naming.ModelingBotQualifiedNameProvider; -import org.eclipse.xtext.naming.IQualifiedNameProvider; - -/** - * Use this class to register components to be used at runtime / without the Equinox extension registry. - */ -public class ModelingBotRuntimeModule extends org.eclipse.emf.eef.AbstractModelingBotRuntimeModule { - - @Override - public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() { - return ModelingBotQualifiedNameProvider.class; - } - - - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/ModelingBotStandaloneSetup.java b/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/ModelingBotStandaloneSetup.java deleted file mode 100644 index 9fb2717f5..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/ModelingBotStandaloneSetup.java +++ /dev/null @@ -1,16 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef; - -/** - * Initialization support for running Xtext languages - * without equinox extension registry - */ -public class ModelingBotStandaloneSetup extends ModelingBotStandaloneSetupGenerated{ - - public static void doSetup() { - new ModelingBotStandaloneSetup().createInjectorAndDoEMFRegistration(); - } -} - diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/formatting/ModelingBotFormatter.java b/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/formatting/ModelingBotFormatter.java deleted file mode 100644 index 1c94f2a63..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/formatting/ModelingBotFormatter.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.emf.eef.formatting; - -import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter; -import org.eclipse.xtext.formatting.impl.FormattingConfig; -import org.eclipse.xtext.Keyword; -import org.eclipse.xtext.util.Pair; - -/** - * This class contains custom formatting description. - * - * see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#formatting - * on how and when to use it - * - * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example - */ -public class ModelingBotFormatter extends AbstractDeclarativeFormatter { - - @Override - protected void configureFormatting(FormattingConfig c) { - org.eclipse.emf.eef.services.ModelingBotGrammarAccess f = (org.eclipse.emf.eef.services.ModelingBotGrammarAccess) getGrammarAccess(); - for(Pair<Keyword, Keyword> pair: f.findKeywordPairs("{", "}")) { - c.setIndentation(pair.getFirst(), pair.getSecond()); - c.setLinewrap(1).after(pair.getFirst()); - c.setLinewrap(1).before(pair.getSecond()); - c.setLinewrap(1).after(pair.getSecond()); - } - for(Keyword comma: f.findKeywords(",")) { - c.setNoLinewrap().before(comma); - c.setNoSpace().before(comma); - c.setLinewrap().after(comma); - } - c.setLinewrap(0, 1, 2).before(f.getSL_COMMENTRule()); - c.setLinewrap(0, 1, 2).before(f.getML_COMMENTRule()); - c.setLinewrap(0, 1, 1).after(f.getML_COMMENTRule()); - } -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/naming/ModelingBotQualifiedNameProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/naming/ModelingBotQualifiedNameProvider.java deleted file mode 100644 index 3d45ccd50..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/naming/ModelingBotQualifiedNameProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -package org.eclipse.emf.eef.naming; - -import org.eclipse.emf.eef.extended.editor.ReferenceableObject; -import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; -import org.eclipse.xtext.naming.QualifiedName; - -public class ModelingBotQualifiedNameProvider extends DefaultDeclarativeQualifiedNameProvider { - - protected QualifiedName qualifiedName(ReferenceableObject ele) { - return getConverter().toQualifiedName(ele.getReferenceName()); - } - - - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/scoping/ModelingBotScopeProvider.java b/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/scoping/ModelingBotScopeProvider.java deleted file mode 100644 index 1aa230021..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/scoping/ModelingBotScopeProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * generated by Xtext - */ -package org.eclipse.emf.eef.scoping; - -/** - * This class contains custom scoping description. - * - * see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping - * on how and when to use it - * - */ -public class ModelingBotScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider { - -} diff --git a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/validation/ModelingBotJavaValidator.java b/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/validation/ModelingBotJavaValidator.java deleted file mode 100644 index 913e91496..000000000 --- a/plugins/org.eclipse.emf.modelingbot.xtext/src/org/eclipse/emf/eef/validation/ModelingBotJavaValidator.java +++ /dev/null @@ -1,19 +0,0 @@ -/* -* generated by Xtext -*/ -package org.eclipse.emf.eef.validation; - -/** - * Custom validation rules. - * - * see http://www.eclipse.org/Xtext/documentation.html#validation - */ -public class ModelingBotJavaValidator extends org.eclipse.emf.eef.validation.AbstractModelingBotJavaValidator { - -// @Check -// public void checkGreetingStartsWithCapital(Greeting greeting) { -// if (!Character.isUpperCase(greeting.getName().charAt(0))) { -// warning("Name should start with a capital", MyDslPackage.Literals.GREETING__NAME); -// } -// } -} diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/.project b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/.project deleted file mode 100644 index 5596dbc08..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.mylyn.docs.intent.bridge.modelingbot</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 44217f8c0..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/META-INF/MANIFEST.MF b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/META-INF/MANIFEST.MF deleted file mode 100644 index dc45fc23b..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/META-INF/MANIFEST.MF +++ /dev/null @@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Modelingbot -Bundle-SymbolicName: org.eclipse.mylyn.docs.intent.bridge.modelingbot;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Require-Bundle: org.eclipse.mylyn.docs.intent.core;bundle-version="[0.8.0,0.9.0)", - org.eclipse.mylyn.docs.intent.collab;bundle-version="[0.8.0,0.9.0)", - org.eclipse.mylyn.docs.intent.collab.common;bundle-version="[0.8.0,0.9.0)", - org.eclipse.mylyn.docs.intent.client.ui;bundle-version="[0.8.0,0.9.0)", - org.eclipse.emf.eef.modelingbot, - org.eclipse.jface.text, - org.eclipse.emf.modelingbot.xtext, - org.eclipse.core.resources -Export-Package: org.eclipse.mylyn.docs.intent.bridge.modelingbot, - org.eclipse.mylyn.docs.intent.bridge.modelingbot.ui diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/build.properties b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/build.properties deleted file mode 100644 index e9863e281..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/build.properties +++ /dev/null @@ -1,5 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.xml diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/plugin.xml b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/plugin.xml deleted file mode 100644 index 984b4d13f..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/plugin.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<plugin> - <extension - point="org.eclipse.mylyn.docs.intent.collab.common.intentresourceinitializer"> - <IntentResourceInitializer - class="org.eclipse.mylyn.docs.intent.bridge.modelingbot.ModelingBotResourceInitializer" - file_extension="modelingbot"> - </IntentResourceInitializer> - </extension> - <extension - point="org.eclipse.mylyn.docs.intent.client.ui.quickfixprovider"> - <IntentQuickFixProvider - class="org.eclipse.mylyn.docs.intent.bridge.modelingbot.ui.ModelingBotQuickFixProvider"> - </IntentQuickFixProvider> - </extension> - <extension - point="org.eclipse.mylyn.docs.intent.client.ui.editorrendererextension"> - <EditorRendererExtension - class="org.eclipse.mylyn.docs.intent.bridge.modelingbot.ui.ModelingBotEditorRenderedExtension" - priority="2"> - </EditorRendererExtension> - </extension> - -</plugin> diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/pom.xml b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/pom.xml deleted file mode 100644 index 1ff382d1f..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright (c) 2011 Obeo. - All rights reserved. This program and the accompanying materials - are made available under the terms of the Eclipse Public License v1.0 - which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.html - - Contributors: - Obeo - initial creator - --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.eclipse.emf</groupId> - <artifactId>org.eclipse.emf.eef.releng.bridge.xtext-intent.parent</artifactId> - <relativePath>../../releng/org.eclipse.emf.eef.releng.parent/bridges/xtext-intent</relativePath> - <version>1.3.0-SNAPSHOT</version> - </parent> - - <artifactId>org.eclipse.mylyn.docs.intent.bridge.modelingbot</artifactId> - <packaging>eclipse-plugin</packaging> - - <name>Intent Bridge for ModelingBot tooling</name> - -</project> diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ModelingBotResourceInitializer.java b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ModelingBotResourceInitializer.java deleted file mode 100644 index 06cea5639..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ModelingBotResourceInitializer.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 2011 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.mylyn.docs.intent.bridge.modelingbot; - -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.eef.modelingBot.ModelingBotFactory; -import org.eclipse.emf.eef.modelingBot.Scenario; -import org.eclipse.mylyn.docs.intent.collab.common.uri.IIntentResourceInitializer; - -/** - * An {@link IIntentResourceInitializer} that create an empty {@link Scenario} for empty modelingbot - * resources. - * - * @author <a href="mailto:alex.lagarde@obeo.fr">Alex Lagarde</a> - */ -public class ModelingBotResourceInitializer implements IIntentResourceInitializer { - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.collab.common.uri.IIntentResourceInitializer#getInitialContent(org.eclipse.emf.common.util.URI) - */ - public EObject getInitialContent(URI emptyResourceURI) { - // Create a Scenario - Scenario scenario = ModelingBotFactory.eINSTANCE.createScenario(); - scenario.setName(emptyResourceURI.trimFileExtension().lastSegment()); - return scenario; - } - -} diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/CreateJavaTestFromModelingBotQuickFix.java b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/CreateJavaTestFromModelingBotQuickFix.java deleted file mode 100644 index 32930e108..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/CreateJavaTestFromModelingBotQuickFix.java +++ /dev/null @@ -1,306 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 2011 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.mylyn.docs.intent.bridge.modelingbot.ui; - -import com.google.common.collect.Iterables; -import com.google.common.collect.Lists; -import com.google.common.collect.Sets; - -import java.io.BufferedReader; -import java.io.ByteArrayInputStream; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IProject; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.NullProgressMonitor; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.eef.modelingBot.ModelingBot; -import org.eclipse.emf.eef.modelingBot.Scenario; -import org.eclipse.emf.eef.modelingBot.validation.ModelingBotValidationUtils; -import org.eclipse.mylyn.docs.intent.client.ui.editor.IntentEditorDocument; -import org.eclipse.mylyn.docs.intent.client.ui.editor.annotation.IntentAnnotation; -import org.eclipse.mylyn.docs.intent.client.ui.editor.quickfix.AbstractIntentFix; -import org.eclipse.mylyn.docs.intent.client.ui.logger.IntentUiLogger; -import org.eclipse.mylyn.docs.intent.collab.handlers.adapters.IntentCommand; -import org.eclipse.mylyn.docs.intent.collab.handlers.adapters.RepositoryAdapter; -import org.eclipse.mylyn.docs.intent.core.modelingunit.ExternalContentReference; -import org.eclipse.mylyn.docs.intent.core.modelingunit.ModelingUnit; -import org.eclipse.mylyn.docs.intent.core.modelingunit.ModelingUnitFactory; -import org.eclipse.swt.graphics.Image; - -/** - * @author <a href="mailto:alex.lagarde@obeo.fr">Alex Lagarde</a> - */ -public class CreateJavaTestFromModelingBotQuickFix extends AbstractIntentFix { - - /** - * Default constructor. - * - * @param annotation - */ - public CreateJavaTestFromModelingBotQuickFix(IntentAnnotation annotation) { - super(annotation); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.quickfix.AbstractIntentFix#applyFix(org.eclipse.mylyn.docs.intent.collab.handlers.adapters.RepositoryAdapter, - * org.eclipse.mylyn.docs.intent.client.ui.editor.IntentEditorDocument) - */ - @Override - protected void applyFix(RepositoryAdapter repositoryAdapter, IntentEditorDocument document) { - if (syncAnnotation.getCompilationStatus().getTarget() instanceof ExternalContentReference) { - // Step 1: getting scenarios from currently focused instruction - final ExternalContentReference instruction = (ExternalContentReference)syncAnnotation - .getCompilationStatus().getTarget(); - Iterable<Scenario> scenarios = Sets.newLinkedHashSet(); - if (instruction.getExternalContent() instanceof ModelingBot) { - scenarios = Iterables.filter(((ModelingBot)instruction.getExternalContent()).getSequences(), - Scenario.class); - } else if (instruction.getExternalContent() instanceof Scenario) - scenarios = Lists.newArrayList((Scenario)instruction.getExternalContent()); - - // Step 2: generate junit tests for each scenario - final Collection<String> createdTestsPath = Sets.newLinkedHashSet(); - for (Scenario scenario : scenarios) { - createdTestsPath.addAll(createJUnitTestForScenario(instruction, scenario)); - } - - // Step 3: generated @ref for each created test - if (scenarios.iterator().hasNext()) { - repositoryAdapter.execute(new IntentCommand() { - - public void execute() { - if (instruction.eContainer() instanceof ModelingUnit) { - ModelingUnit modelingUnit = (ModelingUnit)instruction.eContainer(); - for (String createdTestPath : createdTestsPath) { - ExternalContentReference testReferenceInstruction = ModelingUnitFactory.eINSTANCE - .createExternalContentReference(); - testReferenceInstruction.setUri(createdTestPath); - modelingUnit.getInstructions().add(testReferenceInstruction); - } - } - } - }); - } - document.reloadFromAST(); - } - } - - /** - * Creates the test file allowing to test the given {@link Scenario} - * - * @param scenario - * the {@link Scenario} to test - * @return the pathes of the created tests - */ - private Collection<? extends String> createJUnitTestForScenario(ExternalContentReference instruction, - Scenario scenario) { - Collection<String> createdTestPath = Sets.newLinkedHashSet(); - // Step 1: Create the corresponding java test file - IProject project = ResourcesPlugin.getWorkspace().getRoot() - .getProject(ModelingBotValidationUtils.getProjectName(EcoreUtil.getURI(scenario))); - String expectedTestPath = ModelingBotValidationUtils.getExpectedPath(project, scenario); - String testSuitePath = "src/" + project.getName().replace(".", "/") + "/ScenariosTestSuite.java"; - File testFile = new File(ResourcesPlugin.getWorkspace().getRoot().getLocation() + "/" - + project.getName() + "/" + expectedTestPath); - File testSuiteFile = new File(ResourcesPlugin.getWorkspace().getRoot().getLocation() + "/" - + project.getName() + "/" + testSuitePath); - boolean fileWasCreated = false; - Throwable cause = null; - if (!testFile.exists()) { - try { - ArrayList<File> parentFiles = Lists.newArrayList(); - File parentFile = testFile.getParentFile(); - while (parentFile != null && !parentFile.exists()) { - parentFiles.add(0, parentFile); - parentFile = parentFile.getParentFile(); - } - for (File parentFileToCreate : parentFiles) { - parentFileToCreate.mkdir(); - } - if (testFile.createNewFile()) { - project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()); - IFile iFile = project.getFile(expectedTestPath); - - // Step 2: set test file content - String javaFileContent = getScenarioTestFileContent(scenario, - URI.createURI(instruction.getUri().toString()), expectedTestPath); - iFile.setContents(new ByteArrayInputStream(javaFileContent.getBytes()), true, true, - new NullProgressMonitor()); - fileWasCreated = true; - createdTestPath.add(project.getName() + "/" + expectedTestPath); - } - - // Step 3: create test suite if needed - if (!testSuiteFile.exists()) { - if (testSuiteFile.createNewFile()) { - project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()); - IFile iFile = project.getFile(testSuitePath); - String testSuiteContent = getTestSuiteFileContent(testSuitePath); - iFile.setContents(new ByteArrayInputStream(testSuiteContent.getBytes()), true, true, - new NullProgressMonitor()); - createdTestPath.add(project.getName() + "/" + expectedTestPath); - } - } - - // Step 4: add test to test suite - addTestToTestSuite(project, testSuitePath, expectedTestPath); - } catch (IOException e) { - cause = e; - } catch (CoreException e) { - cause = e; - } - } - if (!fileWasCreated) { - IntentUiLogger.logError("Could not create the java test corresponding to the new scenario " - + scenario.getName() + ".", cause); - } - return createdTestPath; - } - - /** - * Returns the content of the test file allowing to test the given {@link Scenario}. - * - * @param scenario - * the {@link Scenario} to test - * @param intentURI - * the intent {@link URI} of the scenario - * @param filePath - * the filePath - * @return the content of the test file allowing to test the given {@link Scenario} - */ - private String getScenarioTestFileContent(Scenario scenario, URI intentURI, String filePath) { - String packageName = filePath.replace("src/", "").replace(".java", "").replace("/", "."); - packageName = packageName.substring(0, packageName.lastIndexOf(".")).toLowerCase(); - String className = scenario.getName().replace(" ", ""); - className = className.substring(0, 1).toUpperCase() + className.substring(1) + "Test"; - StringBuilder content = new StringBuilder(); - - content.append("package " + packageName + ";"); - content.append("\n/**"); - content.append("\n* Tests the '" + scenario.getName() + "' Scenario."); - content.append("\n*/"); - content.append("\npublic class " + className - + " extends org.eclipse.emf.eef.modelingBot.testcase.AbstractComposedModelingBotTestCase {"); - content.append("\n\tpublic void testModelingBot() throws Exception {"); - content.append("\n\t\tbot.runModelingBot(\"" + intentURI.toString() + "\");"); - content.append("\n\t}"); - content.append("\n}"); - return content.toString(); - } - - /** - * Returns the initial content of the scenario test suite. - * - * @param testSuitePath - * the testSuitePath - * @return the initial content of the scenario test suite. - */ - private String getTestSuiteFileContent(String testSuitePath) { - String packageName = testSuitePath.replace("src/", "").replace(".java", "").replace("/", "."); - packageName = packageName.substring(0, packageName.lastIndexOf(".")).toLowerCase(); - String className = "ScenariosTestSuite"; - StringBuilder content = new StringBuilder(); - content.append("package " + packageName + ";"); - content.append("\nimport junit.framework.Test;"); - content.append("\nimport junit.framework.TestCase;"); - content.append("\nimport junit.framework.TestSuite;\n"); - content.append("\n/**"); - content.append("\n* Launches all the defined Scenarios."); - content.append("\n*/"); - content.append("\npublic class " + className + " extends TestCase {"); - content.append("\n\tpublic static Test suite() {"); - content.append("\n\t\tTestSuite suite = new TestSuite(" + className + ".class.getName());"); - content.append("\n\t\treturn suite;"); - content.append("\n\t}"); - content.append("\n}"); - return content.toString(); - } - - /** - * Adds the given test to the given test suite. - * - * @param project - * the {@link IProject} containing the test and test suite - * @param testSuitePath - * the path of the test suite to modify - * @param testToAddPath - * the path of the test to add to the test suite - * @throws CoreException - * if issues occur while trying to modify file - * @throws IOException - * if issues occur while trying to modify file - */ - private void addTestToTestSuite(IProject project, String testSuitePath, String testToAddPath) - throws CoreException, IOException { - IFile iFile = project.getFile(testSuitePath); - InputStream in = iFile.getContents(); - InputStreamReader is = new InputStreamReader(in); - StringBuilder sb = new StringBuilder(); - BufferedReader br = new BufferedReader(is); - String read = br.readLine(); - - while (read != null) { - // System.out.println(read); - sb.append("\n" + read); - read = br.readLine(); - } - String createdTestClass = testToAddPath.replace(".java", "").replace("src/", "").replace("/", "."); - String testSuiteContent = sb - .toString() - .replace("return suite;", - "suite.addTestSuite(" + createdTestClass + ".class);\n\t\treturn suite;").trim(); - iFile.setContents(new ByteArrayInputStream(testSuiteContent.getBytes()), true, true, - new NullProgressMonitor()); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.jface.text.contentassist.ICompletionProposal#getDisplayString() - */ - public String getDisplayString() { - return "Generate Junit test for this scenario"; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.quickfix.AbstractIntentFix#getImage() - */ - @Override - public Image getImage() { - // Could be overidden - return super.getImage(); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.quickfix.AbstractIntentFix#getAdditionalProposalInfo() - */ - @Override - public String getAdditionalProposalInfo() { - return "additional infos"; - } - -} diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/ModelingBotEditorRenderedExtension.java b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/ModelingBotEditorRenderedExtension.java deleted file mode 100644 index a8e27568c..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/ModelingBotEditorRenderedExtension.java +++ /dev/null @@ -1,138 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 2011 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.mylyn.docs.intent.bridge.modelingbot.ui; - -import com.google.inject.Guice; -import com.google.inject.Injector; - -import java.util.Collection; -import java.util.LinkedHashSet; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry; -import org.eclipse.emf.eef.ModelingBotRuntimeModule; -import org.eclipse.emf.eef.modelingBot.Scenario; -import org.eclipse.mylyn.docs.intent.client.ui.editor.renderers.IEditorRendererExtension; -import org.eclipse.mylyn.docs.intent.core.modelingunit.ExternalContentReference; -import org.eclipse.swt.SWT; -import org.eclipse.swt.dnd.DropTargetEvent; -import org.eclipse.swt.dnd.Transfer; -import org.eclipse.swt.graphics.GC; -import org.eclipse.swt.graphics.Image; -import org.eclipse.swt.widgets.Display; -import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.parsetree.reconstr.Serializer; - -public class ModelingBotEditorRenderedExtension implements IEditorRendererExtension { - - private Serializer serializer; - - private Injector injector; - - private IGrammarAccess grammarAccess; - - public ModelingBotEditorRenderedExtension() { - - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.renderers.IEditorRendererExtension#isRendererFor(org.eclipse.mylyn.docs.intent.core.modelingunit.ExternalContentReference) - */ - public boolean isRendererFor(ExternalContentReference externalContentReference) { - return externalContentReference.getExternalContent() instanceof Scenario; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.renderers.IEditorRendererExtension#openEditor(org.eclipse.mylyn.docs.intent.core.modelingunit.ExternalContentReference) - */ - public boolean openEditor(ExternalContentReference externalContentReference) { - return false; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.renderers.IEditorRendererExtension#getAdditionalTransfers() - */ - public Collection<Transfer> getAdditionalTransfers() { - return new LinkedHashSet<Transfer>(); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.renderers.IEditorRendererExtension#getEObjectsFromDropTargetEvent(org.eclipse.swt.dnd.DropTargetEvent) - */ - public Collection<? extends EObject> getEObjectsFromDropTargetEvent(DropTargetEvent event) { - return new LinkedHashSet<EObject>(); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.renderers.IEditorRendererExtension#getImage(org.eclipse.mylyn.docs.intent.core.modelingunit.ExternalContentReference) - */ - public Image getImage(ExternalContentReference externalContentReference) { - Image image = null; - if (externalContentReference.getExternalContent() != null && getModelingBotSerializer() != null) { - // Step 1: get the xtext serializer to get the text to display - String text = getModelingBotSerializer().serialize(externalContentReference.getExternalContent()); - // Step 2: initialize image according to text length - Display display = Display.getDefault(); - int fontHeight = new GC(new Image(display, 1, 1)).getFontMetrics().getHeight(); - int imageHeight = fontHeight * ((text.split("\n").length) + 1); - image = new Image(display, 500, imageHeight); - GC gc = new GC(image); - - // Step 3: Render icon - int iconWidth = 5; - IItemLabelProvider labeProvider = (IItemLabelProvider)new ComposedAdapterFactory( - ComposedAdapterFactory.Descriptor.Registry.INSTANCE).adapt( - externalContentReference.getExternalContent(), IItemLabelProvider.class); - if (labeProvider != null) { - Object iconURL = labeProvider.getImage(externalContentReference.getExternalContent()); - Image icon = ExtendedImageRegistry.getInstance().getImage(iconURL); - - if (icon != null) { - gc.drawImage(icon, 0, 5); - iconWidth += icon.getImageData().width + 2; - } - } - - // Step 4: Render text - gc.setForeground(display.getSystemColor(SWT.COLOR_BLACK)); - gc.drawText(text, iconWidth, 5, true); - gc.dispose(); - } - return image; - } - - private Injector getInjector() { - if (this.injector == null) { - this.injector = Guice.createInjector(new ModelingBotRuntimeModule()); - } - return this.injector; - } - - private Serializer getModelingBotSerializer() { - if (this.serializer == null) { - this.serializer = getInjector().getInstance(Serializer.class); - } - return this.serializer; - } - -} diff --git a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/ModelingBotQuickFixProvider.java b/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/ModelingBotQuickFixProvider.java deleted file mode 100644 index 1fbe157a1..000000000 --- a/plugins/org.eclipse.mylyn.docs.intent.bridge.modelingbot/src/org/eclipse/mylyn/docs/intent/bridge/modelingbot/ui/ModelingBotQuickFixProvider.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010, 2011 Obeo. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Obeo - initial API and implementation - *******************************************************************************/ -package org.eclipse.mylyn.docs.intent.bridge.modelingbot.ui; - -import org.eclipse.emf.eef.modelingBot.ModelingBot; -import org.eclipse.emf.eef.modelingBot.Scenario; -import org.eclipse.mylyn.docs.intent.client.ui.editor.annotation.IntentAnnotation; -import org.eclipse.mylyn.docs.intent.client.ui.editor.quickfix.AbstractIntentFix; -import org.eclipse.mylyn.docs.intent.client.ui.editor.quickfix.provider.IntentQuickFixProvider; -import org.eclipse.mylyn.docs.intent.core.modelingunit.ExternalContentReference; - -public class ModelingBotQuickFixProvider implements IntentQuickFixProvider { - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.quickfix.provider.IntentQuickFixProvider#canCreateQuickFix(org.eclipse.mylyn.docs.intent.client.ui.editor.annotation.IntentAnnotation) - */ - public boolean canCreateQuickFix(IntentAnnotation annotation) { - if (annotation.getCompilationStatus().getTarget() instanceof ExternalContentReference) { - ExternalContentReference target = (ExternalContentReference)annotation.getCompilationStatus() - .getTarget(); - return target.getExternalContent() instanceof ModelingBot - || target.getExternalContent() instanceof Scenario; - } - return false; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.mylyn.docs.intent.client.ui.editor.quickfix.provider.IntentQuickFixProvider#createQuickFix(org.eclipse.mylyn.docs.intent.client.ui.editor.annotation.IntentAnnotation) - */ - public AbstractIntentFix createQuickFix(IntentAnnotation annotation) { - return new CreateJavaTestFromModelingBotQuickFix(annotation); - } - -} |