Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org')
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/AssistantRule.java85
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java61
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.java124
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.java180
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.java2526
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java106
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.java110
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.java142
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.java60
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.java110
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.java137
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java28
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java60
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.java185
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.java61
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.java95
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/RootAutoSelect.java62
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.java62
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/AssistantRuleImpl.java202
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java178
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.java328
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.java325
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.java1014
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java274
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.java448
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.java372
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.java177
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.java298
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.java365
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java49
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java177
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.java465
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.java173
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.java233
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RootAutoSelectImpl.java173
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.java178
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.java519
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java56
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java44
-rw-r--r--plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.java612
40 files changed, 0 insertions, 10854 deletions
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/AssistantRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/AssistantRule.java
deleted file mode 100644
index 1b466629d14..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/AssistantRule.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/**
- * Copyright (c) 2015 Christian W. Damus and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Christian W. Damus - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.gmf.runtime.emf.type.core.IElementType;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Assistant Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * A rule that permits or forbids one or more modeling assistants by element type ID.
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule#getElementTypeID <em>Element Type ID</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getAssistantRule()
- * @model
- * @generated
- */
-public interface AssistantRule extends Rule {
- /**
- * Returns the value of the '<em><b>Element Type ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * <p>
- * Modeling assistants are identified by the ID of the element type that they create.
- * This element type ID supports very simple wildcard patterns: an asterisk (<tt>*</tt>)
- * may be used to match any substring, including the empty substring. This is
- * particularly useful to match an entire family of related element types by namespace
- * prefix, using a terminal asterisk.
- * </p><p>
- * If the element type ID is omitted, then the rule applies to all element types
- * (universal wildcard).
- * </p>
- * <!-- end-model-doc -->
- * @return the value of the '<em>Element Type ID</em>' attribute.
- * @see #setElementTypeID(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getAssistantRule_ElementTypeID()
- * @model
- * @generated
- */
- String getElementTypeID();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule#getElementTypeID <em>Element Type ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element Type ID</em>' attribute.
- * @see #getElementTypeID()
- * @generated
- */
- void setElementTypeID(String value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * Queries whether I match a given <tt>elementType</tt>.
- * <!-- end-model-doc -->
- * @model required="true" elementTypeDataType="org.eclipse.papyrus.infra.viewpoints.configuration.ElementType" elementTypeRequired="true"
- * @generated
- */
- boolean matches(IElementType elementType);
-
-} // AssistantRule
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java
deleted file mode 100644
index 38b999b2079..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/Category.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Category</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category#getName <em>Name</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getCategory()
- * @model
- * @generated
- */
-public interface Category extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getCategory_Name()
- * @model required="true"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
-} // Category
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.java
deleted file mode 100644
index 78479a3827b..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ChildRule.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Child Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getInsertionPath <em>Insertion Path</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule()
- * @model
- * @generated
- */
-public interface ChildRule extends Rule {
- /**
- * Returns the value of the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element</em>' reference.
- * @see #setElement(EClass)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule_Element()
- * @model
- * @generated
- */
- EClass getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' reference.
- * @see #getElement()
- * @generated
- */
- void setElement(EClass value);
-
- /**
- * Returns the value of the '<em><b>Stereotypes</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.ecore.EClass}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Stereotypes</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Stereotypes</em>' reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule_Stereotypes()
- * @model
- * @generated
- */
- EList<EClass> getStereotypes();
-
- /**
- * Returns the value of the '<em><b>Origin</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Origin</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Origin</em>' reference.
- * @see #setOrigin(EClass)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule_Origin()
- * @model
- * @generated
- */
- EClass getOrigin();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin <em>Origin</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Origin</em>' reference.
- * @see #getOrigin()
- * @generated
- */
- void setOrigin(EClass value);
-
- /**
- * Returns the value of the '<em><b>Insertion Path</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Insertion Path</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Insertion Path</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getChildRule_InsertionPath()
- * @model containment="true"
- * @generated
- */
- EList<PathElement> getInsertionPath();
-
-} // ChildRule
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.java
deleted file mode 100644
index d9a59dcbffc..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationFactory.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-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.infra.viewpoints.configuration.ConfigurationPackage
- * @generated
- */
-public interface ConfigurationFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ConfigurationFactory eINSTANCE = org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Papyrus Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Papyrus Configuration</em>'.
- * @generated
- */
- PapyrusConfiguration createPapyrusConfiguration();
-
- /**
- * Returns a new object of class '<em>Papyrus Viewpoint</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Papyrus Viewpoint</em>'.
- * @generated
- */
- PapyrusViewpoint createPapyrusViewpoint();
-
- /**
- * Returns a new object of class '<em>Papyrus View</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Papyrus View</em>'.
- * @generated
- */
- PapyrusView createPapyrusView();
-
- /**
- * Returns a new object of class '<em>Papyrus Diagram</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Papyrus Diagram</em>'.
- * @generated
- */
- PapyrusDiagram createPapyrusDiagram();
-
- /**
- * Returns a new object of class '<em>Papyrus Sync Table</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Papyrus Sync Table</em>'.
- * @generated
- */
- PapyrusSyncTable createPapyrusSyncTable();
-
- /**
- * Returns a new object of class '<em>Papyrus Table</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Papyrus Table</em>'.
- * @generated
- */
- PapyrusTable createPapyrusTable();
-
- /**
- * Returns a new object of class '<em>Model Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Model Rule</em>'.
- * @generated
- */
- ModelRule createModelRule();
-
- /**
- * Returns a new object of class '<em>Owning Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Owning Rule</em>'.
- * @generated
- */
- OwningRule createOwningRule();
-
- /**
- * Returns a new object of class '<em>Child Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Child Rule</em>'.
- * @generated
- */
- ChildRule createChildRule();
-
- /**
- * Returns a new object of class '<em>Palette Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Palette Rule</em>'.
- * @generated
- */
- PaletteRule createPaletteRule();
-
- /**
- * Returns a new object of class '<em>Path Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Path Element</em>'.
- * @generated
- */
- PathElement createPathElement();
-
- /**
- * Returns a new object of class '<em>Category</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Category</em>'.
- * @generated
- */
- Category createCategory();
-
- /**
- * Returns a new object of class '<em>Model Auto Create</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Model Auto Create</em>'.
- * @generated
- */
- ModelAutoCreate createModelAutoCreate();
-
- /**
- * Returns a new object of class '<em>Root Auto Select</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Root Auto Select</em>'.
- * @generated
- */
- RootAutoSelect createRootAutoSelect();
-
- /**
- * Returns a new object of class '<em>Assistant Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Assistant Rule</em>'.
- * @generated
- */
- AssistantRule createAssistantRule();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- ConfigurationPackage getConfigurationPackage();
-
-} //ConfigurationFactory
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.java
deleted file mode 100644
index bd6417c3a8d..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ConfigurationPackage.java
+++ /dev/null
@@ -1,2526 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
-
-/**
- * <!-- 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 operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationFactory
- * @model kind="package"
- * @generated
- */
-public interface ConfigurationPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "configuration";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/infra/viewpoints/configuration";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "configuration";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ConfigurationPackage eINSTANCE = org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl <em>Papyrus Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusConfiguration()
- * @generated
- */
- int PAPYRUS_CONFIGURATION = 0;
-
- /**
- * The feature id for the '<em><b>Stakeholders</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION__STAKEHOLDERS = Iso42010Package.ARCHITECTURE_FRAMEWORK__STAKEHOLDERS;
-
- /**
- * The feature id for the '<em><b>Viewpoints</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION__VIEWPOINTS = Iso42010Package.ARCHITECTURE_FRAMEWORK__VIEWPOINTS;
-
- /**
- * The feature id for the '<em><b>Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION__RULES = Iso42010Package.ARCHITECTURE_FRAMEWORK__RULES;
-
- /**
- * The feature id for the '<em><b>Concerns</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION__CONCERNS = Iso42010Package.ARCHITECTURE_FRAMEWORK__CONCERNS;
-
- /**
- * The feature id for the '<em><b>Default Stakeholder</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER = Iso42010Package.ARCHITECTURE_FRAMEWORK_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Metamodel</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION__METAMODEL = Iso42010Package.ARCHITECTURE_FRAMEWORK_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Categories</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION__CATEGORIES = Iso42010Package.ARCHITECTURE_FRAMEWORK_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Papyrus Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION_FEATURE_COUNT = Iso42010Package.ARCHITECTURE_FRAMEWORK_FEATURE_COUNT + 3;
-
- /**
- * The number of operations of the '<em>Papyrus Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_CONFIGURATION_OPERATION_COUNT = Iso42010Package.ARCHITECTURE_FRAMEWORK_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl <em>Papyrus Viewpoint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusViewpoint()
- * @generated
- */
- int PAPYRUS_VIEWPOINT = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEWPOINT__NAME = Iso42010Package.ARCHITECTURE_VIEWPOINT__NAME;
-
- /**
- * The feature id for the '<em><b>Affected By</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEWPOINT__AFFECTED_BY = Iso42010Package.ARCHITECTURE_VIEWPOINT__AFFECTED_BY;
-
- /**
- * The feature id for the '<em><b>Model Kinds</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEWPOINT__MODEL_KINDS = Iso42010Package.ARCHITECTURE_VIEWPOINT__MODEL_KINDS;
-
- /**
- * The feature id for the '<em><b>Governs</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEWPOINT__GOVERNS = Iso42010Package.ARCHITECTURE_VIEWPOINT__GOVERNS;
-
- /**
- * The feature id for the '<em><b>Frames</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEWPOINT__FRAMES = Iso42010Package.ARCHITECTURE_VIEWPOINT__FRAMES;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEWPOINT__PARENT = Iso42010Package.ARCHITECTURE_VIEWPOINT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Papyrus Viewpoint</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEWPOINT_FEATURE_COUNT = Iso42010Package.ARCHITECTURE_VIEWPOINT_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Papyrus Viewpoint</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEWPOINT_OPERATION_COUNT = Iso42010Package.ARCHITECTURE_VIEWPOINT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl <em>Papyrus View</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusView()
- * @generated
- */
- int PAPYRUS_VIEW = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__NAME = Iso42010Package.MODEL_KIND__NAME;
-
- /**
- * The feature id for the '<em><b>Affected By</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__AFFECTED_BY = Iso42010Package.MODEL_KIND__AFFECTED_BY;
-
- /**
- * The feature id for the '<em><b>Governs</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__GOVERNS = Iso42010Package.MODEL_KIND__GOVERNS;
-
- /**
- * The feature id for the '<em><b>Viewpoint</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__VIEWPOINT = Iso42010Package.MODEL_KIND__VIEWPOINT;
-
- /**
- * The feature id for the '<em><b>Icon</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__ICON = Iso42010Package.MODEL_KIND_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__PARENT = Iso42010Package.MODEL_KIND_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Profiles</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__PROFILES = Iso42010Package.MODEL_KIND_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Model Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__MODEL_RULES = Iso42010Package.MODEL_KIND_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Owning Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__OWNING_RULES = Iso42010Package.MODEL_KIND_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Implementation ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__IMPLEMENTATION_ID = Iso42010Package.MODEL_KIND_FEATURE_COUNT + 5;
-
- /**
- * The feature id for the '<em><b>Categories</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW__CATEGORIES = Iso42010Package.MODEL_KIND_FEATURE_COUNT + 6;
-
- /**
- * The number of structural features of the '<em>Papyrus View</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW_FEATURE_COUNT = Iso42010Package.MODEL_KIND_FEATURE_COUNT + 7;
-
- /**
- * The number of operations of the '<em>Papyrus View</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_VIEW_OPERATION_COUNT = Iso42010Package.MODEL_KIND_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl <em>Papyrus Diagram</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusDiagram()
- * @generated
- */
- int PAPYRUS_DIAGRAM = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__NAME = PAPYRUS_VIEW__NAME;
-
- /**
- * The feature id for the '<em><b>Affected By</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__AFFECTED_BY = PAPYRUS_VIEW__AFFECTED_BY;
-
- /**
- * The feature id for the '<em><b>Governs</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__GOVERNS = PAPYRUS_VIEW__GOVERNS;
-
- /**
- * The feature id for the '<em><b>Viewpoint</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__VIEWPOINT = PAPYRUS_VIEW__VIEWPOINT;
-
- /**
- * The feature id for the '<em><b>Icon</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__ICON = PAPYRUS_VIEW__ICON;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__PARENT = PAPYRUS_VIEW__PARENT;
-
- /**
- * The feature id for the '<em><b>Profiles</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__PROFILES = PAPYRUS_VIEW__PROFILES;
-
- /**
- * The feature id for the '<em><b>Model Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__MODEL_RULES = PAPYRUS_VIEW__MODEL_RULES;
-
- /**
- * The feature id for the '<em><b>Owning Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__OWNING_RULES = PAPYRUS_VIEW__OWNING_RULES;
-
- /**
- * The feature id for the '<em><b>Implementation ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__IMPLEMENTATION_ID = PAPYRUS_VIEW__IMPLEMENTATION_ID;
-
- /**
- * The feature id for the '<em><b>Categories</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__CATEGORIES = PAPYRUS_VIEW__CATEGORIES;
-
- /**
- * The feature id for the '<em><b>Custom Palette</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__CUSTOM_PALETTE = PAPYRUS_VIEW_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Custom Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__CUSTOM_STYLE = PAPYRUS_VIEW_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Child Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__CHILD_RULES = PAPYRUS_VIEW_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Palette Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__PALETTE_RULES = PAPYRUS_VIEW_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Assistant Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM__ASSISTANT_RULES = PAPYRUS_VIEW_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the '<em>Papyrus Diagram</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM_FEATURE_COUNT = PAPYRUS_VIEW_FEATURE_COUNT + 5;
-
- /**
- * The number of operations of the '<em>Papyrus Diagram</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_DIAGRAM_OPERATION_COUNT = PAPYRUS_VIEW_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusSyncTableImpl <em>Papyrus Sync Table</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusSyncTableImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusSyncTable()
- * @generated
- */
- int PAPYRUS_SYNC_TABLE = 4;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__NAME = PAPYRUS_VIEW__NAME;
-
- /**
- * The feature id for the '<em><b>Affected By</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__AFFECTED_BY = PAPYRUS_VIEW__AFFECTED_BY;
-
- /**
- * The feature id for the '<em><b>Governs</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__GOVERNS = PAPYRUS_VIEW__GOVERNS;
-
- /**
- * The feature id for the '<em><b>Viewpoint</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__VIEWPOINT = PAPYRUS_VIEW__VIEWPOINT;
-
- /**
- * The feature id for the '<em><b>Icon</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__ICON = PAPYRUS_VIEW__ICON;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__PARENT = PAPYRUS_VIEW__PARENT;
-
- /**
- * The feature id for the '<em><b>Profiles</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__PROFILES = PAPYRUS_VIEW__PROFILES;
-
- /**
- * The feature id for the '<em><b>Model Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__MODEL_RULES = PAPYRUS_VIEW__MODEL_RULES;
-
- /**
- * The feature id for the '<em><b>Owning Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__OWNING_RULES = PAPYRUS_VIEW__OWNING_RULES;
-
- /**
- * The feature id for the '<em><b>Implementation ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__IMPLEMENTATION_ID = PAPYRUS_VIEW__IMPLEMENTATION_ID;
-
- /**
- * The feature id for the '<em><b>Categories</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE__CATEGORIES = PAPYRUS_VIEW__CATEGORIES;
-
- /**
- * The number of structural features of the '<em>Papyrus Sync Table</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE_FEATURE_COUNT = PAPYRUS_VIEW_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the '<em>Papyrus Sync Table</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_SYNC_TABLE_OPERATION_COUNT = PAPYRUS_VIEW_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl <em>Papyrus Table</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusTable()
- * @generated
- */
- int PAPYRUS_TABLE = 5;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__NAME = PAPYRUS_VIEW__NAME;
-
- /**
- * The feature id for the '<em><b>Affected By</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__AFFECTED_BY = PAPYRUS_VIEW__AFFECTED_BY;
-
- /**
- * The feature id for the '<em><b>Governs</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__GOVERNS = PAPYRUS_VIEW__GOVERNS;
-
- /**
- * The feature id for the '<em><b>Viewpoint</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__VIEWPOINT = PAPYRUS_VIEW__VIEWPOINT;
-
- /**
- * The feature id for the '<em><b>Icon</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__ICON = PAPYRUS_VIEW__ICON;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__PARENT = PAPYRUS_VIEW__PARENT;
-
- /**
- * The feature id for the '<em><b>Profiles</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__PROFILES = PAPYRUS_VIEW__PROFILES;
-
- /**
- * The feature id for the '<em><b>Model Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__MODEL_RULES = PAPYRUS_VIEW__MODEL_RULES;
-
- /**
- * The feature id for the '<em><b>Owning Rules</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__OWNING_RULES = PAPYRUS_VIEW__OWNING_RULES;
-
- /**
- * The feature id for the '<em><b>Implementation ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__IMPLEMENTATION_ID = PAPYRUS_VIEW__IMPLEMENTATION_ID;
-
- /**
- * The feature id for the '<em><b>Categories</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__CATEGORIES = PAPYRUS_VIEW__CATEGORIES;
-
- /**
- * The feature id for the '<em><b>Configuration</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE__CONFIGURATION = PAPYRUS_VIEW_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Papyrus Table</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE_FEATURE_COUNT = PAPYRUS_VIEW_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Papyrus Table</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PAPYRUS_TABLE_OPERATION_COUNT = PAPYRUS_VIEW_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl <em>Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getRule()
- * @generated
- */
- int RULE = 6;
-
- /**
- * The feature id for the '<em><b>Permit</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RULE__PERMIT = 0;
-
- /**
- * The number of structural features of the '<em>Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RULE_FEATURE_COUNT = 1;
-
- /**
- * The number of operations of the '<em>Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RULE_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl <em>Model Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getModelRule()
- * @generated
- */
- int MODEL_RULE = 7;
-
- /**
- * The feature id for the '<em><b>Permit</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_RULE__PERMIT = RULE__PERMIT;
-
- /**
- * The feature id for the '<em><b>Constraints</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_RULE__CONSTRAINTS = RULE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Element Multiplicity</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_RULE__ELEMENT_MULTIPLICITY = RULE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_RULE__ELEMENT = RULE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Stereotypes</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_RULE__STEREOTYPES = RULE_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Multiplicity</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_RULE__MULTIPLICITY = RULE_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the '<em>Model Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_RULE_FEATURE_COUNT = RULE_FEATURE_COUNT + 5;
-
- /**
- * The number of operations of the '<em>Model Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_RULE_OPERATION_COUNT = RULE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl <em>Owning Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getOwningRule()
- * @generated
- */
- int OWNING_RULE = 8;
-
- /**
- * The feature id for the '<em><b>Permit</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OWNING_RULE__PERMIT = RULE__PERMIT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OWNING_RULE__ELEMENT = RULE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Stereotypes</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OWNING_RULE__STEREOTYPES = RULE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Multiplicity</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OWNING_RULE__MULTIPLICITY = RULE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>New Model Path</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OWNING_RULE__NEW_MODEL_PATH = RULE_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Select Diagram Root</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OWNING_RULE__SELECT_DIAGRAM_ROOT = RULE_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the '<em>Owning Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OWNING_RULE_FEATURE_COUNT = RULE_FEATURE_COUNT + 5;
-
- /**
- * The number of operations of the '<em>Owning Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OWNING_RULE_OPERATION_COUNT = RULE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl <em>Child Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getChildRule()
- * @generated
- */
- int CHILD_RULE = 9;
-
- /**
- * The feature id for the '<em><b>Permit</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILD_RULE__PERMIT = RULE__PERMIT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILD_RULE__ELEMENT = RULE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Stereotypes</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILD_RULE__STEREOTYPES = RULE_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Origin</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILD_RULE__ORIGIN = RULE_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Insertion Path</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILD_RULE__INSERTION_PATH = RULE_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Child Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILD_RULE_FEATURE_COUNT = RULE_FEATURE_COUNT + 4;
-
- /**
- * The number of operations of the '<em>Child Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILD_RULE_OPERATION_COUNT = RULE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl <em>Palette Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPaletteRule()
- * @generated
- */
- int PALETTE_RULE = 10;
-
- /**
- * The feature id for the '<em><b>Permit</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PALETTE_RULE__PERMIT = RULE__PERMIT;
-
- /**
- * The feature id for the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PALETTE_RULE__ELEMENT = RULE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Palette Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PALETTE_RULE_FEATURE_COUNT = RULE_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Palette Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PALETTE_RULE_OPERATION_COUNT = RULE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl <em>Path Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPathElement()
- * @generated
- */
- int PATH_ELEMENT = 11;
-
- /**
- * The feature id for the '<em><b>Feature</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PATH_ELEMENT__FEATURE = 0;
-
- /**
- * The feature id for the '<em><b>Origin</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PATH_ELEMENT__ORIGIN = 1;
-
- /**
- * The feature id for the '<em><b>Target</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PATH_ELEMENT__TARGET = 2;
-
- /**
- * The number of structural features of the '<em>Path Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PATH_ELEMENT_FEATURE_COUNT = 3;
-
- /**
- * The number of operations of the '<em>Path Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PATH_ELEMENT_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl <em>Category</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getCategory()
- * @generated
- */
- int CATEGORY = 12;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CATEGORY__NAME = 0;
-
- /**
- * The number of structural features of the '<em>Category</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CATEGORY_FEATURE_COUNT = 1;
-
- /**
- * The number of operations of the '<em>Category</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CATEGORY_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl <em>Model Auto Create</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getModelAutoCreate()
- * @generated
- */
- int MODEL_AUTO_CREATE = 13;
-
- /**
- * The feature id for the '<em><b>Feature</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_AUTO_CREATE__FEATURE = 0;
-
- /**
- * The feature id for the '<em><b>Origin</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_AUTO_CREATE__ORIGIN = 1;
-
- /**
- * The feature id for the '<em><b>Creation Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_AUTO_CREATE__CREATION_TYPE = 2;
-
- /**
- * The number of structural features of the '<em>Model Auto Create</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_AUTO_CREATE_FEATURE_COUNT = 3;
-
- /**
- * The number of operations of the '<em>Model Auto Create</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MODEL_AUTO_CREATE_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RootAutoSelectImpl <em>Root Auto Select</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.RootAutoSelectImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getRootAutoSelect()
- * @generated
- */
- int ROOT_AUTO_SELECT = 14;
-
- /**
- * The feature id for the '<em><b>Feature</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ROOT_AUTO_SELECT__FEATURE = 0;
-
- /**
- * The number of structural features of the '<em>Root Auto Select</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ROOT_AUTO_SELECT_FEATURE_COUNT = 1;
-
- /**
- * The number of operations of the '<em>Root Auto Select</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ROOT_AUTO_SELECT_OPERATION_COUNT = 0;
-
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.AssistantRuleImpl <em>Assistant Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.AssistantRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getAssistantRule()
- * @generated
- */
- int ASSISTANT_RULE = 15;
-
- /**
- * The feature id for the '<em><b>Permit</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ASSISTANT_RULE__PERMIT = RULE__PERMIT;
-
- /**
- * The feature id for the '<em><b>Element Type ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ASSISTANT_RULE__ELEMENT_TYPE_ID = RULE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Assistant Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ASSISTANT_RULE_FEATURE_COUNT = RULE_FEATURE_COUNT + 1;
-
- /**
- * The operation id for the '<em>Matches</em>' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ASSISTANT_RULE___MATCHES__IELEMENTTYPE = RULE_OPERATION_COUNT + 0;
-
- /**
- * The number of operations of the '<em>Assistant Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ASSISTANT_RULE_OPERATION_COUNT = RULE_OPERATION_COUNT + 1;
-
-
- /**
- * The meta object id for the '<em>Element Type</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.gmf.runtime.emf.type.core.IElementType
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getElementType()
- * @generated
- */
- int ELEMENT_TYPE = 16;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration <em>Papyrus Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Papyrus Configuration</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration
- * @generated
- */
- EClass getPapyrusConfiguration();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder <em>Default Stakeholder</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Default Stakeholder</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder()
- * @see #getPapyrusConfiguration()
- * @generated
- */
- EReference getPapyrusConfiguration_DefaultStakeholder();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel <em>Metamodel</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Metamodel</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel()
- * @see #getPapyrusConfiguration()
- * @generated
- */
- EReference getPapyrusConfiguration_Metamodel();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getCategories <em>Categories</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Categories</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getCategories()
- * @see #getPapyrusConfiguration()
- * @generated
- */
- EReference getPapyrusConfiguration_Categories();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint <em>Papyrus Viewpoint</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Papyrus Viewpoint</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint
- * @generated
- */
- EClass getPapyrusViewpoint();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent <em>Parent</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Parent</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent()
- * @see #getPapyrusViewpoint()
- * @generated
- */
- EReference getPapyrusViewpoint_Parent();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView <em>Papyrus View</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Papyrus View</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView
- * @generated
- */
- EClass getPapyrusView();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon <em>Icon</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Icon</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon()
- * @see #getPapyrusView()
- * @generated
- */
- EAttribute getPapyrusView_Icon();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent <em>Parent</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Parent</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent()
- * @see #getPapyrusView()
- * @generated
- */
- EReference getPapyrusView_Parent();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getProfiles <em>Profiles</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Profiles</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getProfiles()
- * @see #getPapyrusView()
- * @generated
- */
- EReference getPapyrusView_Profiles();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getModelRules <em>Model Rules</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Model Rules</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getModelRules()
- * @see #getPapyrusView()
- * @generated
- */
- EReference getPapyrusView_ModelRules();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getOwningRules <em>Owning Rules</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Owning Rules</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getOwningRules()
- * @see #getPapyrusView()
- * @generated
- */
- EReference getPapyrusView_OwningRules();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID <em>Implementation ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Implementation ID</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID()
- * @see #getPapyrusView()
- * @generated
- */
- EAttribute getPapyrusView_ImplementationID();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getCategories <em>Categories</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Categories</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getCategories()
- * @see #getPapyrusView()
- * @generated
- */
- EReference getPapyrusView_Categories();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram <em>Papyrus Diagram</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Papyrus Diagram</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram
- * @generated
- */
- EClass getPapyrusDiagram();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette <em>Custom Palette</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Custom Palette</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette()
- * @see #getPapyrusDiagram()
- * @generated
- */
- EAttribute getPapyrusDiagram_CustomPalette();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle <em>Custom Style</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Custom Style</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle()
- * @see #getPapyrusDiagram()
- * @generated
- */
- EAttribute getPapyrusDiagram_CustomStyle();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getChildRules <em>Child Rules</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Child Rules</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getChildRules()
- * @see #getPapyrusDiagram()
- * @generated
- */
- EReference getPapyrusDiagram_ChildRules();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getPaletteRules <em>Palette Rules</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Palette Rules</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getPaletteRules()
- * @see #getPapyrusDiagram()
- * @generated
- */
- EReference getPapyrusDiagram_PaletteRules();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getAssistantRules <em>Assistant Rules</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Assistant Rules</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getAssistantRules()
- * @see #getPapyrusDiagram()
- * @generated
- */
- EReference getPapyrusDiagram_AssistantRules();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable <em>Papyrus Sync Table</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Papyrus Sync Table</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable
- * @generated
- */
- EClass getPapyrusSyncTable();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable <em>Papyrus Table</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Papyrus Table</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable
- * @generated
- */
- EClass getPapyrusTable();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration <em>Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Configuration</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration()
- * @see #getPapyrusTable()
- * @generated
- */
- EAttribute getPapyrusTable_Configuration();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule <em>Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Rule</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.Rule
- * @generated
- */
- EClass getRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit <em>Permit</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Permit</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit()
- * @see #getRule()
- * @generated
- */
- EAttribute getRule_Permit();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule <em>Model Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Model Rule</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule
- * @generated
- */
- EClass getModelRule();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Element</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement()
- * @see #getModelRule()
- * @generated
- */
- EReference getModelRule_Element();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getStereotypes <em>Stereotypes</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Stereotypes</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getStereotypes()
- * @see #getModelRule()
- * @generated
- */
- EReference getModelRule_Stereotypes();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity()
- * @see #getModelRule()
- * @generated
- */
- EAttribute getModelRule_Multiplicity();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule <em>Owning Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Owning Rule</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule
- * @generated
- */
- EClass getOwningRule();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Element</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement()
- * @see #getOwningRule()
- * @generated
- */
- EReference getOwningRule_Element();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getStereotypes <em>Stereotypes</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Stereotypes</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getStereotypes()
- * @see #getOwningRule()
- * @generated
- */
- EReference getOwningRule_Stereotypes();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity()
- * @see #getOwningRule()
- * @generated
- */
- EAttribute getOwningRule_Multiplicity();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getNewModelPath <em>New Model Path</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>New Model Path</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getNewModelPath()
- * @see #getOwningRule()
- * @generated
- */
- EReference getOwningRule_NewModelPath();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getSelectDiagramRoot <em>Select Diagram Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Select Diagram Root</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getSelectDiagramRoot()
- * @see #getOwningRule()
- * @generated
- */
- EReference getOwningRule_SelectDiagramRoot();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule <em>Child Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Child Rule</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule
- * @generated
- */
- EClass getChildRule();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Element</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getElement()
- * @see #getChildRule()
- * @generated
- */
- EReference getChildRule_Element();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getStereotypes <em>Stereotypes</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Stereotypes</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getStereotypes()
- * @see #getChildRule()
- * @generated
- */
- EReference getChildRule_Stereotypes();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin <em>Origin</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Origin</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getOrigin()
- * @see #getChildRule()
- * @generated
- */
- EReference getChildRule_Origin();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getInsertionPath <em>Insertion Path</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Insertion Path</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule#getInsertionPath()
- * @see #getChildRule()
- * @generated
- */
- EReference getChildRule_InsertionPath();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule <em>Palette Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Palette Rule</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule
- * @generated
- */
- EClass getPaletteRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Element</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement()
- * @see #getPaletteRule()
- * @generated
- */
- EAttribute getPaletteRule_Element();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement <em>Path Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Path Element</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PathElement
- * @generated
- */
- EClass getPathElement();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature <em>Feature</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Feature</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature()
- * @see #getPathElement()
- * @generated
- */
- EReference getPathElement_Feature();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getOrigin <em>Origin</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Origin</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getOrigin()
- * @see #getPathElement()
- * @generated
- */
- EReference getPathElement_Origin();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getTarget <em>Target</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Target</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getTarget()
- * @see #getPathElement()
- * @generated
- */
- EReference getPathElement_Target();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category <em>Category</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Category</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.Category
- * @generated
- */
- EClass getCategory();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.Category#getName()
- * @see #getCategory()
- * @generated
- */
- EAttribute getCategory_Name();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate <em>Model Auto Create</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Model Auto Create</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate
- * @generated
- */
- EClass getModelAutoCreate();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature <em>Feature</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Feature</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature()
- * @see #getModelAutoCreate()
- * @generated
- */
- EReference getModelAutoCreate_Feature();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getOrigin <em>Origin</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Origin</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getOrigin()
- * @see #getModelAutoCreate()
- * @generated
- */
- EReference getModelAutoCreate_Origin();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType <em>Creation Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Creation Type</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType()
- * @see #getModelAutoCreate()
- * @generated
- */
- EAttribute getModelAutoCreate_CreationType();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect <em>Root Auto Select</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Root Auto Select</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect
- * @generated
- */
- EClass getRootAutoSelect();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect#getFeature <em>Feature</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Feature</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect#getFeature()
- * @see #getRootAutoSelect()
- * @generated
- */
- EReference getRootAutoSelect_Feature();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule <em>Assistant Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Assistant Rule</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule
- * @generated
- */
- EClass getAssistantRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule#getElementTypeID <em>Element Type ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Element Type ID</em>'.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule#getElementTypeID()
- * @see #getAssistantRule()
- * @generated
- */
- EAttribute getAssistantRule_ElementTypeID();
-
- /**
- * Returns the meta object for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule#matches(org.eclipse.gmf.runtime.emf.type.core.IElementType) <em>Matches</em>}' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the '<em>Matches</em>' operation.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule#matches(org.eclipse.gmf.runtime.emf.type.core.IElementType)
- * @generated
- */
- EOperation getAssistantRule__Matches__IElementType();
-
- /**
- * Returns the meta object for data type '{@link org.eclipse.gmf.runtime.emf.type.core.IElementType <em>Element Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>Element Type</em>'.
- * @see org.eclipse.gmf.runtime.emf.type.core.IElementType
- * @model instanceClass="org.eclipse.gmf.runtime.emf.type.core.IElementType"
- * @generated
- */
- EDataType getElementType();
-
- /**
- * 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
- */
- ConfigurationFactory getConfigurationFactory();
-
- /**
- * <!-- 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 operation 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.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl <em>Papyrus Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusConfiguration()
- * @generated
- */
- EClass PAPYRUS_CONFIGURATION = eINSTANCE.getPapyrusConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Default Stakeholder</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER = eINSTANCE.getPapyrusConfiguration_DefaultStakeholder();
-
- /**
- * The meta object literal for the '<em><b>Metamodel</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_CONFIGURATION__METAMODEL = eINSTANCE.getPapyrusConfiguration_Metamodel();
-
- /**
- * The meta object literal for the '<em><b>Categories</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_CONFIGURATION__CATEGORIES = eINSTANCE.getPapyrusConfiguration_Categories();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl <em>Papyrus Viewpoint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusViewpoint()
- * @generated
- */
- EClass PAPYRUS_VIEWPOINT = eINSTANCE.getPapyrusViewpoint();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_VIEWPOINT__PARENT = eINSTANCE.getPapyrusViewpoint_Parent();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl <em>Papyrus View</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusView()
- * @generated
- */
- EClass PAPYRUS_VIEW = eINSTANCE.getPapyrusView();
-
- /**
- * The meta object literal for the '<em><b>Icon</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PAPYRUS_VIEW__ICON = eINSTANCE.getPapyrusView_Icon();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_VIEW__PARENT = eINSTANCE.getPapyrusView_Parent();
-
- /**
- * The meta object literal for the '<em><b>Profiles</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_VIEW__PROFILES = eINSTANCE.getPapyrusView_Profiles();
-
- /**
- * The meta object literal for the '<em><b>Model Rules</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_VIEW__MODEL_RULES = eINSTANCE.getPapyrusView_ModelRules();
-
- /**
- * The meta object literal for the '<em><b>Owning Rules</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_VIEW__OWNING_RULES = eINSTANCE.getPapyrusView_OwningRules();
-
- /**
- * The meta object literal for the '<em><b>Implementation ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PAPYRUS_VIEW__IMPLEMENTATION_ID = eINSTANCE.getPapyrusView_ImplementationID();
-
- /**
- * The meta object literal for the '<em><b>Categories</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_VIEW__CATEGORIES = eINSTANCE.getPapyrusView_Categories();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl <em>Papyrus Diagram</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusDiagram()
- * @generated
- */
- EClass PAPYRUS_DIAGRAM = eINSTANCE.getPapyrusDiagram();
-
- /**
- * The meta object literal for the '<em><b>Custom Palette</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PAPYRUS_DIAGRAM__CUSTOM_PALETTE = eINSTANCE.getPapyrusDiagram_CustomPalette();
-
- /**
- * The meta object literal for the '<em><b>Custom Style</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PAPYRUS_DIAGRAM__CUSTOM_STYLE = eINSTANCE.getPapyrusDiagram_CustomStyle();
-
- /**
- * The meta object literal for the '<em><b>Child Rules</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_DIAGRAM__CHILD_RULES = eINSTANCE.getPapyrusDiagram_ChildRules();
-
- /**
- * The meta object literal for the '<em><b>Palette Rules</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_DIAGRAM__PALETTE_RULES = eINSTANCE.getPapyrusDiagram_PaletteRules();
-
- /**
- * The meta object literal for the '<em><b>Assistant Rules</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PAPYRUS_DIAGRAM__ASSISTANT_RULES = eINSTANCE.getPapyrusDiagram_AssistantRules();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusSyncTableImpl <em>Papyrus Sync Table</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusSyncTableImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusSyncTable()
- * @generated
- */
- EClass PAPYRUS_SYNC_TABLE = eINSTANCE.getPapyrusSyncTable();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl <em>Papyrus Table</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPapyrusTable()
- * @generated
- */
- EClass PAPYRUS_TABLE = eINSTANCE.getPapyrusTable();
-
- /**
- * The meta object literal for the '<em><b>Configuration</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PAPYRUS_TABLE__CONFIGURATION = eINSTANCE.getPapyrusTable_Configuration();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl <em>Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getRule()
- * @generated
- */
- EClass RULE = eINSTANCE.getRule();
-
- /**
- * The meta object literal for the '<em><b>Permit</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute RULE__PERMIT = eINSTANCE.getRule_Permit();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl <em>Model Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getModelRule()
- * @generated
- */
- EClass MODEL_RULE = eINSTANCE.getModelRule();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MODEL_RULE__ELEMENT = eINSTANCE.getModelRule_Element();
-
- /**
- * The meta object literal for the '<em><b>Stereotypes</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MODEL_RULE__STEREOTYPES = eINSTANCE.getModelRule_Stereotypes();
-
- /**
- * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MODEL_RULE__MULTIPLICITY = eINSTANCE.getModelRule_Multiplicity();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl <em>Owning Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getOwningRule()
- * @generated
- */
- EClass OWNING_RULE = eINSTANCE.getOwningRule();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OWNING_RULE__ELEMENT = eINSTANCE.getOwningRule_Element();
-
- /**
- * The meta object literal for the '<em><b>Stereotypes</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OWNING_RULE__STEREOTYPES = eINSTANCE.getOwningRule_Stereotypes();
-
- /**
- * The meta object literal for the '<em><b>Multiplicity</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OWNING_RULE__MULTIPLICITY = eINSTANCE.getOwningRule_Multiplicity();
-
- /**
- * The meta object literal for the '<em><b>New Model Path</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OWNING_RULE__NEW_MODEL_PATH = eINSTANCE.getOwningRule_NewModelPath();
-
- /**
- * The meta object literal for the '<em><b>Select Diagram Root</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OWNING_RULE__SELECT_DIAGRAM_ROOT = eINSTANCE.getOwningRule_SelectDiagramRoot();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl <em>Child Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getChildRule()
- * @generated
- */
- EClass CHILD_RULE = eINSTANCE.getChildRule();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CHILD_RULE__ELEMENT = eINSTANCE.getChildRule_Element();
-
- /**
- * The meta object literal for the '<em><b>Stereotypes</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CHILD_RULE__STEREOTYPES = eINSTANCE.getChildRule_Stereotypes();
-
- /**
- * The meta object literal for the '<em><b>Origin</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CHILD_RULE__ORIGIN = eINSTANCE.getChildRule_Origin();
-
- /**
- * The meta object literal for the '<em><b>Insertion Path</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CHILD_RULE__INSERTION_PATH = eINSTANCE.getChildRule_InsertionPath();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl <em>Palette Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPaletteRule()
- * @generated
- */
- EClass PALETTE_RULE = eINSTANCE.getPaletteRule();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PALETTE_RULE__ELEMENT = eINSTANCE.getPaletteRule_Element();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl <em>Path Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getPathElement()
- * @generated
- */
- EClass PATH_ELEMENT = eINSTANCE.getPathElement();
-
- /**
- * The meta object literal for the '<em><b>Feature</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PATH_ELEMENT__FEATURE = eINSTANCE.getPathElement_Feature();
-
- /**
- * The meta object literal for the '<em><b>Origin</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PATH_ELEMENT__ORIGIN = eINSTANCE.getPathElement_Origin();
-
- /**
- * The meta object literal for the '<em><b>Target</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PATH_ELEMENT__TARGET = eINSTANCE.getPathElement_Target();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl <em>Category</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getCategory()
- * @generated
- */
- EClass CATEGORY = eINSTANCE.getCategory();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CATEGORY__NAME = eINSTANCE.getCategory_Name();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl <em>Model Auto Create</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getModelAutoCreate()
- * @generated
- */
- EClass MODEL_AUTO_CREATE = eINSTANCE.getModelAutoCreate();
-
- /**
- * The meta object literal for the '<em><b>Feature</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MODEL_AUTO_CREATE__FEATURE = eINSTANCE.getModelAutoCreate_Feature();
-
- /**
- * The meta object literal for the '<em><b>Origin</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MODEL_AUTO_CREATE__ORIGIN = eINSTANCE.getModelAutoCreate_Origin();
-
- /**
- * The meta object literal for the '<em><b>Creation Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MODEL_AUTO_CREATE__CREATION_TYPE = eINSTANCE.getModelAutoCreate_CreationType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RootAutoSelectImpl <em>Root Auto Select</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.RootAutoSelectImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getRootAutoSelect()
- * @generated
- */
- EClass ROOT_AUTO_SELECT = eINSTANCE.getRootAutoSelect();
-
- /**
- * The meta object literal for the '<em><b>Feature</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ROOT_AUTO_SELECT__FEATURE = eINSTANCE.getRootAutoSelect_Feature();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.AssistantRuleImpl <em>Assistant Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.AssistantRuleImpl
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getAssistantRule()
- * @generated
- */
- EClass ASSISTANT_RULE = eINSTANCE.getAssistantRule();
-
- /**
- * The meta object literal for the '<em><b>Element Type ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ASSISTANT_RULE__ELEMENT_TYPE_ID = eINSTANCE.getAssistantRule_ElementTypeID();
-
- /**
- * The meta object literal for the '<em><b>Matches</b></em>' operation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EOperation ASSISTANT_RULE___MATCHES__IELEMENTTYPE = eINSTANCE.getAssistantRule__Matches__IElementType();
-
- /**
- * The meta object literal for the '<em>Element Type</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.gmf.runtime.emf.type.core.IElementType
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.impl.ConfigurationPackageImpl#getElementType()
- * @generated
- */
- EDataType ELEMENT_TYPE = eINSTANCE.getElementType();
-
- }
-
-} //ConfigurationPackage
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java
deleted file mode 100644
index 950a8d84ab0..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ModelAutoCreate.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Model Auto Create</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature <em>Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType <em>Creation Type</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelAutoCreate()
- * @model
- * @generated
- */
-public interface ModelAutoCreate extends EObject {
- /**
- * Returns the value of the '<em><b>Feature</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Feature</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Feature</em>' reference.
- * @see #setFeature(EReference)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelAutoCreate_Feature()
- * @model required="true"
- * @generated
- */
- EReference getFeature();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getFeature <em>Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Feature</em>' reference.
- * @see #getFeature()
- * @generated
- */
- void setFeature(EReference value);
-
- /**
- * Returns the value of the '<em><b>Origin</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Origin</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Origin</em>' reference.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelAutoCreate_Origin()
- * @model required="true" transient="true" changeable="false" volatile="true" derived="true"
- * @generated
- */
- EClass getOrigin();
-
- /**
- * Returns the value of the '<em><b>Creation Type</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Creation Type</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Creation Type</em>' attribute.
- * @see #setCreationType(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelAutoCreate_CreationType()
- * @model required="true"
- * @generated
- */
- String getCreationType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate#getCreationType <em>Creation Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Creation Type</em>' attribute.
- * @see #getCreationType()
- * @generated
- */
- void setCreationType(String value);
-
-} // ModelAutoCreate
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.java
deleted file mode 100644
index c590e679545..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/ModelRule.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.papyrus.infra.constraints.DisplayUnit;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Model Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity <em>Multiplicity</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelRule()
- * @model
- * @generated
- */
-public interface ModelRule extends Rule, DisplayUnit {
- /**
- * Returns the value of the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element</em>' reference.
- * @see #setElement(EClass)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelRule_Element()
- * @model
- * @generated
- */
- EClass getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getElement <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' reference.
- * @see #getElement()
- * @generated
- */
- void setElement(EClass value);
-
- /**
- * Returns the value of the '<em><b>Stereotypes</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.ecore.EClass}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Stereotypes</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Stereotypes</em>' reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelRule_Stereotypes()
- * @model
- * @generated
- */
- EList<EClass> getStereotypes();
-
- /**
- * Returns the value of the '<em><b>Multiplicity</b></em>' attribute.
- * The default value is <code>"-1"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Multiplicity</em>' attribute.
- * @see #setMultiplicity(int)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getModelRule_Multiplicity()
- * @model default="-1" required="true"
- * @generated
- */
- int getMultiplicity();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule#getMultiplicity <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Multiplicity</em>' attribute.
- * @see #getMultiplicity()
- * @generated
- */
- void setMultiplicity(int value);
-
-} // ModelRule
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.java
deleted file mode 100644
index 45230c10699..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/OwningRule.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Owning Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity <em>Multiplicity</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getNewModelPath <em>New Model Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getSelectDiagramRoot <em>Select Diagram Root</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule()
- * @model
- * @generated
- */
-public interface OwningRule extends Rule {
- /**
- * Returns the value of the '<em><b>Element</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element</em>' reference.
- * @see #setElement(EClass)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_Element()
- * @model
- * @generated
- */
- EClass getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getElement <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' reference.
- * @see #getElement()
- * @generated
- */
- void setElement(EClass value);
-
- /**
- * Returns the value of the '<em><b>Stereotypes</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.ecore.EClass}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Stereotypes</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Stereotypes</em>' reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_Stereotypes()
- * @model
- * @generated
- */
- EList<EClass> getStereotypes();
-
- /**
- * Returns the value of the '<em><b>Multiplicity</b></em>' attribute.
- * The default value is <code>"-1"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Multiplicity</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Multiplicity</em>' attribute.
- * @see #setMultiplicity(int)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_Multiplicity()
- * @model default="-1" required="true"
- * @generated
- */
- int getMultiplicity();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule#getMultiplicity <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Multiplicity</em>' attribute.
- * @see #getMultiplicity()
- * @generated
- */
- void setMultiplicity(int value);
-
- /**
- * Returns the value of the '<em><b>New Model Path</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>New Model Path</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>New Model Path</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_NewModelPath()
- * @model containment="true"
- * @generated
- */
- EList<ModelAutoCreate> getNewModelPath();
-
- /**
- * Returns the value of the '<em><b>Select Diagram Root</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Select Diagram Root</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Select Diagram Root</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getOwningRule_SelectDiagramRoot()
- * @model containment="true"
- * @generated
- */
- EList<RootAutoSelect> getSelectDiagramRoot();
-
-} // OwningRule
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.java
deleted file mode 100644
index b1bfe75140a..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PaletteRule.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Palette Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement <em>Element</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPaletteRule()
- * @model
- * @generated
- */
-public interface PaletteRule extends Rule {
- /**
- * Returns the value of the '<em><b>Element</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element</em>' attribute.
- * @see #setElement(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPaletteRule_Element()
- * @model
- * @generated
- */
- String getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule#getElement <em>Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element</em>' attribute.
- * @see #getElement()
- * @generated
- */
- void setElement(String value);
-
-} // PaletteRule
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.java
deleted file mode 100644
index 1a0b9a44092..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusConfiguration.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework;
-import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Papyrus Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder <em>Default Stakeholder</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel <em>Metamodel</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getCategories <em>Categories</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusConfiguration()
- * @model
- * @generated
- */
-public interface PapyrusConfiguration extends ArchitectureFramework {
- /**
- * Returns the value of the '<em><b>Default Stakeholder</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Default Stakeholder</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Default Stakeholder</em>' reference.
- * @see #setDefaultStakeholder(Stakeholder)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusConfiguration_DefaultStakeholder()
- * @model required="true"
- * @generated
- */
- Stakeholder getDefaultStakeholder();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getDefaultStakeholder <em>Default Stakeholder</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Default Stakeholder</em>' reference.
- * @see #getDefaultStakeholder()
- * @generated
- */
- void setDefaultStakeholder(Stakeholder value);
-
- /**
- * Returns the value of the '<em><b>Metamodel</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Metamodel</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Metamodel</em>' reference.
- * @see #setMetamodel(EPackage)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusConfiguration_Metamodel()
- * @model required="true"
- * @generated
- */
- EPackage getMetamodel();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration#getMetamodel <em>Metamodel</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Metamodel</em>' reference.
- * @see #getMetamodel()
- * @generated
- */
- void setMetamodel(EPackage value);
-
- /**
- * Returns the value of the '<em><b>Categories</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.Category}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Categories</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Categories</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusConfiguration_Categories()
- * @model containment="true"
- * @generated
- */
- EList<Category> getCategories();
-
-} // PapyrusConfiguration
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.java
deleted file mode 100644
index 6c8f709ef40..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusDiagram.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Papyrus Diagram</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette <em>Custom Palette</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle <em>Custom Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getChildRules <em>Child Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getPaletteRules <em>Palette Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getAssistantRules <em>Assistant Rules</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram()
- * @model
- * @generated
- */
-public interface PapyrusDiagram extends PapyrusView {
- /**
- * Returns the value of the '<em><b>Custom Palette</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Custom Palette</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Custom Palette</em>' attribute.
- * @see #setCustomPalette(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_CustomPalette()
- * @model
- * @generated
- */
- String getCustomPalette();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomPalette <em>Custom Palette</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Custom Palette</em>' attribute.
- * @see #getCustomPalette()
- * @generated
- */
- void setCustomPalette(String value);
-
- /**
- * Returns the value of the '<em><b>Custom Style</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Custom Style</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Custom Style</em>' attribute.
- * @see #setCustomStyle(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_CustomStyle()
- * @model
- * @generated
- */
- String getCustomStyle();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram#getCustomStyle <em>Custom Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Custom Style</em>' attribute.
- * @see #getCustomStyle()
- * @generated
- */
- void setCustomStyle(String value);
-
- /**
- * Returns the value of the '<em><b>Child Rules</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * These rules determine which model elements can be added as child of the origin through this diagram
- * <!-- end-model-doc -->
- * @return the value of the '<em>Child Rules</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_ChildRules()
- * @model containment="true"
- * @generated
- */
- EList<ChildRule> getChildRules();
-
- /**
- * Returns the value of the '<em><b>Palette Rules</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * These rules determine which palette elements should be available for this diagram
- * <!-- end-model-doc -->
- * @return the value of the '<em>Palette Rules</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_PaletteRules()
- * @model containment="true"
- * @generated
- */
- EList<PaletteRule> getPaletteRules();
-
- /**
- * Returns the value of the '<em><b>Assistant Rules</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * These rules determine which modeling assistants should be presented in this diagram
- * <!-- end-model-doc -->
- * @return the value of the '<em>Assistant Rules</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusDiagram_AssistantRules()
- * @model containment="true"
- * @generated
- */
- EList<AssistantRule> getAssistantRules();
-
-} // PapyrusDiagram
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java
deleted file mode 100644
index 66841f834ae..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusSyncTable.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Papyrus Sync Table</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusSyncTable()
- * @model
- * @generated
- */
-public interface PapyrusSyncTable extends PapyrusView {
-} // PapyrusSyncTable
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java
deleted file mode 100644
index 7e14039d12f..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusTable.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Papyrus Table</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration <em>Configuration</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusTable()
- * @model
- * @generated
- */
-public interface PapyrusTable extends PapyrusView {
- /**
- * Returns the value of the '<em><b>Configuration</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Configuration</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Configuration</em>' attribute.
- * @see #setConfiguration(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusTable_Configuration()
- * @model required="true"
- * @generated
- */
- String getConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable#getConfiguration <em>Configuration</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Configuration</em>' attribute.
- * @see #getConfiguration()
- * @generated
- */
- void setConfiguration(String value);
-
-} // PapyrusTable
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.java
deleted file mode 100644
index abedef47f9e..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusView.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Papyrus View</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon <em>Icon</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getProfiles <em>Profiles</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getModelRules <em>Model Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getOwningRules <em>Owning Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID <em>Implementation ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getCategories <em>Categories</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView()
- * @model
- * @generated
- */
-public interface PapyrusView extends ModelKind {
- /**
- * Returns the value of the '<em><b>Icon</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Icon</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Icon</em>' attribute.
- * @see #setIcon(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_Icon()
- * @model
- * @generated
- */
- String getIcon();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getIcon <em>Icon</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Icon</em>' attribute.
- * @see #getIcon()
- * @generated
- */
- void setIcon(String value);
-
- /**
- * Returns the value of the '<em><b>Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parent</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Parent</em>' reference.
- * @see #setParent(PapyrusView)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_Parent()
- * @model
- * @generated
- */
- PapyrusView getParent();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getParent <em>Parent</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Parent</em>' reference.
- * @see #getParent()
- * @generated
- */
- void setParent(PapyrusView value);
-
- /**
- * Returns the value of the '<em><b>Profiles</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.ecore.EPackage}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Profiles</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Profiles</em>' reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_Profiles()
- * @model
- * @generated
- */
- EList<EPackage> getProfiles();
-
- /**
- * Returns the value of the '<em><b>Model Rules</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * These rules determine which model elements can be the semantic element behind this diagram
- * <!-- end-model-doc -->
- * @return the value of the '<em>Model Rules</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_ModelRules()
- * @model containment="true" required="true"
- * @generated
- */
- EList<ModelRule> getModelRules();
-
- /**
- * Returns the value of the '<em><b>Owning Rules</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * These rules determine which elements can be the syntactic owner of this diagram
- * <!-- end-model-doc -->
- * @return the value of the '<em>Owning Rules</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_OwningRules()
- * @model containment="true" required="true"
- * @generated
- */
- EList<OwningRule> getOwningRules();
-
- /**
- * Returns the value of the '<em><b>Implementation ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Implementation ID</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Implementation ID</em>' attribute.
- * @see #setImplementationID(String)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_ImplementationID()
- * @model required="true"
- * @generated
- */
- String getImplementationID();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView#getImplementationID <em>Implementation ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Implementation ID</em>' attribute.
- * @see #getImplementationID()
- * @generated
- */
- void setImplementationID(String value);
-
- /**
- * Returns the value of the '<em><b>Categories</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.viewpoints.configuration.Category}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Categories</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Categories</em>' reference list.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusView_Categories()
- * @model
- * @generated
- */
- EList<Category> getCategories();
-
-} // PapyrusView
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.java
deleted file mode 100644
index 2bebe92da89..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PapyrusViewpoint.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Papyrus Viewpoint</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent <em>Parent</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusViewpoint()
- * @model
- * @generated
- */
-public interface PapyrusViewpoint extends ArchitectureViewpoint {
- /**
- * Returns the value of the '<em><b>Parent</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parent</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Parent</em>' reference.
- * @see #setParent(PapyrusViewpoint)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPapyrusViewpoint_Parent()
- * @model
- * @generated
- */
- PapyrusViewpoint getParent();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint#getParent <em>Parent</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Parent</em>' reference.
- * @see #getParent()
- * @generated
- */
- void setParent(PapyrusViewpoint value);
-
-} // PapyrusViewpoint
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.java
deleted file mode 100644
index 33bb78650ba..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/PathElement.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Path Element</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature <em>Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getTarget <em>Target</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPathElement()
- * @model
- * @generated
- */
-public interface PathElement extends EObject {
- /**
- * Returns the value of the '<em><b>Feature</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Feature</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Feature</em>' reference.
- * @see #setFeature(EReference)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPathElement_Feature()
- * @model required="true"
- * @generated
- */
- EReference getFeature();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement#getFeature <em>Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Feature</em>' reference.
- * @see #getFeature()
- * @generated
- */
- void setFeature(EReference value);
-
- /**
- * Returns the value of the '<em><b>Origin</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Origin</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Origin</em>' reference.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPathElement_Origin()
- * @model required="true" transient="true" changeable="false" volatile="true" derived="true"
- * @generated
- */
- EClass getOrigin();
-
- /**
- * Returns the value of the '<em><b>Target</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Target</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Target</em>' reference.
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getPathElement_Target()
- * @model required="true" transient="true" changeable="false" volatile="true" derived="true"
- * @generated
- */
- EClass getTarget();
-
-} // PathElement
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/RootAutoSelect.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/RootAutoSelect.java
deleted file mode 100644
index 0c350dcc998..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/RootAutoSelect.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Root Auto Select</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect#getFeature <em>Feature</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getRootAutoSelect()
- * @model
- * @generated
- */
-public interface RootAutoSelect extends EObject {
- /**
- * Returns the value of the '<em><b>Feature</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Feature</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Feature</em>' reference.
- * @see #setFeature(EReference)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getRootAutoSelect_Feature()
- * @model required="true"
- * @generated
- */
- EReference getFeature();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect#getFeature <em>Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Feature</em>' reference.
- * @see #getFeature()
- * @generated
- */
- void setFeature(EReference value);
-
-} // RootAutoSelect
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.java
deleted file mode 100644
index c2133246c86..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/Rule.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * Copyright (c) 2013 CEA LIST.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit <em>Permit</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getRule()
- * @model abstract="true"
- * @generated
- */
-public interface Rule extends EObject {
- /**
- * Returns the value of the '<em><b>Permit</b></em>' attribute.
- * The default value is <code>"true"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Permit</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Permit</em>' attribute.
- * @see #setPermit(boolean)
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage#getRule_Permit()
- * @model default="true" required="true"
- * @generated
- */
- boolean isPermit();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule#isPermit <em>Permit</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Permit</em>' attribute.
- * @see #isPermit()
- * @generated
- */
- void setPermit(boolean value);
-
-} // Rule
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/AssistantRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/AssistantRuleImpl.java
deleted file mode 100644
index a5e7a783900..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/AssistantRuleImpl.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/**
- * Copyright (c) 2015 Christian W. Damus and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Christian W. Damus - Initial API and implementation
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import java.lang.reflect.InvocationTargetException;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.gmf.runtime.emf.type.core.IElementType;
-import org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Assistant Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.AssistantRuleImpl#getElementTypeID <em>Element Type ID</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class AssistantRuleImpl extends RuleImpl implements AssistantRule {
- /**
- * The default value of the '{@link #getElementTypeID() <em>Element Type ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementTypeID()
- * @generated
- * @ordered
- */
- protected static final String ELEMENT_TYPE_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getElementTypeID() <em>Element Type ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementTypeID()
- * @generated
- * @ordered
- */
- protected String elementTypeID = ELEMENT_TYPE_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AssistantRuleImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.ASSISTANT_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getElementTypeID() {
- return elementTypeID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElementTypeID(String newElementTypeID) {
- String oldElementTypeID = elementTypeID;
- elementTypeID = newElementTypeID;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.ASSISTANT_RULE__ELEMENT_TYPE_ID, oldElementTypeID, elementTypeID));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- public boolean matches(IElementType elementType) {
- // Implemented in the custom subclass
- throw new UnsupportedOperationException();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.ASSISTANT_RULE__ELEMENT_TYPE_ID:
- return getElementTypeID();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.ASSISTANT_RULE__ELEMENT_TYPE_ID:
- setElementTypeID((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.ASSISTANT_RULE__ELEMENT_TYPE_ID:
- setElementTypeID(ELEMENT_TYPE_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.ASSISTANT_RULE__ELEMENT_TYPE_ID:
- return ELEMENT_TYPE_ID_EDEFAULT == null ? elementTypeID != null : !ELEMENT_TYPE_ID_EDEFAULT.equals(elementTypeID);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException {
- switch (operationID) {
- case ConfigurationPackage.ASSISTANT_RULE___MATCHES__IELEMENTTYPE:
- return matches((IElementType) arguments.get(0));
- }
- return super.eInvoke(operationID, arguments);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (elementTypeID: ");
- result.append(elementTypeID);
- result.append(')');
- return result.toString();
- }
-
-} // AssistantRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java
deleted file mode 100644
index 2bbedf1aec1..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/CategoryImpl.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.Category;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Category</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.CategoryImpl#getName <em>Name</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class CategoryImpl extends MinimalEObjectImpl.Container implements Category {
- /**
- * 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 CategoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.CATEGORY;
- }
-
- /**
- * <!-- 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, ConfigurationPackage.CATEGORY__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.CATEGORY__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 ConfigurationPackage.CATEGORY__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 ConfigurationPackage.CATEGORY__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.CATEGORY__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(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //CategoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.java
deleted file mode 100644
index acdb441d65b..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ChildRuleImpl.java
+++ /dev/null
@@ -1,328 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PathElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Child Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ChildRuleImpl#getInsertionPath <em>Insertion Path</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ChildRuleImpl extends RuleImpl implements ChildRule {
- /**
- * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected EClass element;
-
- /**
- * The cached value of the '{@link #getStereotypes() <em>Stereotypes</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStereotypes()
- * @generated
- * @ordered
- */
- protected EList<EClass> stereotypes;
-
- /**
- * The cached value of the '{@link #getOrigin() <em>Origin</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOrigin()
- * @generated
- * @ordered
- */
- protected EClass origin;
-
- /**
- * The cached value of the '{@link #getInsertionPath() <em>Insertion Path</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInsertionPath()
- * @generated
- * @ordered
- */
- protected EList<PathElement> insertionPath;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ChildRuleImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.CHILD_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getElement() {
- if (element != null && element.eIsProxy()) {
- InternalEObject oldElement = (InternalEObject) element;
- element = (EClass) eResolveProxy(oldElement);
- if (element != oldElement) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.CHILD_RULE__ELEMENT, oldElement, element));
- }
- }
- }
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass basicGetElement() {
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElement(EClass newElement) {
- EClass oldElement = element;
- element = newElement;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.CHILD_RULE__ELEMENT, oldElement, element));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<EClass> getStereotypes() {
- if (stereotypes == null) {
- stereotypes = new EObjectResolvingEList<EClass>(EClass.class, this, ConfigurationPackage.CHILD_RULE__STEREOTYPES);
- }
- return stereotypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOrigin() {
- if (origin != null && origin.eIsProxy()) {
- InternalEObject oldOrigin = (InternalEObject) origin;
- origin = (EClass) eResolveProxy(oldOrigin);
- if (origin != oldOrigin) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.CHILD_RULE__ORIGIN, oldOrigin, origin));
- }
- }
- }
- return origin;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass basicGetOrigin() {
- return origin;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOrigin(EClass newOrigin) {
- EClass oldOrigin = origin;
- origin = newOrigin;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.CHILD_RULE__ORIGIN, oldOrigin, origin));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<PathElement> getInsertionPath() {
- if (insertionPath == null) {
- insertionPath = new EObjectContainmentEList<PathElement>(PathElement.class, this, ConfigurationPackage.CHILD_RULE__INSERTION_PATH);
- }
- return insertionPath;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- return ((InternalEList<?>) getInsertionPath()).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 ConfigurationPackage.CHILD_RULE__ELEMENT:
- if (resolve) {
- return getElement();
- }
- return basicGetElement();
- case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
- return getStereotypes();
- case ConfigurationPackage.CHILD_RULE__ORIGIN:
- if (resolve) {
- return getOrigin();
- }
- return basicGetOrigin();
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- return getInsertionPath();
- }
- 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 ConfigurationPackage.CHILD_RULE__ELEMENT:
- setElement((EClass) newValue);
- return;
- case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
- getStereotypes().clear();
- getStereotypes().addAll((Collection<? extends EClass>) newValue);
- return;
- case ConfigurationPackage.CHILD_RULE__ORIGIN:
- setOrigin((EClass) newValue);
- return;
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- getInsertionPath().clear();
- getInsertionPath().addAll((Collection<? extends PathElement>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.CHILD_RULE__ELEMENT:
- setElement((EClass) null);
- return;
- case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
- getStereotypes().clear();
- return;
- case ConfigurationPackage.CHILD_RULE__ORIGIN:
- setOrigin((EClass) null);
- return;
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- getInsertionPath().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.CHILD_RULE__ELEMENT:
- return element != null;
- case ConfigurationPackage.CHILD_RULE__STEREOTYPES:
- return stereotypes != null && !stereotypes.isEmpty();
- case ConfigurationPackage.CHILD_RULE__ORIGIN:
- return origin != null;
- case ConfigurationPackage.CHILD_RULE__INSERTION_PATH:
- return insertionPath != null && !insertionPath.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //ChildRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.java
deleted file mode 100644
index f1255498509..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationFactoryImpl.java
+++ /dev/null
@@ -1,325 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-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.gmf.runtime.emf.type.core.IElementType;
-import org.eclipse.papyrus.infra.viewpoints.configuration.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ConfigurationFactoryImpl extends EFactoryImpl implements ConfigurationFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ConfigurationFactory init() {
- try {
- ConfigurationFactory theConfigurationFactory = (ConfigurationFactory) EPackage.Registry.INSTANCE.getEFactory(ConfigurationPackage.eNS_URI);
- if (theConfigurationFactory != null) {
- return theConfigurationFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ConfigurationFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigurationFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION:
- return createPapyrusConfiguration();
- case ConfigurationPackage.PAPYRUS_VIEWPOINT:
- return createPapyrusViewpoint();
- case ConfigurationPackage.PAPYRUS_VIEW:
- return createPapyrusView();
- case ConfigurationPackage.PAPYRUS_DIAGRAM:
- return createPapyrusDiagram();
- case ConfigurationPackage.PAPYRUS_SYNC_TABLE:
- return createPapyrusSyncTable();
- case ConfigurationPackage.PAPYRUS_TABLE:
- return createPapyrusTable();
- case ConfigurationPackage.MODEL_RULE:
- return createModelRule();
- case ConfigurationPackage.OWNING_RULE:
- return createOwningRule();
- case ConfigurationPackage.CHILD_RULE:
- return createChildRule();
- case ConfigurationPackage.PALETTE_RULE:
- return createPaletteRule();
- case ConfigurationPackage.PATH_ELEMENT:
- return createPathElement();
- case ConfigurationPackage.CATEGORY:
- return createCategory();
- case ConfigurationPackage.MODEL_AUTO_CREATE:
- return createModelAutoCreate();
- case ConfigurationPackage.ROOT_AUTO_SELECT:
- return createRootAutoSelect();
- case ConfigurationPackage.ASSISTANT_RULE:
- return createAssistantRule();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case ConfigurationPackage.ELEMENT_TYPE:
- return createElementTypeFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case ConfigurationPackage.ELEMENT_TYPE:
- return convertElementTypeToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusConfiguration createPapyrusConfiguration() {
- PapyrusConfigurationImpl papyrusConfiguration = new PapyrusConfigurationImpl();
- return papyrusConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusViewpoint createPapyrusViewpoint() {
- PapyrusViewpointImpl papyrusViewpoint = new PapyrusViewpointImpl();
- return papyrusViewpoint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusView createPapyrusView() {
- PapyrusViewImpl papyrusView = new PapyrusViewImpl();
- return papyrusView;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusDiagram createPapyrusDiagram() {
- PapyrusDiagramImpl papyrusDiagram = new PapyrusDiagramImpl();
- return papyrusDiagram;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusSyncTable createPapyrusSyncTable() {
- PapyrusSyncTableImpl papyrusSyncTable = new PapyrusSyncTableImpl();
- return papyrusSyncTable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusTable createPapyrusTable() {
- PapyrusTableImpl papyrusTable = new PapyrusTableImpl();
- return papyrusTable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ModelRule createModelRule() {
- ModelRuleImpl modelRule = new ModelRuleImpl();
- return modelRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OwningRule createOwningRule() {
- OwningRuleImpl owningRule = new OwningRuleImpl();
- return owningRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ChildRule createChildRule() {
- ChildRuleImpl childRule = new ChildRuleImpl();
- return childRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PaletteRule createPaletteRule() {
- PaletteRuleImpl paletteRule = new PaletteRuleImpl();
- return paletteRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PathElement createPathElement() {
- PathElementImpl pathElement = new PathElementImpl();
- return pathElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Category createCategory() {
- CategoryImpl category = new CategoryImpl();
- return category;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ModelAutoCreate createModelAutoCreate() {
- ModelAutoCreateImpl modelAutoCreate = new ModelAutoCreateImpl();
- return modelAutoCreate;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RootAutoSelect createRootAutoSelect() {
- RootAutoSelectImpl rootAutoSelect = new RootAutoSelectImpl();
- return rootAutoSelect;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssistantRule createAssistantRule() {
- AssistantRuleImpl assistantRule = new AssistantRuleImpl();
- return assistantRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IElementType createElementTypeFromString(EDataType eDataType, String initialValue) {
- return (IElementType) super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertElementTypeToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigurationPackage getConfigurationPackage() {
- return (ConfigurationPackage) getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ConfigurationPackage getPackage() {
- return ConfigurationPackage.eINSTANCE;
- }
-
-} //ConfigurationFactoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.java
deleted file mode 100644
index 11953533667..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ConfigurationPackageImpl.java
+++ /dev/null
@@ -1,1014 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.gmf.runtime.emf.type.core.IElementType;
-import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.Category;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationFactory;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PathElement;
-import org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect;
-import org.eclipse.papyrus.infra.viewpoints.configuration.Rule;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.Iso42010Package;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ConfigurationPackageImpl extends EPackageImpl implements ConfigurationPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass papyrusConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass papyrusViewpointEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass papyrusViewEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass papyrusDiagramEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass papyrusSyncTableEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass papyrusTableEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass ruleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass modelRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass owningRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass childRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass paletteRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass pathElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass categoryEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass modelAutoCreateEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass rootAutoSelectEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass assistantRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType elementTypeEDataType = 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.infra.viewpoints.configuration.ConfigurationPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ConfigurationPackageImpl() {
- super(eNS_URI, ConfigurationFactory.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 ConfigurationPackage#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 ConfigurationPackage init() {
- if (isInited) {
- return (ConfigurationPackage) EPackage.Registry.INSTANCE.getEPackage(ConfigurationPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- ConfigurationPackageImpl theConfigurationPackage = (ConfigurationPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConfigurationPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- ConstraintsPackage.eINSTANCE.eClass();
- Iso42010Package.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theConfigurationPackage.createPackageContents();
-
- // Initialize created meta-data
- theConfigurationPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theConfigurationPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(ConfigurationPackage.eNS_URI, theConfigurationPackage);
- return theConfigurationPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPapyrusConfiguration() {
- return papyrusConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusConfiguration_DefaultStakeholder() {
- return (EReference) papyrusConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusConfiguration_Metamodel() {
- return (EReference) papyrusConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusConfiguration_Categories() {
- return (EReference) papyrusConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPapyrusViewpoint() {
- return papyrusViewpointEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusViewpoint_Parent() {
- return (EReference) papyrusViewpointEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPapyrusView() {
- return papyrusViewEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPapyrusView_Icon() {
- return (EAttribute) papyrusViewEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusView_Parent() {
- return (EReference) papyrusViewEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusView_Profiles() {
- return (EReference) papyrusViewEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusView_ModelRules() {
- return (EReference) papyrusViewEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusView_OwningRules() {
- return (EReference) papyrusViewEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPapyrusView_ImplementationID() {
- return (EAttribute) papyrusViewEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusView_Categories() {
- return (EReference) papyrusViewEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPapyrusDiagram() {
- return papyrusDiagramEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPapyrusDiagram_CustomPalette() {
- return (EAttribute) papyrusDiagramEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPapyrusDiagram_CustomStyle() {
- return (EAttribute) papyrusDiagramEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusDiagram_ChildRules() {
- return (EReference) papyrusDiagramEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusDiagram_PaletteRules() {
- return (EReference) papyrusDiagramEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPapyrusDiagram_AssistantRules() {
- return (EReference) papyrusDiagramEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPapyrusSyncTable() {
- return papyrusSyncTableEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPapyrusTable() {
- return papyrusTableEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPapyrusTable_Configuration() {
- return (EAttribute) papyrusTableEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRule() {
- return ruleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRule_Permit() {
- return (EAttribute) ruleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getModelRule() {
- return modelRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getModelRule_Element() {
- return (EReference) modelRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getModelRule_Stereotypes() {
- return (EReference) modelRuleEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getModelRule_Multiplicity() {
- return (EAttribute) modelRuleEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOwningRule() {
- return owningRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOwningRule_Element() {
- return (EReference) owningRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOwningRule_Stereotypes() {
- return (EReference) owningRuleEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getOwningRule_Multiplicity() {
- return (EAttribute) owningRuleEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOwningRule_NewModelPath() {
- return (EReference) owningRuleEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOwningRule_SelectDiagramRoot() {
- return (EReference) owningRuleEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getChildRule() {
- return childRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getChildRule_Element() {
- return (EReference) childRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getChildRule_Stereotypes() {
- return (EReference) childRuleEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getChildRule_Origin() {
- return (EReference) childRuleEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getChildRule_InsertionPath() {
- return (EReference) childRuleEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPaletteRule() {
- return paletteRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPaletteRule_Element() {
- return (EAttribute) paletteRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPathElement() {
- return pathElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPathElement_Feature() {
- return (EReference) pathElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPathElement_Origin() {
- return (EReference) pathElementEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPathElement_Target() {
- return (EReference) pathElementEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCategory() {
- return categoryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCategory_Name() {
- return (EAttribute) categoryEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getModelAutoCreate() {
- return modelAutoCreateEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getModelAutoCreate_Feature() {
- return (EReference) modelAutoCreateEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getModelAutoCreate_Origin() {
- return (EReference) modelAutoCreateEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getModelAutoCreate_CreationType() {
- return (EAttribute) modelAutoCreateEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRootAutoSelect() {
- return rootAutoSelectEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRootAutoSelect_Feature() {
- return (EReference) rootAutoSelectEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAssistantRule() {
- return assistantRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAssistantRule_ElementTypeID() {
- return (EAttribute) assistantRuleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EOperation getAssistantRule__Matches__IElementType() {
- return assistantRuleEClass.getEOperations().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getElementType() {
- return elementTypeEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigurationFactory getConfigurationFactory() {
- return (ConfigurationFactory) 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
- papyrusConfigurationEClass = createEClass(PAPYRUS_CONFIGURATION);
- createEReference(papyrusConfigurationEClass, PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER);
- createEReference(papyrusConfigurationEClass, PAPYRUS_CONFIGURATION__METAMODEL);
- createEReference(papyrusConfigurationEClass, PAPYRUS_CONFIGURATION__CATEGORIES);
-
- papyrusViewpointEClass = createEClass(PAPYRUS_VIEWPOINT);
- createEReference(papyrusViewpointEClass, PAPYRUS_VIEWPOINT__PARENT);
-
- papyrusViewEClass = createEClass(PAPYRUS_VIEW);
- createEAttribute(papyrusViewEClass, PAPYRUS_VIEW__ICON);
- createEReference(papyrusViewEClass, PAPYRUS_VIEW__PARENT);
- createEReference(papyrusViewEClass, PAPYRUS_VIEW__PROFILES);
- createEReference(papyrusViewEClass, PAPYRUS_VIEW__MODEL_RULES);
- createEReference(papyrusViewEClass, PAPYRUS_VIEW__OWNING_RULES);
- createEAttribute(papyrusViewEClass, PAPYRUS_VIEW__IMPLEMENTATION_ID);
- createEReference(papyrusViewEClass, PAPYRUS_VIEW__CATEGORIES);
-
- papyrusDiagramEClass = createEClass(PAPYRUS_DIAGRAM);
- createEAttribute(papyrusDiagramEClass, PAPYRUS_DIAGRAM__CUSTOM_PALETTE);
- createEAttribute(papyrusDiagramEClass, PAPYRUS_DIAGRAM__CUSTOM_STYLE);
- createEReference(papyrusDiagramEClass, PAPYRUS_DIAGRAM__CHILD_RULES);
- createEReference(papyrusDiagramEClass, PAPYRUS_DIAGRAM__PALETTE_RULES);
- createEReference(papyrusDiagramEClass, PAPYRUS_DIAGRAM__ASSISTANT_RULES);
-
- papyrusSyncTableEClass = createEClass(PAPYRUS_SYNC_TABLE);
-
- papyrusTableEClass = createEClass(PAPYRUS_TABLE);
- createEAttribute(papyrusTableEClass, PAPYRUS_TABLE__CONFIGURATION);
-
- ruleEClass = createEClass(RULE);
- createEAttribute(ruleEClass, RULE__PERMIT);
-
- modelRuleEClass = createEClass(MODEL_RULE);
- createEReference(modelRuleEClass, MODEL_RULE__ELEMENT);
- createEReference(modelRuleEClass, MODEL_RULE__STEREOTYPES);
- createEAttribute(modelRuleEClass, MODEL_RULE__MULTIPLICITY);
-
- owningRuleEClass = createEClass(OWNING_RULE);
- createEReference(owningRuleEClass, OWNING_RULE__ELEMENT);
- createEReference(owningRuleEClass, OWNING_RULE__STEREOTYPES);
- createEAttribute(owningRuleEClass, OWNING_RULE__MULTIPLICITY);
- createEReference(owningRuleEClass, OWNING_RULE__NEW_MODEL_PATH);
- createEReference(owningRuleEClass, OWNING_RULE__SELECT_DIAGRAM_ROOT);
-
- childRuleEClass = createEClass(CHILD_RULE);
- createEReference(childRuleEClass, CHILD_RULE__ELEMENT);
- createEReference(childRuleEClass, CHILD_RULE__STEREOTYPES);
- createEReference(childRuleEClass, CHILD_RULE__ORIGIN);
- createEReference(childRuleEClass, CHILD_RULE__INSERTION_PATH);
-
- paletteRuleEClass = createEClass(PALETTE_RULE);
- createEAttribute(paletteRuleEClass, PALETTE_RULE__ELEMENT);
-
- pathElementEClass = createEClass(PATH_ELEMENT);
- createEReference(pathElementEClass, PATH_ELEMENT__FEATURE);
- createEReference(pathElementEClass, PATH_ELEMENT__ORIGIN);
- createEReference(pathElementEClass, PATH_ELEMENT__TARGET);
-
- categoryEClass = createEClass(CATEGORY);
- createEAttribute(categoryEClass, CATEGORY__NAME);
-
- modelAutoCreateEClass = createEClass(MODEL_AUTO_CREATE);
- createEReference(modelAutoCreateEClass, MODEL_AUTO_CREATE__FEATURE);
- createEReference(modelAutoCreateEClass, MODEL_AUTO_CREATE__ORIGIN);
- createEAttribute(modelAutoCreateEClass, MODEL_AUTO_CREATE__CREATION_TYPE);
-
- rootAutoSelectEClass = createEClass(ROOT_AUTO_SELECT);
- createEReference(rootAutoSelectEClass, ROOT_AUTO_SELECT__FEATURE);
-
- assistantRuleEClass = createEClass(ASSISTANT_RULE);
- createEAttribute(assistantRuleEClass, ASSISTANT_RULE__ELEMENT_TYPE_ID);
- createEOperation(assistantRuleEClass, ASSISTANT_RULE___MATCHES__IELEMENTTYPE);
-
- // Create data types
- elementTypeEDataType = createEDataType(ELEMENT_TYPE);
- }
-
- /**
- * <!-- 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
- Iso42010Package theIso42010Package = (Iso42010Package) EPackage.Registry.INSTANCE.getEPackage(Iso42010Package.eNS_URI);
- ConstraintsPackage theConstraintsPackage = (ConstraintsPackage) EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- papyrusConfigurationEClass.getESuperTypes().add(theIso42010Package.getArchitectureFramework());
- papyrusViewpointEClass.getESuperTypes().add(theIso42010Package.getArchitectureViewpoint());
- papyrusViewEClass.getESuperTypes().add(theIso42010Package.getModelKind());
- papyrusDiagramEClass.getESuperTypes().add(this.getPapyrusView());
- papyrusSyncTableEClass.getESuperTypes().add(this.getPapyrusView());
- papyrusTableEClass.getESuperTypes().add(this.getPapyrusView());
- modelRuleEClass.getESuperTypes().add(this.getRule());
- modelRuleEClass.getESuperTypes().add(theConstraintsPackage.getDisplayUnit());
- owningRuleEClass.getESuperTypes().add(this.getRule());
- childRuleEClass.getESuperTypes().add(this.getRule());
- paletteRuleEClass.getESuperTypes().add(this.getRule());
- assistantRuleEClass.getESuperTypes().add(this.getRule());
-
- // Initialize classes, features, and operations; add parameters
- initEClass(papyrusConfigurationEClass, PapyrusConfiguration.class, "PapyrusConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPapyrusConfiguration_DefaultStakeholder(), theIso42010Package.getStakeholder(), null, "defaultStakeholder", null, 1, 1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusConfiguration_Metamodel(), ecorePackage.getEPackage(), null, "metamodel", null, 1, 1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusConfiguration_Categories(), this.getCategory(), null, "categories", null, 0, -1, PapyrusConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
-
- initEClass(papyrusViewpointEClass, PapyrusViewpoint.class, "PapyrusViewpoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPapyrusViewpoint_Parent(), this.getPapyrusViewpoint(), null, "parent", null, 0, 1, PapyrusViewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
-
- initEClass(papyrusViewEClass, PapyrusView.class, "PapyrusView", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPapyrusView_Icon(), ecorePackage.getEString(), "icon", null, 0, 1, PapyrusView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusView_Parent(), this.getPapyrusView(), null, "parent", null, 0, 1, PapyrusView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusView_Profiles(), ecorePackage.getEPackage(), null, "profiles", null, 0, -1, PapyrusView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusView_ModelRules(), this.getModelRule(), null, "modelRules", null, 1, -1, PapyrusView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusView_OwningRules(), this.getOwningRule(), null, "owningRules", null, 1, -1, PapyrusView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPapyrusView_ImplementationID(), ecorePackage.getEString(), "implementationID", null, 1, 1, PapyrusView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusView_Categories(), this.getCategory(), null, "categories", null, 0, -1, PapyrusView.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(papyrusDiagramEClass, PapyrusDiagram.class, "PapyrusDiagram", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPapyrusDiagram_CustomPalette(), ecorePackage.getEString(), "customPalette", null, 0, 1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPapyrusDiagram_CustomStyle(), ecorePackage.getEString(), "customStyle", null, 0, 1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPapyrusDiagram_ChildRules(), this.getChildRule(), null, "childRules", null, 0, -1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getPapyrusDiagram_PaletteRules(), this.getPaletteRule(), null, "paletteRules", null, 0, -1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getPapyrusDiagram_AssistantRules(), this.getAssistantRule(), null, "assistantRules", null, 0, -1, PapyrusDiagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(papyrusSyncTableEClass, PapyrusSyncTable.class, "PapyrusSyncTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(papyrusTableEClass, PapyrusTable.class, "PapyrusTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPapyrusTable_Configuration(), ecorePackage.getEString(), "configuration", null, 1, 1, PapyrusTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(ruleEClass, Rule.class, "Rule", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRule_Permit(), ecorePackage.getEBoolean(), "permit", "true", 1, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(modelRuleEClass, ModelRule.class, "ModelRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getModelRule_Element(), ecorePackage.getEClass(), null, "element", null, 0, 1, ModelRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getModelRule_Stereotypes(), ecorePackage.getEClass(), null, "stereotypes", null, 0, -1, ModelRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getModelRule_Multiplicity(), ecorePackage.getEInt(), "multiplicity", "-1", 1, 1, ModelRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(owningRuleEClass, OwningRule.class, "OwningRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOwningRule_Element(), ecorePackage.getEClass(), null, "element", null, 0, 1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOwningRule_Stereotypes(), ecorePackage.getEClass(), null, "stereotypes", null, 0, -1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getOwningRule_Multiplicity(), ecorePackage.getEInt(), "multiplicity", "-1", 1, 1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOwningRule_NewModelPath(), this.getModelAutoCreate(), null, "newModelPath", null, 0, -1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getOwningRule_SelectDiagramRoot(), this.getRootAutoSelect(), null, "selectDiagramRoot", null, 0, -1, OwningRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
-
- initEClass(childRuleEClass, ChildRule.class, "ChildRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getChildRule_Element(), ecorePackage.getEClass(), null, "element", null, 0, 1, ChildRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getChildRule_Stereotypes(), ecorePackage.getEClass(), null, "stereotypes", null, 0, -1, ChildRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getChildRule_Origin(), ecorePackage.getEClass(), null, "origin", null, 0, 1, ChildRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getChildRule_InsertionPath(), this.getPathElement(), null, "insertionPath", null, 0, -1, ChildRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(paletteRuleEClass, PaletteRule.class, "PaletteRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPaletteRule_Element(), ecorePackage.getEString(), "element", null, 0, 1, PaletteRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(pathElementEClass, PathElement.class, "PathElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPathElement_Feature(), ecorePackage.getEReference(), null, "feature", null, 1, 1, PathElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPathElement_Origin(), ecorePackage.getEClass(), null, "origin", null, 1, 1, PathElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getPathElement_Target(), ecorePackage.getEClass(), null, "target", null, 1, 1, PathElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
-
- initEClass(categoryEClass, Category.class, "Category", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCategory_Name(), ecorePackage.getEString(), "name", null, 1, 1, Category.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(modelAutoCreateEClass, ModelAutoCreate.class, "ModelAutoCreate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getModelAutoCreate_Feature(), ecorePackage.getEReference(), null, "feature", null, 1, 1, ModelAutoCreate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getModelAutoCreate_Origin(), ecorePackage.getEClass(), null, "origin", null, 1, 1, ModelAutoCreate.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEAttribute(getModelAutoCreate_CreationType(), ecorePackage.getEString(), "creationType", null, 1, 1, ModelAutoCreate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(rootAutoSelectEClass, RootAutoSelect.class, "RootAutoSelect", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRootAutoSelect_Feature(), ecorePackage.getEReference(), null, "feature", null, 1, 1, RootAutoSelect.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
-
- initEClass(assistantRuleEClass, AssistantRule.class, "AssistantRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAssistantRule_ElementTypeID(), ecorePackage.getEString(), "elementTypeID", null, 0, 1, AssistantRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- EOperation op = initEOperation(getAssistantRule__Matches__IElementType(), ecorePackage.getEBoolean(), "matches", 1, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, this.getElementType(), "elementType", 1, 1, IS_UNIQUE, IS_ORDERED);
-
- // Initialize data types
- initEDataType(elementTypeEDataType, IElementType.class, "ElementType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //ConfigurationPackageImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java
deleted file mode 100644
index 2fed2d298e3..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelAutoCreateImpl.java
+++ /dev/null
@@ -1,274 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Model Auto Create</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getFeature <em>Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelAutoCreateImpl#getCreationType <em>Creation Type</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ModelAutoCreateImpl extends MinimalEObjectImpl.Container implements ModelAutoCreate {
- /**
- * The cached value of the '{@link #getFeature() <em>Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFeature()
- * @generated
- * @ordered
- */
- protected EReference feature;
-
- /**
- * The default value of the '{@link #getCreationType() <em>Creation Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCreationType()
- * @generated
- * @ordered
- */
- protected static final String CREATION_TYPE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCreationType() <em>Creation Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCreationType()
- * @generated
- * @ordered
- */
- protected String creationType = CREATION_TYPE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ModelAutoCreateImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.MODEL_AUTO_CREATE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFeature() {
- if (feature != null && feature.eIsProxy()) {
- InternalEObject oldFeature = (InternalEObject) feature;
- feature = (EReference) eResolveProxy(oldFeature);
- if (feature != oldFeature) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE, oldFeature, feature));
- }
- }
- }
- return feature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference basicGetFeature() {
- return feature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFeature(EReference newFeature) {
- EReference oldFeature = feature;
- feature = newFeature;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE, oldFeature, feature));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOrigin() {
- EClass origin = basicGetOrigin();
- return origin != null && origin.eIsProxy() ? (EClass) eResolveProxy((InternalEObject) origin) : origin;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass basicGetOrigin() {
- // TODO: implement this method to return the 'Origin' reference
- // -> do not perform proxy resolution
- // Ensure that you remove @generated or mark it @generated NOT
- throw new UnsupportedOperationException();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCreationType() {
- return creationType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCreationType(String newCreationType) {
- String oldCreationType = creationType;
- creationType = newCreationType;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE, oldCreationType, creationType));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
- if (resolve) {
- return getFeature();
- }
- return basicGetFeature();
- case ConfigurationPackage.MODEL_AUTO_CREATE__ORIGIN:
- if (resolve) {
- return getOrigin();
- }
- return basicGetOrigin();
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- return getCreationType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
- setFeature((EReference) newValue);
- return;
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- setCreationType((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
- setFeature((EReference) null);
- return;
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- setCreationType(CREATION_TYPE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.MODEL_AUTO_CREATE__FEATURE:
- return feature != null;
- case ConfigurationPackage.MODEL_AUTO_CREATE__ORIGIN:
- return basicGetOrigin() != null;
- case ConfigurationPackage.MODEL_AUTO_CREATE__CREATION_TYPE:
- return CREATION_TYPE_EDEFAULT == null ? creationType != null : !CREATION_TYPE_EDEFAULT.equals(creationType);
- }
- 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(" (creationType: ");
- result.append(creationType);
- result.append(')');
- return result.toString();
- }
-
-} //ModelAutoCreateImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.java
deleted file mode 100644
index 7bc2f5546a5..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/ModelRuleImpl.java
+++ /dev/null
@@ -1,448 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.constraints.ConstraintDescriptor;
-import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
-import org.eclipse.papyrus.infra.constraints.DisplayUnit;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Model Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getConstraints <em>Constraints</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getElementMultiplicity <em>Element Multiplicity</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.ModelRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ModelRuleImpl extends RuleImpl implements ModelRule {
- /**
- * The cached value of the '{@link #getConstraints() <em>Constraints</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConstraints()
- * @generated
- * @ordered
- */
- protected EList<ConstraintDescriptor> constraints;
-
- /**
- * The default value of the '{@link #getElementMultiplicity() <em>Element Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementMultiplicity()
- * @generated
- * @ordered
- */
- protected static final int ELEMENT_MULTIPLICITY_EDEFAULT = 1;
-
- /**
- * The cached value of the '{@link #getElementMultiplicity() <em>Element Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementMultiplicity()
- * @generated
- * @ordered
- */
- protected int elementMultiplicity = ELEMENT_MULTIPLICITY_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected EClass element;
-
- /**
- * The cached value of the '{@link #getStereotypes() <em>Stereotypes</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStereotypes()
- * @generated
- * @ordered
- */
- protected EList<EClass> stereotypes;
-
- /**
- * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected static final int MULTIPLICITY_EDEFAULT = -1;
-
- /**
- * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected int multiplicity = MULTIPLICITY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ModelRuleImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.MODEL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ConstraintDescriptor> getConstraints() {
- if (constraints == null) {
- constraints = new EObjectContainmentWithInverseEList<ConstraintDescriptor>(ConstraintDescriptor.class, this, ConfigurationPackage.MODEL_RULE__CONSTRAINTS, ConstraintsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY);
- }
- return constraints;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getElementMultiplicity() {
- return elementMultiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElementMultiplicity(int newElementMultiplicity) {
- int oldElementMultiplicity = elementMultiplicity;
- elementMultiplicity = newElementMultiplicity;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY, oldElementMultiplicity, elementMultiplicity));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getElement() {
- if (element != null && element.eIsProxy()) {
- InternalEObject oldElement = (InternalEObject) element;
- element = (EClass) eResolveProxy(oldElement);
- if (element != oldElement) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.MODEL_RULE__ELEMENT, oldElement, element));
- }
- }
- }
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass basicGetElement() {
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElement(EClass newElement) {
- EClass oldElement = element;
- element = newElement;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_RULE__ELEMENT, oldElement, element));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<EClass> getStereotypes() {
- if (stereotypes == null) {
- stereotypes = new EObjectResolvingEList<EClass>(EClass.class, this, ConfigurationPackage.MODEL_RULE__STEREOTYPES);
- }
- return stereotypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getMultiplicity() {
- return multiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMultiplicity(int newMultiplicity) {
- int oldMultiplicity = multiplicity;
- multiplicity = newMultiplicity;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.MODEL_RULE__MULTIPLICITY, oldMultiplicity, multiplicity));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getConstraints()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return ((InternalEList<?>) getConstraints()).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 ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return getConstraints();
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- return getElementMultiplicity();
- case ConfigurationPackage.MODEL_RULE__ELEMENT:
- if (resolve) {
- return getElement();
- }
- return basicGetElement();
- case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
- return getStereotypes();
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- return getMultiplicity();
- }
- 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 ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- getConstraints().clear();
- getConstraints().addAll((Collection<? extends ConstraintDescriptor>) newValue);
- return;
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- setElementMultiplicity((Integer) newValue);
- return;
- case ConfigurationPackage.MODEL_RULE__ELEMENT:
- setElement((EClass) newValue);
- return;
- case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
- getStereotypes().clear();
- getStereotypes().addAll((Collection<? extends EClass>) newValue);
- return;
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- setMultiplicity((Integer) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- getConstraints().clear();
- return;
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- setElementMultiplicity(ELEMENT_MULTIPLICITY_EDEFAULT);
- return;
- case ConfigurationPackage.MODEL_RULE__ELEMENT:
- setElement((EClass) null);
- return;
- case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
- getStereotypes().clear();
- return;
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- setMultiplicity(MULTIPLICITY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return constraints != null && !constraints.isEmpty();
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- return elementMultiplicity != ELEMENT_MULTIPLICITY_EDEFAULT;
- case ConfigurationPackage.MODEL_RULE__ELEMENT:
- return element != null;
- case ConfigurationPackage.MODEL_RULE__STEREOTYPES:
- return stereotypes != null && !stereotypes.isEmpty();
- case ConfigurationPackage.MODEL_RULE__MULTIPLICITY:
- return multiplicity != MULTIPLICITY_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
- if (baseClass == DisplayUnit.class) {
- switch (derivedFeatureID) {
- case ConfigurationPackage.MODEL_RULE__CONSTRAINTS:
- return ConstraintsPackage.DISPLAY_UNIT__CONSTRAINTS;
- case ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY:
- return ConstraintsPackage.DISPLAY_UNIT__ELEMENT_MULTIPLICITY;
- default:
- return -1;
- }
- }
- return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
- if (baseClass == DisplayUnit.class) {
- switch (baseFeatureID) {
- case ConstraintsPackage.DISPLAY_UNIT__CONSTRAINTS:
- return ConfigurationPackage.MODEL_RULE__CONSTRAINTS;
- case ConstraintsPackage.DISPLAY_UNIT__ELEMENT_MULTIPLICITY:
- return ConfigurationPackage.MODEL_RULE__ELEMENT_MULTIPLICITY;
- default:
- return -1;
- }
- }
- return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (elementMultiplicity: ");
- result.append(elementMultiplicity);
- result.append(", multiplicity: ");
- result.append(multiplicity);
- result.append(')');
- return result.toString();
- }
-
-} //ModelRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.java
deleted file mode 100644
index d8bd1083a56..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/OwningRuleImpl.java
+++ /dev/null
@@ -1,372 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate;
-import org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Owning Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getElement <em>Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getStereotypes <em>Stereotypes</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getMultiplicity <em>Multiplicity</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getNewModelPath <em>New Model Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.OwningRuleImpl#getSelectDiagramRoot <em>Select Diagram Root</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class OwningRuleImpl extends RuleImpl implements OwningRule {
- /**
- * The cached value of the '{@link #getElement() <em>Element</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected EClass element;
-
- /**
- * The cached value of the '{@link #getStereotypes() <em>Stereotypes</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStereotypes()
- * @generated
- * @ordered
- */
- protected EList<EClass> stereotypes;
-
- /**
- * The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected static final int MULTIPLICITY_EDEFAULT = -1;
-
- /**
- * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected int multiplicity = MULTIPLICITY_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getNewModelPath() <em>New Model Path</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNewModelPath()
- * @generated
- * @ordered
- */
- protected EList<ModelAutoCreate> newModelPath;
-
- /**
- * The cached value of the '{@link #getSelectDiagramRoot() <em>Select Diagram Root</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSelectDiagramRoot()
- * @generated
- * @ordered
- */
- protected EList<RootAutoSelect> selectDiagramRoot;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OwningRuleImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.OWNING_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getElement() {
- if (element != null && element.eIsProxy()) {
- InternalEObject oldElement = (InternalEObject) element;
- element = (EClass) eResolveProxy(oldElement);
- if (element != oldElement) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.OWNING_RULE__ELEMENT, oldElement, element));
- }
- }
- }
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass basicGetElement() {
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElement(EClass newElement) {
- EClass oldElement = element;
- element = newElement;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.OWNING_RULE__ELEMENT, oldElement, element));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<EClass> getStereotypes() {
- if (stereotypes == null) {
- stereotypes = new EObjectResolvingEList<EClass>(EClass.class, this, ConfigurationPackage.OWNING_RULE__STEREOTYPES);
- }
- return stereotypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getMultiplicity() {
- return multiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMultiplicity(int newMultiplicity) {
- int oldMultiplicity = multiplicity;
- multiplicity = newMultiplicity;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.OWNING_RULE__MULTIPLICITY, oldMultiplicity, multiplicity));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ModelAutoCreate> getNewModelPath() {
- if (newModelPath == null) {
- newModelPath = new EObjectContainmentEList<ModelAutoCreate>(ModelAutoCreate.class, this, ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH);
- }
- return newModelPath;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<RootAutoSelect> getSelectDiagramRoot() {
- if (selectDiagramRoot == null) {
- selectDiagramRoot = new EObjectContainmentEList<RootAutoSelect>(RootAutoSelect.class, this, ConfigurationPackage.OWNING_RULE__SELECT_DIAGRAM_ROOT);
- }
- return selectDiagramRoot;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- return ((InternalEList<?>) getNewModelPath()).basicRemove(otherEnd, msgs);
- case ConfigurationPackage.OWNING_RULE__SELECT_DIAGRAM_ROOT:
- return ((InternalEList<?>) getSelectDiagramRoot()).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 ConfigurationPackage.OWNING_RULE__ELEMENT:
- if (resolve) {
- return getElement();
- }
- return basicGetElement();
- case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
- return getStereotypes();
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- return getMultiplicity();
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- return getNewModelPath();
- case ConfigurationPackage.OWNING_RULE__SELECT_DIAGRAM_ROOT:
- return getSelectDiagramRoot();
- }
- 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 ConfigurationPackage.OWNING_RULE__ELEMENT:
- setElement((EClass) newValue);
- return;
- case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
- getStereotypes().clear();
- getStereotypes().addAll((Collection<? extends EClass>) newValue);
- return;
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- setMultiplicity((Integer) newValue);
- return;
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- getNewModelPath().clear();
- getNewModelPath().addAll((Collection<? extends ModelAutoCreate>) newValue);
- return;
- case ConfigurationPackage.OWNING_RULE__SELECT_DIAGRAM_ROOT:
- getSelectDiagramRoot().clear();
- getSelectDiagramRoot().addAll((Collection<? extends RootAutoSelect>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.OWNING_RULE__ELEMENT:
- setElement((EClass) null);
- return;
- case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
- getStereotypes().clear();
- return;
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- setMultiplicity(MULTIPLICITY_EDEFAULT);
- return;
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- getNewModelPath().clear();
- return;
- case ConfigurationPackage.OWNING_RULE__SELECT_DIAGRAM_ROOT:
- getSelectDiagramRoot().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.OWNING_RULE__ELEMENT:
- return element != null;
- case ConfigurationPackage.OWNING_RULE__STEREOTYPES:
- return stereotypes != null && !stereotypes.isEmpty();
- case ConfigurationPackage.OWNING_RULE__MULTIPLICITY:
- return multiplicity != MULTIPLICITY_EDEFAULT;
- case ConfigurationPackage.OWNING_RULE__NEW_MODEL_PATH:
- return newModelPath != null && !newModelPath.isEmpty();
- case ConfigurationPackage.OWNING_RULE__SELECT_DIAGRAM_ROOT:
- return selectDiagramRoot != null && !selectDiagramRoot.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(" (multiplicity: ");
- result.append(multiplicity);
- result.append(')');
- return result.toString();
- }
-
-} //OwningRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.java
deleted file mode 100644
index c0e7e3c4697..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PaletteRuleImpl.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Palette Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PaletteRuleImpl#getElement <em>Element</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class PaletteRuleImpl extends RuleImpl implements PaletteRule {
- /**
- * The default value of the '{@link #getElement() <em>Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected static final String ELEMENT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getElement() <em>Element</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElement()
- * @generated
- * @ordered
- */
- protected String element = ELEMENT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PaletteRuleImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PALETTE_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getElement() {
- return element;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElement(String newElement) {
- String oldElement = element;
- element = newElement;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PALETTE_RULE__ELEMENT, oldElement, element));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- return getElement();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- setElement((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- setElement(ELEMENT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PALETTE_RULE__ELEMENT:
- return ELEMENT_EDEFAULT == null ? element != null : !ELEMENT_EDEFAULT.equals(element);
- }
- 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(" (element: ");
- result.append(element);
- result.append(')');
- return result.toString();
- }
-
-} //PaletteRuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.java
deleted file mode 100644
index 4fd7c3567f5..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusConfigurationImpl.java
+++ /dev/null
@@ -1,298 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.EPackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.Category;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusConfiguration;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.Stakeholder;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureFrameworkImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Papyrus Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getDefaultStakeholder <em>Default Stakeholder</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getMetamodel <em>Metamodel</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusConfigurationImpl#getCategories <em>Categories</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class PapyrusConfigurationImpl extends ArchitectureFrameworkImpl implements PapyrusConfiguration {
- /**
- * The cached value of the '{@link #getDefaultStakeholder() <em>Default Stakeholder</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDefaultStakeholder()
- * @generated
- * @ordered
- */
- protected Stakeholder defaultStakeholder;
-
- /**
- * The cached value of the '{@link #getMetamodel() <em>Metamodel</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMetamodel()
- * @generated
- * @ordered
- */
- protected EPackage metamodel;
-
- /**
- * The cached value of the '{@link #getCategories() <em>Categories</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCategories()
- * @generated
- * @ordered
- */
- protected EList<Category> categories;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PapyrusConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PAPYRUS_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Stakeholder getDefaultStakeholder() {
- if (defaultStakeholder != null && defaultStakeholder.eIsProxy()) {
- InternalEObject oldDefaultStakeholder = (InternalEObject) defaultStakeholder;
- defaultStakeholder = (Stakeholder) eResolveProxy(oldDefaultStakeholder);
- if (defaultStakeholder != oldDefaultStakeholder) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER, oldDefaultStakeholder, defaultStakeholder));
- }
- }
- }
- return defaultStakeholder;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Stakeholder basicGetDefaultStakeholder() {
- return defaultStakeholder;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDefaultStakeholder(Stakeholder newDefaultStakeholder) {
- Stakeholder oldDefaultStakeholder = defaultStakeholder;
- defaultStakeholder = newDefaultStakeholder;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER, oldDefaultStakeholder, defaultStakeholder));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EPackage getMetamodel() {
- if (metamodel != null && metamodel.eIsProxy()) {
- InternalEObject oldMetamodel = (InternalEObject) metamodel;
- metamodel = (EPackage) eResolveProxy(oldMetamodel);
- if (metamodel != oldMetamodel) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL, oldMetamodel, metamodel));
- }
- }
- }
- return metamodel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EPackage basicGetMetamodel() {
- return metamodel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMetamodel(EPackage newMetamodel) {
- EPackage oldMetamodel = metamodel;
- metamodel = newMetamodel;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL, oldMetamodel, metamodel));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Category> getCategories() {
- if (categories == null) {
- categories = new EObjectContainmentEList<Category>(Category.class, this, ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES);
- }
- return categories;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- return ((InternalEList<?>) getCategories()).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 ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
- if (resolve) {
- return getDefaultStakeholder();
- }
- return basicGetDefaultStakeholder();
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
- if (resolve) {
- return getMetamodel();
- }
- return basicGetMetamodel();
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- return getCategories();
- }
- 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 ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
- setDefaultStakeholder((Stakeholder) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
- setMetamodel((EPackage) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- getCategories().clear();
- getCategories().addAll((Collection<? extends Category>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
- setDefaultStakeholder((Stakeholder) null);
- return;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
- setMetamodel((EPackage) null);
- return;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- getCategories().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__DEFAULT_STAKEHOLDER:
- return defaultStakeholder != null;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__METAMODEL:
- return metamodel != null;
- case ConfigurationPackage.PAPYRUS_CONFIGURATION__CATEGORIES:
- return categories != null && !categories.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //PapyrusConfigurationImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.java
deleted file mode 100644
index 853ac886547..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusDiagramImpl.java
+++ /dev/null
@@ -1,365 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Papyrus Diagram</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getCustomPalette <em>Custom Palette</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getCustomStyle <em>Custom Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getChildRules <em>Child Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getPaletteRules <em>Palette Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusDiagramImpl#getAssistantRules <em>Assistant Rules</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class PapyrusDiagramImpl extends PapyrusViewImpl implements PapyrusDiagram {
- /**
- * The default value of the '{@link #getCustomPalette() <em>Custom Palette</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCustomPalette()
- * @generated
- * @ordered
- */
- protected static final String CUSTOM_PALETTE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCustomPalette() <em>Custom Palette</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCustomPalette()
- * @generated
- * @ordered
- */
- protected String customPalette = CUSTOM_PALETTE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getCustomStyle() <em>Custom Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCustomStyle()
- * @generated
- * @ordered
- */
- protected static final String CUSTOM_STYLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCustomStyle() <em>Custom Style</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCustomStyle()
- * @generated
- * @ordered
- */
- protected String customStyle = CUSTOM_STYLE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getChildRules() <em>Child Rules</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getChildRules()
- * @generated
- * @ordered
- */
- protected EList<ChildRule> childRules;
-
- /**
- * The cached value of the '{@link #getPaletteRules() <em>Palette Rules</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPaletteRules()
- * @generated
- * @ordered
- */
- protected EList<PaletteRule> paletteRules;
-
- /**
- * The cached value of the '{@link #getAssistantRules() <em>Assistant Rules</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAssistantRules()
- * @generated
- * @ordered
- */
- protected EList<AssistantRule> assistantRules;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PapyrusDiagramImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PAPYRUS_DIAGRAM;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCustomPalette() {
- return customPalette;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCustomPalette(String newCustomPalette) {
- String oldCustomPalette = customPalette;
- customPalette = newCustomPalette;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE, oldCustomPalette, customPalette));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCustomStyle() {
- return customStyle;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCustomStyle(String newCustomStyle) {
- String oldCustomStyle = customStyle;
- customStyle = newCustomStyle;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE, oldCustomStyle, customStyle));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ChildRule> getChildRules() {
- if (childRules == null) {
- childRules = new EObjectContainmentEList<ChildRule>(ChildRule.class, this, ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES);
- }
- return childRules;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<PaletteRule> getPaletteRules() {
- if (paletteRules == null) {
- paletteRules = new EObjectContainmentEList<PaletteRule>(PaletteRule.class, this, ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES);
- }
- return paletteRules;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<AssistantRule> getAssistantRules() {
- if (assistantRules == null) {
- assistantRules = new EObjectContainmentEList<AssistantRule>(AssistantRule.class, this, ConfigurationPackage.PAPYRUS_DIAGRAM__ASSISTANT_RULES);
- }
- return assistantRules;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- return ((InternalEList<?>) getChildRules()).basicRemove(otherEnd, msgs);
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- return ((InternalEList<?>) getPaletteRules()).basicRemove(otherEnd, msgs);
- case ConfigurationPackage.PAPYRUS_DIAGRAM__ASSISTANT_RULES:
- return ((InternalEList<?>) getAssistantRules()).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 ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- return getCustomPalette();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- return getCustomStyle();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- return getChildRules();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- return getPaletteRules();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__ASSISTANT_RULES:
- return getAssistantRules();
- }
- 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 ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- setCustomPalette((String) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- setCustomStyle((String) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- getChildRules().clear();
- getChildRules().addAll((Collection<? extends ChildRule>) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- getPaletteRules().clear();
- getPaletteRules().addAll((Collection<? extends PaletteRule>) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__ASSISTANT_RULES:
- getAssistantRules().clear();
- getAssistantRules().addAll((Collection<? extends AssistantRule>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- setCustomPalette(CUSTOM_PALETTE_EDEFAULT);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- setCustomStyle(CUSTOM_STYLE_EDEFAULT);
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- getChildRules().clear();
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- getPaletteRules().clear();
- return;
- case ConfigurationPackage.PAPYRUS_DIAGRAM__ASSISTANT_RULES:
- getAssistantRules().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_PALETTE:
- return CUSTOM_PALETTE_EDEFAULT == null ? customPalette != null : !CUSTOM_PALETTE_EDEFAULT.equals(customPalette);
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CUSTOM_STYLE:
- return CUSTOM_STYLE_EDEFAULT == null ? customStyle != null : !CUSTOM_STYLE_EDEFAULT.equals(customStyle);
- case ConfigurationPackage.PAPYRUS_DIAGRAM__CHILD_RULES:
- return childRules != null && !childRules.isEmpty();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__PALETTE_RULES:
- return paletteRules != null && !paletteRules.isEmpty();
- case ConfigurationPackage.PAPYRUS_DIAGRAM__ASSISTANT_RULES:
- return assistantRules != null && !assistantRules.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(" (customPalette: ");
- result.append(customPalette);
- result.append(", customStyle: ");
- result.append(customStyle);
- result.append(')');
- return result.toString();
- }
-
-} //PapyrusDiagramImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java
deleted file mode 100644
index d5b9aaeb71b..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusSyncTableImpl.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Papyrus Sync Table</b></em>'.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class PapyrusSyncTableImpl extends PapyrusViewImpl implements PapyrusSyncTable {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PapyrusSyncTableImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PAPYRUS_SYNC_TABLE;
- }
-
-} //PapyrusSyncTableImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java
deleted file mode 100644
index 0d72303481e..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusTableImpl.java
+++ /dev/null
@@ -1,177 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Papyrus Table</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusTableImpl#getConfiguration <em>Configuration</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class PapyrusTableImpl extends PapyrusViewImpl implements PapyrusTable {
- /**
- * The default value of the '{@link #getConfiguration() <em>Configuration</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfiguration()
- * @generated
- * @ordered
- */
- protected static final String CONFIGURATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getConfiguration() <em>Configuration</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfiguration()
- * @generated
- * @ordered
- */
- protected String configuration = CONFIGURATION_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PapyrusTableImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PAPYRUS_TABLE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getConfiguration() {
- return configuration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConfiguration(String newConfiguration) {
- String oldConfiguration = configuration;
- configuration = newConfiguration;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION, oldConfiguration, configuration));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- return getConfiguration();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- setConfiguration((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- setConfiguration(CONFIGURATION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_TABLE__CONFIGURATION:
- return CONFIGURATION_EDEFAULT == null ? configuration != null : !CONFIGURATION_EDEFAULT.equals(configuration);
- }
- 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(" (configuration: ");
- result.append(configuration);
- result.append(')');
- return result.toString();
- }
-
-} //PapyrusTableImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.java
deleted file mode 100644
index 2640c93d16f..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewImpl.java
+++ /dev/null
@@ -1,465 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.EPackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.Category;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ModelKindImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Papyrus View</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getIcon <em>Icon</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getProfiles <em>Profiles</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getModelRules <em>Model Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getOwningRules <em>Owning Rules</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getImplementationID <em>Implementation ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewImpl#getCategories <em>Categories</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class PapyrusViewImpl extends ModelKindImpl implements PapyrusView {
- /**
- * The default value of the '{@link #getIcon() <em>Icon</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIcon()
- * @generated
- * @ordered
- */
- protected static final String ICON_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getIcon() <em>Icon</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIcon()
- * @generated
- * @ordered
- */
- protected String icon = ICON_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getParent() <em>Parent</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getParent()
- * @generated
- * @ordered
- */
- protected PapyrusView parent;
-
- /**
- * The cached value of the '{@link #getProfiles() <em>Profiles</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getProfiles()
- * @generated
- * @ordered
- */
- protected EList<EPackage> profiles;
-
- /**
- * The cached value of the '{@link #getModelRules() <em>Model Rules</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getModelRules()
- * @generated
- * @ordered
- */
- protected EList<ModelRule> modelRules;
-
- /**
- * The cached value of the '{@link #getOwningRules() <em>Owning Rules</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOwningRules()
- * @generated
- * @ordered
- */
- protected EList<OwningRule> owningRules;
-
- /**
- * The default value of the '{@link #getImplementationID() <em>Implementation ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImplementationID()
- * @generated
- * @ordered
- */
- protected static final String IMPLEMENTATION_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getImplementationID() <em>Implementation ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getImplementationID()
- * @generated
- * @ordered
- */
- protected String implementationID = IMPLEMENTATION_ID_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getCategories() <em>Categories</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCategories()
- * @generated
- * @ordered
- */
- protected EList<Category> categories;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PapyrusViewImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PAPYRUS_VIEW;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getIcon() {
- return icon;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIcon(String newIcon) {
- String oldIcon = icon;
- icon = newIcon;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_VIEW__ICON, oldIcon, icon));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusView getParent() {
- if (parent != null && parent.eIsProxy()) {
- InternalEObject oldParent = (InternalEObject) parent;
- parent = (PapyrusView) eResolveProxy(oldParent);
- if (parent != oldParent) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PAPYRUS_VIEW__PARENT, oldParent, parent));
- }
- }
- }
- return parent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusView basicGetParent() {
- return parent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setParent(PapyrusView newParent) {
- PapyrusView oldParent = parent;
- parent = newParent;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_VIEW__PARENT, oldParent, parent));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<EPackage> getProfiles() {
- if (profiles == null) {
- profiles = new EObjectResolvingEList<EPackage>(EPackage.class, this, ConfigurationPackage.PAPYRUS_VIEW__PROFILES);
- }
- return profiles;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ModelRule> getModelRules() {
- if (modelRules == null) {
- modelRules = new EObjectContainmentEList<ModelRule>(ModelRule.class, this, ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES);
- }
- return modelRules;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<OwningRule> getOwningRules() {
- if (owningRules == null) {
- owningRules = new EObjectContainmentEList<OwningRule>(OwningRule.class, this, ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES);
- }
- return owningRules;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getImplementationID() {
- return implementationID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setImplementationID(String newImplementationID) {
- String oldImplementationID = implementationID;
- implementationID = newImplementationID;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID, oldImplementationID, implementationID));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Category> getCategories() {
- if (categories == null) {
- categories = new EObjectResolvingEList<Category>(Category.class, this, ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES);
- }
- return categories;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- return ((InternalEList<?>) getModelRules()).basicRemove(otherEnd, msgs);
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- return ((InternalEList<?>) getOwningRules()).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 ConfigurationPackage.PAPYRUS_VIEW__ICON:
- return getIcon();
- case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
- if (resolve) {
- return getParent();
- }
- return basicGetParent();
- case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
- return getProfiles();
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- return getModelRules();
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- return getOwningRules();
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- return getImplementationID();
- case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
- return getCategories();
- }
- 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 ConfigurationPackage.PAPYRUS_VIEW__ICON:
- setIcon((String) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
- setParent((PapyrusView) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
- getProfiles().clear();
- getProfiles().addAll((Collection<? extends EPackage>) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- getModelRules().clear();
- getModelRules().addAll((Collection<? extends ModelRule>) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- getOwningRules().clear();
- getOwningRules().addAll((Collection<? extends OwningRule>) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- setImplementationID((String) newValue);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
- getCategories().clear();
- getCategories().addAll((Collection<? extends Category>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEW__ICON:
- setIcon(ICON_EDEFAULT);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
- setParent((PapyrusView) null);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
- getProfiles().clear();
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- getModelRules().clear();
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- getOwningRules().clear();
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- setImplementationID(IMPLEMENTATION_ID_EDEFAULT);
- return;
- case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
- getCategories().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEW__ICON:
- return ICON_EDEFAULT == null ? icon != null : !ICON_EDEFAULT.equals(icon);
- case ConfigurationPackage.PAPYRUS_VIEW__PARENT:
- return parent != null;
- case ConfigurationPackage.PAPYRUS_VIEW__PROFILES:
- return profiles != null && !profiles.isEmpty();
- case ConfigurationPackage.PAPYRUS_VIEW__MODEL_RULES:
- return modelRules != null && !modelRules.isEmpty();
- case ConfigurationPackage.PAPYRUS_VIEW__OWNING_RULES:
- return owningRules != null && !owningRules.isEmpty();
- case ConfigurationPackage.PAPYRUS_VIEW__IMPLEMENTATION_ID:
- return IMPLEMENTATION_ID_EDEFAULT == null ? implementationID != null : !IMPLEMENTATION_ID_EDEFAULT.equals(implementationID);
- case ConfigurationPackage.PAPYRUS_VIEW__CATEGORIES:
- return categories != null && !categories.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(" (icon: ");
- result.append(icon);
- result.append(", implementationID: ");
- result.append(implementationID);
- result.append(')');
- return result.toString();
- }
-
-} //PapyrusViewImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.java
deleted file mode 100644
index 94532f79088..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PapyrusViewpointImpl.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.impl.ArchitectureViewpointImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Papyrus Viewpoint</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PapyrusViewpointImpl#getParent <em>Parent</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class PapyrusViewpointImpl extends ArchitectureViewpointImpl implements PapyrusViewpoint {
- /**
- * The cached value of the '{@link #getParent() <em>Parent</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getParent()
- * @generated
- * @ordered
- */
- protected PapyrusViewpoint parent;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PapyrusViewpointImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PAPYRUS_VIEWPOINT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusViewpoint getParent() {
- if (parent != null && parent.eIsProxy()) {
- InternalEObject oldParent = (InternalEObject) parent;
- parent = (PapyrusViewpoint) eResolveProxy(oldParent);
- if (parent != oldParent) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT, oldParent, parent));
- }
- }
- }
- return parent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PapyrusViewpoint basicGetParent() {
- return parent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setParent(PapyrusViewpoint newParent) {
- PapyrusViewpoint oldParent = parent;
- parent = newParent;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT, oldParent, parent));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
- if (resolve) {
- return getParent();
- }
- return basicGetParent();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
- setParent((PapyrusViewpoint) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
- setParent((PapyrusViewpoint) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PAPYRUS_VIEWPOINT__PARENT:
- return parent != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //PapyrusViewpointImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.java
deleted file mode 100644
index f6ac0a01591..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/PathElementImpl.java
+++ /dev/null
@@ -1,233 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.PathElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Path Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getFeature <em>Feature</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getOrigin <em>Origin</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.PathElementImpl#getTarget <em>Target</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class PathElementImpl extends MinimalEObjectImpl.Container implements PathElement {
- /**
- * The cached value of the '{@link #getFeature() <em>Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFeature()
- * @generated
- * @ordered
- */
- protected EReference feature;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PathElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.PATH_ELEMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFeature() {
- if (feature != null && feature.eIsProxy()) {
- InternalEObject oldFeature = (InternalEObject) feature;
- feature = (EReference) eResolveProxy(oldFeature);
- if (feature != oldFeature) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.PATH_ELEMENT__FEATURE, oldFeature, feature));
- }
- }
- }
- return feature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference basicGetFeature() {
- return feature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFeature(EReference newFeature) {
- EReference oldFeature = feature;
- feature = newFeature;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.PATH_ELEMENT__FEATURE, oldFeature, feature));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOrigin() {
- EClass origin = basicGetOrigin();
- return origin != null && origin.eIsProxy() ? (EClass) eResolveProxy((InternalEObject) origin) : origin;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass basicGetOrigin() {
- // TODO: implement this method to return the 'Origin' reference
- // -> do not perform proxy resolution
- // Ensure that you remove @generated or mark it @generated NOT
- throw new UnsupportedOperationException();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTarget() {
- EClass target = basicGetTarget();
- return target != null && target.eIsProxy() ? (EClass) eResolveProxy((InternalEObject) target) : target;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass basicGetTarget() {
- // TODO: implement this method to return the 'Target' reference
- // -> do not perform proxy resolution
- // Ensure that you remove @generated or mark it @generated NOT
- throw new UnsupportedOperationException();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.PATH_ELEMENT__FEATURE:
- if (resolve) {
- return getFeature();
- }
- return basicGetFeature();
- case ConfigurationPackage.PATH_ELEMENT__ORIGIN:
- if (resolve) {
- return getOrigin();
- }
- return basicGetOrigin();
- case ConfigurationPackage.PATH_ELEMENT__TARGET:
- if (resolve) {
- return getTarget();
- }
- return basicGetTarget();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.PATH_ELEMENT__FEATURE:
- setFeature((EReference) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PATH_ELEMENT__FEATURE:
- setFeature((EReference) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.PATH_ELEMENT__FEATURE:
- return feature != null;
- case ConfigurationPackage.PATH_ELEMENT__ORIGIN:
- return basicGetOrigin() != null;
- case ConfigurationPackage.PATH_ELEMENT__TARGET:
- return basicGetTarget() != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //PathElementImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RootAutoSelectImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RootAutoSelectImpl.java
deleted file mode 100644
index fe60545e892..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RootAutoSelectImpl.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Root Auto Select</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RootAutoSelectImpl#getFeature <em>Feature</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class RootAutoSelectImpl extends MinimalEObjectImpl.Container implements RootAutoSelect {
- /**
- * The cached value of the '{@link #getFeature() <em>Feature</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFeature()
- * @generated
- * @ordered
- */
- protected EReference feature;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RootAutoSelectImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.ROOT_AUTO_SELECT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFeature() {
- if (feature != null && feature.eIsProxy()) {
- InternalEObject oldFeature = (InternalEObject) feature;
- feature = (EReference) eResolveProxy(oldFeature);
- if (feature != oldFeature) {
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigurationPackage.ROOT_AUTO_SELECT__FEATURE, oldFeature, feature));
- }
- }
- }
- return feature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference basicGetFeature() {
- return feature;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFeature(EReference newFeature) {
- EReference oldFeature = feature;
- feature = newFeature;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.ROOT_AUTO_SELECT__FEATURE, oldFeature, feature));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.ROOT_AUTO_SELECT__FEATURE:
- if (resolve) {
- return getFeature();
- }
- return basicGetFeature();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.ROOT_AUTO_SELECT__FEATURE:
- setFeature((EReference) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.ROOT_AUTO_SELECT__FEATURE:
- setFeature((EReference) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.ROOT_AUTO_SELECT__FEATURE:
- return feature != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //RootAutoSelectImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.java
deleted file mode 100644
index a7585246d10..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/impl/RuleImpl.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationPackage;
-import org.eclipse.papyrus.infra.viewpoints.configuration.Rule;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.viewpoints.configuration.impl.RuleImpl#isPermit <em>Permit</em>}</li>
- * </ul>
- *
- * @generated
- */
-public abstract class RuleImpl extends MinimalEObjectImpl.Container implements Rule {
- /**
- * The default value of the '{@link #isPermit() <em>Permit</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isPermit()
- * @generated
- * @ordered
- */
- protected static final boolean PERMIT_EDEFAULT = true;
-
- /**
- * The cached value of the '{@link #isPermit() <em>Permit</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isPermit()
- * @generated
- * @ordered
- */
- protected boolean permit = PERMIT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RuleImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ConfigurationPackage.Literals.RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isPermit() {
- return permit;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPermit(boolean newPermit) {
- boolean oldPermit = permit;
- permit = newPermit;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, ConfigurationPackage.RULE__PERMIT, oldPermit, permit));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ConfigurationPackage.RULE__PERMIT:
- return isPermit();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ConfigurationPackage.RULE__PERMIT:
- setPermit((Boolean) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.RULE__PERMIT:
- setPermit(PERMIT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ConfigurationPackage.RULE__PERMIT:
- return permit != PERMIT_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(" (permit: ");
- result.append(permit);
- result.append(')');
- return result.toString();
- }
-
-} //RuleImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.java
deleted file mode 100644
index 38701fd37d6..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationAdapterFactory.java
+++ /dev/null
@@ -1,519 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.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.infra.constraints.DisplayUnit;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.*;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement;
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework;
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint;
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
-
-/**
- * <!-- 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.infra.viewpoints.configuration.ConfigurationPackage
- * @generated
- */
-public class ConfigurationAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ConfigurationPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigurationAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = ConfigurationPackage.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 ConfigurationSwitch<Adapter> modelSwitch = new ConfigurationSwitch<Adapter>() {
- @Override
- public Adapter casePapyrusConfiguration(PapyrusConfiguration object) {
- return createPapyrusConfigurationAdapter();
- }
-
- @Override
- public Adapter casePapyrusViewpoint(PapyrusViewpoint object) {
- return createPapyrusViewpointAdapter();
- }
-
- @Override
- public Adapter casePapyrusView(PapyrusView object) {
- return createPapyrusViewAdapter();
- }
-
- @Override
- public Adapter casePapyrusDiagram(PapyrusDiagram object) {
- return createPapyrusDiagramAdapter();
- }
-
- @Override
- public Adapter casePapyrusSyncTable(PapyrusSyncTable object) {
- return createPapyrusSyncTableAdapter();
- }
-
- @Override
- public Adapter casePapyrusTable(PapyrusTable object) {
- return createPapyrusTableAdapter();
- }
-
- @Override
- public Adapter caseRule(Rule object) {
- return createRuleAdapter();
- }
-
- @Override
- public Adapter caseModelRule(ModelRule object) {
- return createModelRuleAdapter();
- }
-
- @Override
- public Adapter caseOwningRule(OwningRule object) {
- return createOwningRuleAdapter();
- }
-
- @Override
- public Adapter caseChildRule(ChildRule object) {
- return createChildRuleAdapter();
- }
-
- @Override
- public Adapter casePaletteRule(PaletteRule object) {
- return createPaletteRuleAdapter();
- }
-
- @Override
- public Adapter casePathElement(PathElement object) {
- return createPathElementAdapter();
- }
-
- @Override
- public Adapter caseCategory(Category object) {
- return createCategoryAdapter();
- }
-
- @Override
- public Adapter caseModelAutoCreate(ModelAutoCreate object) {
- return createModelAutoCreateAdapter();
- }
-
- @Override
- public Adapter caseRootAutoSelect(RootAutoSelect object) {
- return createRootAutoSelectAdapter();
- }
-
- @Override
- public Adapter caseAssistantRule(AssistantRule object) {
- return createAssistantRuleAdapter();
- }
-
- @Override
- public Adapter caseArchitectureFramework(ArchitectureFramework object) {
- return createArchitectureFrameworkAdapter();
- }
-
- @Override
- public Adapter caseADElement(ADElement object) {
- return createADElementAdapter();
- }
-
- @Override
- public Adapter caseArchitectureViewpoint(ArchitectureViewpoint object) {
- return createArchitectureViewpointAdapter();
- }
-
- @Override
- public Adapter caseModelKind(ModelKind object) {
- return createModelKindAdapter();
- }
-
- @Override
- public Adapter caseDisplayUnit(DisplayUnit object) {
- return createDisplayUnitAdapter();
- }
-
- @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.infra.viewpoints.configuration.PapyrusConfiguration <em>Papyrus 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.infra.viewpoints.configuration.PapyrusConfiguration
- * @generated
- */
- public Adapter createPapyrusConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint <em>Papyrus Viewpoint</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.infra.viewpoints.configuration.PapyrusViewpoint
- * @generated
- */
- public Adapter createPapyrusViewpointAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView <em>Papyrus View</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.infra.viewpoints.configuration.PapyrusView
- * @generated
- */
- public Adapter createPapyrusViewAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusDiagram <em>Papyrus Diagram</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.infra.viewpoints.configuration.PapyrusDiagram
- * @generated
- */
- public Adapter createPapyrusDiagramAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusSyncTable <em>Papyrus Sync Table</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.infra.viewpoints.configuration.PapyrusSyncTable
- * @generated
- */
- public Adapter createPapyrusSyncTableAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusTable <em>Papyrus Table</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.infra.viewpoints.configuration.PapyrusTable
- * @generated
- */
- public Adapter createPapyrusTableAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Rule <em>Rule</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.infra.viewpoints.configuration.Rule
- * @generated
- */
- public Adapter createRuleAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelRule <em>Model Rule</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.infra.viewpoints.configuration.ModelRule
- * @generated
- */
- public Adapter createModelRuleAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.OwningRule <em>Owning Rule</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.infra.viewpoints.configuration.OwningRule
- * @generated
- */
- public Adapter createOwningRuleAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ChildRule <em>Child Rule</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.infra.viewpoints.configuration.ChildRule
- * @generated
- */
- public Adapter createChildRuleAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PaletteRule <em>Palette Rule</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.infra.viewpoints.configuration.PaletteRule
- * @generated
- */
- public Adapter createPaletteRuleAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.PathElement <em>Path Element</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.infra.viewpoints.configuration.PathElement
- * @generated
- */
- public Adapter createPathElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.Category <em>Category</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.infra.viewpoints.configuration.Category
- * @generated
- */
- public Adapter createCategoryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.ModelAutoCreate <em>Model Auto Create</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.infra.viewpoints.configuration.ModelAutoCreate
- * @generated
- */
- public Adapter createModelAutoCreateAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.RootAutoSelect <em>Root Auto Select</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.infra.viewpoints.configuration.RootAutoSelect
- * @generated
- */
- public Adapter createRootAutoSelectAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.configuration.AssistantRule <em>Assistant Rule</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.infra.viewpoints.configuration.AssistantRule
- * @generated
- */
- public Adapter createAssistantRuleAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework <em>Architecture Framework</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.infra.viewpoints.iso42010.ArchitectureFramework
- * @generated
- */
- public Adapter createArchitectureFrameworkAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement <em>AD Element</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.infra.viewpoints.iso42010.ADElement
- * @generated
- */
- public Adapter createADElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint <em>Architecture Viewpoint</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.infra.viewpoints.iso42010.ArchitectureViewpoint
- * @generated
- */
- public Adapter createArchitectureViewpointAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind <em>Model Kind</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.infra.viewpoints.iso42010.ModelKind
- * @generated
- */
- public Adapter createModelKindAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.constraints.DisplayUnit <em>Display Unit</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.infra.constraints.DisplayUnit
- * @generated
- */
- public Adapter createDisplayUnitAdapter() {
- 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;
- }
-
-} //ConfigurationAdapterFactory
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java
deleted file mode 100644
index f53210e44c4..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.util.ConfigurationResourceImpl
- * @generated
- * @deprecated Use the {@link ConfigurationResourceFactoryCustomImpl} class, instead.
- */
-@Deprecated
-public class ConfigurationResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ConfigurationResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- Resource result = new ConfigurationResourceImpl(uri);
- return result;
- }
-
-} // ConfigurationResourceFactoryImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java
deleted file mode 100644
index 19ff2e1eff1..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationResourceImpl.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.infra.viewpoints.configuration.util.ConfigurationResourceFactoryImpl
- * @generated
- * @deprecated Use the {@link ConfigurationResourceCustomImpl} class, instead.
- */
-@Deprecated
-public class ConfigurationResourceImpl extends XMIResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
- * @generated
- */
- public ConfigurationResourceImpl(URI uri) {
- super(uri);
- }
-
-} // ConfigurationResourceImpl
diff --git a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.java b/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.java
deleted file mode 100644
index 2e5d9ee1cc5..00000000000
--- a/plugins/infra/viewpoints/org.eclipse.papyrus.infra.viewpoints.configuration/src-gen/org/eclipse/papyrus/infra/viewpoints/configuration/util/ConfigurationSwitch.java
+++ /dev/null
@@ -1,612 +0,0 @@
-/**
- * Copyright (c) 2013, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Laurent Wouters laurent.wouters@cea.fr - Initial API and implementation
- * Christian W. Damus - bug 463156
- *
- *
- */
-package org.eclipse.papyrus.infra.viewpoints.configuration.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.papyrus.infra.constraints.DisplayUnit;
-
-import org.eclipse.papyrus.infra.viewpoints.configuration.*;
-
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ADElement;
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureFramework;
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ArchitectureViewpoint;
-import org.eclipse.papyrus.infra.viewpoints.iso42010.ModelKind;
-
-/**
- * <!-- 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.infra.viewpoints.configuration.ConfigurationPackage
- * @generated
- */
-public class ConfigurationSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ConfigurationPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigurationSwitch() {
- if (modelPackage == null) {
- modelPackage = ConfigurationPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param 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 ConfigurationPackage.PAPYRUS_CONFIGURATION: {
- PapyrusConfiguration papyrusConfiguration = (PapyrusConfiguration) theEObject;
- T result = casePapyrusConfiguration(papyrusConfiguration);
- if (result == null) {
- result = caseArchitectureFramework(papyrusConfiguration);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.PAPYRUS_VIEWPOINT: {
- PapyrusViewpoint papyrusViewpoint = (PapyrusViewpoint) theEObject;
- T result = casePapyrusViewpoint(papyrusViewpoint);
- if (result == null) {
- result = caseArchitectureViewpoint(papyrusViewpoint);
- }
- if (result == null) {
- result = caseADElement(papyrusViewpoint);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.PAPYRUS_VIEW: {
- PapyrusView papyrusView = (PapyrusView) theEObject;
- T result = casePapyrusView(papyrusView);
- if (result == null) {
- result = caseModelKind(papyrusView);
- }
- if (result == null) {
- result = caseADElement(papyrusView);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.PAPYRUS_DIAGRAM: {
- PapyrusDiagram papyrusDiagram = (PapyrusDiagram) theEObject;
- T result = casePapyrusDiagram(papyrusDiagram);
- if (result == null) {
- result = casePapyrusView(papyrusDiagram);
- }
- if (result == null) {
- result = caseModelKind(papyrusDiagram);
- }
- if (result == null) {
- result = caseADElement(papyrusDiagram);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.PAPYRUS_SYNC_TABLE: {
- PapyrusSyncTable papyrusSyncTable = (PapyrusSyncTable) theEObject;
- T result = casePapyrusSyncTable(papyrusSyncTable);
- if (result == null) {
- result = casePapyrusView(papyrusSyncTable);
- }
- if (result == null) {
- result = caseModelKind(papyrusSyncTable);
- }
- if (result == null) {
- result = caseADElement(papyrusSyncTable);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.PAPYRUS_TABLE: {
- PapyrusTable papyrusTable = (PapyrusTable) theEObject;
- T result = casePapyrusTable(papyrusTable);
- if (result == null) {
- result = casePapyrusView(papyrusTable);
- }
- if (result == null) {
- result = caseModelKind(papyrusTable);
- }
- if (result == null) {
- result = caseADElement(papyrusTable);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.RULE: {
- Rule rule = (Rule) theEObject;
- T result = caseRule(rule);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.MODEL_RULE: {
- ModelRule modelRule = (ModelRule) theEObject;
- T result = caseModelRule(modelRule);
- if (result == null) {
- result = caseRule(modelRule);
- }
- if (result == null) {
- result = caseDisplayUnit(modelRule);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.OWNING_RULE: {
- OwningRule owningRule = (OwningRule) theEObject;
- T result = caseOwningRule(owningRule);
- if (result == null) {
- result = caseRule(owningRule);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.CHILD_RULE: {
- ChildRule childRule = (ChildRule) theEObject;
- T result = caseChildRule(childRule);
- if (result == null) {
- result = caseRule(childRule);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.PALETTE_RULE: {
- PaletteRule paletteRule = (PaletteRule) theEObject;
- T result = casePaletteRule(paletteRule);
- if (result == null) {
- result = caseRule(paletteRule);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.PATH_ELEMENT: {
- PathElement pathElement = (PathElement) theEObject;
- T result = casePathElement(pathElement);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.CATEGORY: {
- Category category = (Category) theEObject;
- T result = caseCategory(category);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.MODEL_AUTO_CREATE: {
- ModelAutoCreate modelAutoCreate = (ModelAutoCreate) theEObject;
- T result = caseModelAutoCreate(modelAutoCreate);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.ROOT_AUTO_SELECT: {
- RootAutoSelect rootAutoSelect = (RootAutoSelect) theEObject;
- T result = caseRootAutoSelect(rootAutoSelect);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case ConfigurationPackage.ASSISTANT_RULE: {
- AssistantRule assistantRule = (AssistantRule) theEObject;
- T result = caseAssistantRule(assistantRule);
- if (result == null) {
- result = caseRule(assistantRule);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Papyrus 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>Papyrus Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePapyrusConfiguration(PapyrusConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Papyrus Viewpoint</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>Papyrus Viewpoint</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePapyrusViewpoint(PapyrusViewpoint object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Papyrus View</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>Papyrus View</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePapyrusView(PapyrusView object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Papyrus Diagram</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>Papyrus Diagram</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePapyrusDiagram(PapyrusDiagram object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Papyrus Sync Table</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>Papyrus Sync Table</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePapyrusSyncTable(PapyrusSyncTable object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Papyrus Table</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>Papyrus Table</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePapyrusTable(PapyrusTable object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Rule</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>Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRule(Rule object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Model Rule</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>Model Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseModelRule(ModelRule object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Owning Rule</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>Owning Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOwningRule(OwningRule object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Child Rule</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>Child Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseChildRule(ChildRule object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Palette Rule</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>Palette Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePaletteRule(PaletteRule object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Path Element</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>Path Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePathElement(PathElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Category</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>Category</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCategory(Category object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Model Auto Create</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>Model Auto Create</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseModelAutoCreate(ModelAutoCreate object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Root Auto Select</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>Root Auto Select</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRootAutoSelect(RootAutoSelect object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Assistant Rule</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>Assistant Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAssistantRule(AssistantRule object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Architecture Framework</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>Architecture Framework</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseArchitectureFramework(ArchitectureFramework object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>AD Element</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>AD Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseADElement(ADElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Architecture Viewpoint</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>Architecture Viewpoint</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseArchitectureViewpoint(ArchitectureViewpoint object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Model Kind</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>Model Kind</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseModelKind(ModelKind object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Display Unit</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>Display Unit</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDisplayUnit(DisplayUnit 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;
- }
-
-} //ConfigurationSwitch

Back to the top