Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizableElementImpl.java45
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationConfigurationImpl.java226
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java165
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationPackageImpl.java519
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/FileBasedCustomizableElementImpl.java166
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/ModelTemplateImpl.java274
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/PaletteImpl.java43
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/ProfileImpl.java382
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/PropertyViewImpl.java43
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/UICustomImpl.java166
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/UMLModelImpl.java328
11 files changed, 2357 insertions, 0 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizableElementImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizableElementImpl.java
new file mode 100644
index 00000000000..a568185a0d6
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizableElementImpl.java
@@ -0,0 +1,45 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizableElement;
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Customizable Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class CustomizableElementImpl extends EObjectImpl implements CustomizableElement {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CustomizableElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.CUSTOMIZABLE_ELEMENT;
+ }
+
+} //CustomizableElementImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationConfigurationImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationConfigurationImpl.java
new file mode 100644
index 00000000000..aa53c1dd3b2
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationConfigurationImpl.java
@@ -0,0 +1,226 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+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.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizableElement;
+import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Configuration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.CustomizationConfigurationImpl#getPlugin <em>Plugin</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.CustomizationConfigurationImpl#getElements <em>Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CustomizationConfigurationImpl extends EObjectImpl implements CustomizationConfiguration {
+ /**
+ * The default value of the '{@link #getPlugin() <em>Plugin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPlugin()
+ * @generated
+ * @ordered
+ */
+ protected static final String PLUGIN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPlugin() <em>Plugin</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPlugin()
+ * @generated
+ * @ordered
+ */
+ protected String plugin = PLUGIN_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<CustomizableElement> elements;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CustomizationConfigurationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.CUSTOMIZATION_CONFIGURATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPlugin() {
+ return plugin;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPlugin(String newPlugin) {
+ String oldPlugin = plugin;
+ plugin = newPlugin;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.CUSTOMIZATION_CONFIGURATION__PLUGIN, oldPlugin, plugin));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<CustomizableElement> getElements() {
+ if (elements == null) {
+ elements = new EObjectContainmentEList<CustomizableElement>(CustomizableElement.class, this, CustomizationPackage.CUSTOMIZATION_CONFIGURATION__ELEMENTS);
+ }
+ return elements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__ELEMENTS:
+ return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__PLUGIN:
+ return getPlugin();
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__ELEMENTS:
+ return getElements();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__PLUGIN:
+ setPlugin((String)newValue);
+ return;
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__ELEMENTS:
+ getElements().clear();
+ getElements().addAll((Collection<? extends CustomizableElement>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__PLUGIN:
+ setPlugin(PLUGIN_EDEFAULT);
+ return;
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__ELEMENTS:
+ getElements().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__PLUGIN:
+ return PLUGIN_EDEFAULT == null ? plugin != null : !PLUGIN_EDEFAULT.equals(plugin);
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION__ELEMENTS:
+ return elements != null && !elements.isEmpty();
+ }
+ 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(" (plugin: ");
+ result.append(plugin);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CustomizationConfigurationImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java
new file mode 100644
index 00000000000..6ffc9ecd364
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java
@@ -0,0 +1,165 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.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.customization.model.customization.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CustomizationFactoryImpl extends EFactoryImpl implements CustomizationFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CustomizationFactory init() {
+ try {
+ CustomizationFactory theCustomizationFactory = (CustomizationFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/customization");
+ if (theCustomizationFactory != null) {
+ return theCustomizationFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new CustomizationFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CustomizationFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case CustomizationPackage.CUSTOMIZATION_CONFIGURATION: return createCustomizationConfiguration();
+ case CustomizationPackage.PROPERTY_VIEW: return createPropertyView();
+ case CustomizationPackage.UI_CUSTOM: return createUICustom();
+ case CustomizationPackage.MODEL_TEMPLATE: return createModelTemplate();
+ case CustomizationPackage.PALETTE: return createPalette();
+ case CustomizationPackage.PROFILE: return createProfile();
+ case CustomizationPackage.UML_MODEL: return createUMLModel();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CustomizationConfiguration createCustomizationConfiguration() {
+ CustomizationConfigurationImpl customizationConfiguration = new CustomizationConfigurationImpl();
+ return customizationConfiguration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PropertyView createPropertyView() {
+ PropertyViewImpl propertyView = new PropertyViewImpl();
+ return propertyView;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UICustom createUICustom() {
+ UICustomImpl uiCustom = new UICustomImpl();
+ return uiCustom;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ModelTemplate createModelTemplate() {
+ ModelTemplateImpl modelTemplate = new ModelTemplateImpl();
+ return modelTemplate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Palette createPalette() {
+ PaletteImpl palette = new PaletteImpl();
+ return palette;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Profile createProfile() {
+ ProfileImpl profile = new ProfileImpl();
+ return profile;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UMLModel createUMLModel() {
+ UMLModelImpl umlModel = new UMLModelImpl();
+ return umlModel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CustomizationPackage getCustomizationPackage() {
+ return (CustomizationPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static CustomizationPackage getPackage() {
+ return CustomizationPackage.eINSTANCE;
+ }
+
+} //CustomizationFactoryImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationPackageImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationPackageImpl.java
new file mode 100644
index 00000000000..bb6cd298c29
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationPackageImpl.java
@@ -0,0 +1,519 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.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.impl.EPackageImpl;
+import org.eclipse.papyrus.customization.model.customization.CustomizableElement;
+import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
+import org.eclipse.papyrus.customization.model.customization.CustomizationFactory;
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+import org.eclipse.papyrus.customization.model.customization.FileBasedCustomizableElement;
+import org.eclipse.papyrus.customization.model.customization.ModelTemplate;
+import org.eclipse.papyrus.customization.model.customization.Palette;
+import org.eclipse.papyrus.customization.model.customization.Profile;
+import org.eclipse.papyrus.customization.model.customization.PropertyView;
+import org.eclipse.papyrus.customization.model.customization.UICustom;
+import org.eclipse.papyrus.customization.model.customization.UMLModel;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CustomizationPackageImpl extends EPackageImpl implements CustomizationPackage {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass customizationConfigurationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass customizableElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass fileBasedCustomizableElementEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass propertyViewEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass uiCustomEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass modelTemplateEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass paletteEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass profileEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass umlModelEClass = 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.customization.model.customization.CustomizationPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private CustomizationPackageImpl() {
+ super(eNS_URI, CustomizationFactory.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 CustomizationPackage#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 CustomizationPackage init() {
+ if (isInited) return (CustomizationPackage)EPackage.Registry.INSTANCE.getEPackage(CustomizationPackage.eNS_URI);
+
+ // Obtain or create and register package
+ CustomizationPackageImpl theCustomizationPackage = (CustomizationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof CustomizationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new CustomizationPackageImpl());
+
+ isInited = true;
+
+ // Create package meta-data objects
+ theCustomizationPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theCustomizationPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theCustomizationPackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(CustomizationPackage.eNS_URI, theCustomizationPackage);
+ return theCustomizationPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCustomizationConfiguration() {
+ return customizationConfigurationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCustomizationConfiguration_Plugin() {
+ return (EAttribute)customizationConfigurationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCustomizationConfiguration_Elements() {
+ return (EReference)customizationConfigurationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCustomizableElement() {
+ return customizableElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFileBasedCustomizableElement() {
+ return fileBasedCustomizableElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFileBasedCustomizableElement_File() {
+ return (EAttribute)fileBasedCustomizableElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPropertyView() {
+ return propertyViewEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUICustom() {
+ return uiCustomEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUICustom_LoadByDefault() {
+ return (EAttribute)uiCustomEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getModelTemplate() {
+ return modelTemplateEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getModelTemplate_Language() {
+ return (EAttribute)modelTemplateEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getModelTemplate_Name() {
+ return (EAttribute)modelTemplateEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getModelTemplate_Id() {
+ return (EAttribute)modelTemplateEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPalette() {
+ return paletteEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProfile() {
+ return profileEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProfile_Qualifiednames() {
+ return (EAttribute)profileEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProfile_Iconpath() {
+ return (EAttribute)profileEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProfile_Description() {
+ return (EAttribute)profileEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProfile_Provider() {
+ return (EAttribute)profileEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProfile_Name() {
+ return (EAttribute)profileEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUMLModel() {
+ return umlModelEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUMLModel_Name() {
+ return (EAttribute)umlModelEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUMLModel_Iconpath() {
+ return (EAttribute)umlModelEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUMLModel_Description() {
+ return (EAttribute)umlModelEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUMLModel_Provider() {
+ return (EAttribute)umlModelEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CustomizationFactory getCustomizationFactory() {
+ return (CustomizationFactory)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
+ customizationConfigurationEClass = createEClass(CUSTOMIZATION_CONFIGURATION);
+ createEAttribute(customizationConfigurationEClass, CUSTOMIZATION_CONFIGURATION__PLUGIN);
+ createEReference(customizationConfigurationEClass, CUSTOMIZATION_CONFIGURATION__ELEMENTS);
+
+ customizableElementEClass = createEClass(CUSTOMIZABLE_ELEMENT);
+
+ fileBasedCustomizableElementEClass = createEClass(FILE_BASED_CUSTOMIZABLE_ELEMENT);
+ createEAttribute(fileBasedCustomizableElementEClass, FILE_BASED_CUSTOMIZABLE_ELEMENT__FILE);
+
+ propertyViewEClass = createEClass(PROPERTY_VIEW);
+
+ uiCustomEClass = createEClass(UI_CUSTOM);
+ createEAttribute(uiCustomEClass, UI_CUSTOM__LOAD_BY_DEFAULT);
+
+ modelTemplateEClass = createEClass(MODEL_TEMPLATE);
+ createEAttribute(modelTemplateEClass, MODEL_TEMPLATE__LANGUAGE);
+ createEAttribute(modelTemplateEClass, MODEL_TEMPLATE__NAME);
+ createEAttribute(modelTemplateEClass, MODEL_TEMPLATE__ID);
+
+ paletteEClass = createEClass(PALETTE);
+
+ profileEClass = createEClass(PROFILE);
+ createEAttribute(profileEClass, PROFILE__QUALIFIEDNAMES);
+ createEAttribute(profileEClass, PROFILE__ICONPATH);
+ createEAttribute(profileEClass, PROFILE__DESCRIPTION);
+ createEAttribute(profileEClass, PROFILE__PROVIDER);
+ createEAttribute(profileEClass, PROFILE__NAME);
+
+ umlModelEClass = createEClass(UML_MODEL);
+ createEAttribute(umlModelEClass, UML_MODEL__NAME);
+ createEAttribute(umlModelEClass, UML_MODEL__ICONPATH);
+ createEAttribute(umlModelEClass, UML_MODEL__DESCRIPTION);
+ createEAttribute(umlModelEClass, UML_MODEL__PROVIDER);
+ }
+
+ /**
+ * <!-- 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);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ fileBasedCustomizableElementEClass.getESuperTypes().add(this.getCustomizableElement());
+ propertyViewEClass.getESuperTypes().add(this.getFileBasedCustomizableElement());
+ uiCustomEClass.getESuperTypes().add(this.getFileBasedCustomizableElement());
+ modelTemplateEClass.getESuperTypes().add(this.getFileBasedCustomizableElement());
+ paletteEClass.getESuperTypes().add(this.getFileBasedCustomizableElement());
+ profileEClass.getESuperTypes().add(this.getFileBasedCustomizableElement());
+ umlModelEClass.getESuperTypes().add(this.getFileBasedCustomizableElement());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(customizationConfigurationEClass, CustomizationConfiguration.class, "CustomizationConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCustomizationConfiguration_Plugin(), ecorePackage.getEString(), "plugin", null, 1, 1, CustomizationConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCustomizationConfiguration_Elements(), this.getCustomizableElement(), null, "elements", null, 0, -1, CustomizationConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(customizableElementEClass, CustomizableElement.class, "CustomizableElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(fileBasedCustomizableElementEClass, FileBasedCustomizableElement.class, "FileBasedCustomizableElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getFileBasedCustomizableElement_File(), ecorePackage.getEString(), "file", null, 1, 1, FileBasedCustomizableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(propertyViewEClass, PropertyView.class, "PropertyView", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(uiCustomEClass, UICustom.class, "UICustom", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUICustom_LoadByDefault(), ecorePackage.getEBoolean(), "loadByDefault", "false", 0, 1, UICustom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(modelTemplateEClass, ModelTemplate.class, "ModelTemplate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getModelTemplate_Language(), ecorePackage.getEString(), "language", null, 0, 1, ModelTemplate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getModelTemplate_Name(), ecorePackage.getEString(), "name", null, 0, 1, ModelTemplate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getModelTemplate_Id(), ecorePackage.getEString(), "id", null, 1, 1, ModelTemplate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(paletteEClass, Palette.class, "Palette", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(profileEClass, Profile.class, "Profile", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getProfile_Qualifiednames(), ecorePackage.getEString(), "qualifiednames", null, 0, 1, Profile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProfile_Iconpath(), ecorePackage.getEString(), "iconpath", null, 0, 1, Profile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProfile_Description(), ecorePackage.getEString(), "description", null, 0, 1, Profile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProfile_Provider(), ecorePackage.getEString(), "provider", null, 0, 1, Profile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProfile_Name(), ecorePackage.getEString(), "name", null, 1, 1, Profile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(umlModelEClass, UMLModel.class, "UMLModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUMLModel_Name(), ecorePackage.getEString(), "name", null, 0, 1, UMLModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUMLModel_Iconpath(), ecorePackage.getEString(), "iconpath", null, 0, 1, UMLModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUMLModel_Description(), ecorePackage.getEString(), "description", null, 0, 1, UMLModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUMLModel_Provider(), ecorePackage.getEString(), "provider", null, 0, 1, UMLModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //CustomizationPackageImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/FileBasedCustomizableElementImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/FileBasedCustomizableElementImpl.java
new file mode 100644
index 00000000000..c05d63d8433
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/FileBasedCustomizableElementImpl.java
@@ -0,0 +1,166 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+import org.eclipse.papyrus.customization.model.customization.FileBasedCustomizableElement;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>File Based Customizable Element</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.FileBasedCustomizableElementImpl#getFile <em>File</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class FileBasedCustomizableElementImpl extends CustomizableElementImpl implements FileBasedCustomizableElement {
+ /**
+ * The default value of the '{@link #getFile() <em>File</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFile()
+ * @generated
+ * @ordered
+ */
+ protected static final String FILE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFile() <em>File</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFile()
+ * @generated
+ * @ordered
+ */
+ protected String file = FILE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FileBasedCustomizableElementImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.FILE_BASED_CUSTOMIZABLE_ELEMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFile() {
+ return file;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFile(String newFile) {
+ String oldFile = file;
+ file = newFile;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.FILE_BASED_CUSTOMIZABLE_ELEMENT__FILE, oldFile, file));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CustomizationPackage.FILE_BASED_CUSTOMIZABLE_ELEMENT__FILE:
+ return getFile();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CustomizationPackage.FILE_BASED_CUSTOMIZABLE_ELEMENT__FILE:
+ setFile((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.FILE_BASED_CUSTOMIZABLE_ELEMENT__FILE:
+ setFile(FILE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.FILE_BASED_CUSTOMIZABLE_ELEMENT__FILE:
+ return FILE_EDEFAULT == null ? file != null : !FILE_EDEFAULT.equals(file);
+ }
+ 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(" (file: ");
+ result.append(file);
+ result.append(')');
+ return result.toString();
+ }
+
+} //FileBasedCustomizableElementImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/ModelTemplateImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/ModelTemplateImpl.java
new file mode 100644
index 00000000000..343888eb8d2
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/ModelTemplateImpl.java
@@ -0,0 +1,274 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+import org.eclipse.papyrus.customization.model.customization.ModelTemplate;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Model Template</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.ModelTemplateImpl#getLanguage <em>Language</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.ModelTemplateImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.ModelTemplateImpl#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ModelTemplateImpl extends FileBasedCustomizableElementImpl implements ModelTemplate {
+ /**
+ * The default value of the '{@link #getLanguage() <em>Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLanguage()
+ * @generated
+ * @ordered
+ */
+ protected static final String LANGUAGE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLanguage() <em>Language</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLanguage()
+ * @generated
+ * @ordered
+ */
+ protected String language = LANGUAGE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ModelTemplateImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.MODEL_TEMPLATE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLanguage() {
+ return language;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLanguage(String newLanguage) {
+ String oldLanguage = language;
+ language = newLanguage;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.MODEL_TEMPLATE__LANGUAGE, oldLanguage, language));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.MODEL_TEMPLATE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.MODEL_TEMPLATE__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CustomizationPackage.MODEL_TEMPLATE__LANGUAGE:
+ return getLanguage();
+ case CustomizationPackage.MODEL_TEMPLATE__NAME:
+ return getName();
+ case CustomizationPackage.MODEL_TEMPLATE__ID:
+ return getId();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CustomizationPackage.MODEL_TEMPLATE__LANGUAGE:
+ setLanguage((String)newValue);
+ return;
+ case CustomizationPackage.MODEL_TEMPLATE__NAME:
+ setName((String)newValue);
+ return;
+ case CustomizationPackage.MODEL_TEMPLATE__ID:
+ setId((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.MODEL_TEMPLATE__LANGUAGE:
+ setLanguage(LANGUAGE_EDEFAULT);
+ return;
+ case CustomizationPackage.MODEL_TEMPLATE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case CustomizationPackage.MODEL_TEMPLATE__ID:
+ setId(ID_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.MODEL_TEMPLATE__LANGUAGE:
+ return LANGUAGE_EDEFAULT == null ? language != null : !LANGUAGE_EDEFAULT.equals(language);
+ case CustomizationPackage.MODEL_TEMPLATE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case CustomizationPackage.MODEL_TEMPLATE__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ }
+ 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(" (language: ");
+ result.append(language);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", id: ");
+ result.append(id);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ModelTemplateImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/PaletteImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/PaletteImpl.java
new file mode 100644
index 00000000000..e178d6ee89a
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/PaletteImpl.java
@@ -0,0 +1,43 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+import org.eclipse.papyrus.customization.model.customization.Palette;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Palette</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class PaletteImpl extends FileBasedCustomizableElementImpl implements Palette {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PaletteImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.PALETTE;
+ }
+
+} //PaletteImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/ProfileImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/ProfileImpl.java
new file mode 100644
index 00000000000..e3829b7c09a
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/ProfileImpl.java
@@ -0,0 +1,382 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+import org.eclipse.papyrus.customization.model.customization.Profile;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Profile</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.ProfileImpl#getQualifiednames <em>Qualifiednames</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.ProfileImpl#getIconpath <em>Iconpath</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.ProfileImpl#getDescription <em>Description</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.ProfileImpl#getProvider <em>Provider</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.ProfileImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProfileImpl extends FileBasedCustomizableElementImpl implements Profile {
+ /**
+ * The default value of the '{@link #getQualifiednames() <em>Qualifiednames</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getQualifiednames()
+ * @generated
+ * @ordered
+ */
+ protected static final String QUALIFIEDNAMES_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getQualifiednames() <em>Qualifiednames</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getQualifiednames()
+ * @generated
+ * @ordered
+ */
+ protected String qualifiednames = QUALIFIEDNAMES_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getIconpath() <em>Iconpath</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIconpath()
+ * @generated
+ * @ordered
+ */
+ protected static final String ICONPATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getIconpath() <em>Iconpath</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIconpath()
+ * @generated
+ * @ordered
+ */
+ protected String iconpath = ICONPATH_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDescription()
+ * @generated
+ * @ordered
+ */
+ protected static final String DESCRIPTION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDescription()
+ * @generated
+ * @ordered
+ */
+ protected String description = DESCRIPTION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getProvider() <em>Provider</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProvider()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROVIDER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProvider() <em>Provider</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProvider()
+ * @generated
+ * @ordered
+ */
+ protected String provider = PROVIDER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProfileImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.PROFILE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getQualifiednames() {
+ return qualifiednames;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setQualifiednames(String newQualifiednames) {
+ String oldQualifiednames = qualifiednames;
+ qualifiednames = newQualifiednames;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.PROFILE__QUALIFIEDNAMES, oldQualifiednames, qualifiednames));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getIconpath() {
+ return iconpath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIconpath(String newIconpath) {
+ String oldIconpath = iconpath;
+ iconpath = newIconpath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.PROFILE__ICONPATH, oldIconpath, iconpath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDescription(String newDescription) {
+ String oldDescription = description;
+ description = newDescription;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.PROFILE__DESCRIPTION, oldDescription, description));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProvider() {
+ return provider;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProvider(String newProvider) {
+ String oldProvider = provider;
+ provider = newProvider;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.PROFILE__PROVIDER, oldProvider, provider));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.PROFILE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CustomizationPackage.PROFILE__QUALIFIEDNAMES:
+ return getQualifiednames();
+ case CustomizationPackage.PROFILE__ICONPATH:
+ return getIconpath();
+ case CustomizationPackage.PROFILE__DESCRIPTION:
+ return getDescription();
+ case CustomizationPackage.PROFILE__PROVIDER:
+ return getProvider();
+ case CustomizationPackage.PROFILE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CustomizationPackage.PROFILE__QUALIFIEDNAMES:
+ setQualifiednames((String)newValue);
+ return;
+ case CustomizationPackage.PROFILE__ICONPATH:
+ setIconpath((String)newValue);
+ return;
+ case CustomizationPackage.PROFILE__DESCRIPTION:
+ setDescription((String)newValue);
+ return;
+ case CustomizationPackage.PROFILE__PROVIDER:
+ setProvider((String)newValue);
+ return;
+ case CustomizationPackage.PROFILE__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.PROFILE__QUALIFIEDNAMES:
+ setQualifiednames(QUALIFIEDNAMES_EDEFAULT);
+ return;
+ case CustomizationPackage.PROFILE__ICONPATH:
+ setIconpath(ICONPATH_EDEFAULT);
+ return;
+ case CustomizationPackage.PROFILE__DESCRIPTION:
+ setDescription(DESCRIPTION_EDEFAULT);
+ return;
+ case CustomizationPackage.PROFILE__PROVIDER:
+ setProvider(PROVIDER_EDEFAULT);
+ return;
+ case CustomizationPackage.PROFILE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.PROFILE__QUALIFIEDNAMES:
+ return QUALIFIEDNAMES_EDEFAULT == null ? qualifiednames != null : !QUALIFIEDNAMES_EDEFAULT.equals(qualifiednames);
+ case CustomizationPackage.PROFILE__ICONPATH:
+ return ICONPATH_EDEFAULT == null ? iconpath != null : !ICONPATH_EDEFAULT.equals(iconpath);
+ case CustomizationPackage.PROFILE__DESCRIPTION:
+ return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
+ case CustomizationPackage.PROFILE__PROVIDER:
+ return PROVIDER_EDEFAULT == null ? provider != null : !PROVIDER_EDEFAULT.equals(provider);
+ case CustomizationPackage.PROFILE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ 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(" (qualifiednames: ");
+ result.append(qualifiednames);
+ result.append(", iconpath: ");
+ result.append(iconpath);
+ result.append(", description: ");
+ result.append(description);
+ result.append(", provider: ");
+ result.append(provider);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ProfileImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/PropertyViewImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/PropertyViewImpl.java
new file mode 100644
index 00000000000..7ec8d997d00
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/PropertyViewImpl.java
@@ -0,0 +1,43 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+import org.eclipse.papyrus.customization.model.customization.PropertyView;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Property View</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class PropertyViewImpl extends FileBasedCustomizableElementImpl implements PropertyView {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PropertyViewImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.PROPERTY_VIEW;
+ }
+
+} //PropertyViewImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/UICustomImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/UICustomImpl.java
new file mode 100644
index 00000000000..8d455c97350
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/UICustomImpl.java
@@ -0,0 +1,166 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+import org.eclipse.papyrus.customization.model.customization.UICustom;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>UI Custom</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.UICustomImpl#isLoadByDefault <em>Load By Default</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UICustomImpl extends FileBasedCustomizableElementImpl implements UICustom {
+ /**
+ * The default value of the '{@link #isLoadByDefault() <em>Load By Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isLoadByDefault()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean LOAD_BY_DEFAULT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isLoadByDefault() <em>Load By Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isLoadByDefault()
+ * @generated
+ * @ordered
+ */
+ protected boolean loadByDefault = LOAD_BY_DEFAULT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UICustomImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.UI_CUSTOM;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isLoadByDefault() {
+ return loadByDefault;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLoadByDefault(boolean newLoadByDefault) {
+ boolean oldLoadByDefault = loadByDefault;
+ loadByDefault = newLoadByDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.UI_CUSTOM__LOAD_BY_DEFAULT, oldLoadByDefault, loadByDefault));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CustomizationPackage.UI_CUSTOM__LOAD_BY_DEFAULT:
+ return isLoadByDefault();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CustomizationPackage.UI_CUSTOM__LOAD_BY_DEFAULT:
+ setLoadByDefault((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.UI_CUSTOM__LOAD_BY_DEFAULT:
+ setLoadByDefault(LOAD_BY_DEFAULT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.UI_CUSTOM__LOAD_BY_DEFAULT:
+ return loadByDefault != LOAD_BY_DEFAULT_EDEFAULT;
+ }
+ 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(" (loadByDefault: ");
+ result.append(loadByDefault);
+ result.append(')');
+ return result.toString();
+ }
+
+} //UICustomImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/UMLModelImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/UMLModelImpl.java
new file mode 100644
index 00000000000..2d0dff983aa
--- /dev/null
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/UMLModelImpl.java
@@ -0,0 +1,328 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.customization.model.customization.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
+import org.eclipse.papyrus.customization.model.customization.UMLModel;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>UML Model</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.UMLModelImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.UMLModelImpl#getIconpath <em>Iconpath</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.UMLModelImpl#getDescription <em>Description</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.model.customization.impl.UMLModelImpl#getProvider <em>Provider</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UMLModelImpl extends FileBasedCustomizableElementImpl implements UMLModel {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getIconpath() <em>Iconpath</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIconpath()
+ * @generated
+ * @ordered
+ */
+ protected static final String ICONPATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getIconpath() <em>Iconpath</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIconpath()
+ * @generated
+ * @ordered
+ */
+ protected String iconpath = ICONPATH_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDescription()
+ * @generated
+ * @ordered
+ */
+ protected static final String DESCRIPTION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDescription()
+ * @generated
+ * @ordered
+ */
+ protected String description = DESCRIPTION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getProvider() <em>Provider</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProvider()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROVIDER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProvider() <em>Provider</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProvider()
+ * @generated
+ * @ordered
+ */
+ protected String provider = PROVIDER_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UMLModelImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CustomizationPackage.Literals.UML_MODEL;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.UML_MODEL__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getIconpath() {
+ return iconpath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIconpath(String newIconpath) {
+ String oldIconpath = iconpath;
+ iconpath = newIconpath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.UML_MODEL__ICONPATH, oldIconpath, iconpath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDescription(String newDescription) {
+ String oldDescription = description;
+ description = newDescription;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.UML_MODEL__DESCRIPTION, oldDescription, description));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProvider() {
+ return provider;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProvider(String newProvider) {
+ String oldProvider = provider;
+ provider = newProvider;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CustomizationPackage.UML_MODEL__PROVIDER, oldProvider, provider));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CustomizationPackage.UML_MODEL__NAME:
+ return getName();
+ case CustomizationPackage.UML_MODEL__ICONPATH:
+ return getIconpath();
+ case CustomizationPackage.UML_MODEL__DESCRIPTION:
+ return getDescription();
+ case CustomizationPackage.UML_MODEL__PROVIDER:
+ return getProvider();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CustomizationPackage.UML_MODEL__NAME:
+ setName((String)newValue);
+ return;
+ case CustomizationPackage.UML_MODEL__ICONPATH:
+ setIconpath((String)newValue);
+ return;
+ case CustomizationPackage.UML_MODEL__DESCRIPTION:
+ setDescription((String)newValue);
+ return;
+ case CustomizationPackage.UML_MODEL__PROVIDER:
+ setProvider((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.UML_MODEL__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case CustomizationPackage.UML_MODEL__ICONPATH:
+ setIconpath(ICONPATH_EDEFAULT);
+ return;
+ case CustomizationPackage.UML_MODEL__DESCRIPTION:
+ setDescription(DESCRIPTION_EDEFAULT);
+ return;
+ case CustomizationPackage.UML_MODEL__PROVIDER:
+ setProvider(PROVIDER_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CustomizationPackage.UML_MODEL__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case CustomizationPackage.UML_MODEL__ICONPATH:
+ return ICONPATH_EDEFAULT == null ? iconpath != null : !ICONPATH_EDEFAULT.equals(iconpath);
+ case CustomizationPackage.UML_MODEL__DESCRIPTION:
+ return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
+ case CustomizationPackage.UML_MODEL__PROVIDER:
+ return PROVIDER_EDEFAULT == null ? provider != null : !PROVIDER_EDEFAULT.equals(provider);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(", iconpath: ");
+ result.append(iconpath);
+ result.append(", description: ");
+ result.append(description);
+ result.append(", provider: ");
+ result.append(provider);
+ result.append(')');
+ return result.toString();
+ }
+
+} //UMLModelImpl

Back to the top