diff options
author | 2021-08-03 18:42:39 +0900 | |
---|---|---|
committer | 2021-08-06 19:32:38 +0900 | |
commit | be4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch) | |
tree | 1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.tool.editor/src-gen/rba/tool/editor/rbaEditorModel/impl/RbaEditorModelFactoryImpl.java | |
parent | 71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (diff) |
Initial commit
Bug-AGL: SPEC-4033
Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'rba.tool.editor/src-gen/rba/tool/editor/rbaEditorModel/impl/RbaEditorModelFactoryImpl.java')
-rw-r--r-- | rba.tool.editor/src-gen/rba/tool/editor/rbaEditorModel/impl/RbaEditorModelFactoryImpl.java | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/rba.tool.editor/src-gen/rba/tool/editor/rbaEditorModel/impl/RbaEditorModelFactoryImpl.java b/rba.tool.editor/src-gen/rba/tool/editor/rbaEditorModel/impl/RbaEditorModelFactoryImpl.java new file mode 100644 index 0000000..3bcb57c --- /dev/null +++ b/rba.tool.editor/src-gen/rba/tool/editor/rbaEditorModel/impl/RbaEditorModelFactoryImpl.java @@ -0,0 +1,143 @@ +/**
+ * generated by Xtext 2.13.0
+ */
+package rba.tool.editor.rbaEditorModel.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import rba.tool.editor.rbaEditorModel.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class RbaEditorModelFactoryImpl extends EFactoryImpl implements RbaEditorModelFactory
+{
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static RbaEditorModelFactory init()
+ {
+ try
+ {
+ RbaEditorModelFactory theRbaEditorModelFactory = (RbaEditorModelFactory)EPackage.Registry.INSTANCE.getEFactory(RbaEditorModelPackage.eNS_URI);
+ if (theRbaEditorModelFactory != null)
+ {
+ return theRbaEditorModelFactory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new RbaEditorModelFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RbaEditorModelFactoryImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ case RbaEditorModelPackage.TOP_LEVEL: return createTopLevel();
+ case RbaEditorModelPackage.IMPORT: return createImport();
+ case RbaEditorModelPackage.CTAG: return createCTag();
+ case RbaEditorModelPackage.MEMBER_FEATURE_REFERENCE: return createMemberFeatureReference();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TopLevel createTopLevel()
+ {
+ TopLevelImpl topLevel = new TopLevelImpl();
+ return topLevel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Import createImport()
+ {
+ ImportImpl import_ = new ImportImpl();
+ return import_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CTag createCTag()
+ {
+ CTagImpl cTag = new CTagImpl();
+ return cTag;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MemberFeatureReference createMemberFeatureReference()
+ {
+ MemberFeatureReferenceImpl memberFeatureReference = new MemberFeatureReferenceImpl();
+ return memberFeatureReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RbaEditorModelPackage getRbaEditorModelPackage()
+ {
+ return (RbaEditorModelPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static RbaEditorModelPackage getPackage()
+ {
+ return RbaEditorModelPackage.eINSTANCE;
+ }
+
+} //RbaEditorModelFactoryImpl
|