Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration')
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfiguration.java166
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfigurationFactory.java46
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfigurationPackage.java266
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationFactoryImpl.java99
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationImpl.java392
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationPackageImpl.java236
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationAdapterFactory.java124
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationResourceFactoryImpl.java56
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationResourceImpl.java32
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationSwitch.java114
-rw-r--r--sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationXMLProcessor.java54
11 files changed, 0 insertions, 1585 deletions
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfiguration.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfiguration.java
deleted file mode 100644
index d0456a3a0ef..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfiguration.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Profile;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Profile To Facets Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getProfile <em>Profile</em>}</li>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getBasePackage <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getHeader <em>Header</em>}</li>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getJavaFolder <em>Java Folder</em>}</li>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getModelFolder <em>Model Folder</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage#getProfileToFacetsConfiguration()
- * @model
- * @generated
- */
-public interface ProfileToFacetsConfiguration extends EObject {
- /**
- * Returns the value of the '<em><b>Profile</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Profile</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Profile</em>' reference.
- * @see #setProfile(Profile)
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage#getProfileToFacetsConfiguration_Profile()
- * @model required="true"
- * @generated
- */
- Profile getProfile();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getProfile <em>Profile</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Profile</em>' reference.
- * @see #getProfile()
- * @generated
- */
- void setProfile(Profile value);
-
- /**
- * Returns the value of the '<em><b>Base Package</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Base Package</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Base Package</em>' attribute.
- * @see #setBasePackage(String)
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage#getProfileToFacetsConfiguration_BasePackage()
- * @model required="true"
- * @generated
- */
- String getBasePackage();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getBasePackage <em>Base Package</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Base Package</em>' attribute.
- * @see #getBasePackage()
- * @generated
- */
- void setBasePackage(String value);
-
- /**
- * Returns the value of the '<em><b>Header</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Header</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Header</em>' attribute.
- * @see #setHeader(String)
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage#getProfileToFacetsConfiguration_Header()
- * @model
- * @generated
- */
- String getHeader();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getHeader <em>Header</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Header</em>' attribute.
- * @see #getHeader()
- * @generated
- */
- void setHeader(String value);
-
- /**
- * Returns the value of the '<em><b>Java Folder</b></em>' attribute.
- * The default value is <code>"src-gen"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Java Folder</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Java Folder</em>' attribute.
- * @see #setJavaFolder(String)
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage#getProfileToFacetsConfiguration_JavaFolder()
- * @model default="src-gen" required="true"
- * @generated
- */
- String getJavaFolder();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getJavaFolder <em>Java Folder</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Java Folder</em>' attribute.
- * @see #getJavaFolder()
- * @generated
- */
- void setJavaFolder(String value);
-
- /**
- * Returns the value of the '<em><b>Model Folder</b></em>' attribute.
- * The default value is <code>"resources"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Model Folder</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Model Folder</em>' attribute.
- * @see #setModelFolder(String)
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage#getProfileToFacetsConfiguration_ModelFolder()
- * @model default="resources" required="true"
- * @generated
- */
- String getModelFolder();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getModelFolder <em>Model Folder</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Model Folder</em>' attribute.
- * @see #getModelFolder()
- * @generated
- */
- void setModelFolder(String value);
-
-} // ProfileToFacetsConfiguration
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfigurationFactory.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfigurationFactory.java
deleted file mode 100644
index 206c6a829a8..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfigurationFactory.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage
- * @generated
- */
-public interface ProfileToFacetsConfigurationFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ProfileToFacetsConfigurationFactory eINSTANCE = org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Profile To Facets Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Profile To Facets Configuration</em>'.
- * @generated
- */
- ProfileToFacetsConfiguration createProfileToFacetsConfiguration();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- ProfileToFacetsConfigurationPackage getProfileToFacetsConfigurationPackage();
-
-} //ProfileToFacetsConfigurationFactory
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfigurationPackage.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfigurationPackage.java
deleted file mode 100644
index 80b28db9bcb..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/ProfileToFacetsConfigurationPackage.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationFactory
- * @model kind="package"
- * @generated
- */
-public interface ProfileToFacetsConfigurationPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "profileToFacetsConfiguration";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/Papyrus/profileToFacetsConfiguration";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "profileToFacetsConfiguration";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ProfileToFacetsConfigurationPackage eINSTANCE = org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl <em>Profile To Facets Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationPackageImpl#getProfileToFacetsConfiguration()
- * @generated
- */
- int PROFILE_TO_FACETS_CONFIGURATION = 0;
-
- /**
- * The feature id for the '<em><b>Profile</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROFILE_TO_FACETS_CONFIGURATION__PROFILE = 0;
-
- /**
- * The feature id for the '<em><b>Base Package</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROFILE_TO_FACETS_CONFIGURATION__BASE_PACKAGE = 1;
-
- /**
- * The feature id for the '<em><b>Header</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROFILE_TO_FACETS_CONFIGURATION__HEADER = 2;
-
- /**
- * The feature id for the '<em><b>Java Folder</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROFILE_TO_FACETS_CONFIGURATION__JAVA_FOLDER = 3;
-
- /**
- * The feature id for the '<em><b>Model Folder</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROFILE_TO_FACETS_CONFIGURATION__MODEL_FOLDER = 4;
-
- /**
- * The number of structural features of the '<em>Profile To Facets Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROFILE_TO_FACETS_CONFIGURATION_FEATURE_COUNT = 5;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration <em>Profile To Facets Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Profile To Facets Configuration</em>'.
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration
- * @generated
- */
- EClass getProfileToFacetsConfiguration();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getProfile <em>Profile</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Profile</em>'.
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getProfile()
- * @see #getProfileToFacetsConfiguration()
- * @generated
- */
- EReference getProfileToFacetsConfiguration_Profile();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getBasePackage <em>Base Package</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Base Package</em>'.
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getBasePackage()
- * @see #getProfileToFacetsConfiguration()
- * @generated
- */
- EAttribute getProfileToFacetsConfiguration_BasePackage();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getHeader <em>Header</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Header</em>'.
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getHeader()
- * @see #getProfileToFacetsConfiguration()
- * @generated
- */
- EAttribute getProfileToFacetsConfiguration_Header();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getJavaFolder <em>Java Folder</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Java Folder</em>'.
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getJavaFolder()
- * @see #getProfileToFacetsConfiguration()
- * @generated
- */
- EAttribute getProfileToFacetsConfiguration_JavaFolder();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getModelFolder <em>Model Folder</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Model Folder</em>'.
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration#getModelFolder()
- * @see #getProfileToFacetsConfiguration()
- * @generated
- */
- EAttribute getProfileToFacetsConfiguration_ModelFolder();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- ProfileToFacetsConfigurationFactory getProfileToFacetsConfigurationFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl <em>Profile To Facets Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationPackageImpl#getProfileToFacetsConfiguration()
- * @generated
- */
- EClass PROFILE_TO_FACETS_CONFIGURATION = eINSTANCE.getProfileToFacetsConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Profile</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROFILE_TO_FACETS_CONFIGURATION__PROFILE = eINSTANCE.getProfileToFacetsConfiguration_Profile();
-
- /**
- * The meta object literal for the '<em><b>Base Package</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PROFILE_TO_FACETS_CONFIGURATION__BASE_PACKAGE = eINSTANCE.getProfileToFacetsConfiguration_BasePackage();
-
- /**
- * The meta object literal for the '<em><b>Header</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PROFILE_TO_FACETS_CONFIGURATION__HEADER = eINSTANCE.getProfileToFacetsConfiguration_Header();
-
- /**
- * The meta object literal for the '<em><b>Java Folder</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PROFILE_TO_FACETS_CONFIGURATION__JAVA_FOLDER = eINSTANCE.getProfileToFacetsConfiguration_JavaFolder();
-
- /**
- * The meta object literal for the '<em><b>Model Folder</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PROFILE_TO_FACETS_CONFIGURATION__MODEL_FOLDER = eINSTANCE.getProfileToFacetsConfiguration_ModelFolder();
-
- }
-
-} //ProfileToFacetsConfigurationPackage
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationFactoryImpl.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationFactoryImpl.java
deleted file mode 100644
index 700db1386ab..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationFactoryImpl.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.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.profile.facets.configuration.profileToFacetsConfiguration.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ProfileToFacetsConfigurationFactoryImpl extends EFactoryImpl implements ProfileToFacetsConfigurationFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ProfileToFacetsConfigurationFactory init() {
- try {
- ProfileToFacetsConfigurationFactory theProfileToFacetsConfigurationFactory = (ProfileToFacetsConfigurationFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/Papyrus/profileToFacetsConfiguration");
- if (theProfileToFacetsConfigurationFactory != null) {
- return theProfileToFacetsConfigurationFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ProfileToFacetsConfigurationFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProfileToFacetsConfigurationFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION: return createProfileToFacetsConfiguration();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProfileToFacetsConfiguration createProfileToFacetsConfiguration() {
- ProfileToFacetsConfigurationImpl profileToFacetsConfiguration = new ProfileToFacetsConfigurationImpl();
- return profileToFacetsConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProfileToFacetsConfigurationPackage getProfileToFacetsConfigurationPackage() {
- return (ProfileToFacetsConfigurationPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ProfileToFacetsConfigurationPackage getPackage() {
- return ProfileToFacetsConfigurationPackage.eINSTANCE;
- }
-
-} //ProfileToFacetsConfigurationFactoryImpl
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationImpl.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationImpl.java
deleted file mode 100644
index 52b69fd4a41..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationImpl.java
+++ /dev/null
@@ -1,392 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration;
-import org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage;
-
-import org.eclipse.uml2.uml.Profile;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Profile To Facets Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl#getProfile <em>Profile</em>}</li>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl#getBasePackage <em>Base Package</em>}</li>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl#getHeader <em>Header</em>}</li>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl#getJavaFolder <em>Java Folder</em>}</li>
- * <li>{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl.ProfileToFacetsConfigurationImpl#getModelFolder <em>Model Folder</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ProfileToFacetsConfigurationImpl extends EObjectImpl implements ProfileToFacetsConfiguration {
- /**
- * The cached value of the '{@link #getProfile() <em>Profile</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getProfile()
- * @generated
- * @ordered
- */
- protected Profile profile;
-
- /**
- * The default value of the '{@link #getBasePackage() <em>Base Package</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBasePackage()
- * @generated
- * @ordered
- */
- protected static final String BASE_PACKAGE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBasePackage() <em>Base Package</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBasePackage()
- * @generated
- * @ordered
- */
- protected String basePackage = BASE_PACKAGE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getHeader() <em>Header</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHeader()
- * @generated
- * @ordered
- */
- protected static final String HEADER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getHeader() <em>Header</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHeader()
- * @generated
- * @ordered
- */
- protected String header = HEADER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getJavaFolder() <em>Java Folder</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getJavaFolder()
- * @generated
- * @ordered
- */
- protected static final String JAVA_FOLDER_EDEFAULT = "src-gen";
-
- /**
- * The cached value of the '{@link #getJavaFolder() <em>Java Folder</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getJavaFolder()
- * @generated
- * @ordered
- */
- protected String javaFolder = JAVA_FOLDER_EDEFAULT;
-
- /**
- * The default value of the '{@link #getModelFolder() <em>Model Folder</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getModelFolder()
- * @generated
- * @ordered
- */
- protected static final String MODEL_FOLDER_EDEFAULT = "resources";
-
- /**
- * The cached value of the '{@link #getModelFolder() <em>Model Folder</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getModelFolder()
- * @generated
- * @ordered
- */
- protected String modelFolder = MODEL_FOLDER_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ProfileToFacetsConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ProfileToFacetsConfigurationPackage.Literals.PROFILE_TO_FACETS_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Profile getProfile() {
- if (profile != null && profile.eIsProxy()) {
- InternalEObject oldProfile = (InternalEObject)profile;
- profile = (Profile)eResolveProxy(oldProfile);
- if (profile != oldProfile) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__PROFILE, oldProfile, profile));
- }
- }
- return profile;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Profile basicGetProfile() {
- return profile;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setProfile(Profile newProfile) {
- Profile oldProfile = profile;
- profile = newProfile;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__PROFILE, oldProfile, profile));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getBasePackage() {
- return basePackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBasePackage(String newBasePackage) {
- String oldBasePackage = basePackage;
- basePackage = newBasePackage;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__BASE_PACKAGE, oldBasePackage, basePackage));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getHeader() {
- return header;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setHeader(String newHeader) {
- String oldHeader = header;
- header = newHeader;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__HEADER, oldHeader, header));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getJavaFolder() {
- return javaFolder;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setJavaFolder(String newJavaFolder) {
- String oldJavaFolder = javaFolder;
- javaFolder = newJavaFolder;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__JAVA_FOLDER, oldJavaFolder, javaFolder));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getModelFolder() {
- return modelFolder;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setModelFolder(String newModelFolder) {
- String oldModelFolder = modelFolder;
- modelFolder = newModelFolder;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__MODEL_FOLDER, oldModelFolder, modelFolder));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__PROFILE:
- if (resolve) return getProfile();
- return basicGetProfile();
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__BASE_PACKAGE:
- return getBasePackage();
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__HEADER:
- return getHeader();
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__JAVA_FOLDER:
- return getJavaFolder();
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__MODEL_FOLDER:
- return getModelFolder();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__PROFILE:
- setProfile((Profile)newValue);
- return;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__BASE_PACKAGE:
- setBasePackage((String)newValue);
- return;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__HEADER:
- setHeader((String)newValue);
- return;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__JAVA_FOLDER:
- setJavaFolder((String)newValue);
- return;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__MODEL_FOLDER:
- setModelFolder((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__PROFILE:
- setProfile((Profile)null);
- return;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__BASE_PACKAGE:
- setBasePackage(BASE_PACKAGE_EDEFAULT);
- return;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__HEADER:
- setHeader(HEADER_EDEFAULT);
- return;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__JAVA_FOLDER:
- setJavaFolder(JAVA_FOLDER_EDEFAULT);
- return;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__MODEL_FOLDER:
- setModelFolder(MODEL_FOLDER_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__PROFILE:
- return profile != null;
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__BASE_PACKAGE:
- return BASE_PACKAGE_EDEFAULT == null ? basePackage != null : !BASE_PACKAGE_EDEFAULT.equals(basePackage);
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__HEADER:
- return HEADER_EDEFAULT == null ? header != null : !HEADER_EDEFAULT.equals(header);
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__JAVA_FOLDER:
- return JAVA_FOLDER_EDEFAULT == null ? javaFolder != null : !JAVA_FOLDER_EDEFAULT.equals(javaFolder);
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION__MODEL_FOLDER:
- return MODEL_FOLDER_EDEFAULT == null ? modelFolder != null : !MODEL_FOLDER_EDEFAULT.equals(modelFolder);
- }
- 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(" (basePackage: ");
- result.append(basePackage);
- result.append(", header: ");
- result.append(header);
- result.append(", javaFolder: ");
- result.append(javaFolder);
- result.append(", modelFolder: ");
- result.append(modelFolder);
- result.append(')');
- return result.toString();
- }
-
-} //ProfileToFacetsConfigurationImpl
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationPackageImpl.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationPackageImpl.java
deleted file mode 100644
index f70d0030821..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/impl/ProfileToFacetsConfigurationPackageImpl.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EcorePackage;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration;
-import org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationFactory;
-import org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage;
-
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ProfileToFacetsConfigurationPackageImpl extends EPackageImpl implements ProfileToFacetsConfigurationPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass profileToFacetsConfigurationEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ProfileToFacetsConfigurationPackageImpl() {
- super(eNS_URI, ProfileToFacetsConfigurationFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link ProfileToFacetsConfigurationPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static ProfileToFacetsConfigurationPackage init() {
- if (isInited) return (ProfileToFacetsConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ProfileToFacetsConfigurationPackage.eNS_URI);
-
- // Obtain or create and register package
- ProfileToFacetsConfigurationPackageImpl theProfileToFacetsConfigurationPackage = (ProfileToFacetsConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ProfileToFacetsConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ProfileToFacetsConfigurationPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- UMLPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theProfileToFacetsConfigurationPackage.createPackageContents();
-
- // Initialize created meta-data
- theProfileToFacetsConfigurationPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theProfileToFacetsConfigurationPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(ProfileToFacetsConfigurationPackage.eNS_URI, theProfileToFacetsConfigurationPackage);
- return theProfileToFacetsConfigurationPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getProfileToFacetsConfiguration() {
- return profileToFacetsConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getProfileToFacetsConfiguration_Profile() {
- return (EReference)profileToFacetsConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getProfileToFacetsConfiguration_BasePackage() {
- return (EAttribute)profileToFacetsConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getProfileToFacetsConfiguration_Header() {
- return (EAttribute)profileToFacetsConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getProfileToFacetsConfiguration_JavaFolder() {
- return (EAttribute)profileToFacetsConfigurationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getProfileToFacetsConfiguration_ModelFolder() {
- return (EAttribute)profileToFacetsConfigurationEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProfileToFacetsConfigurationFactory getProfileToFacetsConfigurationFactory() {
- return (ProfileToFacetsConfigurationFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- profileToFacetsConfigurationEClass = createEClass(PROFILE_TO_FACETS_CONFIGURATION);
- createEReference(profileToFacetsConfigurationEClass, PROFILE_TO_FACETS_CONFIGURATION__PROFILE);
- createEAttribute(profileToFacetsConfigurationEClass, PROFILE_TO_FACETS_CONFIGURATION__BASE_PACKAGE);
- createEAttribute(profileToFacetsConfigurationEClass, PROFILE_TO_FACETS_CONFIGURATION__HEADER);
- createEAttribute(profileToFacetsConfigurationEClass, PROFILE_TO_FACETS_CONFIGURATION__JAVA_FOLDER);
- createEAttribute(profileToFacetsConfigurationEClass, PROFILE_TO_FACETS_CONFIGURATION__MODEL_FOLDER);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(profileToFacetsConfigurationEClass, ProfileToFacetsConfiguration.class, "ProfileToFacetsConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getProfileToFacetsConfiguration_Profile(), theUMLPackage.getProfile(), null, "profile", null, 1, 1, ProfileToFacetsConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getProfileToFacetsConfiguration_BasePackage(), ecorePackage.getEString(), "basePackage", null, 1, 1, ProfileToFacetsConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getProfileToFacetsConfiguration_Header(), theEcorePackage.getEString(), "header", null, 0, 1, ProfileToFacetsConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getProfileToFacetsConfiguration_JavaFolder(), ecorePackage.getEString(), "javaFolder", "src-gen", 1, 1, ProfileToFacetsConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getProfileToFacetsConfiguration_ModelFolder(), theEcorePackage.getEString(), "modelFolder", "resources", 1, 1, ProfileToFacetsConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //ProfileToFacetsConfigurationPackageImpl
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationAdapterFactory.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationAdapterFactory.java
deleted file mode 100644
index 433fa0674c3..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationAdapterFactory.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage
- * @generated
- */
-public class ProfileToFacetsConfigurationAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ProfileToFacetsConfigurationPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProfileToFacetsConfigurationAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = ProfileToFacetsConfigurationPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ProfileToFacetsConfigurationSwitch<Adapter> modelSwitch =
- new ProfileToFacetsConfigurationSwitch<Adapter>() {
- @Override
- public Adapter caseProfileToFacetsConfiguration(ProfileToFacetsConfiguration object) {
- return createProfileToFacetsConfigurationAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration <em>Profile To Facets Configuration</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfiguration
- * @generated
- */
- public Adapter createProfileToFacetsConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //ProfileToFacetsConfigurationAdapterFactory
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationResourceFactoryImpl.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationResourceFactoryImpl.java
deleted file mode 100644
index 0123250296b..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.util.ProfileToFacetsConfigurationResourceImpl
- * @generated
- */
-public class ProfileToFacetsConfigurationResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProfileToFacetsConfigurationResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new ProfileToFacetsConfigurationResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //ProfileToFacetsConfigurationResourceFactoryImpl
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationResourceImpl.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationResourceImpl.java
deleted file mode 100644
index 8978b845897..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.util.ProfileToFacetsConfigurationResourceFactoryImpl
- * @generated
- */
-public class ProfileToFacetsConfigurationResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public ProfileToFacetsConfigurationResourceImpl(URI uri) {
- super(uri);
- }
-
-} //ProfileToFacetsConfigurationResourceImpl
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationSwitch.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationSwitch.java
deleted file mode 100644
index 186d6eebcde..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationSwitch.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage
- * @generated
- */
-public class ProfileToFacetsConfigurationSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ProfileToFacetsConfigurationPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProfileToFacetsConfigurationSwitch() {
- if (modelPackage == null) {
- modelPackage = ProfileToFacetsConfigurationPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case ProfileToFacetsConfigurationPackage.PROFILE_TO_FACETS_CONFIGURATION: {
- ProfileToFacetsConfiguration profileToFacetsConfiguration = (ProfileToFacetsConfiguration)theEObject;
- T result = caseProfileToFacetsConfiguration(profileToFacetsConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Profile To Facets Configuration</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Profile To Facets Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseProfileToFacetsConfiguration(ProfileToFacetsConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //ProfileToFacetsConfigurationSwitch
diff --git a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationXMLProcessor.java b/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationXMLProcessor.java
deleted file mode 100644
index 02a5df19cf3..00000000000
--- a/sandbox/org.eclipse.papyrus.profile.facets.configuration/src/org/eclipse/papyrus/profile/facets/configuration/profileToFacetsConfiguration/util/ProfileToFacetsConfigurationXMLProcessor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-import org.eclipse.papyrus.profile.facets.configuration.profileToFacetsConfiguration.ProfileToFacetsConfigurationPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ProfileToFacetsConfigurationXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ProfileToFacetsConfigurationXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- ProfileToFacetsConfigurationPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the ProfileToFacetsConfigurationResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations() {
- if (registrations == null) {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new ProfileToFacetsConfigurationResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new ProfileToFacetsConfigurationResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //ProfileToFacetsConfigurationXMLProcessor

Back to the top