Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/emf/org.eclipse.papyrus.infra.emf.types.ui/src-gen/org/eclipse/papyrus/infra/emf/types/ui/advices/values/impl/RuntimeValuesAdviceFactoryImpl.java')
-rw-r--r--plugins/infra/emf/org.eclipse.papyrus.infra.emf.types.ui/src-gen/org/eclipse/papyrus/infra/emf/types/ui/advices/values/impl/RuntimeValuesAdviceFactoryImpl.java106
1 files changed, 106 insertions, 0 deletions
diff --git a/plugins/infra/emf/org.eclipse.papyrus.infra.emf.types.ui/src-gen/org/eclipse/papyrus/infra/emf/types/ui/advices/values/impl/RuntimeValuesAdviceFactoryImpl.java b/plugins/infra/emf/org.eclipse.papyrus.infra.emf.types.ui/src-gen/org/eclipse/papyrus/infra/emf/types/ui/advices/values/impl/RuntimeValuesAdviceFactoryImpl.java
new file mode 100644
index 00000000000..fb8ae968eda
--- /dev/null
+++ b/plugins/infra/emf/org.eclipse.papyrus.infra.emf.types.ui/src-gen/org/eclipse/papyrus/infra/emf/types/ui/advices/values/impl/RuntimeValuesAdviceFactoryImpl.java
@@ -0,0 +1,106 @@
+/**
+ */
+package org.eclipse.papyrus.infra.emf.types.ui.advices.values.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 org.eclipse.papyrus.infra.emf.types.ui.advices.values.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class RuntimeValuesAdviceFactoryImpl extends EFactoryImpl implements RuntimeValuesAdviceFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static RuntimeValuesAdviceFactory init() {
+ try {
+ RuntimeValuesAdviceFactory theRuntimeValuesAdviceFactory = (RuntimeValuesAdviceFactory)EPackage.Registry.INSTANCE.getEFactory(RuntimeValuesAdvicePackage.eNS_URI);
+ if (theRuntimeValuesAdviceFactory != null) {
+ return theRuntimeValuesAdviceFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new RuntimeValuesAdviceFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RuntimeValuesAdviceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case RuntimeValuesAdvicePackage.RUNTIME_VALUES_ADVICE_CONFIGURATION: return createRuntimeValuesAdviceConfiguration();
+ case RuntimeValuesAdvicePackage.VIEW_TO_DISPLAY: return createViewToDisplay();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RuntimeValuesAdviceConfiguration createRuntimeValuesAdviceConfiguration() {
+ RuntimeValuesAdviceConfigurationImpl runtimeValuesAdviceConfiguration = new RuntimeValuesAdviceConfigurationImpl();
+ return runtimeValuesAdviceConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ViewToDisplay createViewToDisplay() {
+ ViewToDisplayImpl viewToDisplay = new ViewToDisplayImpl();
+ return viewToDisplay;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public RuntimeValuesAdvicePackage getRuntimeValuesAdvicePackage() {
+ return (RuntimeValuesAdvicePackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static RuntimeValuesAdvicePackage getPackage() {
+ return RuntimeValuesAdvicePackage.eINSTANCE;
+ }
+
+} //RuntimeValuesAdviceFactoryImpl

Back to the top