Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java')
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java252
1 files changed, 126 insertions, 126 deletions
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java
index 2aa521717f9..36245a2b5aa 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java
@@ -1,126 +1,126 @@
-/*****************************************************************************
- * Copyright (c) 2011, 2013 CEA LIST.
- *
- * 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:
- * CEA LIST - Initial API and implementation
- * Christian W. Damus - add prototype reference to ContextDescriptor (CDO)
- *****************************************************************************/
-package org.eclipse.papyrus.views.properties.runtime.preferences.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.views.properties.runtime.preferences.ContextDescriptor;
-import org.eclipse.papyrus.views.properties.runtime.preferences.Preferences;
-import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesFactory;
-import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class PreferencesFactoryImpl extends EFactoryImpl implements PreferencesFactory {
-
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static PreferencesFactory init() {
- try {
- PreferencesFactory thePreferencesFactory = (PreferencesFactory) EPackage.Registry.INSTANCE.getEFactory(PreferencesPackage.eNS_URI);
- if (thePreferencesFactory != null) {
- return thePreferencesFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new PreferencesFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public PreferencesFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case PreferencesPackage.CONTEXT_DESCRIPTOR:
- return createContextDescriptor();
- case PreferencesPackage.PREFERENCES:
- return createPreferences();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ContextDescriptor createContextDescriptor() {
- ContextDescriptorImpl contextDescriptor = new ContextDescriptorImpl();
- return contextDescriptor;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Preferences createPreferences() {
- PreferencesImpl preferences = new PreferencesImpl();
- return preferences;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public PreferencesPackage getPreferencesPackage() {
- return (PreferencesPackage) getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static PreferencesPackage getPackage() {
- return PreferencesPackage.eINSTANCE;
- }
-
-} // PreferencesFactoryImpl
+/*****************************************************************************
+ * Copyright (c) 2011, 2013 CEA LIST.
+ *
+ * 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:
+ * CEA LIST - Initial API and implementation
+ * Christian W. Damus - add prototype reference to ContextDescriptor (CDO)
+ *****************************************************************************/
+package org.eclipse.papyrus.views.properties.runtime.preferences.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.views.properties.runtime.preferences.ContextDescriptor;
+import org.eclipse.papyrus.views.properties.runtime.preferences.Preferences;
+import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesFactory;
+import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class PreferencesFactoryImpl extends EFactoryImpl implements PreferencesFactory {
+
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static PreferencesFactory init() {
+ try {
+ PreferencesFactory thePreferencesFactory = (PreferencesFactory) EPackage.Registry.INSTANCE.getEFactory(PreferencesPackage.eNS_URI);
+ if (thePreferencesFactory != null) {
+ return thePreferencesFactory;
+ }
+ } catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new PreferencesFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public PreferencesFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case PreferencesPackage.CONTEXT_DESCRIPTOR:
+ return createContextDescriptor();
+ case PreferencesPackage.PREFERENCES:
+ return createPreferences();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public ContextDescriptor createContextDescriptor() {
+ ContextDescriptorImpl contextDescriptor = new ContextDescriptorImpl();
+ return contextDescriptor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Preferences createPreferences() {
+ PreferencesImpl preferences = new PreferencesImpl();
+ return preferences;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public PreferencesPackage getPreferencesPackage() {
+ return (PreferencesPackage) getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static PreferencesPackage getPackage() {
+ return PreferencesPackage.eINSTANCE;
+ }
+
+} // PreferencesFactoryImpl

Back to the top