diff options
Diffstat (limited to 'plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen')
40 files changed, 9252 insertions, 7861 deletions
diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractAdviceBindingConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractAdviceBindingConfiguration.java new file mode 100644 index 00000000000..de9beb191c2 --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractAdviceBindingConfiguration.java @@ -0,0 +1,143 @@ +/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Abstract Advice Binding Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getTarget <em>Target</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getContainerConfiguration <em>Container Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getInheritance <em>Inheritance</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAbstractAdviceBindingConfiguration() + * @model abstract="true" + * @generated + */ +public interface AbstractAdviceBindingConfiguration extends AdviceConfiguration, IdentifiedConfiguration { + /** + * 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 #setTarget(ElementTypeConfiguration) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAbstractAdviceBindingConfiguration_Target() + * @model required="true" + * @generated + */ + ElementTypeConfiguration getTarget(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getTarget <em>Target</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Target</em>' reference. + * @see #getTarget() + * @generated + */ + void setTarget(ElementTypeConfiguration value); + + /** + * Returns the value of the '<em><b>Container Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Container Configuration</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Container Configuration</em>' containment reference. + * @see #setContainerConfiguration(ContainerConfiguration) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAbstractAdviceBindingConfiguration_ContainerConfiguration() + * @model containment="true" + * @generated + */ + ContainerConfiguration getContainerConfiguration(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getContainerConfiguration <em>Container Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Container Configuration</em>' containment reference. + * @see #getContainerConfiguration() + * @generated + */ + void setContainerConfiguration(ContainerConfiguration value); + + /** + * Returns the value of the '<em><b>Matcher Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Matcher Configuration</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Matcher Configuration</em>' containment reference. + * @see #setMatcherConfiguration(AbstractMatcherConfiguration) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAbstractAdviceBindingConfiguration_MatcherConfiguration() + * @model containment="true" + * @generated + */ + AbstractMatcherConfiguration getMatcherConfiguration(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Matcher Configuration</em>' containment reference. + * @see #getMatcherConfiguration() + * @generated + */ + void setMatcherConfiguration(AbstractMatcherConfiguration value); + + /** + * Returns the value of the '<em><b>Inheritance</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Inheritance</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Inheritance</em>' attribute. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind + * @see #setInheritance(InheritanceKind) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAbstractAdviceBindingConfiguration_Inheritance() + * @model required="true" + * @generated + */ + InheritanceKind getInheritance(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getInheritance <em>Inheritance</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Inheritance</em>' attribute. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind + * @see #getInheritance() + * @generated + */ + void setInheritance(InheritanceKind value); + +} // AbstractAdviceBindingConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractEditHelperAdviceConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractEditHelperAdviceConfiguration.java new file mode 100644 index 00000000000..e79ea12bd55 --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractEditHelperAdviceConfiguration.java @@ -0,0 +1,61 @@ +/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Abstract Edit Helper Advice Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration#getTarget <em>Target</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAbstractEditHelperAdviceConfiguration() + * @model abstract="true" + * @generated + */ +public interface AbstractEditHelperAdviceConfiguration extends AdviceConfiguration { + /** + * Returns the value of the '<em><b>Target</b></em>' container reference. + * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Target</em>' container 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>' container reference. + * @see #setTarget(SpecializationTypeConfiguration) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAbstractEditHelperAdviceConfiguration_Target() + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration + * @model opposite="editHelperAdviceConfiguration" required="true" transient="false" + * @generated + */ + SpecializationTypeConfiguration getTarget(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration#getTarget <em>Target</em>}' container reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Target</em>' container reference. + * @see #getTarget() + * @generated + */ + void setTarget(SpecializationTypeConfiguration value); + +} // AbstractEditHelperAdviceConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractMatcherConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractMatcherConfiguration.java new file mode 100644 index 00000000000..be4d45ee431 --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AbstractMatcherConfiguration.java @@ -0,0 +1,28 @@ +/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Abstract Matcher Configuration</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAbstractMatcherConfiguration() + * @model abstract="true" + * @generated + */ +public interface AbstractMatcherConfiguration extends EObject { +} // AbstractMatcherConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AdviceBindingConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AdviceBindingConfiguration.java index 35d389fcd40..a6367d8dc13 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AdviceBindingConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AdviceBindingConfiguration.java @@ -1,113 +1,59 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Advice Binding Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getTarget <em>Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getContainerConfiguration <em>Container Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceBindingConfiguration()
- * @model
- * @generated
- */
-public interface AdviceBindingConfiguration extends AdviceConfiguration {
- /**
- * 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 #setTarget(ElementTypeConfiguration)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceBindingConfiguration_Target()
- * @model required="true"
- * @generated
- */
- ElementTypeConfiguration getTarget();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getTarget <em>Target</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Target</em>' reference.
- * @see #getTarget()
- * @generated
- */
- void setTarget(ElementTypeConfiguration value);
-
- /**
- * Returns the value of the '<em><b>Container Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Container Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Container Configuration</em>' containment reference.
- * @see #setContainerConfiguration(ContainerConfiguration)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceBindingConfiguration_ContainerConfiguration()
- * @model containment="true"
- * @generated
- */
- ContainerConfiguration getContainerConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getContainerConfiguration <em>Container Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Container Configuration</em>' containment reference.
- * @see #getContainerConfiguration()
- * @generated
- */
- void setContainerConfiguration(ContainerConfiguration value);
-
- /**
- * Returns the value of the '<em><b>Matcher Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Matcher Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Matcher Configuration</em>' containment reference.
- * @see #setMatcherConfiguration(MatcherConfiguration)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceBindingConfiguration_MatcherConfiguration()
- * @model containment="true"
- * @generated
- */
- MatcherConfiguration getMatcherConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Matcher Configuration</em>' containment reference.
- * @see #getMatcherConfiguration()
- * @generated
- */
- void setMatcherConfiguration(MatcherConfiguration value);
-
-} // AdviceBindingConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Advice Binding Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceBindingConfiguration() + * @model + * @generated + */ +public interface AdviceBindingConfiguration extends AbstractAdviceBindingConfiguration { + /** + * Returns the value of the '<em><b>Edit Helper Advice Class Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Edit Helper Advice Class 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>Edit Helper Advice Class Name</em>' attribute. + * @see #setEditHelperAdviceClassName(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceBindingConfiguration_EditHelperAdviceClassName() + * @model required="true" + * @generated + */ + String getEditHelperAdviceClassName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Edit Helper Advice Class Name</em>' attribute. + * @see #getEditHelperAdviceClassName() + * @generated + */ + void setEditHelperAdviceClassName(String value); + +} // AdviceBindingConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AdviceConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AdviceConfiguration.java index e2dbfa11177..e0d662673be 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AdviceConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/AdviceConfiguration.java @@ -1,124 +1,67 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Advice Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getBefore <em>Before</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getAfter <em>After</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getInheritance <em>Inheritance</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceConfiguration()
- * @model abstract="true"
- * @generated
- */
-public interface AdviceConfiguration extends ConfigurationElement {
- /**
- * Returns the value of the '<em><b>Edit Helper Advice Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Edit Helper Advice Class 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>Edit Helper Advice Class Name</em>' attribute.
- * @see #setEditHelperAdviceClassName(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceConfiguration_EditHelperAdviceClassName()
- * @model required="true"
- * @generated
- */
- String getEditHelperAdviceClassName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Edit Helper Advice Class Name</em>' attribute.
- * @see #getEditHelperAdviceClassName()
- * @generated
- */
- void setEditHelperAdviceClassName(String value);
-
- /**
- * Returns the value of the '<em><b>Before</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Before</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Before</em>' attribute list.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceConfiguration_Before()
- * @model
- * @generated
- */
- EList<String> getBefore();
-
- /**
- * Returns the value of the '<em><b>After</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>After</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>After</em>' attribute list.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceConfiguration_After()
- * @model
- * @generated
- */
- EList<String> getAfter();
-
- /**
- * Returns the value of the '<em><b>Inheritance</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Inheritance</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Inheritance</em>' attribute.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind
- * @see #setInheritance(InheritanceKind)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceConfiguration_Inheritance()
- * @model required="true"
- * @generated
- */
- InheritanceKind getInheritance();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getInheritance <em>Inheritance</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Inheritance</em>' attribute.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind
- * @see #getInheritance()
- * @generated
- */
- void setInheritance(InheritanceKind value);
-
-} // AdviceConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Advice Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getBefore <em>Before</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getAfter <em>After</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceConfiguration() + * @model abstract="true" + * @generated + */ +public interface AdviceConfiguration extends ConfigurationElement { + /** + * Returns the value of the '<em><b>Before</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Before</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Before</em>' attribute list. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceConfiguration_Before() + * @model + * @generated + */ + EList<String> getBefore(); + + /** + * Returns the value of the '<em><b>After</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>After</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>After</em>' attribute list. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getAdviceConfiguration_After() + * @model + * @generated + */ + EList<String> getAfter(); + +} // AdviceConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ConfigurationElement.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ConfigurationElement.java index ed2c63fed3d..d455b78e963 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ConfigurationElement.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ConfigurationElement.java @@ -1,114 +1,60 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Configuration Element</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getIdentifier <em>Identifier</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getConfigurationElement()
- * @model abstract="true"
- * @generated
- */
-public interface ConfigurationElement 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.elementtypesconfigurations.ElementtypesconfigurationsPackage#getConfigurationElement_Name()
- * @model required="true"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#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);
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getConfigurationElement_Description()
- * @model
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Identifier</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Identifier</em>' attribute.
- * @see #setIdentifier(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getConfigurationElement_Identifier()
- * @model required="true"
- * @generated
- */
- String getIdentifier();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getIdentifier <em>Identifier</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Identifier</em>' attribute.
- * @see #getIdentifier()
- * @generated
- */
- void setIdentifier(String value);
-
-} // ConfigurationElement
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Configuration Element</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getDescription <em>Description</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getConfigurationElement() + * @model abstract="true" + * @generated + */ +public interface ConfigurationElement extends EObject { + /** + * Returns the value of the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' attribute. + * @see #setDescription(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getConfigurationElement_Description() + * @model + * @generated + */ + String getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getDescription <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description</em>' attribute. + * @see #getDescription() + * @generated + */ + void setDescription(String value); + +} // ConfigurationElement diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ContainerConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ContainerConfiguration.java index af0632a6b99..6a85cf1b529 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ContainerConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ContainerConfiguration.java @@ -1,80 +1,80 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Container Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getContainerMatcherConfiguration <em>Container Matcher Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getEContainmentFeatures <em>EContainment Features</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getContainerConfiguration()
- * @model
- * @generated
- */
-public interface ContainerConfiguration extends EObject {
- /**
- * Returns the value of the '<em><b>Container Matcher Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Container Matcher Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Container Matcher Configuration</em>' containment reference.
- * @see #setContainerMatcherConfiguration(MatcherConfiguration)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getContainerConfiguration_ContainerMatcherConfiguration()
- * @model containment="true"
- * @generated
- */
- MatcherConfiguration getContainerMatcherConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getContainerMatcherConfiguration <em>Container Matcher Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Container Matcher Configuration</em>' containment reference.
- * @see #getContainerMatcherConfiguration()
- * @generated
- */
- void setContainerMatcherConfiguration(MatcherConfiguration value);
-
- /**
- * Returns the value of the '<em><b>EContainment Features</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.ecore.EReference}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EContainment Features</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>EContainment Features</em>' reference list.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getContainerConfiguration_EContainmentFeatures()
- * @model
- * @generated
- */
- EList<EReference> getEContainmentFeatures();
-
-} // ContainerConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Container Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getContainerMatcherConfiguration <em>Container Matcher Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getEContainmentFeatures <em>EContainment Features</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getContainerConfiguration() + * @model + * @generated + */ +public interface ContainerConfiguration extends EObject { + /** + * Returns the value of the '<em><b>Container Matcher Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Container Matcher Configuration</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Container Matcher Configuration</em>' containment reference. + * @see #setContainerMatcherConfiguration(AbstractMatcherConfiguration) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getContainerConfiguration_ContainerMatcherConfiguration() + * @model containment="true" + * @generated + */ + AbstractMatcherConfiguration getContainerMatcherConfiguration(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getContainerMatcherConfiguration <em>Container Matcher Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Container Matcher Configuration</em>' containment reference. + * @see #getContainerMatcherConfiguration() + * @generated + */ + void setContainerMatcherConfiguration(AbstractMatcherConfiguration value); + + /** + * Returns the value of the '<em><b>EContainment Features</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.ecore.EReference}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>EContainment Features</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>EContainment Features</em>' reference list. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getContainerConfiguration_EContainmentFeatures() + * @model + * @generated + */ + EList<EReference> getEContainmentFeatures(); + +} // ContainerConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/EditHelperAdviceConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/EditHelperAdviceConfiguration.java index fa0cae32507..7f40b356e16 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/EditHelperAdviceConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/EditHelperAdviceConfiguration.java @@ -1,61 +1,59 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Edit Helper Advice Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getTarget <em>Target</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getEditHelperAdviceConfiguration()
- * @model
- * @generated
- */
-public interface EditHelperAdviceConfiguration extends AdviceConfiguration {
- /**
- * Returns the value of the '<em><b>Target</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Target</em>' container 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>' container reference.
- * @see #setTarget(SpecializationTypeConfiguration)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getEditHelperAdviceConfiguration_Target()
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration
- * @model opposite="editHelperAdviceConfiguration" required="true" transient="false"
- * @generated
- */
- SpecializationTypeConfiguration getTarget();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getTarget <em>Target</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Target</em>' container reference.
- * @see #getTarget()
- * @generated
- */
- void setTarget(SpecializationTypeConfiguration value);
-
-} // EditHelperAdviceConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Edit Helper Advice Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getEditHelperAdviceConfiguration() + * @model + * @generated + */ +public interface EditHelperAdviceConfiguration extends AbstractEditHelperAdviceConfiguration { + /** + * Returns the value of the '<em><b>Edit Helper Advice Class Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Edit Helper Advice Class 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>Edit Helper Advice Class Name</em>' attribute. + * @see #setEditHelperAdviceClassName(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getEditHelperAdviceConfiguration_EditHelperAdviceClassName() + * @model required="true" + * @generated + */ + String getEditHelperAdviceClassName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Edit Helper Advice Class Name</em>' attribute. + * @see #getEditHelperAdviceClassName() + * @generated + */ + void setEditHelperAdviceClassName(String value); + +} // EditHelperAdviceConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementTypeConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementTypeConfiguration.java index a5ac681b6ef..111d05ec07d 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementTypeConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementTypeConfiguration.java @@ -1,115 +1,115 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>elementType Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getHint <em>Hint</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getKind <em>Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getIconEntry <em>Icon Entry</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeConfiguration()
- * @model abstract="true"
- * @generated
- */
-public interface ElementTypeConfiguration extends ConfigurationElement {
- /**
- * Returns the value of the '<em><b>Hint</b></em>' attribute.
- * The default value is <code>""</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Hint</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Hint</em>' attribute.
- * @see #setHint(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeConfiguration_Hint()
- * @model default=""
- * @generated
- */
- String getHint();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getHint <em>Hint</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Hint</em>' attribute.
- * @see #getHint()
- * @generated
- */
- void setHint(String value);
-
- /**
- * Returns the value of the '<em><b>Kind</b></em>' attribute.
- * The default value is <code>"org.eclipse.gmf.runtime.emf.type.core.IHintedType"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Kind</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Kind</em>' attribute.
- * @see #setKind(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeConfiguration_Kind()
- * @model default="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- * @generated
- */
- String getKind();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getKind <em>Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Kind</em>' attribute.
- * @see #getKind()
- * @generated
- */
- void setKind(String value);
-
- /**
- * Returns the value of the '<em><b>Icon Entry</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Icon Entry</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Icon Entry</em>' containment reference.
- * @see #setIconEntry(IconEntry)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeConfiguration_IconEntry()
- * @model containment="true"
- * @generated
- */
- IconEntry getIconEntry();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getIconEntry <em>Icon Entry</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Icon Entry</em>' containment reference.
- * @see #getIconEntry()
- * @generated
- */
- void setIconEntry(IconEntry value);
-
-} // ElementTypeConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Element Type Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getHint <em>Hint</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getKind <em>Kind</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getIconEntry <em>Icon Entry</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeConfiguration() + * @model abstract="true" + * @generated + */ +public interface ElementTypeConfiguration extends ConfigurationElement, IdentifiedConfiguration, NamedConfiguration { + /** + * Returns the value of the '<em><b>Hint</b></em>' attribute. + * The default value is <code>""</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Hint</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Hint</em>' attribute. + * @see #setHint(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeConfiguration_Hint() + * @model default="" + * @generated + */ + String getHint(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getHint <em>Hint</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Hint</em>' attribute. + * @see #getHint() + * @generated + */ + void setHint(String value); + + /** + * Returns the value of the '<em><b>Kind</b></em>' attribute. + * The default value is <code>"org.eclipse.gmf.runtime.emf.type.core.IHintedType"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Kind</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Kind</em>' attribute. + * @see #setKind(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeConfiguration_Kind() + * @model default="org.eclipse.gmf.runtime.emf.type.core.IHintedType" + * @generated + */ + String getKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getKind <em>Kind</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Kind</em>' attribute. + * @see #getKind() + * @generated + */ + void setKind(String value); + + /** + * Returns the value of the '<em><b>Icon Entry</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon Entry</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon Entry</em>' containment reference. + * @see #setIconEntry(IconEntry) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeConfiguration_IconEntry() + * @model containment="true" + * @generated + */ + IconEntry getIconEntry(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getIconEntry <em>Icon Entry</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Icon Entry</em>' containment reference. + * @see #getIconEntry() + * @generated + */ + void setIconEntry(IconEntry value); + +} // ElementTypeConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementTypeSetConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementTypeSetConfiguration.java index ba77b6129f4..f036e3464d4 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementTypeSetConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementTypeSetConfiguration.java @@ -1,94 +1,94 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>elementType Set Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getElementTypeConfigurations <em>Element Type Configurations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getAdviceBindingsConfigurations <em>Advice Bindings Configurations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getMetamodelNsURI <em>Metamodel Ns URI</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeSetConfiguration()
- * @model
- * @generated
- */
-public interface ElementTypeSetConfiguration extends ConfigurationElement {
- /**
- * Returns the value of the '<em><b>Element Type Configurations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>elementType Configurations</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>Element Type Configurations</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeSetConfiguration_ElementTypeConfigurations()
- * @model containment="true"
- * @generated
- */
- EList<ElementTypeConfiguration> getElementTypeConfigurations();
-
- /**
- * Returns the value of the '<em><b>Advice Bindings Configurations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Advice Bindings Configurations</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>Advice Bindings Configurations</em>' containment reference list.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeSetConfiguration_AdviceBindingsConfigurations()
- * @model containment="true"
- * @generated
- */
- EList<AdviceBindingConfiguration> getAdviceBindingsConfigurations();
-
- /**
- * Returns the value of the '<em><b>Metamodel Ns URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Metamodel Ns URI</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Metamodel Ns URI</em>' attribute.
- * @see #setMetamodelNsURI(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeSetConfiguration_MetamodelNsURI()
- * @model required="true"
- * @generated
- */
- String getMetamodelNsURI();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getMetamodelNsURI <em>Metamodel Ns URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Metamodel Ns URI</em>' attribute.
- * @see #getMetamodelNsURI()
- * @generated
- */
- void setMetamodelNsURI(String value);
-
-} // ElementTypeSetConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Element Type Set Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getElementTypeConfigurations <em>Element Type Configurations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getAdviceBindingsConfigurations <em>Advice Bindings Configurations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getMetamodelNsURI <em>Metamodel Ns URI</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeSetConfiguration() + * @model + * @generated + */ +public interface ElementTypeSetConfiguration extends ConfigurationElement, IdentifiedConfiguration, NamedConfiguration { + /** + * Returns the value of the '<em><b>Element Type Configurations</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Element Type Configurations</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>Element Type Configurations</em>' containment reference list. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeSetConfiguration_ElementTypeConfigurations() + * @model containment="true" + * @generated + */ + EList<ElementTypeConfiguration> getElementTypeConfigurations(); + + /** + * Returns the value of the '<em><b>Advice Bindings Configurations</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Advice Bindings Configurations</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>Advice Bindings Configurations</em>' containment reference list. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeSetConfiguration_AdviceBindingsConfigurations() + * @model containment="true" + * @generated + */ + EList<AbstractAdviceBindingConfiguration> getAdviceBindingsConfigurations(); + + /** + * Returns the value of the '<em><b>Metamodel Ns URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Metamodel Ns URI</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Metamodel Ns URI</em>' attribute. + * @see #setMetamodelNsURI(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getElementTypeSetConfiguration_MetamodelNsURI() + * @model required="true" + * @generated + */ + String getMetamodelNsURI(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getMetamodelNsURI <em>Metamodel Ns URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Metamodel Ns URI</em>' attribute. + * @see #getMetamodelNsURI() + * @generated + */ + void setMetamodelNsURI(String value); + +} // ElementTypeSetConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementtypesconfigurationsFactory.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementtypesconfigurationsFactory.java index 862fc8a5c7e..e4cb47f4ed4 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementtypesconfigurationsFactory.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementtypesconfigurationsFactory.java @@ -1,115 +1,115 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-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.elementtypesconfigurations.ElementtypesconfigurationsPackage
- * @generated
- */
-public interface ElementtypesconfigurationsFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ElementtypesconfigurationsFactory eINSTANCE = org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Element Type Set Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Element Type Set Configuration</em>'.
- * @generated
- */
- ElementTypeSetConfiguration createElementTypeSetConfiguration();
-
- /**
- * Returns a new object of class '<em>Icon Entry</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Icon Entry</em>'.
- * @generated
- */
- IconEntry createIconEntry();
-
- /**
- * Returns a new object of class '<em>Matcher Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Matcher Configuration</em>'.
- * @generated
- */
- MatcherConfiguration createMatcherConfiguration();
-
- /**
- * Returns a new object of class '<em>Advice Binding Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Advice Binding Configuration</em>'.
- * @generated
- */
- AdviceBindingConfiguration createAdviceBindingConfiguration();
-
- /**
- * Returns a new object of class '<em>Specialization Type Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Specialization Type Configuration</em>'.
- * @generated
- */
- SpecializationTypeConfiguration createSpecializationTypeConfiguration();
-
- /**
- * Returns a new object of class '<em>Container Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Container Configuration</em>'.
- * @generated
- */
- ContainerConfiguration createContainerConfiguration();
-
- /**
- * Returns a new object of class '<em>Metamodel Type Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Metamodel Type Configuration</em>'.
- * @generated
- */
- MetamodelTypeConfiguration createMetamodelTypeConfiguration();
-
- /**
- * Returns a new object of class '<em>Edit Helper Advice Configuration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Edit Helper Advice Configuration</em>'.
- * @generated
- */
- EditHelperAdviceConfiguration createEditHelperAdviceConfiguration();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- ElementtypesconfigurationsPackage getElementtypesconfigurationsPackage();
-
-} //ElementtypesconfigurationsFactory
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +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.elementtypesconfigurations.ElementtypesconfigurationsPackage + * @generated + */ +public interface ElementtypesconfigurationsFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ElementtypesconfigurationsFactory eINSTANCE = org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Element Type Set Configuration</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Element Type Set Configuration</em>'. + * @generated + */ + ElementTypeSetConfiguration createElementTypeSetConfiguration(); + + /** + * Returns a new object of class '<em>Icon Entry</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Icon Entry</em>'. + * @generated + */ + IconEntry createIconEntry(); + + /** + * Returns a new object of class '<em>Specialization Type Configuration</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Specialization Type Configuration</em>'. + * @generated + */ + SpecializationTypeConfiguration createSpecializationTypeConfiguration(); + + /** + * Returns a new object of class '<em>Container Configuration</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Container Configuration</em>'. + * @generated + */ + ContainerConfiguration createContainerConfiguration(); + + /** + * Returns a new object of class '<em>Metamodel Type Configuration</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Metamodel Type Configuration</em>'. + * @generated + */ + MetamodelTypeConfiguration createMetamodelTypeConfiguration(); + + /** + * Returns a new object of class '<em>Edit Helper Advice Configuration</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Edit Helper Advice Configuration</em>'. + * @generated + */ + EditHelperAdviceConfiguration createEditHelperAdviceConfiguration(); + + /** + * Returns a new object of class '<em>Advice Binding Configuration</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Advice Binding Configuration</em>'. + * @generated + */ + AdviceBindingConfiguration createAdviceBindingConfiguration(); + + /** + * Returns a new object of class '<em>Matcher Configuration</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Matcher Configuration</em>'. + * @generated + */ + MatcherConfiguration createMatcherConfiguration(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + ElementtypesconfigurationsPackage getElementtypesconfigurationsPackage(); + +} //ElementtypesconfigurationsFactory diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementtypesconfigurationsPackage.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementtypesconfigurationsPackage.java index ebadca1ef34..23de7d497f8 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementtypesconfigurationsPackage.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/ElementtypesconfigurationsPackage.java @@ -1,1761 +1,2056 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsFactory
- * @model kind="package"
- * @generated
- */
-public interface ElementtypesconfigurationsPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "elementtypesconfigurations";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.0";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "elementtypesconfigurations";
-
- /**
- * The package content type ID.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eCONTENT_TYPE = "org.eclipse.papyrus.infra.elementtypesconfigurations";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ElementtypesconfigurationsPackage eINSTANCE = org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl <em>Configuration Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getConfigurationElement()
- * @generated
- */
- int CONFIGURATION_ELEMENT = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONFIGURATION_ELEMENT__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONFIGURATION_ELEMENT__DESCRIPTION = 1;
-
- /**
- * The feature id for the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONFIGURATION_ELEMENT__IDENTIFIER = 2;
-
- /**
- * The number of structural features of the '<em>Configuration Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONFIGURATION_ELEMENT_FEATURE_COUNT = 3;
-
- /**
- * The number of operations of the '<em>Configuration Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONFIGURATION_ELEMENT_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl <em>Element Type Set Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getElementTypeSetConfiguration()
- * @generated
- */
- int ELEMENT_TYPE_SET_CONFIGURATION = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_SET_CONFIGURATION__NAME = CONFIGURATION_ELEMENT__NAME;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_SET_CONFIGURATION__DESCRIPTION = CONFIGURATION_ELEMENT__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER = CONFIGURATION_ELEMENT__IDENTIFIER;
-
- /**
- * The feature id for the '<em><b>Element Type Configurations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS = CONFIGURATION_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Advice Bindings Configurations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS = CONFIGURATION_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Metamodel Ns URI</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI = CONFIGURATION_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Element Type Set Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_SET_CONFIGURATION_FEATURE_COUNT = CONFIGURATION_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of operations of the '<em>Element Type Set Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_SET_CONFIGURATION_OPERATION_COUNT = CONFIGURATION_ELEMENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl <em>Element Type Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getElementTypeConfiguration()
- * @generated
- */
- int ELEMENT_TYPE_CONFIGURATION = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_CONFIGURATION__NAME = CONFIGURATION_ELEMENT__NAME;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_CONFIGURATION__DESCRIPTION = CONFIGURATION_ELEMENT__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_CONFIGURATION__IDENTIFIER = CONFIGURATION_ELEMENT__IDENTIFIER;
-
- /**
- * The feature id for the '<em><b>Hint</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_CONFIGURATION__HINT = CONFIGURATION_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_CONFIGURATION__KIND = CONFIGURATION_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Icon Entry</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY = CONFIGURATION_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Element Type Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT = CONFIGURATION_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of operations of the '<em>Element Type Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ELEMENT_TYPE_CONFIGURATION_OPERATION_COUNT = CONFIGURATION_ELEMENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl <em>Icon Entry</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getIconEntry()
- * @generated
- */
- int ICON_ENTRY = 2;
-
- /**
- * The feature id for the '<em><b>Icon Path</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ICON_ENTRY__ICON_PATH = 0;
-
- /**
- * The feature id for the '<em><b>Bundle Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ICON_ENTRY__BUNDLE_ID = 1;
-
- /**
- * The number of structural features of the '<em>Icon Entry</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ICON_ENTRY_FEATURE_COUNT = 2;
-
- /**
- * The number of operations of the '<em>Icon Entry</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ICON_ENTRY_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl <em>Matcher Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getMatcherConfiguration()
- * @generated
- */
- int MATCHER_CONFIGURATION = 4;
-
- /**
- * The feature id for the '<em><b>Matcher Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MATCHER_CONFIGURATION__MATCHER_CLASS_NAME = 0;
-
- /**
- * The number of structural features of the '<em>Matcher Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MATCHER_CONFIGURATION_FEATURE_COUNT = 1;
-
- /**
- * The number of operations of the '<em>Matcher Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MATCHER_CONFIGURATION_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl <em>Advice Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAdviceConfiguration()
- * @generated
- */
- int ADVICE_CONFIGURATION = 5;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION__NAME = CONFIGURATION_ELEMENT__NAME;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION__DESCRIPTION = CONFIGURATION_ELEMENT__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION__IDENTIFIER = CONFIGURATION_ELEMENT__IDENTIFIER;
-
- /**
- * The feature id for the '<em><b>Edit Helper Advice Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME = CONFIGURATION_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Before</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION__BEFORE = CONFIGURATION_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>After</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION__AFTER = CONFIGURATION_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Inheritance</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION__INHERITANCE = CONFIGURATION_ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Advice Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION_FEATURE_COUNT = CONFIGURATION_ELEMENT_FEATURE_COUNT + 4;
-
- /**
- * The number of operations of the '<em>Advice Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_CONFIGURATION_OPERATION_COUNT = CONFIGURATION_ELEMENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl <em>Advice Binding Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAdviceBindingConfiguration()
- * @generated
- */
- int ADVICE_BINDING_CONFIGURATION = 6;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__NAME = ADVICE_CONFIGURATION__NAME;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__DESCRIPTION = ADVICE_CONFIGURATION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__IDENTIFIER = ADVICE_CONFIGURATION__IDENTIFIER;
-
- /**
- * The feature id for the '<em><b>Edit Helper Advice Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME = ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Before</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__BEFORE = ADVICE_CONFIGURATION__BEFORE;
-
- /**
- * The feature id for the '<em><b>After</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__AFTER = ADVICE_CONFIGURATION__AFTER;
-
- /**
- * The feature id for the '<em><b>Inheritance</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__INHERITANCE = ADVICE_CONFIGURATION__INHERITANCE;
-
- /**
- * The feature id for the '<em><b>Target</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__TARGET = ADVICE_CONFIGURATION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Container Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION = ADVICE_CONFIGURATION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Matcher Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION = ADVICE_CONFIGURATION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Advice Binding Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION_FEATURE_COUNT = ADVICE_CONFIGURATION_FEATURE_COUNT + 3;
-
- /**
- * The number of operations of the '<em>Advice Binding Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADVICE_BINDING_CONFIGURATION_OPERATION_COUNT = ADVICE_CONFIGURATION_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl <em>Specialization Type Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getSpecializationTypeConfiguration()
- * @generated
- */
- int SPECIALIZATION_TYPE_CONFIGURATION = 7;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__NAME = ELEMENT_TYPE_CONFIGURATION__NAME;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__DESCRIPTION = ELEMENT_TYPE_CONFIGURATION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__IDENTIFIER = ELEMENT_TYPE_CONFIGURATION__IDENTIFIER;
-
- /**
- * The feature id for the '<em><b>Hint</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__HINT = ELEMENT_TYPE_CONFIGURATION__HINT;
-
- /**
- * The feature id for the '<em><b>Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__KIND = ELEMENT_TYPE_CONFIGURATION__KIND;
-
- /**
- * The feature id for the '<em><b>Icon Entry</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__ICON_ENTRY = ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY;
-
- /**
- * The feature id for the '<em><b>Specialized Types ID</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Edit Helper Advice Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Container Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Matcher Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Specialization Type Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION_FEATURE_COUNT = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 4;
-
- /**
- * The number of operations of the '<em>Specialization Type Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIALIZATION_TYPE_CONFIGURATION_OPERATION_COUNT = ELEMENT_TYPE_CONFIGURATION_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl <em>Container Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getContainerConfiguration()
- * @generated
- */
- int CONTAINER_CONFIGURATION = 8;
-
- /**
- * The feature id for the '<em><b>Container Matcher Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION = 0;
-
- /**
- * The feature id for the '<em><b>EContainment Features</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES = 1;
-
- /**
- * The number of structural features of the '<em>Container Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTAINER_CONFIGURATION_FEATURE_COUNT = 2;
-
- /**
- * The number of operations of the '<em>Container Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTAINER_CONFIGURATION_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl <em>Metamodel Type Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getMetamodelTypeConfiguration()
- * @generated
- */
- int METAMODEL_TYPE_CONFIGURATION = 9;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION__NAME = ELEMENT_TYPE_CONFIGURATION__NAME;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION__DESCRIPTION = ELEMENT_TYPE_CONFIGURATION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION__IDENTIFIER = ELEMENT_TYPE_CONFIGURATION__IDENTIFIER;
-
- /**
- * The feature id for the '<em><b>Hint</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION__HINT = ELEMENT_TYPE_CONFIGURATION__HINT;
-
- /**
- * The feature id for the '<em><b>Kind</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION__KIND = ELEMENT_TYPE_CONFIGURATION__KIND;
-
- /**
- * The feature id for the '<em><b>Icon Entry</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION__ICON_ENTRY = ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY;
-
- /**
- * The feature id for the '<em><b>EClass</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION__ECLASS = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Edit Helper Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Metamodel Type Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION_FEATURE_COUNT = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 2;
-
- /**
- * The number of operations of the '<em>Metamodel Type Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int METAMODEL_TYPE_CONFIGURATION_OPERATION_COUNT = ELEMENT_TYPE_CONFIGURATION_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl <em>Edit Helper Advice Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getEditHelperAdviceConfiguration()
- * @generated
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION = 10;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION__NAME = ADVICE_CONFIGURATION__NAME;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION__DESCRIPTION = ADVICE_CONFIGURATION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION__IDENTIFIER = ADVICE_CONFIGURATION__IDENTIFIER;
-
- /**
- * The feature id for the '<em><b>Edit Helper Advice Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME = ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME;
-
- /**
- * The feature id for the '<em><b>Before</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION__BEFORE = ADVICE_CONFIGURATION__BEFORE;
-
- /**
- * The feature id for the '<em><b>After</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION__AFTER = ADVICE_CONFIGURATION__AFTER;
-
- /**
- * The feature id for the '<em><b>Inheritance</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION__INHERITANCE = ADVICE_CONFIGURATION__INHERITANCE;
-
- /**
- * The feature id for the '<em><b>Target</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION__TARGET = ADVICE_CONFIGURATION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Edit Helper Advice Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION_FEATURE_COUNT = ADVICE_CONFIGURATION_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Edit Helper Advice Configuration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EDIT_HELPER_ADVICE_CONFIGURATION_OPERATION_COUNT = ADVICE_CONFIGURATION_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind <em>Inheritance Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getInheritanceKind()
- * @generated
- */
- int INHERITANCE_KIND = 11;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration <em>Element Type Set Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Element Type Set Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration
- * @generated
- */
- EClass getElementTypeSetConfiguration();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getElementTypeConfigurations <em>Element Type Configurations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Element Type Configurations</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getElementTypeConfigurations()
- * @see #getElementTypeSetConfiguration()
- * @generated
- */
- EReference getElementTypeSetConfiguration_ElementTypeConfigurations();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getAdviceBindingsConfigurations <em>Advice Bindings Configurations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Advice Bindings Configurations</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getAdviceBindingsConfigurations()
- * @see #getElementTypeSetConfiguration()
- * @generated
- */
- EReference getElementTypeSetConfiguration_AdviceBindingsConfigurations();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getMetamodelNsURI <em>Metamodel Ns URI</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Metamodel Ns URI</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getMetamodelNsURI()
- * @see #getElementTypeSetConfiguration()
- * @generated
- */
- EAttribute getElementTypeSetConfiguration_MetamodelNsURI();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration <em>Element Type Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Element Type Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration
- * @generated
- */
- EClass getElementTypeConfiguration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getHint <em>Hint</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Hint</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getHint()
- * @see #getElementTypeConfiguration()
- * @generated
- */
- EAttribute getElementTypeConfiguration_Hint();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getKind <em>Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Kind</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getKind()
- * @see #getElementTypeConfiguration()
- * @generated
- */
- EAttribute getElementTypeConfiguration_Kind();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getIconEntry <em>Icon Entry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Icon Entry</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getIconEntry()
- * @see #getElementTypeConfiguration()
- * @generated
- */
- EReference getElementTypeConfiguration_IconEntry();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry <em>Icon Entry</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Icon Entry</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry
- * @generated
- */
- EClass getIconEntry();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getIconPath <em>Icon Path</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Icon Path</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getIconPath()
- * @see #getIconEntry()
- * @generated
- */
- EAttribute getIconEntry_IconPath();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getBundleId <em>Bundle Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Bundle Id</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getBundleId()
- * @see #getIconEntry()
- * @generated
- */
- EAttribute getIconEntry_BundleId();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement <em>Configuration Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Configuration Element</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement
- * @generated
- */
- EClass getConfigurationElement();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#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.elementtypesconfigurations.ConfigurationElement#getName()
- * @see #getConfigurationElement()
- * @generated
- */
- EAttribute getConfigurationElement_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getDescription()
- * @see #getConfigurationElement()
- * @generated
- */
- EAttribute getConfigurationElement_Description();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getIdentifier <em>Identifier</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Identifier</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getIdentifier()
- * @see #getConfigurationElement()
- * @generated
- */
- EAttribute getConfigurationElement_Identifier();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration <em>Matcher Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Matcher Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration
- * @generated
- */
- EClass getMatcherConfiguration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration#getMatcherClassName <em>Matcher Class Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Matcher Class Name</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration#getMatcherClassName()
- * @see #getMatcherConfiguration()
- * @generated
- */
- EAttribute getMatcherConfiguration_MatcherClassName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration <em>Advice Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Advice Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration
- * @generated
- */
- EClass getAdviceConfiguration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Edit Helper Advice Class Name</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getEditHelperAdviceClassName()
- * @see #getAdviceConfiguration()
- * @generated
- */
- EAttribute getAdviceConfiguration_EditHelperAdviceClassName();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getBefore <em>Before</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Before</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getBefore()
- * @see #getAdviceConfiguration()
- * @generated
- */
- EAttribute getAdviceConfiguration_Before();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getAfter <em>After</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>After</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getAfter()
- * @see #getAdviceConfiguration()
- * @generated
- */
- EAttribute getAdviceConfiguration_After();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getInheritance <em>Inheritance</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Inheritance</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getInheritance()
- * @see #getAdviceConfiguration()
- * @generated
- */
- EAttribute getAdviceConfiguration_Inheritance();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration <em>Advice Binding Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Advice Binding Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration
- * @generated
- */
- EClass getAdviceBindingConfiguration();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#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.elementtypesconfigurations.AdviceBindingConfiguration#getTarget()
- * @see #getAdviceBindingConfiguration()
- * @generated
- */
- EReference getAdviceBindingConfiguration_Target();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getContainerConfiguration <em>Container Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Container Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getContainerConfiguration()
- * @see #getAdviceBindingConfiguration()
- * @generated
- */
- EReference getAdviceBindingConfiguration_ContainerConfiguration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Matcher Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getMatcherConfiguration()
- * @see #getAdviceBindingConfiguration()
- * @generated
- */
- EReference getAdviceBindingConfiguration_MatcherConfiguration();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration <em>Specialization Type Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Specialization Type Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration
- * @generated
- */
- EClass getSpecializationTypeConfiguration();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getSpecializedTypesID <em>Specialized Types ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Specialized Types ID</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getSpecializedTypesID()
- * @see #getSpecializationTypeConfiguration()
- * @generated
- */
- EAttribute getSpecializationTypeConfiguration_SpecializedTypesID();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Edit Helper Advice Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration()
- * @see #getSpecializationTypeConfiguration()
- * @generated
- */
- EReference getSpecializationTypeConfiguration_EditHelperAdviceConfiguration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getContainerConfiguration <em>Container Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Container Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getContainerConfiguration()
- * @see #getSpecializationTypeConfiguration()
- * @generated
- */
- EReference getSpecializationTypeConfiguration_ContainerConfiguration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Matcher Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getMatcherConfiguration()
- * @see #getSpecializationTypeConfiguration()
- * @generated
- */
- EReference getSpecializationTypeConfiguration_MatcherConfiguration();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration <em>Container Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Container Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration
- * @generated
- */
- EClass getContainerConfiguration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getContainerMatcherConfiguration <em>Container Matcher Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Container Matcher Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getContainerMatcherConfiguration()
- * @see #getContainerConfiguration()
- * @generated
- */
- EReference getContainerConfiguration_ContainerMatcherConfiguration();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getEContainmentFeatures <em>EContainment Features</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>EContainment Features</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getEContainmentFeatures()
- * @see #getContainerConfiguration()
- * @generated
- */
- EReference getContainerConfiguration_EContainmentFeatures();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration <em>Metamodel Type Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Metamodel Type Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration
- * @generated
- */
- EClass getMetamodelTypeConfiguration();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEClass <em>EClass</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>EClass</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEClass()
- * @see #getMetamodelTypeConfiguration()
- * @generated
- */
- EReference getMetamodelTypeConfiguration_EClass();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEditHelperClassName <em>Edit Helper Class Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Edit Helper Class Name</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEditHelperClassName()
- * @see #getMetamodelTypeConfiguration()
- * @generated
- */
- EAttribute getMetamodelTypeConfiguration_EditHelperClassName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Edit Helper Advice Configuration</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration
- * @generated
- */
- EClass getEditHelperAdviceConfiguration();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getTarget <em>Target</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the container reference '<em>Target</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getTarget()
- * @see #getEditHelperAdviceConfiguration()
- * @generated
- */
- EReference getEditHelperAdviceConfiguration_Target();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind <em>Inheritance Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Inheritance Kind</em>'.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind
- * @generated
- */
- EEnum getInheritanceKind();
-
- /**
- * 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
- */
- ElementtypesconfigurationsFactory getElementtypesconfigurationsFactory();
-
- /**
- * <!-- 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.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl <em>Element Type Set Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getElementTypeSetConfiguration()
- * @generated
- */
- EClass ELEMENT_TYPE_SET_CONFIGURATION = eINSTANCE.getElementTypeSetConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Element Type Configurations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS = eINSTANCE.getElementTypeSetConfiguration_ElementTypeConfigurations();
-
- /**
- * The meta object literal for the '<em><b>Advice Bindings Configurations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS = eINSTANCE.getElementTypeSetConfiguration_AdviceBindingsConfigurations();
-
- /**
- * The meta object literal for the '<em><b>Metamodel Ns URI</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI = eINSTANCE.getElementTypeSetConfiguration_MetamodelNsURI();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl <em>Element Type Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getElementTypeConfiguration()
- * @generated
- */
- EClass ELEMENT_TYPE_CONFIGURATION = eINSTANCE.getElementTypeConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Hint</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ELEMENT_TYPE_CONFIGURATION__HINT = eINSTANCE.getElementTypeConfiguration_Hint();
-
- /**
- * The meta object literal for the '<em><b>Kind</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ELEMENT_TYPE_CONFIGURATION__KIND = eINSTANCE.getElementTypeConfiguration_Kind();
-
- /**
- * The meta object literal for the '<em><b>Icon Entry</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY = eINSTANCE.getElementTypeConfiguration_IconEntry();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl <em>Icon Entry</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getIconEntry()
- * @generated
- */
- EClass ICON_ENTRY = eINSTANCE.getIconEntry();
-
- /**
- * The meta object literal for the '<em><b>Icon Path</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ICON_ENTRY__ICON_PATH = eINSTANCE.getIconEntry_IconPath();
-
- /**
- * The meta object literal for the '<em><b>Bundle Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ICON_ENTRY__BUNDLE_ID = eINSTANCE.getIconEntry_BundleId();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl <em>Configuration Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getConfigurationElement()
- * @generated
- */
- EClass CONFIGURATION_ELEMENT = eINSTANCE.getConfigurationElement();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONFIGURATION_ELEMENT__NAME = eINSTANCE.getConfigurationElement_Name();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONFIGURATION_ELEMENT__DESCRIPTION = eINSTANCE.getConfigurationElement_Description();
-
- /**
- * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONFIGURATION_ELEMENT__IDENTIFIER = eINSTANCE.getConfigurationElement_Identifier();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl <em>Matcher Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getMatcherConfiguration()
- * @generated
- */
- EClass MATCHER_CONFIGURATION = eINSTANCE.getMatcherConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Matcher Class Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MATCHER_CONFIGURATION__MATCHER_CLASS_NAME = eINSTANCE.getMatcherConfiguration_MatcherClassName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl <em>Advice Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAdviceConfiguration()
- * @generated
- */
- EClass ADVICE_CONFIGURATION = eINSTANCE.getAdviceConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Edit Helper Advice Class Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME = eINSTANCE.getAdviceConfiguration_EditHelperAdviceClassName();
-
- /**
- * The meta object literal for the '<em><b>Before</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADVICE_CONFIGURATION__BEFORE = eINSTANCE.getAdviceConfiguration_Before();
-
- /**
- * The meta object literal for the '<em><b>After</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADVICE_CONFIGURATION__AFTER = eINSTANCE.getAdviceConfiguration_After();
-
- /**
- * The meta object literal for the '<em><b>Inheritance</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADVICE_CONFIGURATION__INHERITANCE = eINSTANCE.getAdviceConfiguration_Inheritance();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl <em>Advice Binding Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAdviceBindingConfiguration()
- * @generated
- */
- EClass ADVICE_BINDING_CONFIGURATION = eINSTANCE.getAdviceBindingConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Target</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ADVICE_BINDING_CONFIGURATION__TARGET = eINSTANCE.getAdviceBindingConfiguration_Target();
-
- /**
- * The meta object literal for the '<em><b>Container Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION = eINSTANCE.getAdviceBindingConfiguration_ContainerConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Matcher Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION = eINSTANCE.getAdviceBindingConfiguration_MatcherConfiguration();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl <em>Specialization Type Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getSpecializationTypeConfiguration()
- * @generated
- */
- EClass SPECIALIZATION_TYPE_CONFIGURATION = eINSTANCE.getSpecializationTypeConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Specialized Types ID</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID = eINSTANCE.getSpecializationTypeConfiguration_SpecializedTypesID();
-
- /**
- * The meta object literal for the '<em><b>Edit Helper Advice Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION = eINSTANCE.getSpecializationTypeConfiguration_EditHelperAdviceConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Container Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION = eINSTANCE.getSpecializationTypeConfiguration_ContainerConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Matcher Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION = eINSTANCE.getSpecializationTypeConfiguration_MatcherConfiguration();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl <em>Container Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getContainerConfiguration()
- * @generated
- */
- EClass CONTAINER_CONFIGURATION = eINSTANCE.getContainerConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Container Matcher Configuration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION = eINSTANCE.getContainerConfiguration_ContainerMatcherConfiguration();
-
- /**
- * The meta object literal for the '<em><b>EContainment Features</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES = eINSTANCE.getContainerConfiguration_EContainmentFeatures();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl <em>Metamodel Type Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getMetamodelTypeConfiguration()
- * @generated
- */
- EClass METAMODEL_TYPE_CONFIGURATION = eINSTANCE.getMetamodelTypeConfiguration();
-
- /**
- * The meta object literal for the '<em><b>EClass</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference METAMODEL_TYPE_CONFIGURATION__ECLASS = eINSTANCE.getMetamodelTypeConfiguration_EClass();
-
- /**
- * The meta object literal for the '<em><b>Edit Helper Class Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME = eINSTANCE.getMetamodelTypeConfiguration_EditHelperClassName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl <em>Edit Helper Advice Configuration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getEditHelperAdviceConfiguration()
- * @generated
- */
- EClass EDIT_HELPER_ADVICE_CONFIGURATION = eINSTANCE.getEditHelperAdviceConfiguration();
-
- /**
- * The meta object literal for the '<em><b>Target</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference EDIT_HELPER_ADVICE_CONFIGURATION__TARGET = eINSTANCE.getEditHelperAdviceConfiguration_Target();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind <em>Inheritance Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getInheritanceKind()
- * @generated
- */
- EEnum INHERITANCE_KIND = eINSTANCE.getInheritanceKind();
-
- }
-
-} //ElementtypesconfigurationsPackage
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsFactory + * @model kind="package" + * @generated + */ +public interface ElementtypesconfigurationsPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "elementtypesconfigurations"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "elementtypesconfigurations"; + + /** + * The package content type ID. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eCONTENT_TYPE = "org.eclipse.papyrus.infra.elementtypesconfigurations"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ElementtypesconfigurationsPackage eINSTANCE = org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl <em>Configuration Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getConfigurationElement() + * @generated + */ + int CONFIGURATION_ELEMENT = 3; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONFIGURATION_ELEMENT__DESCRIPTION = 0; + + /** + * The number of structural features of the '<em>Configuration Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONFIGURATION_ELEMENT_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Configuration Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONFIGURATION_ELEMENT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl <em>Element Type Set Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getElementTypeSetConfiguration() + * @generated + */ + int ELEMENT_TYPE_SET_CONFIGURATION = 0; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_SET_CONFIGURATION__DESCRIPTION = CONFIGURATION_ELEMENT__DESCRIPTION; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER = CONFIGURATION_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_SET_CONFIGURATION__NAME = CONFIGURATION_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Element Type Configurations</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS = CONFIGURATION_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Advice Bindings Configurations</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS = CONFIGURATION_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the '<em><b>Metamodel Ns URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI = CONFIGURATION_ELEMENT_FEATURE_COUNT + 4; + + /** + * The number of structural features of the '<em>Element Type Set Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_SET_CONFIGURATION_FEATURE_COUNT = CONFIGURATION_ELEMENT_FEATURE_COUNT + 5; + + /** + * The number of operations of the '<em>Element Type Set Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_SET_CONFIGURATION_OPERATION_COUNT = CONFIGURATION_ELEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl <em>Element Type Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getElementTypeConfiguration() + * @generated + */ + int ELEMENT_TYPE_CONFIGURATION = 1; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_CONFIGURATION__DESCRIPTION = CONFIGURATION_ELEMENT__DESCRIPTION; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_CONFIGURATION__IDENTIFIER = CONFIGURATION_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_CONFIGURATION__NAME = CONFIGURATION_ELEMENT_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Hint</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_CONFIGURATION__HINT = CONFIGURATION_ELEMENT_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Kind</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_CONFIGURATION__KIND = CONFIGURATION_ELEMENT_FEATURE_COUNT + 3; + + /** + * The feature id for the '<em><b>Icon Entry</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY = CONFIGURATION_ELEMENT_FEATURE_COUNT + 4; + + /** + * The number of structural features of the '<em>Element Type Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT = CONFIGURATION_ELEMENT_FEATURE_COUNT + 5; + + /** + * The number of operations of the '<em>Element Type Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_TYPE_CONFIGURATION_OPERATION_COUNT = CONFIGURATION_ELEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl <em>Icon Entry</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getIconEntry() + * @generated + */ + int ICON_ENTRY = 2; + + /** + * The feature id for the '<em><b>Icon Path</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_ENTRY__ICON_PATH = 0; + + /** + * The feature id for the '<em><b>Bundle Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_ENTRY__BUNDLE_ID = 1; + + /** + * The number of structural features of the '<em>Icon Entry</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_ENTRY_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Icon Entry</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_ENTRY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractMatcherConfigurationImpl <em>Abstract Matcher Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractMatcherConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAbstractMatcherConfiguration() + * @generated + */ + int ABSTRACT_MATCHER_CONFIGURATION = 4; + + /** + * The number of structural features of the '<em>Abstract Matcher Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_MATCHER_CONFIGURATION_FEATURE_COUNT = 0; + + /** + * The number of operations of the '<em>Abstract Matcher Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_MATCHER_CONFIGURATION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl <em>Advice Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAdviceConfiguration() + * @generated + */ + int ADVICE_CONFIGURATION = 5; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_CONFIGURATION__DESCRIPTION = CONFIGURATION_ELEMENT__DESCRIPTION; + + /** + * The feature id for the '<em><b>Before</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_CONFIGURATION__BEFORE = CONFIGURATION_ELEMENT_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>After</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_CONFIGURATION__AFTER = CONFIGURATION_ELEMENT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Advice Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_CONFIGURATION_FEATURE_COUNT = CONFIGURATION_ELEMENT_FEATURE_COUNT + 2; + + /** + * The number of operations of the '<em>Advice Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_CONFIGURATION_OPERATION_COUNT = CONFIGURATION_ELEMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl <em>Abstract Advice Binding Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAbstractAdviceBindingConfiguration() + * @generated + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION = 6; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION__DESCRIPTION = ADVICE_CONFIGURATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Before</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION__BEFORE = ADVICE_CONFIGURATION__BEFORE; + + /** + * The feature id for the '<em><b>After</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION__AFTER = ADVICE_CONFIGURATION__AFTER; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER = ADVICE_CONFIGURATION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Target</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET = ADVICE_CONFIGURATION_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Container Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION = ADVICE_CONFIGURATION_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Matcher Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION = ADVICE_CONFIGURATION_FEATURE_COUNT + 3; + + /** + * The feature id for the '<em><b>Inheritance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE = ADVICE_CONFIGURATION_FEATURE_COUNT + 4; + + /** + * The number of structural features of the '<em>Abstract Advice Binding Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION_FEATURE_COUNT = ADVICE_CONFIGURATION_FEATURE_COUNT + 5; + + /** + * The number of operations of the '<em>Abstract Advice Binding Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_ADVICE_BINDING_CONFIGURATION_OPERATION_COUNT = ADVICE_CONFIGURATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl <em>Specialization Type Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getSpecializationTypeConfiguration() + * @generated + */ + int SPECIALIZATION_TYPE_CONFIGURATION = 7; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__DESCRIPTION = ELEMENT_TYPE_CONFIGURATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__IDENTIFIER = ELEMENT_TYPE_CONFIGURATION__IDENTIFIER; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__NAME = ELEMENT_TYPE_CONFIGURATION__NAME; + + /** + * The feature id for the '<em><b>Hint</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__HINT = ELEMENT_TYPE_CONFIGURATION__HINT; + + /** + * The feature id for the '<em><b>Kind</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__KIND = ELEMENT_TYPE_CONFIGURATION__KIND; + + /** + * The feature id for the '<em><b>Icon Entry</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__ICON_ENTRY = ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY; + + /** + * The feature id for the '<em><b>Specialized Types ID</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Edit Helper Advice Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 1; + + /** + * The feature id for the '<em><b>Container Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Matcher Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 3; + + /** + * The number of structural features of the '<em>Specialization Type Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION_FEATURE_COUNT = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 4; + + /** + * The number of operations of the '<em>Specialization Type Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SPECIALIZATION_TYPE_CONFIGURATION_OPERATION_COUNT = ELEMENT_TYPE_CONFIGURATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl <em>Container Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getContainerConfiguration() + * @generated + */ + int CONTAINER_CONFIGURATION = 8; + + /** + * The feature id for the '<em><b>Container Matcher Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION = 0; + + /** + * The feature id for the '<em><b>EContainment Features</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES = 1; + + /** + * The number of structural features of the '<em>Container Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTAINER_CONFIGURATION_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Container Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTAINER_CONFIGURATION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl <em>Metamodel Type Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getMetamodelTypeConfiguration() + * @generated + */ + int METAMODEL_TYPE_CONFIGURATION = 9; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION__DESCRIPTION = ELEMENT_TYPE_CONFIGURATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION__IDENTIFIER = ELEMENT_TYPE_CONFIGURATION__IDENTIFIER; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION__NAME = ELEMENT_TYPE_CONFIGURATION__NAME; + + /** + * The feature id for the '<em><b>Hint</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION__HINT = ELEMENT_TYPE_CONFIGURATION__HINT; + + /** + * The feature id for the '<em><b>Kind</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION__KIND = ELEMENT_TYPE_CONFIGURATION__KIND; + + /** + * The feature id for the '<em><b>Icon Entry</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION__ICON_ENTRY = ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY; + + /** + * The feature id for the '<em><b>EClass</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION__ECLASS = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Edit Helper Class Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Metamodel Type Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION_FEATURE_COUNT = ELEMENT_TYPE_CONFIGURATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the '<em>Metamodel Type Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int METAMODEL_TYPE_CONFIGURATION_OPERATION_COUNT = ELEMENT_TYPE_CONFIGURATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractEditHelperAdviceConfigurationImpl <em>Abstract Edit Helper Advice Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractEditHelperAdviceConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAbstractEditHelperAdviceConfiguration() + * @generated + */ + int ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION = 10; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__DESCRIPTION = ADVICE_CONFIGURATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Before</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__BEFORE = ADVICE_CONFIGURATION__BEFORE; + + /** + * The feature id for the '<em><b>After</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__AFTER = ADVICE_CONFIGURATION__AFTER; + + /** + * The feature id for the '<em><b>Target</b></em>' container reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET = ADVICE_CONFIGURATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Abstract Edit Helper Advice Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION_FEATURE_COUNT = ADVICE_CONFIGURATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the '<em>Abstract Edit Helper Advice Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION_OPERATION_COUNT = ADVICE_CONFIGURATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl <em>Edit Helper Advice Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getEditHelperAdviceConfiguration() + * @generated + */ + int EDIT_HELPER_ADVICE_CONFIGURATION = 11; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EDIT_HELPER_ADVICE_CONFIGURATION__DESCRIPTION = ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Before</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EDIT_HELPER_ADVICE_CONFIGURATION__BEFORE = ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__BEFORE; + + /** + * The feature id for the '<em><b>After</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EDIT_HELPER_ADVICE_CONFIGURATION__AFTER = ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__AFTER; + + /** + * The feature id for the '<em><b>Target</b></em>' container reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EDIT_HELPER_ADVICE_CONFIGURATION__TARGET = ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET; + + /** + * The feature id for the '<em><b>Edit Helper Advice Class Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME = ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Edit Helper Advice Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EDIT_HELPER_ADVICE_CONFIGURATION_FEATURE_COUNT = ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the '<em>Edit Helper Advice Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EDIT_HELPER_ADVICE_CONFIGURATION_OPERATION_COUNT = ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl <em>Advice Binding Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAdviceBindingConfiguration() + * @generated + */ + int ADVICE_BINDING_CONFIGURATION = 12; + + /** + * The feature id for the '<em><b>Description</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__DESCRIPTION = ABSTRACT_ADVICE_BINDING_CONFIGURATION__DESCRIPTION; + + /** + * The feature id for the '<em><b>Before</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__BEFORE = ABSTRACT_ADVICE_BINDING_CONFIGURATION__BEFORE; + + /** + * The feature id for the '<em><b>After</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__AFTER = ABSTRACT_ADVICE_BINDING_CONFIGURATION__AFTER; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__IDENTIFIER = ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER; + + /** + * The feature id for the '<em><b>Target</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__TARGET = ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET; + + /** + * The feature id for the '<em><b>Container Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION = ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION; + + /** + * The feature id for the '<em><b>Matcher Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION = ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION; + + /** + * The feature id for the '<em><b>Inheritance</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__INHERITANCE = ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE; + + /** + * The feature id for the '<em><b>Edit Helper Advice Class Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME = ABSTRACT_ADVICE_BINDING_CONFIGURATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Advice Binding Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION_FEATURE_COUNT = ABSTRACT_ADVICE_BINDING_CONFIGURATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the '<em>Advice Binding Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADVICE_BINDING_CONFIGURATION_OPERATION_COUNT = ABSTRACT_ADVICE_BINDING_CONFIGURATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl <em>Matcher Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getMatcherConfiguration() + * @generated + */ + int MATCHER_CONFIGURATION = 13; + + /** + * The feature id for the '<em><b>Matcher Class Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MATCHER_CONFIGURATION__MATCHER_CLASS_NAME = ABSTRACT_MATCHER_CONFIGURATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Matcher Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MATCHER_CONFIGURATION_FEATURE_COUNT = ABSTRACT_MATCHER_CONFIGURATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the '<em>Matcher Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MATCHER_CONFIGURATION_OPERATION_COUNT = ABSTRACT_MATCHER_CONFIGURATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration <em>Identified Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getIdentifiedConfiguration() + * @generated + */ + int IDENTIFIED_CONFIGURATION = 14; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IDENTIFIED_CONFIGURATION__IDENTIFIER = 0; + + /** + * The number of structural features of the '<em>Identified Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IDENTIFIED_CONFIGURATION_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Identified Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IDENTIFIED_CONFIGURATION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration <em>Named Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getNamedConfiguration() + * @generated + */ + int NAMED_CONFIGURATION = 15; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAMED_CONFIGURATION__NAME = 0; + + /** + * The number of structural features of the '<em>Named Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAMED_CONFIGURATION_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Named Configuration</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAMED_CONFIGURATION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind <em>Inheritance Kind</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getInheritanceKind() + * @generated + */ + int INHERITANCE_KIND = 16; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration <em>Element Type Set Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Element Type Set Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration + * @generated + */ + EClass getElementTypeSetConfiguration(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getElementTypeConfigurations <em>Element Type Configurations</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Element Type Configurations</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getElementTypeConfigurations() + * @see #getElementTypeSetConfiguration() + * @generated + */ + EReference getElementTypeSetConfiguration_ElementTypeConfigurations(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getAdviceBindingsConfigurations <em>Advice Bindings Configurations</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Advice Bindings Configurations</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getAdviceBindingsConfigurations() + * @see #getElementTypeSetConfiguration() + * @generated + */ + EReference getElementTypeSetConfiguration_AdviceBindingsConfigurations(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getMetamodelNsURI <em>Metamodel Ns URI</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Metamodel Ns URI</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration#getMetamodelNsURI() + * @see #getElementTypeSetConfiguration() + * @generated + */ + EAttribute getElementTypeSetConfiguration_MetamodelNsURI(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration <em>Element Type Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Element Type Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration + * @generated + */ + EClass getElementTypeConfiguration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getHint <em>Hint</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Hint</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getHint() + * @see #getElementTypeConfiguration() + * @generated + */ + EAttribute getElementTypeConfiguration_Hint(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getKind <em>Kind</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Kind</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getKind() + * @see #getElementTypeConfiguration() + * @generated + */ + EAttribute getElementTypeConfiguration_Kind(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getIconEntry <em>Icon Entry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Icon Entry</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration#getIconEntry() + * @see #getElementTypeConfiguration() + * @generated + */ + EReference getElementTypeConfiguration_IconEntry(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry <em>Icon Entry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Icon Entry</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry + * @generated + */ + EClass getIconEntry(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getIconPath <em>Icon Path</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Icon Path</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getIconPath() + * @see #getIconEntry() + * @generated + */ + EAttribute getIconEntry_IconPath(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getBundleId <em>Bundle Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Bundle Id</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getBundleId() + * @see #getIconEntry() + * @generated + */ + EAttribute getIconEntry_BundleId(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement <em>Configuration Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Configuration Element</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement + * @generated + */ + EClass getConfigurationElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Description</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement#getDescription() + * @see #getConfigurationElement() + * @generated + */ + EAttribute getConfigurationElement_Description(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration <em>Abstract Matcher Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Abstract Matcher Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration + * @generated + */ + EClass getAbstractMatcherConfiguration(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration <em>Advice Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Advice Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration + * @generated + */ + EClass getAdviceConfiguration(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getBefore <em>Before</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Before</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getBefore() + * @see #getAdviceConfiguration() + * @generated + */ + EAttribute getAdviceConfiguration_Before(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getAfter <em>After</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>After</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration#getAfter() + * @see #getAdviceConfiguration() + * @generated + */ + EAttribute getAdviceConfiguration_After(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration <em>Abstract Advice Binding Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Abstract Advice Binding Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration + * @generated + */ + EClass getAbstractAdviceBindingConfiguration(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#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.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getTarget() + * @see #getAbstractAdviceBindingConfiguration() + * @generated + */ + EReference getAbstractAdviceBindingConfiguration_Target(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getContainerConfiguration <em>Container Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Container Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getContainerConfiguration() + * @see #getAbstractAdviceBindingConfiguration() + * @generated + */ + EReference getAbstractAdviceBindingConfiguration_ContainerConfiguration(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Matcher Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getMatcherConfiguration() + * @see #getAbstractAdviceBindingConfiguration() + * @generated + */ + EReference getAbstractAdviceBindingConfiguration_MatcherConfiguration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getInheritance <em>Inheritance</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Inheritance</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration#getInheritance() + * @see #getAbstractAdviceBindingConfiguration() + * @generated + */ + EAttribute getAbstractAdviceBindingConfiguration_Inheritance(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration <em>Specialization Type Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Specialization Type Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration + * @generated + */ + EClass getSpecializationTypeConfiguration(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getSpecializedTypesID <em>Specialized Types ID</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Specialized Types ID</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getSpecializedTypesID() + * @see #getSpecializationTypeConfiguration() + * @generated + */ + EAttribute getSpecializationTypeConfiguration_SpecializedTypesID(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Edit Helper Advice Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration() + * @see #getSpecializationTypeConfiguration() + * @generated + */ + EReference getSpecializationTypeConfiguration_EditHelperAdviceConfiguration(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getContainerConfiguration <em>Container Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Container Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getContainerConfiguration() + * @see #getSpecializationTypeConfiguration() + * @generated + */ + EReference getSpecializationTypeConfiguration_ContainerConfiguration(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Matcher Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getMatcherConfiguration() + * @see #getSpecializationTypeConfiguration() + * @generated + */ + EReference getSpecializationTypeConfiguration_MatcherConfiguration(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration <em>Container Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Container Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration + * @generated + */ + EClass getContainerConfiguration(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getContainerMatcherConfiguration <em>Container Matcher Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Container Matcher Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getContainerMatcherConfiguration() + * @see #getContainerConfiguration() + * @generated + */ + EReference getContainerConfiguration_ContainerMatcherConfiguration(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getEContainmentFeatures <em>EContainment Features</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>EContainment Features</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration#getEContainmentFeatures() + * @see #getContainerConfiguration() + * @generated + */ + EReference getContainerConfiguration_EContainmentFeatures(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration <em>Metamodel Type Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Metamodel Type Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration + * @generated + */ + EClass getMetamodelTypeConfiguration(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEClass <em>EClass</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>EClass</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEClass() + * @see #getMetamodelTypeConfiguration() + * @generated + */ + EReference getMetamodelTypeConfiguration_EClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEditHelperClassName <em>Edit Helper Class Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Edit Helper Class Name</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEditHelperClassName() + * @see #getMetamodelTypeConfiguration() + * @generated + */ + EAttribute getMetamodelTypeConfiguration_EditHelperClassName(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration <em>Abstract Edit Helper Advice Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Abstract Edit Helper Advice Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration + * @generated + */ + EClass getAbstractEditHelperAdviceConfiguration(); + + /** + * Returns the meta object for the container reference '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration#getTarget <em>Target</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the container reference '<em>Target</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration#getTarget() + * @see #getAbstractEditHelperAdviceConfiguration() + * @generated + */ + EReference getAbstractEditHelperAdviceConfiguration_Target(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Edit Helper Advice Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration + * @generated + */ + EClass getEditHelperAdviceConfiguration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Edit Helper Advice Class Name</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getEditHelperAdviceClassName() + * @see #getEditHelperAdviceConfiguration() + * @generated + */ + EAttribute getEditHelperAdviceConfiguration_EditHelperAdviceClassName(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration <em>Advice Binding Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Advice Binding Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration + * @generated + */ + EClass getAdviceBindingConfiguration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Edit Helper Advice Class Name</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration#getEditHelperAdviceClassName() + * @see #getAdviceBindingConfiguration() + * @generated + */ + EAttribute getAdviceBindingConfiguration_EditHelperAdviceClassName(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration <em>Matcher Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Matcher Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration + * @generated + */ + EClass getMatcherConfiguration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration#getMatcherClassName <em>Matcher Class Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Matcher Class Name</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration#getMatcherClassName() + * @see #getMatcherConfiguration() + * @generated + */ + EAttribute getMatcherConfiguration_MatcherClassName(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration <em>Identified Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Identified Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration + * @generated + */ + EClass getIdentifiedConfiguration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration#getIdentifier <em>Identifier</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Identifier</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration#getIdentifier() + * @see #getIdentifiedConfiguration() + * @generated + */ + EAttribute getIdentifiedConfiguration_Identifier(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration <em>Named Configuration</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Named Configuration</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration + * @generated + */ + EClass getNamedConfiguration(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration#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.elementtypesconfigurations.NamedConfiguration#getName() + * @see #getNamedConfiguration() + * @generated + */ + EAttribute getNamedConfiguration_Name(); + + /** + * Returns the meta object for enum '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind <em>Inheritance Kind</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Inheritance Kind</em>'. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind + * @generated + */ + EEnum getInheritanceKind(); + + /** + * 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 + */ + ElementtypesconfigurationsFactory getElementtypesconfigurationsFactory(); + + /** + * <!-- 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.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl <em>Element Type Set Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getElementTypeSetConfiguration() + * @generated + */ + EClass ELEMENT_TYPE_SET_CONFIGURATION = eINSTANCE.getElementTypeSetConfiguration(); + + /** + * The meta object literal for the '<em><b>Element Type Configurations</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS = eINSTANCE.getElementTypeSetConfiguration_ElementTypeConfigurations(); + + /** + * The meta object literal for the '<em><b>Advice Bindings Configurations</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS = eINSTANCE.getElementTypeSetConfiguration_AdviceBindingsConfigurations(); + + /** + * The meta object literal for the '<em><b>Metamodel Ns URI</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI = eINSTANCE.getElementTypeSetConfiguration_MetamodelNsURI(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl <em>Element Type Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getElementTypeConfiguration() + * @generated + */ + EClass ELEMENT_TYPE_CONFIGURATION = eINSTANCE.getElementTypeConfiguration(); + + /** + * The meta object literal for the '<em><b>Hint</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ELEMENT_TYPE_CONFIGURATION__HINT = eINSTANCE.getElementTypeConfiguration_Hint(); + + /** + * The meta object literal for the '<em><b>Kind</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ELEMENT_TYPE_CONFIGURATION__KIND = eINSTANCE.getElementTypeConfiguration_Kind(); + + /** + * The meta object literal for the '<em><b>Icon Entry</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY = eINSTANCE.getElementTypeConfiguration_IconEntry(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl <em>Icon Entry</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getIconEntry() + * @generated + */ + EClass ICON_ENTRY = eINSTANCE.getIconEntry(); + + /** + * The meta object literal for the '<em><b>Icon Path</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ICON_ENTRY__ICON_PATH = eINSTANCE.getIconEntry_IconPath(); + + /** + * The meta object literal for the '<em><b>Bundle Id</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ICON_ENTRY__BUNDLE_ID = eINSTANCE.getIconEntry_BundleId(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl <em>Configuration Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getConfigurationElement() + * @generated + */ + EClass CONFIGURATION_ELEMENT = eINSTANCE.getConfigurationElement(); + + /** + * The meta object literal for the '<em><b>Description</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute CONFIGURATION_ELEMENT__DESCRIPTION = eINSTANCE.getConfigurationElement_Description(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractMatcherConfigurationImpl <em>Abstract Matcher Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractMatcherConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAbstractMatcherConfiguration() + * @generated + */ + EClass ABSTRACT_MATCHER_CONFIGURATION = eINSTANCE.getAbstractMatcherConfiguration(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl <em>Advice Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAdviceConfiguration() + * @generated + */ + EClass ADVICE_CONFIGURATION = eINSTANCE.getAdviceConfiguration(); + + /** + * The meta object literal for the '<em><b>Before</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ADVICE_CONFIGURATION__BEFORE = eINSTANCE.getAdviceConfiguration_Before(); + + /** + * The meta object literal for the '<em><b>After</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ADVICE_CONFIGURATION__AFTER = eINSTANCE.getAdviceConfiguration_After(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl <em>Abstract Advice Binding Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAbstractAdviceBindingConfiguration() + * @generated + */ + EClass ABSTRACT_ADVICE_BINDING_CONFIGURATION = eINSTANCE.getAbstractAdviceBindingConfiguration(); + + /** + * The meta object literal for the '<em><b>Target</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET = eINSTANCE.getAbstractAdviceBindingConfiguration_Target(); + + /** + * The meta object literal for the '<em><b>Container Configuration</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION = eINSTANCE.getAbstractAdviceBindingConfiguration_ContainerConfiguration(); + + /** + * The meta object literal for the '<em><b>Matcher Configuration</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION = eINSTANCE.getAbstractAdviceBindingConfiguration_MatcherConfiguration(); + + /** + * The meta object literal for the '<em><b>Inheritance</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE = eINSTANCE.getAbstractAdviceBindingConfiguration_Inheritance(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl <em>Specialization Type Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getSpecializationTypeConfiguration() + * @generated + */ + EClass SPECIALIZATION_TYPE_CONFIGURATION = eINSTANCE.getSpecializationTypeConfiguration(); + + /** + * The meta object literal for the '<em><b>Specialized Types ID</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID = eINSTANCE.getSpecializationTypeConfiguration_SpecializedTypesID(); + + /** + * The meta object literal for the '<em><b>Edit Helper Advice Configuration</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION = eINSTANCE.getSpecializationTypeConfiguration_EditHelperAdviceConfiguration(); + + /** + * The meta object literal for the '<em><b>Container Configuration</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION = eINSTANCE.getSpecializationTypeConfiguration_ContainerConfiguration(); + + /** + * The meta object literal for the '<em><b>Matcher Configuration</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION = eINSTANCE.getSpecializationTypeConfiguration_MatcherConfiguration(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl <em>Container Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getContainerConfiguration() + * @generated + */ + EClass CONTAINER_CONFIGURATION = eINSTANCE.getContainerConfiguration(); + + /** + * The meta object literal for the '<em><b>Container Matcher Configuration</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION = eINSTANCE.getContainerConfiguration_ContainerMatcherConfiguration(); + + /** + * The meta object literal for the '<em><b>EContainment Features</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES = eINSTANCE.getContainerConfiguration_EContainmentFeatures(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl <em>Metamodel Type Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getMetamodelTypeConfiguration() + * @generated + */ + EClass METAMODEL_TYPE_CONFIGURATION = eINSTANCE.getMetamodelTypeConfiguration(); + + /** + * The meta object literal for the '<em><b>EClass</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference METAMODEL_TYPE_CONFIGURATION__ECLASS = eINSTANCE.getMetamodelTypeConfiguration_EClass(); + + /** + * The meta object literal for the '<em><b>Edit Helper Class Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME = eINSTANCE.getMetamodelTypeConfiguration_EditHelperClassName(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractEditHelperAdviceConfigurationImpl <em>Abstract Edit Helper Advice Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractEditHelperAdviceConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAbstractEditHelperAdviceConfiguration() + * @generated + */ + EClass ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION = eINSTANCE.getAbstractEditHelperAdviceConfiguration(); + + /** + * The meta object literal for the '<em><b>Target</b></em>' container reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET = eINSTANCE.getAbstractEditHelperAdviceConfiguration_Target(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl <em>Edit Helper Advice Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getEditHelperAdviceConfiguration() + * @generated + */ + EClass EDIT_HELPER_ADVICE_CONFIGURATION = eINSTANCE.getEditHelperAdviceConfiguration(); + + /** + * The meta object literal for the '<em><b>Edit Helper Advice Class Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME = eINSTANCE.getEditHelperAdviceConfiguration_EditHelperAdviceClassName(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl <em>Advice Binding Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getAdviceBindingConfiguration() + * @generated + */ + EClass ADVICE_BINDING_CONFIGURATION = eINSTANCE.getAdviceBindingConfiguration(); + + /** + * The meta object literal for the '<em><b>Edit Helper Advice Class Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME = eINSTANCE.getAdviceBindingConfiguration_EditHelperAdviceClassName(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl <em>Matcher Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getMatcherConfiguration() + * @generated + */ + EClass MATCHER_CONFIGURATION = eINSTANCE.getMatcherConfiguration(); + + /** + * The meta object literal for the '<em><b>Matcher Class Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute MATCHER_CONFIGURATION__MATCHER_CLASS_NAME = eINSTANCE.getMatcherConfiguration_MatcherClassName(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration <em>Identified Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getIdentifiedConfiguration() + * @generated + */ + EClass IDENTIFIED_CONFIGURATION = eINSTANCE.getIdentifiedConfiguration(); + + /** + * The meta object literal for the '<em><b>Identifier</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IDENTIFIED_CONFIGURATION__IDENTIFIER = eINSTANCE.getIdentifiedConfiguration_Identifier(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration <em>Named Configuration</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getNamedConfiguration() + * @generated + */ + EClass NAMED_CONFIGURATION = eINSTANCE.getNamedConfiguration(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute NAMED_CONFIGURATION__NAME = eINSTANCE.getNamedConfiguration_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind <em>Inheritance Kind</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementtypesconfigurationsPackageImpl#getInheritanceKind() + * @generated + */ + EEnum INHERITANCE_KIND = eINSTANCE.getInheritanceKind(); + + } + +} //ElementtypesconfigurationsPackage diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/IconEntry.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/IconEntry.java index 97cad4c2e12..821e2fac6fb 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/IconEntry.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/IconEntry.java @@ -1,87 +1,87 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Icon Entry</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getIconPath <em>Icon Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getBundleId <em>Bundle Id</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getIconEntry()
- * @model
- * @generated
- */
-public interface IconEntry extends EObject {
- /**
- * Returns the value of the '<em><b>Icon Path</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Icon Path</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 Path</em>' attribute.
- * @see #setIconPath(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getIconEntry_IconPath()
- * @model
- * @generated
- */
- String getIconPath();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getIconPath <em>Icon Path</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Icon Path</em>' attribute.
- * @see #getIconPath()
- * @generated
- */
- void setIconPath(String value);
-
- /**
- * Returns the value of the '<em><b>Bundle Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Bundle 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>Bundle Id</em>' attribute.
- * @see #setBundleId(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getIconEntry_BundleId()
- * @model
- * @generated
- */
- String getBundleId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getBundleId <em>Bundle Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Bundle Id</em>' attribute.
- * @see #getBundleId()
- * @generated
- */
- void setBundleId(String value);
-
-} // IconEntry
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Icon Entry</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getIconPath <em>Icon Path</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getBundleId <em>Bundle Id</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getIconEntry() + * @model + * @generated + */ +public interface IconEntry extends EObject { + /** + * Returns the value of the '<em><b>Icon Path</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon Path</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 Path</em>' attribute. + * @see #setIconPath(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getIconEntry_IconPath() + * @model + * @generated + */ + String getIconPath(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getIconPath <em>Icon Path</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Icon Path</em>' attribute. + * @see #getIconPath() + * @generated + */ + void setIconPath(String value); + + /** + * Returns the value of the '<em><b>Bundle Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Bundle 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>Bundle Id</em>' attribute. + * @see #setBundleId(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getIconEntry_BundleId() + * @model + * @generated + */ + String getBundleId(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry#getBundleId <em>Bundle Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Bundle Id</em>' attribute. + * @see #getBundleId() + * @generated + */ + void setBundleId(String value); + +} // IconEntry diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/IdentifiedConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/IdentifiedConfiguration.java new file mode 100644 index 00000000000..0119ff2f154 --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/IdentifiedConfiguration.java @@ -0,0 +1,60 @@ +/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Identified Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration#getIdentifier <em>Identifier</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getIdentifiedConfiguration() + * @model interface="true" abstract="true" + * @generated + */ +public interface IdentifiedConfiguration extends EObject { + /** + * Returns the value of the '<em><b>Identifier</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Identifier</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Identifier</em>' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getIdentifiedConfiguration_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration#getIdentifier <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Identifier</em>' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + +} // IdentifiedConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/InheritanceKind.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/InheritanceKind.java index 0217601c43e..b097b47eb38 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/InheritanceKind.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/InheritanceKind.java @@ -1,224 +1,224 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Inheritance Kind</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getInheritanceKind()
- * @model
- * @generated
- */
-public enum InheritanceKind implements Enumerator {
- /**
- * The '<em><b>None</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #NONE_VALUE
- * @generated
- * @ordered
- */
- NONE(0, "none", "none"),
-
- /**
- * The '<em><b>All</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ALL_VALUE
- * @generated
- * @ordered
- */
- ALL(1, "all", "all");
-
- /**
- * The '<em><b>None</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>None</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #NONE
- * @model name="none"
- * @generated
- * @ordered
- */
- public static final int NONE_VALUE = 0;
-
- /**
- * The '<em><b>All</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>All</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ALL
- * @model name="all"
- * @generated
- * @ordered
- */
- public static final int ALL_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Inheritance Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final InheritanceKind[] VALUES_ARRAY =
- new InheritanceKind[] {
- NONE,
- ALL,
- };
-
- /**
- * A public read-only list of all the '<em><b>Inheritance Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<InheritanceKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param literal the literal.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static InheritanceKind get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- InheritanceKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param name the name.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static InheritanceKind getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- InheritanceKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the integer value.
- * @return the matching enumerator or <code>null</code>.
- * @generated
- */
- public static InheritanceKind get(int value) {
- switch (value) {
- case NONE_VALUE: return NONE;
- case ALL_VALUE: return ALL;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private InheritanceKind(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-
-} //InheritanceKind
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Inheritance Kind</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getInheritanceKind() + * @model + * @generated + */ +public enum InheritanceKind implements Enumerator { + /** + * The '<em><b>None</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #NONE_VALUE + * @generated + * @ordered + */ + NONE(0, "none", "none"), + + /** + * The '<em><b>All</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #ALL_VALUE + * @generated + * @ordered + */ + ALL(1, "all", "all"); + + /** + * The '<em><b>None</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>None</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #NONE + * @model name="none" + * @generated + * @ordered + */ + public static final int NONE_VALUE = 0; + + /** + * The '<em><b>All</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>All</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #ALL + * @model name="all" + * @generated + * @ordered + */ + public static final int ALL_VALUE = 1; + + /** + * An array of all the '<em><b>Inheritance Kind</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final InheritanceKind[] VALUES_ARRAY = + new InheritanceKind[] { + NONE, + ALL, + }; + + /** + * A public read-only list of all the '<em><b>Inheritance Kind</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<InheritanceKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param literal the literal. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static InheritanceKind get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + InheritanceKind result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name the name. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static InheritanceKind getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + InheritanceKind result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Inheritance Kind</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the integer value. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static InheritanceKind get(int value) { + switch (value) { + case NONE_VALUE: return NONE; + case ALL_VALUE: return ALL; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private InheritanceKind(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //InheritanceKind diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/MatcherConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/MatcherConfiguration.java index f387d50cac8..fc367dce745 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/MatcherConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/MatcherConfiguration.java @@ -1,60 +1,59 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Matcher Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration#getMatcherClassName <em>Matcher Class Name</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMatcherConfiguration()
- * @model
- * @generated
- */
-public interface MatcherConfiguration extends EObject {
- /**
- * Returns the value of the '<em><b>Matcher Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Matcher Class 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>Matcher Class Name</em>' attribute.
- * @see #setMatcherClassName(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMatcherConfiguration_MatcherClassName()
- * @model required="true"
- * @generated
- */
- String getMatcherClassName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration#getMatcherClassName <em>Matcher Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Matcher Class Name</em>' attribute.
- * @see #getMatcherClassName()
- * @generated
- */
- void setMatcherClassName(String value);
-
-} // MatcherConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Matcher Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration#getMatcherClassName <em>Matcher Class Name</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMatcherConfiguration() + * @model + * @generated + */ +public interface MatcherConfiguration extends AbstractMatcherConfiguration { + /** + * Returns the value of the '<em><b>Matcher Class Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Matcher Class 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>Matcher Class Name</em>' attribute. + * @see #setMatcherClassName(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMatcherConfiguration_MatcherClassName() + * @model required="true" + * @generated + */ + String getMatcherClassName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration#getMatcherClassName <em>Matcher Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Matcher Class Name</em>' attribute. + * @see #getMatcherClassName() + * @generated + */ + void setMatcherClassName(String value); + +} // MatcherConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/MetamodelTypeConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/MetamodelTypeConfiguration.java index 26a8bb5ff15..74a8897911a 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/MetamodelTypeConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/MetamodelTypeConfiguration.java @@ -1,87 +1,87 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Metamodel Type Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEClass <em>EClass</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEditHelperClassName <em>Edit Helper Class Name</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMetamodelTypeConfiguration()
- * @model
- * @generated
- */
-public interface MetamodelTypeConfiguration extends ElementTypeConfiguration {
- /**
- * Returns the value of the '<em><b>EClass</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EClass</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>EClass</em>' reference.
- * @see #setEClass(EClass)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMetamodelTypeConfiguration_EClass()
- * @model
- * @generated
- */
- EClass getEClass();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEClass <em>EClass</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>EClass</em>' reference.
- * @see #getEClass()
- * @generated
- */
- void setEClass(EClass value);
-
- /**
- * Returns the value of the '<em><b>Edit Helper Class Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Edit Helper Class 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>Edit Helper Class Name</em>' attribute.
- * @see #setEditHelperClassName(String)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMetamodelTypeConfiguration_EditHelperClassName()
- * @model
- * @generated
- */
- String getEditHelperClassName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEditHelperClassName <em>Edit Helper Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Edit Helper Class Name</em>' attribute.
- * @see #getEditHelperClassName()
- * @generated
- */
- void setEditHelperClassName(String value);
-
-} // MetamodelTypeConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Metamodel Type Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEClass <em>EClass</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEditHelperClassName <em>Edit Helper Class Name</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMetamodelTypeConfiguration() + * @model + * @generated + */ +public interface MetamodelTypeConfiguration extends ElementTypeConfiguration { + /** + * Returns the value of the '<em><b>EClass</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>EClass</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>EClass</em>' reference. + * @see #setEClass(EClass) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMetamodelTypeConfiguration_EClass() + * @model + * @generated + */ + EClass getEClass(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEClass <em>EClass</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>EClass</em>' reference. + * @see #getEClass() + * @generated + */ + void setEClass(EClass value); + + /** + * Returns the value of the '<em><b>Edit Helper Class Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Edit Helper Class 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>Edit Helper Class Name</em>' attribute. + * @see #setEditHelperClassName(String) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getMetamodelTypeConfiguration_EditHelperClassName() + * @model + * @generated + */ + String getEditHelperClassName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration#getEditHelperClassName <em>Edit Helper Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Edit Helper Class Name</em>' attribute. + * @see #getEditHelperClassName() + * @generated + */ + void setEditHelperClassName(String value); + +} // MetamodelTypeConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/NamedConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/NamedConfiguration.java new file mode 100644 index 00000000000..9ee7476ae17 --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/NamedConfiguration.java @@ -0,0 +1,60 @@ +/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Named Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration#getName <em>Name</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getNamedConfiguration() + * @model interface="true" abstract="true" + * @generated + */ +public interface NamedConfiguration 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.elementtypesconfigurations.ElementtypesconfigurationsPackage#getNamedConfiguration_Name() + * @model required="true" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration#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); + +} // NamedConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/SpecializationTypeConfiguration.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/SpecializationTypeConfiguration.java index 940d1de95ee..9bb4bc4df42 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/SpecializationTypeConfiguration.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/SpecializationTypeConfiguration.java @@ -1,133 +1,133 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Specialization Type Configuration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getSpecializedTypesID <em>Specialized Types ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getContainerConfiguration <em>Container Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}</li>
- * </ul>
- *
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration()
- * @model
- * @generated
- */
-public interface SpecializationTypeConfiguration extends ElementTypeConfiguration {
- /**
- * Returns the value of the '<em><b>Specialized Types ID</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Specialized Types ID</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Specialized Types ID</em>' attribute list.
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration_SpecializedTypesID()
- * @model required="true"
- * @generated
- */
- EList<String> getSpecializedTypesID();
-
- /**
- * Returns the value of the '<em><b>Edit Helper Advice Configuration</b></em>' containment reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getTarget <em>Target</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Edit Helper Advice Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Edit Helper Advice Configuration</em>' containment reference.
- * @see #setEditHelperAdviceConfiguration(EditHelperAdviceConfiguration)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration_EditHelperAdviceConfiguration()
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration#getTarget
- * @model opposite="target" containment="true"
- * @generated
- */
- EditHelperAdviceConfiguration getEditHelperAdviceConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Edit Helper Advice Configuration</em>' containment reference.
- * @see #getEditHelperAdviceConfiguration()
- * @generated
- */
- void setEditHelperAdviceConfiguration(EditHelperAdviceConfiguration value);
-
- /**
- * Returns the value of the '<em><b>Container Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Container Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Container Configuration</em>' containment reference.
- * @see #setContainerConfiguration(ContainerConfiguration)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration_ContainerConfiguration()
- * @model containment="true"
- * @generated
- */
- ContainerConfiguration getContainerConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getContainerConfiguration <em>Container Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Container Configuration</em>' containment reference.
- * @see #getContainerConfiguration()
- * @generated
- */
- void setContainerConfiguration(ContainerConfiguration value);
-
- /**
- * Returns the value of the '<em><b>Matcher Configuration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Matcher Configuration</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Matcher Configuration</em>' containment reference.
- * @see #setMatcherConfiguration(MatcherConfiguration)
- * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration_MatcherConfiguration()
- * @model containment="true"
- * @generated
- */
- MatcherConfiguration getMatcherConfiguration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Matcher Configuration</em>' containment reference.
- * @see #getMatcherConfiguration()
- * @generated
- */
- void setMatcherConfiguration(MatcherConfiguration value);
-
-} // SpecializationTypeConfiguration
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Specialization Type Configuration</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getSpecializedTypesID <em>Specialized Types ID</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getContainerConfiguration <em>Container Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration() + * @model + * @generated + */ +public interface SpecializationTypeConfiguration extends ElementTypeConfiguration { + /** + * Returns the value of the '<em><b>Specialized Types ID</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Specialized Types ID</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Specialized Types ID</em>' attribute list. + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration_SpecializedTypesID() + * @model required="true" + * @generated + */ + EList<String> getSpecializedTypesID(); + + /** + * Returns the value of the '<em><b>Edit Helper Advice Configuration</b></em>' containment reference. + * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration#getTarget <em>Target</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Edit Helper Advice Configuration</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Edit Helper Advice Configuration</em>' containment reference. + * @see #setEditHelperAdviceConfiguration(AbstractEditHelperAdviceConfiguration) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration_EditHelperAdviceConfiguration() + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration#getTarget + * @model opposite="target" containment="true" + * @generated + */ + AbstractEditHelperAdviceConfiguration getEditHelperAdviceConfiguration(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Edit Helper Advice Configuration</em>' containment reference. + * @see #getEditHelperAdviceConfiguration() + * @generated + */ + void setEditHelperAdviceConfiguration(AbstractEditHelperAdviceConfiguration value); + + /** + * Returns the value of the '<em><b>Container Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Container Configuration</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Container Configuration</em>' containment reference. + * @see #setContainerConfiguration(ContainerConfiguration) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration_ContainerConfiguration() + * @model containment="true" + * @generated + */ + ContainerConfiguration getContainerConfiguration(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getContainerConfiguration <em>Container Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Container Configuration</em>' containment reference. + * @see #getContainerConfiguration() + * @generated + */ + void setContainerConfiguration(ContainerConfiguration value); + + /** + * Returns the value of the '<em><b>Matcher Configuration</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Matcher Configuration</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Matcher Configuration</em>' containment reference. + * @see #setMatcherConfiguration(AbstractMatcherConfiguration) + * @see org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage#getSpecializationTypeConfiguration_MatcherConfiguration() + * @model containment="true" + * @generated + */ + AbstractMatcherConfiguration getMatcherConfiguration(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration#getMatcherConfiguration <em>Matcher Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Matcher Configuration</em>' containment reference. + * @see #getMatcherConfiguration() + * @generated + */ + void setMatcherConfiguration(AbstractMatcherConfiguration value); + +} // SpecializationTypeConfiguration diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractAdviceBindingConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractAdviceBindingConfigurationImpl.java new file mode 100644 index 00000000000..2e85e40c09e --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractAdviceBindingConfigurationImpl.java @@ -0,0 +1,469 @@ +/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Abstract Advice Binding Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl#getIdentifier <em>Identifier</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl#getTarget <em>Target</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl#getContainerConfiguration <em>Container Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl#getMatcherConfiguration <em>Matcher Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractAdviceBindingConfigurationImpl#getInheritance <em>Inheritance</em>}</li> + * </ul> + * + * @generated + */ +public abstract class AbstractAdviceBindingConfigurationImpl extends AdviceConfigurationImpl implements AbstractAdviceBindingConfiguration { + /** + * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTarget() + * @generated + * @ordered + */ + protected ElementTypeConfiguration target; + + /** + * The cached value of the '{@link #getContainerConfiguration() <em>Container Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getContainerConfiguration() + * @generated + * @ordered + */ + protected ContainerConfiguration containerConfiguration; + + /** + * The cached value of the '{@link #getMatcherConfiguration() <em>Matcher Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMatcherConfiguration() + * @generated + * @ordered + */ + protected AbstractMatcherConfiguration matcherConfiguration; + + /** + * The default value of the '{@link #getInheritance() <em>Inheritance</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInheritance() + * @generated + * @ordered + */ + protected static final InheritanceKind INHERITANCE_EDEFAULT = InheritanceKind.NONE; + + /** + * The cached value of the '{@link #getInheritance() <em>Inheritance</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInheritance() + * @generated + * @ordered + */ + protected InheritanceKind inheritance = INHERITANCE_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AbstractAdviceBindingConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.ABSTRACT_ADVICE_BINDING_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getIdentifier() { + return identifier; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementTypeConfiguration getTarget() { + if (target != null && target.eIsProxy()) { + InternalEObject oldTarget = (InternalEObject)target; + target = (ElementTypeConfiguration)eResolveProxy(oldTarget); + if (target != oldTarget) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET, oldTarget, target)); + } + } + return target; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementTypeConfiguration basicGetTarget() { + return target; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTarget(ElementTypeConfiguration newTarget) { + ElementTypeConfiguration oldTarget = target; + target = newTarget; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET, oldTarget, target)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ContainerConfiguration getContainerConfiguration() { + return containerConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetContainerConfiguration(ContainerConfiguration newContainerConfiguration, NotificationChain msgs) { + ContainerConfiguration oldContainerConfiguration = containerConfiguration; + containerConfiguration = newContainerConfiguration; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION, oldContainerConfiguration, newContainerConfiguration); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setContainerConfiguration(ContainerConfiguration newContainerConfiguration) { + if (newContainerConfiguration != containerConfiguration) { + NotificationChain msgs = null; + if (containerConfiguration != null) + msgs = ((InternalEObject)containerConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION, null, msgs); + if (newContainerConfiguration != null) + msgs = ((InternalEObject)newContainerConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION, null, msgs); + msgs = basicSetContainerConfiguration(newContainerConfiguration, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION, newContainerConfiguration, newContainerConfiguration)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AbstractMatcherConfiguration getMatcherConfiguration() { + return matcherConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMatcherConfiguration(AbstractMatcherConfiguration newMatcherConfiguration, NotificationChain msgs) { + AbstractMatcherConfiguration oldMatcherConfiguration = matcherConfiguration; + matcherConfiguration = newMatcherConfiguration; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION, oldMatcherConfiguration, newMatcherConfiguration); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMatcherConfiguration(AbstractMatcherConfiguration newMatcherConfiguration) { + if (newMatcherConfiguration != matcherConfiguration) { + NotificationChain msgs = null; + if (matcherConfiguration != null) + msgs = ((InternalEObject)matcherConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION, null, msgs); + if (newMatcherConfiguration != null) + msgs = ((InternalEObject)newMatcherConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION, null, msgs); + msgs = basicSetMatcherConfiguration(newMatcherConfiguration, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION, newMatcherConfiguration, newMatcherConfiguration)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InheritanceKind getInheritance() { + return inheritance; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setInheritance(InheritanceKind newInheritance) { + InheritanceKind oldInheritance = inheritance; + inheritance = newInheritance == null ? INHERITANCE_EDEFAULT : newInheritance; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE, oldInheritance, inheritance)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION: + return basicSetContainerConfiguration(null, msgs); + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION: + return basicSetMatcherConfiguration(null, 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 ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER: + return getIdentifier(); + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET: + if (resolve) return getTarget(); + return basicGetTarget(); + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION: + return getContainerConfiguration(); + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION: + return getMatcherConfiguration(); + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE: + return getInheritance(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER: + setIdentifier((String)newValue); + return; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET: + setTarget((ElementTypeConfiguration)newValue); + return; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION: + setContainerConfiguration((ContainerConfiguration)newValue); + return; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION: + setMatcherConfiguration((AbstractMatcherConfiguration)newValue); + return; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE: + setInheritance((InheritanceKind)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET: + setTarget((ElementTypeConfiguration)null); + return; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION: + setContainerConfiguration((ContainerConfiguration)null); + return; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION: + setMatcherConfiguration((AbstractMatcherConfiguration)null); + return; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE: + setInheritance(INHERITANCE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET: + return target != null; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION: + return containerConfiguration != null; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION: + return matcherConfiguration != null; + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE: + return inheritance != INHERITANCE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { + if (baseClass == IdentifiedConfiguration.class) { + switch (derivedFeatureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER: return ElementtypesconfigurationsPackage.IDENTIFIED_CONFIGURATION__IDENTIFIER; + 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 == IdentifiedConfiguration.class) { + switch (baseFeatureID) { + case ElementtypesconfigurationsPackage.IDENTIFIED_CONFIGURATION__IDENTIFIER: return ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION__IDENTIFIER; + 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(" (identifier: "); + result.append(identifier); + result.append(", inheritance: "); + result.append(inheritance); + result.append(')'); + return result.toString(); + } + +} //AbstractAdviceBindingConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractEditHelperAdviceConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractEditHelperAdviceConfigurationImpl.java new file mode 100644 index 00000000000..0bb450384fa --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractEditHelperAdviceConfigurationImpl.java @@ -0,0 +1,205 @@ +/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +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.EcoreUtil; + +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Abstract Edit Helper Advice Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AbstractEditHelperAdviceConfigurationImpl#getTarget <em>Target</em>}</li> + * </ul> + * + * @generated + */ +public abstract class AbstractEditHelperAdviceConfigurationImpl extends AdviceConfigurationImpl implements AbstractEditHelperAdviceConfiguration { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AbstractEditHelperAdviceConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SpecializationTypeConfiguration getTarget() { + if (eContainerFeatureID() != ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET) return null; + return (SpecializationTypeConfiguration)eInternalContainer(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetTarget(SpecializationTypeConfiguration newTarget, NotificationChain msgs) { + msgs = eBasicSetContainer((InternalEObject)newTarget, ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET, msgs); + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTarget(SpecializationTypeConfiguration newTarget) { + if (newTarget != eInternalContainer() || (eContainerFeatureID() != ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET && newTarget != null)) { + if (EcoreUtil.isAncestor(this, newTarget)) + throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); + NotificationChain msgs = null; + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + if (newTarget != null) + msgs = ((InternalEObject)newTarget).eInverseAdd(this, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, SpecializationTypeConfiguration.class, msgs); + msgs = basicSetTarget(newTarget, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET, newTarget, newTarget)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET: + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + return basicSetTarget((SpecializationTypeConfiguration)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 ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET: + return basicSetTarget(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { + switch (eContainerFeatureID()) { + case ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET: + return eInternalContainer().eInverseRemove(this, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, SpecializationTypeConfiguration.class, msgs); + } + return super.eBasicRemoveFromContainerFeature(msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET: + return getTarget(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET: + setTarget((SpecializationTypeConfiguration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET: + setTarget((SpecializationTypeConfiguration)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET: + return getTarget() != null; + } + return super.eIsSet(featureID); + } + +} //AbstractEditHelperAdviceConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractMatcherConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractMatcherConfigurationImpl.java new file mode 100644 index 00000000000..507c8f165b7 --- /dev/null +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AbstractMatcherConfigurationImpl.java @@ -0,0 +1,49 @@ +/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Abstract Matcher Configuration</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public abstract class AbstractMatcherConfigurationImpl extends MinimalEObjectImpl.Container implements AbstractMatcherConfiguration { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AbstractMatcherConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.ABSTRACT_MATCHER_CONFIGURATION; + } + +} //AbstractMatcherConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AdviceBindingConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AdviceBindingConfigurationImpl.java index a41525c12ee..147e3bfe083 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AdviceBindingConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AdviceBindingConfigurationImpl.java @@ -1,313 +1,172 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Advice Binding Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl#getTarget <em>Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl#getContainerConfiguration <em>Container Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl#getMatcherConfiguration <em>Matcher Configuration</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class AdviceBindingConfigurationImpl extends AdviceConfigurationImpl implements AdviceBindingConfiguration {
- /**
- * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTarget()
- * @generated
- * @ordered
- */
- protected ElementTypeConfiguration target;
-
- /**
- * The cached value of the '{@link #getContainerConfiguration() <em>Container Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getContainerConfiguration()
- * @generated
- * @ordered
- */
- protected ContainerConfiguration containerConfiguration;
-
- /**
- * The cached value of the '{@link #getMatcherConfiguration() <em>Matcher Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMatcherConfiguration()
- * @generated
- * @ordered
- */
- protected MatcherConfiguration matcherConfiguration;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AdviceBindingConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.ADVICE_BINDING_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementTypeConfiguration getTarget() {
- if (target != null && target.eIsProxy()) {
- InternalEObject oldTarget = (InternalEObject)target;
- target = (ElementTypeConfiguration)eResolveProxy(oldTarget);
- if (target != oldTarget) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__TARGET, oldTarget, target));
- }
- }
- return target;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementTypeConfiguration basicGetTarget() {
- return target;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTarget(ElementTypeConfiguration newTarget) {
- ElementTypeConfiguration oldTarget = target;
- target = newTarget;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__TARGET, oldTarget, target));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ContainerConfiguration getContainerConfiguration() {
- return containerConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetContainerConfiguration(ContainerConfiguration newContainerConfiguration, NotificationChain msgs) {
- ContainerConfiguration oldContainerConfiguration = containerConfiguration;
- containerConfiguration = newContainerConfiguration;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION, oldContainerConfiguration, newContainerConfiguration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setContainerConfiguration(ContainerConfiguration newContainerConfiguration) {
- if (newContainerConfiguration != containerConfiguration) {
- NotificationChain msgs = null;
- if (containerConfiguration != null)
- msgs = ((InternalEObject)containerConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION, null, msgs);
- if (newContainerConfiguration != null)
- msgs = ((InternalEObject)newContainerConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION, null, msgs);
- msgs = basicSetContainerConfiguration(newContainerConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION, newContainerConfiguration, newContainerConfiguration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MatcherConfiguration getMatcherConfiguration() {
- return matcherConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetMatcherConfiguration(MatcherConfiguration newMatcherConfiguration, NotificationChain msgs) {
- MatcherConfiguration oldMatcherConfiguration = matcherConfiguration;
- matcherConfiguration = newMatcherConfiguration;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION, oldMatcherConfiguration, newMatcherConfiguration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMatcherConfiguration(MatcherConfiguration newMatcherConfiguration) {
- if (newMatcherConfiguration != matcherConfiguration) {
- NotificationChain msgs = null;
- if (matcherConfiguration != null)
- msgs = ((InternalEObject)matcherConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION, null, msgs);
- if (newMatcherConfiguration != null)
- msgs = ((InternalEObject)newMatcherConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION, null, msgs);
- msgs = basicSetMatcherConfiguration(newMatcherConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION, newMatcherConfiguration, newMatcherConfiguration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION:
- return basicSetContainerConfiguration(null, msgs);
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION:
- return basicSetMatcherConfiguration(null, 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 ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__TARGET:
- if (resolve) return getTarget();
- return basicGetTarget();
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION:
- return getContainerConfiguration();
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION:
- return getMatcherConfiguration();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__TARGET:
- setTarget((ElementTypeConfiguration)newValue);
- return;
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION:
- setContainerConfiguration((ContainerConfiguration)newValue);
- return;
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION:
- setMatcherConfiguration((MatcherConfiguration)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__TARGET:
- setTarget((ElementTypeConfiguration)null);
- return;
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION:
- setContainerConfiguration((ContainerConfiguration)null);
- return;
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION:
- setMatcherConfiguration((MatcherConfiguration)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__TARGET:
- return target != null;
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION:
- return containerConfiguration != null;
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION:
- return matcherConfiguration != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //AdviceBindingConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.AdviceBindingConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Advice Binding Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceBindingConfigurationImpl#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}</li> + * </ul> + * + * @generated + */ +public class AdviceBindingConfigurationImpl extends AbstractAdviceBindingConfigurationImpl implements AdviceBindingConfiguration { + /** + * The default value of the '{@link #getEditHelperAdviceClassName() <em>Edit Helper Advice Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditHelperAdviceClassName() + * @generated + * @ordered + */ + protected static final String EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditHelperAdviceClassName() <em>Edit Helper Advice Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditHelperAdviceClassName() + * @generated + * @ordered + */ + protected String editHelperAdviceClassName = EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AdviceBindingConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.ADVICE_BINDING_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEditHelperAdviceClassName() { + return editHelperAdviceClassName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEditHelperAdviceClassName(String newEditHelperAdviceClassName) { + String oldEditHelperAdviceClassName = editHelperAdviceClassName; + editHelperAdviceClassName = newEditHelperAdviceClassName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME, oldEditHelperAdviceClassName, editHelperAdviceClassName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME: + return getEditHelperAdviceClassName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME: + setEditHelperAdviceClassName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME: + setEditHelperAdviceClassName(EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME: + return EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT == null ? editHelperAdviceClassName != null : !EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT.equals(editHelperAdviceClassName); + } + 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(" (editHelperAdviceClassName: "); + result.append(editHelperAdviceClassName); + result.append(')'); + return result.toString(); + } + +} //AdviceBindingConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AdviceConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AdviceConfigurationImpl.java index 0e3f955d60a..c4a14cba724 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AdviceConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/AdviceConfigurationImpl.java @@ -1,306 +1,193 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.impl;
-
-import java.util.Collection;
-
-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.emf.ecore.util.EDataTypeUniqueEList;
-
-import org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Advice Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl#getBefore <em>Before</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl#getAfter <em>After</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl#getInheritance <em>Inheritance</em>}</li>
- * </ul>
- *
- * @generated
- */
-public abstract class AdviceConfigurationImpl extends ConfigurationElementImpl implements AdviceConfiguration {
- /**
- * The default value of the '{@link #getEditHelperAdviceClassName() <em>Edit Helper Advice Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditHelperAdviceClassName()
- * @generated
- * @ordered
- */
- protected static final String EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEditHelperAdviceClassName() <em>Edit Helper Advice Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditHelperAdviceClassName()
- * @generated
- * @ordered
- */
- protected String editHelperAdviceClassName = EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getBefore() <em>Before</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBefore()
- * @generated
- * @ordered
- */
- protected EList<String> before;
-
- /**
- * The cached value of the '{@link #getAfter() <em>After</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAfter()
- * @generated
- * @ordered
- */
- protected EList<String> after;
-
- /**
- * The default value of the '{@link #getInheritance() <em>Inheritance</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInheritance()
- * @generated
- * @ordered
- */
- protected static final InheritanceKind INHERITANCE_EDEFAULT = InheritanceKind.NONE;
-
- /**
- * The cached value of the '{@link #getInheritance() <em>Inheritance</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInheritance()
- * @generated
- * @ordered
- */
- protected InheritanceKind inheritance = INHERITANCE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AdviceConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.ADVICE_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEditHelperAdviceClassName() {
- return editHelperAdviceClassName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEditHelperAdviceClassName(String newEditHelperAdviceClassName) {
- String oldEditHelperAdviceClassName = editHelperAdviceClassName;
- editHelperAdviceClassName = newEditHelperAdviceClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME, oldEditHelperAdviceClassName, editHelperAdviceClassName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getBefore() {
- if (before == null) {
- before = new EDataTypeUniqueEList<String>(String.class, this, ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE);
- }
- return before;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getAfter() {
- if (after == null) {
- after = new EDataTypeUniqueEList<String>(String.class, this, ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER);
- }
- return after;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritanceKind getInheritance() {
- return inheritance;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setInheritance(InheritanceKind newInheritance) {
- InheritanceKind oldInheritance = inheritance;
- inheritance = newInheritance == null ? INHERITANCE_EDEFAULT : newInheritance;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__INHERITANCE, oldInheritance, inheritance));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME:
- return getEditHelperAdviceClassName();
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE:
- return getBefore();
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER:
- return getAfter();
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__INHERITANCE:
- return getInheritance();
- }
- 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 ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME:
- setEditHelperAdviceClassName((String)newValue);
- return;
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE:
- getBefore().clear();
- getBefore().addAll((Collection<? extends String>)newValue);
- return;
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER:
- getAfter().clear();
- getAfter().addAll((Collection<? extends String>)newValue);
- return;
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__INHERITANCE:
- setInheritance((InheritanceKind)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME:
- setEditHelperAdviceClassName(EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT);
- return;
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE:
- getBefore().clear();
- return;
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER:
- getAfter().clear();
- return;
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__INHERITANCE:
- setInheritance(INHERITANCE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME:
- return EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT == null ? editHelperAdviceClassName != null : !EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT.equals(editHelperAdviceClassName);
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE:
- return before != null && !before.isEmpty();
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER:
- return after != null && !after.isEmpty();
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__INHERITANCE:
- return inheritance != INHERITANCE_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(" (editHelperAdviceClassName: ");
- result.append(editHelperAdviceClassName);
- result.append(", before: ");
- result.append(before);
- result.append(", after: ");
- result.append(after);
- result.append(", inheritance: ");
- result.append(inheritance);
- result.append(')');
- return result.toString();
- }
-
-} //AdviceConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; + +import org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Advice Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl#getBefore <em>Before</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.AdviceConfigurationImpl#getAfter <em>After</em>}</li> + * </ul> + * + * @generated + */ +public abstract class AdviceConfigurationImpl extends ConfigurationElementImpl implements AdviceConfiguration { + /** + * The cached value of the '{@link #getBefore() <em>Before</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBefore() + * @generated + * @ordered + */ + protected EList<String> before; + + /** + * The cached value of the '{@link #getAfter() <em>After</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAfter() + * @generated + * @ordered + */ + protected EList<String> after; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AdviceConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.ADVICE_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getBefore() { + if (before == null) { + before = new EDataTypeUniqueEList<String>(String.class, this, ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE); + } + return before; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getAfter() { + if (after == null) { + after = new EDataTypeUniqueEList<String>(String.class, this, ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER); + } + return after; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE: + return getBefore(); + case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER: + return getAfter(); + } + 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 ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE: + getBefore().clear(); + getBefore().addAll((Collection<? extends String>)newValue); + return; + case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER: + getAfter().clear(); + getAfter().addAll((Collection<? extends String>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE: + getBefore().clear(); + return; + case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER: + getAfter().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__BEFORE: + return before != null && !before.isEmpty(); + case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION__AFTER: + return after != null && !after.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(" (before: "); + result.append(before); + result.append(", after: "); + result.append(after); + result.append(')'); + return result.toString(); + } + +} //AdviceConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ConfigurationElementImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ConfigurationElementImpl.java index 4320c119c84..f86d35f1ff3 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ConfigurationElementImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ConfigurationElementImpl.java @@ -1,281 +1,173 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.ConfigurationElement;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Configuration Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl#getIdentifier <em>Identifier</em>}</li>
- * </ul>
- *
- * @generated
- */
-public abstract class ConfigurationElementImpl extends MinimalEObjectImpl.Container implements ConfigurationElement {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIdentifier()
- * @generated
- * @ordered
- */
- protected static final String IDENTIFIER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIdentifier()
- * @generated
- * @ordered
- */
- protected String identifier = IDENTIFIER_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ConfigurationElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.CONFIGURATION_ELEMENT;
- }
-
- /**
- * <!-- 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, ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getIdentifier() {
- return identifier;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIdentifier(String newIdentifier) {
- String oldIdentifier = identifier;
- identifier = newIdentifier;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__IDENTIFIER, oldIdentifier, identifier));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__NAME:
- return getName();
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION:
- return getDescription();
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__IDENTIFIER:
- return getIdentifier();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__NAME:
- setName((String)newValue);
- return;
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__IDENTIFIER:
- setIdentifier((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__IDENTIFIER:
- setIdentifier(IDENTIFIER_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__IDENTIFIER:
- return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier);
- }
- 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(", description: ");
- result.append(description);
- result.append(", identifier: ");
- result.append(identifier);
- result.append(')');
- return result.toString();
- }
-
-} //ConfigurationElementImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.ConfigurationElement; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Configuration Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ConfigurationElementImpl#getDescription <em>Description</em>}</li> + * </ul> + * + * @generated + */ +public abstract class ConfigurationElementImpl extends MinimalEObjectImpl.Container implements ConfigurationElement { + /** + * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConfigurationElementImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.CONFIGURATION_ELEMENT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDescription() { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(String newDescription) { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION, oldDescription, description)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION: + return getDescription(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION: + setDescription((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + } + 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(" (description: "); + result.append(description); + result.append(')'); + return result.toString(); + } + +} //ConfigurationElementImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ContainerConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ContainerConfigurationImpl.java index 392015b4f43..30508f1438d 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ContainerConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ContainerConfigurationImpl.java @@ -1,228 +1,228 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Container Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl#getContainerMatcherConfiguration <em>Container Matcher Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl#getEContainmentFeatures <em>EContainment Features</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ContainerConfigurationImpl extends MinimalEObjectImpl.Container implements ContainerConfiguration {
- /**
- * The cached value of the '{@link #getContainerMatcherConfiguration() <em>Container Matcher Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getContainerMatcherConfiguration()
- * @generated
- * @ordered
- */
- protected MatcherConfiguration containerMatcherConfiguration;
-
- /**
- * The cached value of the '{@link #getEContainmentFeatures() <em>EContainment Features</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEContainmentFeatures()
- * @generated
- * @ordered
- */
- protected EList<EReference> eContainmentFeatures;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ContainerConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.CONTAINER_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MatcherConfiguration getContainerMatcherConfiguration() {
- return containerMatcherConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetContainerMatcherConfiguration(MatcherConfiguration newContainerMatcherConfiguration, NotificationChain msgs) {
- MatcherConfiguration oldContainerMatcherConfiguration = containerMatcherConfiguration;
- containerMatcherConfiguration = newContainerMatcherConfiguration;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION, oldContainerMatcherConfiguration, newContainerMatcherConfiguration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setContainerMatcherConfiguration(MatcherConfiguration newContainerMatcherConfiguration) {
- if (newContainerMatcherConfiguration != containerMatcherConfiguration) {
- NotificationChain msgs = null;
- if (containerMatcherConfiguration != null)
- msgs = ((InternalEObject)containerMatcherConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION, null, msgs);
- if (newContainerMatcherConfiguration != null)
- msgs = ((InternalEObject)newContainerMatcherConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION, null, msgs);
- msgs = basicSetContainerMatcherConfiguration(newContainerMatcherConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION, newContainerMatcherConfiguration, newContainerMatcherConfiguration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<EReference> getEContainmentFeatures() {
- if (eContainmentFeatures == null) {
- eContainmentFeatures = new EObjectResolvingEList<EReference>(EReference.class, this, ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES);
- }
- return eContainmentFeatures;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION:
- return basicSetContainerMatcherConfiguration(null, 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 ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION:
- return getContainerMatcherConfiguration();
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES:
- return getEContainmentFeatures();
- }
- 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 ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION:
- setContainerMatcherConfiguration((MatcherConfiguration)newValue);
- return;
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES:
- getEContainmentFeatures().clear();
- getEContainmentFeatures().addAll((Collection<? extends EReference>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION:
- setContainerMatcherConfiguration((MatcherConfiguration)null);
- return;
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES:
- getEContainmentFeatures().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION:
- return containerMatcherConfiguration != null;
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES:
- return eContainmentFeatures != null && !eContainmentFeatures.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //ContainerConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.EReference; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Container Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl#getContainerMatcherConfiguration <em>Container Matcher Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ContainerConfigurationImpl#getEContainmentFeatures <em>EContainment Features</em>}</li> + * </ul> + * + * @generated + */ +public class ContainerConfigurationImpl extends MinimalEObjectImpl.Container implements ContainerConfiguration { + /** + * The cached value of the '{@link #getContainerMatcherConfiguration() <em>Container Matcher Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getContainerMatcherConfiguration() + * @generated + * @ordered + */ + protected AbstractMatcherConfiguration containerMatcherConfiguration; + + /** + * The cached value of the '{@link #getEContainmentFeatures() <em>EContainment Features</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEContainmentFeatures() + * @generated + * @ordered + */ + protected EList<EReference> eContainmentFeatures; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ContainerConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.CONTAINER_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AbstractMatcherConfiguration getContainerMatcherConfiguration() { + return containerMatcherConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetContainerMatcherConfiguration(AbstractMatcherConfiguration newContainerMatcherConfiguration, NotificationChain msgs) { + AbstractMatcherConfiguration oldContainerMatcherConfiguration = containerMatcherConfiguration; + containerMatcherConfiguration = newContainerMatcherConfiguration; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION, oldContainerMatcherConfiguration, newContainerMatcherConfiguration); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setContainerMatcherConfiguration(AbstractMatcherConfiguration newContainerMatcherConfiguration) { + if (newContainerMatcherConfiguration != containerMatcherConfiguration) { + NotificationChain msgs = null; + if (containerMatcherConfiguration != null) + msgs = ((InternalEObject)containerMatcherConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION, null, msgs); + if (newContainerMatcherConfiguration != null) + msgs = ((InternalEObject)newContainerMatcherConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION, null, msgs); + msgs = basicSetContainerMatcherConfiguration(newContainerMatcherConfiguration, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION, newContainerMatcherConfiguration, newContainerMatcherConfiguration)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<EReference> getEContainmentFeatures() { + if (eContainmentFeatures == null) { + eContainmentFeatures = new EObjectResolvingEList<EReference>(EReference.class, this, ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES); + } + return eContainmentFeatures; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION: + return basicSetContainerMatcherConfiguration(null, 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 ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION: + return getContainerMatcherConfiguration(); + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES: + return getEContainmentFeatures(); + } + 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 ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION: + setContainerMatcherConfiguration((AbstractMatcherConfiguration)newValue); + return; + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES: + getEContainmentFeatures().clear(); + getEContainmentFeatures().addAll((Collection<? extends EReference>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION: + setContainerMatcherConfiguration((AbstractMatcherConfiguration)null); + return; + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES: + getEContainmentFeatures().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION: + return containerMatcherConfiguration != null; + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES: + return eContainmentFeatures != null && !eContainmentFeatures.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ContainerConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/EditHelperAdviceConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/EditHelperAdviceConfigurationImpl.java index 57cf7332445..44accd06c92 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/EditHelperAdviceConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/EditHelperAdviceConfigurationImpl.java @@ -1,205 +1,172 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-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.EcoreUtil;
-
-import org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Edit Helper Advice Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl#getTarget <em>Target</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class EditHelperAdviceConfigurationImpl extends AdviceConfigurationImpl implements EditHelperAdviceConfiguration {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EditHelperAdviceConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.EDIT_HELPER_ADVICE_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SpecializationTypeConfiguration getTarget() {
- if (eContainerFeatureID() != ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET) return null;
- return (SpecializationTypeConfiguration)eInternalContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTarget(SpecializationTypeConfiguration newTarget, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newTarget, ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTarget(SpecializationTypeConfiguration newTarget) {
- if (newTarget != eInternalContainer() || (eContainerFeatureID() != ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET && newTarget != null)) {
- if (EcoreUtil.isAncestor(this, newTarget))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newTarget != null)
- msgs = ((InternalEObject)newTarget).eInverseAdd(this, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, SpecializationTypeConfiguration.class, msgs);
- msgs = basicSetTarget(newTarget, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET, newTarget, newTarget));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetTarget((SpecializationTypeConfiguration)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 ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET:
- return basicSetTarget(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID()) {
- case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET:
- return eInternalContainer().eInverseRemove(this, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, SpecializationTypeConfiguration.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET:
- return getTarget();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET:
- setTarget((SpecializationTypeConfiguration)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET:
- setTarget((SpecializationTypeConfiguration)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET:
- return getTarget() != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //EditHelperAdviceConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.EditHelperAdviceConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Edit Helper Advice Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.EditHelperAdviceConfigurationImpl#getEditHelperAdviceClassName <em>Edit Helper Advice Class Name</em>}</li> + * </ul> + * + * @generated + */ +public class EditHelperAdviceConfigurationImpl extends AbstractEditHelperAdviceConfigurationImpl implements EditHelperAdviceConfiguration { + /** + * The default value of the '{@link #getEditHelperAdviceClassName() <em>Edit Helper Advice Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditHelperAdviceClassName() + * @generated + * @ordered + */ + protected static final String EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditHelperAdviceClassName() <em>Edit Helper Advice Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditHelperAdviceClassName() + * @generated + * @ordered + */ + protected String editHelperAdviceClassName = EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EditHelperAdviceConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.EDIT_HELPER_ADVICE_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEditHelperAdviceClassName() { + return editHelperAdviceClassName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEditHelperAdviceClassName(String newEditHelperAdviceClassName) { + String oldEditHelperAdviceClassName = editHelperAdviceClassName; + editHelperAdviceClassName = newEditHelperAdviceClassName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME, oldEditHelperAdviceClassName, editHelperAdviceClassName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME: + return getEditHelperAdviceClassName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME: + setEditHelperAdviceClassName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME: + setEditHelperAdviceClassName(EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME: + return EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT == null ? editHelperAdviceClassName != null : !EDIT_HELPER_ADVICE_CLASS_NAME_EDEFAULT.equals(editHelperAdviceClassName); + } + 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(" (editHelperAdviceClassName: "); + result.append(editHelperAdviceClassName); + result.append(')'); + return result.toString(); + } + +} //EditHelperAdviceConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementTypeConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementTypeConfigurationImpl.java index 24e8dca28ab..053bd7e13d6 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementTypeConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementTypeConfigurationImpl.java @@ -1,307 +1,461 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>elementType Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl#getHint <em>Hint</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl#getKind <em>Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl#getIconEntry <em>Icon Entry</em>}</li>
- * </ul>
- *
- * @generated
- */
-public abstract class ElementTypeConfigurationImpl extends ConfigurationElementImpl implements ElementTypeConfiguration {
- /**
- * The default value of the '{@link #getHint() <em>Hint</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHint()
- * @generated
- * @ordered
- */
- protected static final String HINT_EDEFAULT = "";
-
- /**
- * The cached value of the '{@link #getHint() <em>Hint</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHint()
- * @generated
- * @ordered
- */
- protected String hint = HINT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getKind() <em>Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getKind()
- * @generated
- * @ordered
- */
- protected static final String KIND_EDEFAULT = "org.eclipse.gmf.runtime.emf.type.core.IHintedType";
-
- /**
- * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getKind()
- * @generated
- * @ordered
- */
- protected String kind = KIND_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getIconEntry() <em>Icon Entry</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIconEntry()
- * @generated
- * @ordered
- */
- protected IconEntry iconEntry;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ElementTypeConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.ELEMENT_TYPE_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getHint() {
- return hint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setHint(String newHint) {
- String oldHint = hint;
- hint = newHint;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT, oldHint, hint));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getKind() {
- return kind;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setKind(String newKind) {
- String oldKind = kind;
- kind = newKind;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND, oldKind, kind));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IconEntry getIconEntry() {
- return iconEntry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetIconEntry(IconEntry newIconEntry, NotificationChain msgs) {
- IconEntry oldIconEntry = iconEntry;
- iconEntry = newIconEntry;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY, oldIconEntry, newIconEntry);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIconEntry(IconEntry newIconEntry) {
- if (newIconEntry != iconEntry) {
- NotificationChain msgs = null;
- if (iconEntry != null)
- msgs = ((InternalEObject)iconEntry).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY, null, msgs);
- if (newIconEntry != null)
- msgs = ((InternalEObject)newIconEntry).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY, null, msgs);
- msgs = basicSetIconEntry(newIconEntry, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY, newIconEntry, newIconEntry));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY:
- return basicSetIconEntry(null, 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 ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT:
- return getHint();
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND:
- return getKind();
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY:
- return getIconEntry();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT:
- setHint((String)newValue);
- return;
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND:
- setKind((String)newValue);
- return;
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY:
- setIconEntry((IconEntry)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT:
- setHint(HINT_EDEFAULT);
- return;
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND:
- setKind(KIND_EDEFAULT);
- return;
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY:
- setIconEntry((IconEntry)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT:
- return HINT_EDEFAULT == null ? hint != null : !HINT_EDEFAULT.equals(hint);
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND:
- return KIND_EDEFAULT == null ? kind != null : !KIND_EDEFAULT.equals(kind);
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY:
- return iconEntry != null;
- }
- 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(" (hint: ");
- result.append(hint);
- result.append(", kind: ");
- result.append(kind);
- result.append(')');
- return result.toString();
- }
-
-} //ElementTypeConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry; +import org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Element Type Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl#getIdentifier <em>Identifier</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl#getHint <em>Hint</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl#getKind <em>Kind</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeConfigurationImpl#getIconEntry <em>Icon Entry</em>}</li> + * </ul> + * + * @generated + */ +public abstract class ElementTypeConfigurationImpl extends ConfigurationElementImpl implements ElementTypeConfiguration { + /** + * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getHint() <em>Hint</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getHint() + * @generated + * @ordered + */ + protected static final String HINT_EDEFAULT = ""; + + /** + * The cached value of the '{@link #getHint() <em>Hint</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getHint() + * @generated + * @ordered + */ + protected String hint = HINT_EDEFAULT; + + /** + * The default value of the '{@link #getKind() <em>Kind</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getKind() + * @generated + * @ordered + */ + protected static final String KIND_EDEFAULT = "org.eclipse.gmf.runtime.emf.type.core.IHintedType"; + + /** + * The cached value of the '{@link #getKind() <em>Kind</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getKind() + * @generated + * @ordered + */ + protected String kind = KIND_EDEFAULT; + + /** + * The cached value of the '{@link #getIconEntry() <em>Icon Entry</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIconEntry() + * @generated + * @ordered + */ + protected IconEntry iconEntry; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ElementTypeConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.ELEMENT_TYPE_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getIdentifier() { + return identifier; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * <!-- 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, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getHint() { + return hint; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setHint(String newHint) { + String oldHint = hint; + hint = newHint; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT, oldHint, hint)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getKind() { + return kind; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKind(String newKind) { + String oldKind = kind; + kind = newKind; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND, oldKind, kind)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IconEntry getIconEntry() { + return iconEntry; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetIconEntry(IconEntry newIconEntry, NotificationChain msgs) { + IconEntry oldIconEntry = iconEntry; + iconEntry = newIconEntry; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY, oldIconEntry, newIconEntry); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setIconEntry(IconEntry newIconEntry) { + if (newIconEntry != iconEntry) { + NotificationChain msgs = null; + if (iconEntry != null) + msgs = ((InternalEObject)iconEntry).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY, null, msgs); + if (newIconEntry != null) + msgs = ((InternalEObject)newIconEntry).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY, null, msgs); + msgs = basicSetIconEntry(newIconEntry, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY, newIconEntry, newIconEntry)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY: + return basicSetIconEntry(null, 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 ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__IDENTIFIER: + return getIdentifier(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__NAME: + return getName(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT: + return getHint(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND: + return getKind(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY: + return getIconEntry(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__IDENTIFIER: + setIdentifier((String)newValue); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__NAME: + setName((String)newValue); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT: + setHint((String)newValue); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND: + setKind((String)newValue); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY: + setIconEntry((IconEntry)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__NAME: + setName(NAME_EDEFAULT); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT: + setHint(HINT_EDEFAULT); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND: + setKind(KIND_EDEFAULT); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY: + setIconEntry((IconEntry)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__HINT: + return HINT_EDEFAULT == null ? hint != null : !HINT_EDEFAULT.equals(hint); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__KIND: + return KIND_EDEFAULT == null ? kind != null : !KIND_EDEFAULT.equals(kind); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY: + return iconEntry != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { + if (baseClass == IdentifiedConfiguration.class) { + switch (derivedFeatureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__IDENTIFIER: return ElementtypesconfigurationsPackage.IDENTIFIED_CONFIGURATION__IDENTIFIER; + default: return -1; + } + } + if (baseClass == NamedConfiguration.class) { + switch (derivedFeatureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__NAME: return ElementtypesconfigurationsPackage.NAMED_CONFIGURATION__NAME; + 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 == IdentifiedConfiguration.class) { + switch (baseFeatureID) { + case ElementtypesconfigurationsPackage.IDENTIFIED_CONFIGURATION__IDENTIFIER: return ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__IDENTIFIER; + default: return -1; + } + } + if (baseClass == NamedConfiguration.class) { + switch (baseFeatureID) { + case ElementtypesconfigurationsPackage.NAMED_CONFIGURATION__NAME: return ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION__NAME; + 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(" (identifier: "); + result.append(identifier); + result.append(", name: "); + result.append(name); + result.append(", hint: "); + result.append(hint); + result.append(", kind: "); + result.append(kind); + result.append(')'); + return result.toString(); + } + +} //ElementTypeConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementTypeSetConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementTypeSetConfigurationImpl.java index 02b2afd228b..5052d34ecab 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementTypeSetConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementTypeSetConfigurationImpl.java @@ -1,268 +1,422 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.AdviceBindingConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>elementType Set Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl#getElementTypeConfigurations <em>Element Type Configurations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl#getAdviceBindingsConfigurations <em>Advice Bindings Configurations</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl#getMetamodelNsURI <em>Metamodel Ns URI</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class ElementTypeSetConfigurationImpl extends ConfigurationElementImpl implements ElementTypeSetConfiguration {
- /**
- * The cached value of the '{@link #getElementTypeConfigurations() <em>Element Type Configurations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementTypeConfigurations()
- * @generated
- * @ordered
- */
- protected EList<ElementTypeConfiguration> elementTypeConfigurations;
-
- /**
- * The cached value of the '{@link #getAdviceBindingsConfigurations() <em>Advice Bindings Configurations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAdviceBindingsConfigurations()
- * @generated
- * @ordered
- */
- protected EList<AdviceBindingConfiguration> adviceBindingsConfigurations;
-
- /**
- * The default value of the '{@link #getMetamodelNsURI() <em>Metamodel Ns URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMetamodelNsURI()
- * @generated
- * @ordered
- */
- protected static final String METAMODEL_NS_URI_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMetamodelNsURI() <em>Metamodel Ns URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMetamodelNsURI()
- * @generated
- * @ordered
- */
- protected String metamodelNsURI = METAMODEL_NS_URI_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ElementTypeSetConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.ELEMENT_TYPE_SET_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ElementTypeConfiguration> getElementTypeConfigurations() {
- if (elementTypeConfigurations == null) {
- elementTypeConfigurations = new EObjectContainmentEList<ElementTypeConfiguration>(ElementTypeConfiguration.class, this, ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS);
- }
- return elementTypeConfigurations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<AdviceBindingConfiguration> getAdviceBindingsConfigurations() {
- if (adviceBindingsConfigurations == null) {
- adviceBindingsConfigurations = new EObjectContainmentEList<AdviceBindingConfiguration>(AdviceBindingConfiguration.class, this, ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS);
- }
- return adviceBindingsConfigurations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getMetamodelNsURI() {
- return metamodelNsURI;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMetamodelNsURI(String newMetamodelNsURI) {
- String oldMetamodelNsURI = metamodelNsURI;
- metamodelNsURI = newMetamodelNsURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI, oldMetamodelNsURI, metamodelNsURI));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS:
- return ((InternalEList<?>)getElementTypeConfigurations()).basicRemove(otherEnd, msgs);
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS:
- return ((InternalEList<?>)getAdviceBindingsConfigurations()).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 ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS:
- return getElementTypeConfigurations();
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS:
- return getAdviceBindingsConfigurations();
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI:
- return getMetamodelNsURI();
- }
- 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 ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS:
- getElementTypeConfigurations().clear();
- getElementTypeConfigurations().addAll((Collection<? extends ElementTypeConfiguration>)newValue);
- return;
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS:
- getAdviceBindingsConfigurations().clear();
- getAdviceBindingsConfigurations().addAll((Collection<? extends AdviceBindingConfiguration>)newValue);
- return;
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI:
- setMetamodelNsURI((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS:
- getElementTypeConfigurations().clear();
- return;
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS:
- getAdviceBindingsConfigurations().clear();
- return;
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI:
- setMetamodelNsURI(METAMODEL_NS_URI_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS:
- return elementTypeConfigurations != null && !elementTypeConfigurations.isEmpty();
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS:
- return adviceBindingsConfigurations != null && !adviceBindingsConfigurations.isEmpty();
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI:
- return METAMODEL_NS_URI_EDEFAULT == null ? metamodelNsURI != null : !METAMODEL_NS_URI_EDEFAULT.equals(metamodelNsURI);
- }
- 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(" (metamodelNsURI: ");
- result.append(metamodelNsURI);
- result.append(')');
- return result.toString();
- }
-
-} //ElementTypeSetConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.AbstractAdviceBindingConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Element Type Set Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl#getIdentifier <em>Identifier</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl#getElementTypeConfigurations <em>Element Type Configurations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl#getAdviceBindingsConfigurations <em>Advice Bindings Configurations</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.ElementTypeSetConfigurationImpl#getMetamodelNsURI <em>Metamodel Ns URI</em>}</li> + * </ul> + * + * @generated + */ +public class ElementTypeSetConfigurationImpl extends ConfigurationElementImpl implements ElementTypeSetConfiguration { + /** + * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getElementTypeConfigurations() <em>Element Type Configurations</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElementTypeConfigurations() + * @generated + * @ordered + */ + protected EList<ElementTypeConfiguration> elementTypeConfigurations; + + /** + * The cached value of the '{@link #getAdviceBindingsConfigurations() <em>Advice Bindings Configurations</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAdviceBindingsConfigurations() + * @generated + * @ordered + */ + protected EList<AbstractAdviceBindingConfiguration> adviceBindingsConfigurations; + + /** + * The default value of the '{@link #getMetamodelNsURI() <em>Metamodel Ns URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMetamodelNsURI() + * @generated + * @ordered + */ + protected static final String METAMODEL_NS_URI_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMetamodelNsURI() <em>Metamodel Ns URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMetamodelNsURI() + * @generated + * @ordered + */ + protected String metamodelNsURI = METAMODEL_NS_URI_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ElementTypeSetConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.ELEMENT_TYPE_SET_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getIdentifier() { + return identifier; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER, oldIdentifier, identifier)); + } + + /** + * <!-- 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, ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ElementTypeConfiguration> getElementTypeConfigurations() { + if (elementTypeConfigurations == null) { + elementTypeConfigurations = new EObjectContainmentEList<ElementTypeConfiguration>(ElementTypeConfiguration.class, this, ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS); + } + return elementTypeConfigurations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractAdviceBindingConfiguration> getAdviceBindingsConfigurations() { + if (adviceBindingsConfigurations == null) { + adviceBindingsConfigurations = new EObjectContainmentEList<AbstractAdviceBindingConfiguration>(AbstractAdviceBindingConfiguration.class, this, ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS); + } + return adviceBindingsConfigurations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getMetamodelNsURI() { + return metamodelNsURI; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMetamodelNsURI(String newMetamodelNsURI) { + String oldMetamodelNsURI = metamodelNsURI; + metamodelNsURI = newMetamodelNsURI; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI, oldMetamodelNsURI, metamodelNsURI)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS: + return ((InternalEList<?>)getElementTypeConfigurations()).basicRemove(otherEnd, msgs); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS: + return ((InternalEList<?>)getAdviceBindingsConfigurations()).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 ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER: + return getIdentifier(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__NAME: + return getName(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS: + return getElementTypeConfigurations(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS: + return getAdviceBindingsConfigurations(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI: + return getMetamodelNsURI(); + } + 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 ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER: + setIdentifier((String)newValue); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__NAME: + setName((String)newValue); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS: + getElementTypeConfigurations().clear(); + getElementTypeConfigurations().addAll((Collection<? extends ElementTypeConfiguration>)newValue); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS: + getAdviceBindingsConfigurations().clear(); + getAdviceBindingsConfigurations().addAll((Collection<? extends AbstractAdviceBindingConfiguration>)newValue); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI: + setMetamodelNsURI((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER: + setIdentifier(IDENTIFIER_EDEFAULT); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__NAME: + setName(NAME_EDEFAULT); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS: + getElementTypeConfigurations().clear(); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS: + getAdviceBindingsConfigurations().clear(); + return; + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI: + setMetamodelNsURI(METAMODEL_NS_URI_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER: + return IDENTIFIER_EDEFAULT == null ? identifier != null : !IDENTIFIER_EDEFAULT.equals(identifier); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS: + return elementTypeConfigurations != null && !elementTypeConfigurations.isEmpty(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS: + return adviceBindingsConfigurations != null && !adviceBindingsConfigurations.isEmpty(); + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI: + return METAMODEL_NS_URI_EDEFAULT == null ? metamodelNsURI != null : !METAMODEL_NS_URI_EDEFAULT.equals(metamodelNsURI); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { + if (baseClass == IdentifiedConfiguration.class) { + switch (derivedFeatureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER: return ElementtypesconfigurationsPackage.IDENTIFIED_CONFIGURATION__IDENTIFIER; + default: return -1; + } + } + if (baseClass == NamedConfiguration.class) { + switch (derivedFeatureID) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__NAME: return ElementtypesconfigurationsPackage.NAMED_CONFIGURATION__NAME; + 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 == IdentifiedConfiguration.class) { + switch (baseFeatureID) { + case ElementtypesconfigurationsPackage.IDENTIFIED_CONFIGURATION__IDENTIFIER: return ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__IDENTIFIER; + default: return -1; + } + } + if (baseClass == NamedConfiguration.class) { + switch (baseFeatureID) { + case ElementtypesconfigurationsPackage.NAMED_CONFIGURATION__NAME: return ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION__NAME; + 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(" (identifier: "); + result.append(identifier); + result.append(", name: "); + result.append(name); + result.append(", metamodelNsURI: "); + result.append(metamodelNsURI); + result.append(')'); + return result.toString(); + } + +} //ElementTypeSetConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementtypesconfigurationsFactoryImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementtypesconfigurationsFactoryImpl.java index 2f4036831e1..cc95ebb135b 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementtypesconfigurationsFactoryImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementtypesconfigurationsFactoryImpl.java @@ -1,233 +1,233 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.papyrus.infra.elementtypesconfigurations.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ElementtypesconfigurationsFactoryImpl extends EFactoryImpl implements ElementtypesconfigurationsFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ElementtypesconfigurationsFactory init() {
- try {
- ElementtypesconfigurationsFactory theElementtypesconfigurationsFactory = (ElementtypesconfigurationsFactory)EPackage.Registry.INSTANCE.getEFactory(ElementtypesconfigurationsPackage.eNS_URI);
- if (theElementtypesconfigurationsFactory != null) {
- return theElementtypesconfigurationsFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ElementtypesconfigurationsFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementtypesconfigurationsFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION: return createElementTypeSetConfiguration();
- case ElementtypesconfigurationsPackage.ICON_ENTRY: return createIconEntry();
- case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION: return createMatcherConfiguration();
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION: return createAdviceBindingConfiguration();
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION: return createSpecializationTypeConfiguration();
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION: return createContainerConfiguration();
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION: return createMetamodelTypeConfiguration();
- case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION: return createEditHelperAdviceConfiguration();
- 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 ElementtypesconfigurationsPackage.INHERITANCE_KIND:
- return createInheritanceKindFromString(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 ElementtypesconfigurationsPackage.INHERITANCE_KIND:
- return convertInheritanceKindToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementTypeSetConfiguration createElementTypeSetConfiguration() {
- ElementTypeSetConfigurationImpl elementTypeSetConfiguration = new ElementTypeSetConfigurationImpl();
- return elementTypeSetConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IconEntry createIconEntry() {
- IconEntryImpl iconEntry = new IconEntryImpl();
- return iconEntry;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MatcherConfiguration createMatcherConfiguration() {
- MatcherConfigurationImpl matcherConfiguration = new MatcherConfigurationImpl();
- return matcherConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AdviceBindingConfiguration createAdviceBindingConfiguration() {
- AdviceBindingConfigurationImpl adviceBindingConfiguration = new AdviceBindingConfigurationImpl();
- return adviceBindingConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SpecializationTypeConfiguration createSpecializationTypeConfiguration() {
- SpecializationTypeConfigurationImpl specializationTypeConfiguration = new SpecializationTypeConfigurationImpl();
- return specializationTypeConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ContainerConfiguration createContainerConfiguration() {
- ContainerConfigurationImpl containerConfiguration = new ContainerConfigurationImpl();
- return containerConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MetamodelTypeConfiguration createMetamodelTypeConfiguration() {
- MetamodelTypeConfigurationImpl metamodelTypeConfiguration = new MetamodelTypeConfigurationImpl();
- return metamodelTypeConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EditHelperAdviceConfiguration createEditHelperAdviceConfiguration() {
- EditHelperAdviceConfigurationImpl editHelperAdviceConfiguration = new EditHelperAdviceConfigurationImpl();
- return editHelperAdviceConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritanceKind createInheritanceKindFromString(EDataType eDataType, String initialValue) {
- InheritanceKind result = InheritanceKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertInheritanceKindToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementtypesconfigurationsPackage getElementtypesconfigurationsPackage() {
- return (ElementtypesconfigurationsPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ElementtypesconfigurationsPackage getPackage() {
- return ElementtypesconfigurationsPackage.eINSTANCE;
- }
-
-} //ElementtypesconfigurationsFactoryImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.papyrus.infra.elementtypesconfigurations.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ElementtypesconfigurationsFactoryImpl extends EFactoryImpl implements ElementtypesconfigurationsFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static ElementtypesconfigurationsFactory init() { + try { + ElementtypesconfigurationsFactory theElementtypesconfigurationsFactory = (ElementtypesconfigurationsFactory)EPackage.Registry.INSTANCE.getEFactory(ElementtypesconfigurationsPackage.eNS_URI); + if (theElementtypesconfigurationsFactory != null) { + return theElementtypesconfigurationsFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ElementtypesconfigurationsFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementtypesconfigurationsFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION: return createElementTypeSetConfiguration(); + case ElementtypesconfigurationsPackage.ICON_ENTRY: return createIconEntry(); + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION: return createSpecializationTypeConfiguration(); + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION: return createContainerConfiguration(); + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION: return createMetamodelTypeConfiguration(); + case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION: return createEditHelperAdviceConfiguration(); + case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION: return createAdviceBindingConfiguration(); + case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION: return createMatcherConfiguration(); + 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 ElementtypesconfigurationsPackage.INHERITANCE_KIND: + return createInheritanceKindFromString(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 ElementtypesconfigurationsPackage.INHERITANCE_KIND: + return convertInheritanceKindToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementTypeSetConfiguration createElementTypeSetConfiguration() { + ElementTypeSetConfigurationImpl elementTypeSetConfiguration = new ElementTypeSetConfigurationImpl(); + return elementTypeSetConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IconEntry createIconEntry() { + IconEntryImpl iconEntry = new IconEntryImpl(); + return iconEntry; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SpecializationTypeConfiguration createSpecializationTypeConfiguration() { + SpecializationTypeConfigurationImpl specializationTypeConfiguration = new SpecializationTypeConfigurationImpl(); + return specializationTypeConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ContainerConfiguration createContainerConfiguration() { + ContainerConfigurationImpl containerConfiguration = new ContainerConfigurationImpl(); + return containerConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MetamodelTypeConfiguration createMetamodelTypeConfiguration() { + MetamodelTypeConfigurationImpl metamodelTypeConfiguration = new MetamodelTypeConfigurationImpl(); + return metamodelTypeConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EditHelperAdviceConfiguration createEditHelperAdviceConfiguration() { + EditHelperAdviceConfigurationImpl editHelperAdviceConfiguration = new EditHelperAdviceConfigurationImpl(); + return editHelperAdviceConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AdviceBindingConfiguration createAdviceBindingConfiguration() { + AdviceBindingConfigurationImpl adviceBindingConfiguration = new AdviceBindingConfigurationImpl(); + return adviceBindingConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MatcherConfiguration createMatcherConfiguration() { + MatcherConfigurationImpl matcherConfiguration = new MatcherConfigurationImpl(); + return matcherConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InheritanceKind createInheritanceKindFromString(EDataType eDataType, String initialValue) { + InheritanceKind result = InheritanceKind.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertInheritanceKindToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementtypesconfigurationsPackage getElementtypesconfigurationsPackage() { + return (ElementtypesconfigurationsPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static ElementtypesconfigurationsPackage getPackage() { + return ElementtypesconfigurationsPackage.eINSTANCE; + } + +} //ElementtypesconfigurationsFactoryImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementtypesconfigurationsPackageImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementtypesconfigurationsPackageImpl.java index 5c02e9626db..9a63d44932f 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementtypesconfigurationsPackageImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/ElementtypesconfigurationsPackageImpl.java @@ -1,728 +1,852 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsFactory;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ElementtypesconfigurationsPackageImpl extends EPackageImpl implements ElementtypesconfigurationsPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass elementTypeSetConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass elementTypeConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass iconEntryEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass configurationElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass matcherConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass adviceConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass adviceBindingConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass specializationTypeConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass containerConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass metamodelTypeConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass editHelperAdviceConfigurationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum inheritanceKindEEnum = 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.elementtypesconfigurations.ElementtypesconfigurationsPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ElementtypesconfigurationsPackageImpl() {
- super(eNS_URI, ElementtypesconfigurationsFactory.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 ElementtypesconfigurationsPackage#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 ElementtypesconfigurationsPackage init() {
- if (isInited) return (ElementtypesconfigurationsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementtypesconfigurationsPackage.eNS_URI);
-
- // Obtain or create and register package
- ElementtypesconfigurationsPackageImpl theElementtypesconfigurationsPackage = (ElementtypesconfigurationsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ElementtypesconfigurationsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ElementtypesconfigurationsPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theElementtypesconfigurationsPackage.createPackageContents();
-
- // Initialize created meta-data
- theElementtypesconfigurationsPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theElementtypesconfigurationsPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(ElementtypesconfigurationsPackage.eNS_URI, theElementtypesconfigurationsPackage);
- return theElementtypesconfigurationsPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getElementTypeSetConfiguration() {
- return elementTypeSetConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getElementTypeSetConfiguration_ElementTypeConfigurations() {
- return (EReference)elementTypeSetConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getElementTypeSetConfiguration_AdviceBindingsConfigurations() {
- return (EReference)elementTypeSetConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getElementTypeSetConfiguration_MetamodelNsURI() {
- return (EAttribute)elementTypeSetConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getElementTypeConfiguration() {
- return elementTypeConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getElementTypeConfiguration_Hint() {
- return (EAttribute)elementTypeConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getElementTypeConfiguration_Kind() {
- return (EAttribute)elementTypeConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getElementTypeConfiguration_IconEntry() {
- return (EReference)elementTypeConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIconEntry() {
- return iconEntryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getIconEntry_IconPath() {
- return (EAttribute)iconEntryEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getIconEntry_BundleId() {
- return (EAttribute)iconEntryEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getConfigurationElement() {
- return configurationElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConfigurationElement_Name() {
- return (EAttribute)configurationElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConfigurationElement_Description() {
- return (EAttribute)configurationElementEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConfigurationElement_Identifier() {
- return (EAttribute)configurationElementEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMatcherConfiguration() {
- return matcherConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMatcherConfiguration_MatcherClassName() {
- return (EAttribute)matcherConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAdviceConfiguration() {
- return adviceConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAdviceConfiguration_EditHelperAdviceClassName() {
- return (EAttribute)adviceConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAdviceConfiguration_Before() {
- return (EAttribute)adviceConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAdviceConfiguration_After() {
- return (EAttribute)adviceConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAdviceConfiguration_Inheritance() {
- return (EAttribute)adviceConfigurationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAdviceBindingConfiguration() {
- return adviceBindingConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAdviceBindingConfiguration_Target() {
- return (EReference)adviceBindingConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAdviceBindingConfiguration_ContainerConfiguration() {
- return (EReference)adviceBindingConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAdviceBindingConfiguration_MatcherConfiguration() {
- return (EReference)adviceBindingConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSpecializationTypeConfiguration() {
- return specializationTypeConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSpecializationTypeConfiguration_SpecializedTypesID() {
- return (EAttribute)specializationTypeConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSpecializationTypeConfiguration_EditHelperAdviceConfiguration() {
- return (EReference)specializationTypeConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSpecializationTypeConfiguration_ContainerConfiguration() {
- return (EReference)specializationTypeConfigurationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSpecializationTypeConfiguration_MatcherConfiguration() {
- return (EReference)specializationTypeConfigurationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getContainerConfiguration() {
- return containerConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getContainerConfiguration_ContainerMatcherConfiguration() {
- return (EReference)containerConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getContainerConfiguration_EContainmentFeatures() {
- return (EReference)containerConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMetamodelTypeConfiguration() {
- return metamodelTypeConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMetamodelTypeConfiguration_EClass() {
- return (EReference)metamodelTypeConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMetamodelTypeConfiguration_EditHelperClassName() {
- return (EAttribute)metamodelTypeConfigurationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getEditHelperAdviceConfiguration() {
- return editHelperAdviceConfigurationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getEditHelperAdviceConfiguration_Target() {
- return (EReference)editHelperAdviceConfigurationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getInheritanceKind() {
- return inheritanceKindEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementtypesconfigurationsFactory getElementtypesconfigurationsFactory() {
- return (ElementtypesconfigurationsFactory)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
- elementTypeSetConfigurationEClass = createEClass(ELEMENT_TYPE_SET_CONFIGURATION);
- createEReference(elementTypeSetConfigurationEClass, ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS);
- createEReference(elementTypeSetConfigurationEClass, ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS);
- createEAttribute(elementTypeSetConfigurationEClass, ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI);
-
- elementTypeConfigurationEClass = createEClass(ELEMENT_TYPE_CONFIGURATION);
- createEAttribute(elementTypeConfigurationEClass, ELEMENT_TYPE_CONFIGURATION__HINT);
- createEAttribute(elementTypeConfigurationEClass, ELEMENT_TYPE_CONFIGURATION__KIND);
- createEReference(elementTypeConfigurationEClass, ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY);
-
- iconEntryEClass = createEClass(ICON_ENTRY);
- createEAttribute(iconEntryEClass, ICON_ENTRY__ICON_PATH);
- createEAttribute(iconEntryEClass, ICON_ENTRY__BUNDLE_ID);
-
- configurationElementEClass = createEClass(CONFIGURATION_ELEMENT);
- createEAttribute(configurationElementEClass, CONFIGURATION_ELEMENT__NAME);
- createEAttribute(configurationElementEClass, CONFIGURATION_ELEMENT__DESCRIPTION);
- createEAttribute(configurationElementEClass, CONFIGURATION_ELEMENT__IDENTIFIER);
-
- matcherConfigurationEClass = createEClass(MATCHER_CONFIGURATION);
- createEAttribute(matcherConfigurationEClass, MATCHER_CONFIGURATION__MATCHER_CLASS_NAME);
-
- adviceConfigurationEClass = createEClass(ADVICE_CONFIGURATION);
- createEAttribute(adviceConfigurationEClass, ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME);
- createEAttribute(adviceConfigurationEClass, ADVICE_CONFIGURATION__BEFORE);
- createEAttribute(adviceConfigurationEClass, ADVICE_CONFIGURATION__AFTER);
- createEAttribute(adviceConfigurationEClass, ADVICE_CONFIGURATION__INHERITANCE);
-
- adviceBindingConfigurationEClass = createEClass(ADVICE_BINDING_CONFIGURATION);
- createEReference(adviceBindingConfigurationEClass, ADVICE_BINDING_CONFIGURATION__TARGET);
- createEReference(adviceBindingConfigurationEClass, ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION);
- createEReference(adviceBindingConfigurationEClass, ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION);
-
- specializationTypeConfigurationEClass = createEClass(SPECIALIZATION_TYPE_CONFIGURATION);
- createEAttribute(specializationTypeConfigurationEClass, SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID);
- createEReference(specializationTypeConfigurationEClass, SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION);
- createEReference(specializationTypeConfigurationEClass, SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION);
- createEReference(specializationTypeConfigurationEClass, SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION);
-
- containerConfigurationEClass = createEClass(CONTAINER_CONFIGURATION);
- createEReference(containerConfigurationEClass, CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION);
- createEReference(containerConfigurationEClass, CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES);
-
- metamodelTypeConfigurationEClass = createEClass(METAMODEL_TYPE_CONFIGURATION);
- createEReference(metamodelTypeConfigurationEClass, METAMODEL_TYPE_CONFIGURATION__ECLASS);
- createEAttribute(metamodelTypeConfigurationEClass, METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME);
-
- editHelperAdviceConfigurationEClass = createEClass(EDIT_HELPER_ADVICE_CONFIGURATION);
- createEReference(editHelperAdviceConfigurationEClass, EDIT_HELPER_ADVICE_CONFIGURATION__TARGET);
-
- // Create enums
- inheritanceKindEEnum = createEEnum(INHERITANCE_KIND);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- elementTypeSetConfigurationEClass.getESuperTypes().add(this.getConfigurationElement());
- elementTypeConfigurationEClass.getESuperTypes().add(this.getConfigurationElement());
- adviceConfigurationEClass.getESuperTypes().add(this.getConfigurationElement());
- adviceBindingConfigurationEClass.getESuperTypes().add(this.getAdviceConfiguration());
- specializationTypeConfigurationEClass.getESuperTypes().add(this.getElementTypeConfiguration());
- metamodelTypeConfigurationEClass.getESuperTypes().add(this.getElementTypeConfiguration());
- editHelperAdviceConfigurationEClass.getESuperTypes().add(this.getAdviceConfiguration());
-
- // Initialize classes, features, and operations; add parameters
- initEClass(elementTypeSetConfigurationEClass, ElementTypeSetConfiguration.class, "ElementTypeSetConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getElementTypeSetConfiguration_ElementTypeConfigurations(), this.getElementTypeConfiguration(), null, "elementTypeConfigurations", null, 0, -1, ElementTypeSetConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getElementTypeSetConfiguration_AdviceBindingsConfigurations(), this.getAdviceBindingConfiguration(), null, "adviceBindingsConfigurations", null, 0, -1, ElementTypeSetConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getElementTypeSetConfiguration_MetamodelNsURI(), ecorePackage.getEString(), "metamodelNsURI", null, 1, 1, ElementTypeSetConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(elementTypeConfigurationEClass, ElementTypeConfiguration.class, "ElementTypeConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getElementTypeConfiguration_Hint(), ecorePackage.getEString(), "hint", "", 0, 1, ElementTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getElementTypeConfiguration_Kind(), ecorePackage.getEString(), "kind", "org.eclipse.gmf.runtime.emf.type.core.IHintedType", 0, 1, ElementTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getElementTypeConfiguration_IconEntry(), this.getIconEntry(), null, "iconEntry", null, 0, 1, ElementTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(iconEntryEClass, IconEntry.class, "IconEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getIconEntry_IconPath(), ecorePackage.getEString(), "iconPath", null, 0, 1, IconEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getIconEntry_BundleId(), ecorePackage.getEString(), "bundleId", null, 0, 1, IconEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(configurationElementEClass, ConfigurationElement.class, "ConfigurationElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getConfigurationElement_Name(), ecorePackage.getEString(), "name", null, 1, 1, ConfigurationElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConfigurationElement_Description(), ecorePackage.getEString(), "description", null, 0, 1, ConfigurationElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConfigurationElement_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, ConfigurationElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(matcherConfigurationEClass, MatcherConfiguration.class, "MatcherConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMatcherConfiguration_MatcherClassName(), ecorePackage.getEString(), "matcherClassName", null, 1, 1, MatcherConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(adviceConfigurationEClass, AdviceConfiguration.class, "AdviceConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAdviceConfiguration_EditHelperAdviceClassName(), ecorePackage.getEString(), "editHelperAdviceClassName", null, 1, 1, AdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAdviceConfiguration_Before(), ecorePackage.getEString(), "before", null, 0, -1, AdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAdviceConfiguration_After(), ecorePackage.getEString(), "after", null, 0, -1, AdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAdviceConfiguration_Inheritance(), this.getInheritanceKind(), "inheritance", null, 1, 1, AdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(adviceBindingConfigurationEClass, AdviceBindingConfiguration.class, "AdviceBindingConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAdviceBindingConfiguration_Target(), this.getElementTypeConfiguration(), null, "target", null, 1, 1, AdviceBindingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAdviceBindingConfiguration_ContainerConfiguration(), this.getContainerConfiguration(), null, "containerConfiguration", null, 0, 1, AdviceBindingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAdviceBindingConfiguration_MatcherConfiguration(), this.getMatcherConfiguration(), null, "matcherConfiguration", null, 0, 1, AdviceBindingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(specializationTypeConfigurationEClass, SpecializationTypeConfiguration.class, "SpecializationTypeConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSpecializationTypeConfiguration_SpecializedTypesID(), ecorePackage.getEString(), "specializedTypesID", null, 1, -1, SpecializationTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSpecializationTypeConfiguration_EditHelperAdviceConfiguration(), this.getEditHelperAdviceConfiguration(), this.getEditHelperAdviceConfiguration_Target(), "editHelperAdviceConfiguration", null, 0, 1, SpecializationTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSpecializationTypeConfiguration_ContainerConfiguration(), this.getContainerConfiguration(), null, "containerConfiguration", null, 0, 1, SpecializationTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSpecializationTypeConfiguration_MatcherConfiguration(), this.getMatcherConfiguration(), null, "matcherConfiguration", null, 0, 1, SpecializationTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(containerConfigurationEClass, ContainerConfiguration.class, "ContainerConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getContainerConfiguration_ContainerMatcherConfiguration(), this.getMatcherConfiguration(), null, "containerMatcherConfiguration", null, 0, 1, ContainerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getContainerConfiguration_EContainmentFeatures(), ecorePackage.getEReference(), null, "eContainmentFeatures", null, 0, -1, ContainerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(metamodelTypeConfigurationEClass, MetamodelTypeConfiguration.class, "MetamodelTypeConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMetamodelTypeConfiguration_EClass(), ecorePackage.getEClass(), null, "eClass", null, 0, 1, MetamodelTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMetamodelTypeConfiguration_EditHelperClassName(), ecorePackage.getEString(), "editHelperClassName", null, 0, 1, MetamodelTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(editHelperAdviceConfigurationEClass, EditHelperAdviceConfiguration.class, "EditHelperAdviceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEditHelperAdviceConfiguration_Target(), this.getSpecializationTypeConfiguration(), this.getSpecializationTypeConfiguration_EditHelperAdviceConfiguration(), "target", null, 1, 1, EditHelperAdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(inheritanceKindEEnum, InheritanceKind.class, "InheritanceKind");
- addEEnumLiteral(inheritanceKindEEnum, InheritanceKind.NONE);
- addEEnumLiteral(inheritanceKindEEnum, InheritanceKind.ALL);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //ElementtypesconfigurationsPackageImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsFactory; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry; +import org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.InheritanceKind; +import org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ElementtypesconfigurationsPackageImpl extends EPackageImpl implements ElementtypesconfigurationsPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass elementTypeSetConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass elementTypeConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass iconEntryEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass configurationElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass abstractMatcherConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass adviceConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass abstractAdviceBindingConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass specializationTypeConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass containerConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass metamodelTypeConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass abstractEditHelperAdviceConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass editHelperAdviceConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass adviceBindingConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass matcherConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass identifiedConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass namedConfigurationEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum inheritanceKindEEnum = 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.elementtypesconfigurations.ElementtypesconfigurationsPackage#eNS_URI + * @see #init() + * @generated + */ + private ElementtypesconfigurationsPackageImpl() { + super(eNS_URI, ElementtypesconfigurationsFactory.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 ElementtypesconfigurationsPackage#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 ElementtypesconfigurationsPackage init() { + if (isInited) return (ElementtypesconfigurationsPackage)EPackage.Registry.INSTANCE.getEPackage(ElementtypesconfigurationsPackage.eNS_URI); + + // Obtain or create and register package + ElementtypesconfigurationsPackageImpl theElementtypesconfigurationsPackage = (ElementtypesconfigurationsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ElementtypesconfigurationsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ElementtypesconfigurationsPackageImpl()); + + isInited = true; + + // Create package meta-data objects + theElementtypesconfigurationsPackage.createPackageContents(); + + // Initialize created meta-data + theElementtypesconfigurationsPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theElementtypesconfigurationsPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ElementtypesconfigurationsPackage.eNS_URI, theElementtypesconfigurationsPackage); + return theElementtypesconfigurationsPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getElementTypeSetConfiguration() { + return elementTypeSetConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementTypeSetConfiguration_ElementTypeConfigurations() { + return (EReference)elementTypeSetConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementTypeSetConfiguration_AdviceBindingsConfigurations() { + return (EReference)elementTypeSetConfigurationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getElementTypeSetConfiguration_MetamodelNsURI() { + return (EAttribute)elementTypeSetConfigurationEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getElementTypeConfiguration() { + return elementTypeConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getElementTypeConfiguration_Hint() { + return (EAttribute)elementTypeConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getElementTypeConfiguration_Kind() { + return (EAttribute)elementTypeConfigurationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementTypeConfiguration_IconEntry() { + return (EReference)elementTypeConfigurationEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getIconEntry() { + return iconEntryEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getIconEntry_IconPath() { + return (EAttribute)iconEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getIconEntry_BundleId() { + return (EAttribute)iconEntryEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConfigurationElement() { + return configurationElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getConfigurationElement_Description() { + return (EAttribute)configurationElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAbstractMatcherConfiguration() { + return abstractMatcherConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAdviceConfiguration() { + return adviceConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAdviceConfiguration_Before() { + return (EAttribute)adviceConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAdviceConfiguration_After() { + return (EAttribute)adviceConfigurationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAbstractAdviceBindingConfiguration() { + return abstractAdviceBindingConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractAdviceBindingConfiguration_Target() { + return (EReference)abstractAdviceBindingConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractAdviceBindingConfiguration_ContainerConfiguration() { + return (EReference)abstractAdviceBindingConfigurationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractAdviceBindingConfiguration_MatcherConfiguration() { + return (EReference)abstractAdviceBindingConfigurationEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAbstractAdviceBindingConfiguration_Inheritance() { + return (EAttribute)abstractAdviceBindingConfigurationEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getSpecializationTypeConfiguration() { + return specializationTypeConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSpecializationTypeConfiguration_SpecializedTypesID() { + return (EAttribute)specializationTypeConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getSpecializationTypeConfiguration_EditHelperAdviceConfiguration() { + return (EReference)specializationTypeConfigurationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getSpecializationTypeConfiguration_ContainerConfiguration() { + return (EReference)specializationTypeConfigurationEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getSpecializationTypeConfiguration_MatcherConfiguration() { + return (EReference)specializationTypeConfigurationEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getContainerConfiguration() { + return containerConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getContainerConfiguration_ContainerMatcherConfiguration() { + return (EReference)containerConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getContainerConfiguration_EContainmentFeatures() { + return (EReference)containerConfigurationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMetamodelTypeConfiguration() { + return metamodelTypeConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMetamodelTypeConfiguration_EClass() { + return (EReference)metamodelTypeConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMetamodelTypeConfiguration_EditHelperClassName() { + return (EAttribute)metamodelTypeConfigurationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAbstractEditHelperAdviceConfiguration() { + return abstractEditHelperAdviceConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractEditHelperAdviceConfiguration_Target() { + return (EReference)abstractEditHelperAdviceConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getEditHelperAdviceConfiguration() { + return editHelperAdviceConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getEditHelperAdviceConfiguration_EditHelperAdviceClassName() { + return (EAttribute)editHelperAdviceConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAdviceBindingConfiguration() { + return adviceBindingConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAdviceBindingConfiguration_EditHelperAdviceClassName() { + return (EAttribute)adviceBindingConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMatcherConfiguration() { + return matcherConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMatcherConfiguration_MatcherClassName() { + return (EAttribute)matcherConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getIdentifiedConfiguration() { + return identifiedConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getIdentifiedConfiguration_Identifier() { + return (EAttribute)identifiedConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNamedConfiguration() { + return namedConfigurationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNamedConfiguration_Name() { + return (EAttribute)namedConfigurationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getInheritanceKind() { + return inheritanceKindEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementtypesconfigurationsFactory getElementtypesconfigurationsFactory() { + return (ElementtypesconfigurationsFactory)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 + elementTypeSetConfigurationEClass = createEClass(ELEMENT_TYPE_SET_CONFIGURATION); + createEReference(elementTypeSetConfigurationEClass, ELEMENT_TYPE_SET_CONFIGURATION__ELEMENT_TYPE_CONFIGURATIONS); + createEReference(elementTypeSetConfigurationEClass, ELEMENT_TYPE_SET_CONFIGURATION__ADVICE_BINDINGS_CONFIGURATIONS); + createEAttribute(elementTypeSetConfigurationEClass, ELEMENT_TYPE_SET_CONFIGURATION__METAMODEL_NS_URI); + + elementTypeConfigurationEClass = createEClass(ELEMENT_TYPE_CONFIGURATION); + createEAttribute(elementTypeConfigurationEClass, ELEMENT_TYPE_CONFIGURATION__HINT); + createEAttribute(elementTypeConfigurationEClass, ELEMENT_TYPE_CONFIGURATION__KIND); + createEReference(elementTypeConfigurationEClass, ELEMENT_TYPE_CONFIGURATION__ICON_ENTRY); + + iconEntryEClass = createEClass(ICON_ENTRY); + createEAttribute(iconEntryEClass, ICON_ENTRY__ICON_PATH); + createEAttribute(iconEntryEClass, ICON_ENTRY__BUNDLE_ID); + + configurationElementEClass = createEClass(CONFIGURATION_ELEMENT); + createEAttribute(configurationElementEClass, CONFIGURATION_ELEMENT__DESCRIPTION); + + abstractMatcherConfigurationEClass = createEClass(ABSTRACT_MATCHER_CONFIGURATION); + + adviceConfigurationEClass = createEClass(ADVICE_CONFIGURATION); + createEAttribute(adviceConfigurationEClass, ADVICE_CONFIGURATION__BEFORE); + createEAttribute(adviceConfigurationEClass, ADVICE_CONFIGURATION__AFTER); + + abstractAdviceBindingConfigurationEClass = createEClass(ABSTRACT_ADVICE_BINDING_CONFIGURATION); + createEReference(abstractAdviceBindingConfigurationEClass, ABSTRACT_ADVICE_BINDING_CONFIGURATION__TARGET); + createEReference(abstractAdviceBindingConfigurationEClass, ABSTRACT_ADVICE_BINDING_CONFIGURATION__CONTAINER_CONFIGURATION); + createEReference(abstractAdviceBindingConfigurationEClass, ABSTRACT_ADVICE_BINDING_CONFIGURATION__MATCHER_CONFIGURATION); + createEAttribute(abstractAdviceBindingConfigurationEClass, ABSTRACT_ADVICE_BINDING_CONFIGURATION__INHERITANCE); + + specializationTypeConfigurationEClass = createEClass(SPECIALIZATION_TYPE_CONFIGURATION); + createEAttribute(specializationTypeConfigurationEClass, SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID); + createEReference(specializationTypeConfigurationEClass, SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION); + createEReference(specializationTypeConfigurationEClass, SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION); + createEReference(specializationTypeConfigurationEClass, SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION); + + containerConfigurationEClass = createEClass(CONTAINER_CONFIGURATION); + createEReference(containerConfigurationEClass, CONTAINER_CONFIGURATION__CONTAINER_MATCHER_CONFIGURATION); + createEReference(containerConfigurationEClass, CONTAINER_CONFIGURATION__ECONTAINMENT_FEATURES); + + metamodelTypeConfigurationEClass = createEClass(METAMODEL_TYPE_CONFIGURATION); + createEReference(metamodelTypeConfigurationEClass, METAMODEL_TYPE_CONFIGURATION__ECLASS); + createEAttribute(metamodelTypeConfigurationEClass, METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME); + + abstractEditHelperAdviceConfigurationEClass = createEClass(ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION); + createEReference(abstractEditHelperAdviceConfigurationEClass, ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET); + + editHelperAdviceConfigurationEClass = createEClass(EDIT_HELPER_ADVICE_CONFIGURATION); + createEAttribute(editHelperAdviceConfigurationEClass, EDIT_HELPER_ADVICE_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME); + + adviceBindingConfigurationEClass = createEClass(ADVICE_BINDING_CONFIGURATION); + createEAttribute(adviceBindingConfigurationEClass, ADVICE_BINDING_CONFIGURATION__EDIT_HELPER_ADVICE_CLASS_NAME); + + matcherConfigurationEClass = createEClass(MATCHER_CONFIGURATION); + createEAttribute(matcherConfigurationEClass, MATCHER_CONFIGURATION__MATCHER_CLASS_NAME); + + identifiedConfigurationEClass = createEClass(IDENTIFIED_CONFIGURATION); + createEAttribute(identifiedConfigurationEClass, IDENTIFIED_CONFIGURATION__IDENTIFIER); + + namedConfigurationEClass = createEClass(NAMED_CONFIGURATION); + createEAttribute(namedConfigurationEClass, NAMED_CONFIGURATION__NAME); + + // Create enums + inheritanceKindEEnum = createEEnum(INHERITANCE_KIND); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + elementTypeSetConfigurationEClass.getESuperTypes().add(this.getConfigurationElement()); + elementTypeSetConfigurationEClass.getESuperTypes().add(this.getIdentifiedConfiguration()); + elementTypeSetConfigurationEClass.getESuperTypes().add(this.getNamedConfiguration()); + elementTypeConfigurationEClass.getESuperTypes().add(this.getConfigurationElement()); + elementTypeConfigurationEClass.getESuperTypes().add(this.getIdentifiedConfiguration()); + elementTypeConfigurationEClass.getESuperTypes().add(this.getNamedConfiguration()); + adviceConfigurationEClass.getESuperTypes().add(this.getConfigurationElement()); + abstractAdviceBindingConfigurationEClass.getESuperTypes().add(this.getAdviceConfiguration()); + abstractAdviceBindingConfigurationEClass.getESuperTypes().add(this.getIdentifiedConfiguration()); + specializationTypeConfigurationEClass.getESuperTypes().add(this.getElementTypeConfiguration()); + metamodelTypeConfigurationEClass.getESuperTypes().add(this.getElementTypeConfiguration()); + abstractEditHelperAdviceConfigurationEClass.getESuperTypes().add(this.getAdviceConfiguration()); + editHelperAdviceConfigurationEClass.getESuperTypes().add(this.getAbstractEditHelperAdviceConfiguration()); + adviceBindingConfigurationEClass.getESuperTypes().add(this.getAbstractAdviceBindingConfiguration()); + matcherConfigurationEClass.getESuperTypes().add(this.getAbstractMatcherConfiguration()); + + // Initialize classes, features, and operations; add parameters + initEClass(elementTypeSetConfigurationEClass, ElementTypeSetConfiguration.class, "ElementTypeSetConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getElementTypeSetConfiguration_ElementTypeConfigurations(), this.getElementTypeConfiguration(), null, "elementTypeConfigurations", null, 0, -1, ElementTypeSetConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getElementTypeSetConfiguration_AdviceBindingsConfigurations(), this.getAbstractAdviceBindingConfiguration(), null, "adviceBindingsConfigurations", null, 0, -1, ElementTypeSetConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getElementTypeSetConfiguration_MetamodelNsURI(), ecorePackage.getEString(), "metamodelNsURI", null, 1, 1, ElementTypeSetConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(elementTypeConfigurationEClass, ElementTypeConfiguration.class, "ElementTypeConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getElementTypeConfiguration_Hint(), ecorePackage.getEString(), "hint", "", 0, 1, ElementTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getElementTypeConfiguration_Kind(), ecorePackage.getEString(), "kind", "org.eclipse.gmf.runtime.emf.type.core.IHintedType", 0, 1, ElementTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getElementTypeConfiguration_IconEntry(), this.getIconEntry(), null, "iconEntry", null, 0, 1, ElementTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(iconEntryEClass, IconEntry.class, "IconEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getIconEntry_IconPath(), ecorePackage.getEString(), "iconPath", null, 0, 1, IconEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getIconEntry_BundleId(), ecorePackage.getEString(), "bundleId", null, 0, 1, IconEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configurationElementEClass, ConfigurationElement.class, "ConfigurationElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getConfigurationElement_Description(), ecorePackage.getEString(), "description", null, 0, 1, ConfigurationElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(abstractMatcherConfigurationEClass, AbstractMatcherConfiguration.class, "AbstractMatcherConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(adviceConfigurationEClass, AdviceConfiguration.class, "AdviceConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getAdviceConfiguration_Before(), ecorePackage.getEString(), "before", null, 0, -1, AdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAdviceConfiguration_After(), ecorePackage.getEString(), "after", null, 0, -1, AdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(abstractAdviceBindingConfigurationEClass, AbstractAdviceBindingConfiguration.class, "AbstractAdviceBindingConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAbstractAdviceBindingConfiguration_Target(), this.getElementTypeConfiguration(), null, "target", null, 1, 1, AbstractAdviceBindingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAbstractAdviceBindingConfiguration_ContainerConfiguration(), this.getContainerConfiguration(), null, "containerConfiguration", null, 0, 1, AbstractAdviceBindingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAbstractAdviceBindingConfiguration_MatcherConfiguration(), this.getAbstractMatcherConfiguration(), null, "matcherConfiguration", null, 0, 1, AbstractAdviceBindingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAbstractAdviceBindingConfiguration_Inheritance(), this.getInheritanceKind(), "inheritance", null, 1, 1, AbstractAdviceBindingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(specializationTypeConfigurationEClass, SpecializationTypeConfiguration.class, "SpecializationTypeConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSpecializationTypeConfiguration_SpecializedTypesID(), ecorePackage.getEString(), "specializedTypesID", null, 1, -1, SpecializationTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSpecializationTypeConfiguration_EditHelperAdviceConfiguration(), this.getAbstractEditHelperAdviceConfiguration(), this.getAbstractEditHelperAdviceConfiguration_Target(), "editHelperAdviceConfiguration", null, 0, 1, SpecializationTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSpecializationTypeConfiguration_ContainerConfiguration(), this.getContainerConfiguration(), null, "containerConfiguration", null, 0, 1, SpecializationTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSpecializationTypeConfiguration_MatcherConfiguration(), this.getAbstractMatcherConfiguration(), null, "matcherConfiguration", null, 0, 1, SpecializationTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(containerConfigurationEClass, ContainerConfiguration.class, "ContainerConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getContainerConfiguration_ContainerMatcherConfiguration(), this.getAbstractMatcherConfiguration(), null, "containerMatcherConfiguration", null, 0, 1, ContainerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getContainerConfiguration_EContainmentFeatures(), ecorePackage.getEReference(), null, "eContainmentFeatures", null, 0, -1, ContainerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(metamodelTypeConfigurationEClass, MetamodelTypeConfiguration.class, "MetamodelTypeConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMetamodelTypeConfiguration_EClass(), ecorePackage.getEClass(), null, "eClass", null, 0, 1, MetamodelTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMetamodelTypeConfiguration_EditHelperClassName(), ecorePackage.getEString(), "editHelperClassName", null, 0, 1, MetamodelTypeConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(abstractEditHelperAdviceConfigurationEClass, AbstractEditHelperAdviceConfiguration.class, "AbstractEditHelperAdviceConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAbstractEditHelperAdviceConfiguration_Target(), this.getSpecializationTypeConfiguration(), this.getSpecializationTypeConfiguration_EditHelperAdviceConfiguration(), "target", null, 1, 1, AbstractEditHelperAdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(editHelperAdviceConfigurationEClass, EditHelperAdviceConfiguration.class, "EditHelperAdviceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getEditHelperAdviceConfiguration_EditHelperAdviceClassName(), ecorePackage.getEString(), "editHelperAdviceClassName", null, 1, 1, EditHelperAdviceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(adviceBindingConfigurationEClass, AdviceBindingConfiguration.class, "AdviceBindingConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getAdviceBindingConfiguration_EditHelperAdviceClassName(), ecorePackage.getEString(), "editHelperAdviceClassName", null, 1, 1, AdviceBindingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(matcherConfigurationEClass, MatcherConfiguration.class, "MatcherConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getMatcherConfiguration_MatcherClassName(), ecorePackage.getEString(), "matcherClassName", null, 1, 1, MatcherConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(identifiedConfigurationEClass, IdentifiedConfiguration.class, "IdentifiedConfiguration", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getIdentifiedConfiguration_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, IdentifiedConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(namedConfigurationEClass, NamedConfiguration.class, "NamedConfiguration", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNamedConfiguration_Name(), ecorePackage.getEString(), "name", null, 1, 1, NamedConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Initialize enums and add enum literals + initEEnum(inheritanceKindEEnum, InheritanceKind.class, "InheritanceKind"); + addEEnumLiteral(inheritanceKindEEnum, InheritanceKind.NONE); + addEEnumLiteral(inheritanceKindEEnum, InheritanceKind.ALL); + + // Create resource + createResource(eNS_URI); + } + +} //ElementtypesconfigurationsPackageImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/IconEntryImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/IconEntryImpl.java index 1445eae1253..aa7cea95b1c 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/IconEntryImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/IconEntryImpl.java @@ -1,227 +1,227 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Icon Entry</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl#getIconPath <em>Icon Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl#getBundleId <em>Bundle Id</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class IconEntryImpl extends MinimalEObjectImpl.Container implements IconEntry {
- /**
- * The default value of the '{@link #getIconPath() <em>Icon Path</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIconPath()
- * @generated
- * @ordered
- */
- protected static final String ICON_PATH_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getIconPath() <em>Icon Path</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIconPath()
- * @generated
- * @ordered
- */
- protected String iconPath = ICON_PATH_EDEFAULT;
-
- /**
- * The default value of the '{@link #getBundleId() <em>Bundle Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBundleId()
- * @generated
- * @ordered
- */
- protected static final String BUNDLE_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBundleId() <em>Bundle Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBundleId()
- * @generated
- * @ordered
- */
- protected String bundleId = BUNDLE_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected IconEntryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.ICON_ENTRY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getIconPath() {
- return iconPath;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIconPath(String newIconPath) {
- String oldIconPath = iconPath;
- iconPath = newIconPath;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH, oldIconPath, iconPath));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getBundleId() {
- return bundleId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBundleId(String newBundleId) {
- String oldBundleId = bundleId;
- bundleId = newBundleId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID, oldBundleId, bundleId));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH:
- return getIconPath();
- case ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID:
- return getBundleId();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH:
- setIconPath((String)newValue);
- return;
- case ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID:
- setBundleId((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH:
- setIconPath(ICON_PATH_EDEFAULT);
- return;
- case ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID:
- setBundleId(BUNDLE_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH:
- return ICON_PATH_EDEFAULT == null ? iconPath != null : !ICON_PATH_EDEFAULT.equals(iconPath);
- case ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID:
- return BUNDLE_ID_EDEFAULT == null ? bundleId != null : !BUNDLE_ID_EDEFAULT.equals(bundleId);
- }
- 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(" (iconPath: ");
- result.append(iconPath);
- result.append(", bundleId: ");
- result.append(bundleId);
- result.append(')');
- return result.toString();
- }
-
-} //IconEntryImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Icon Entry</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl#getIconPath <em>Icon Path</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.IconEntryImpl#getBundleId <em>Bundle Id</em>}</li> + * </ul> + * + * @generated + */ +public class IconEntryImpl extends MinimalEObjectImpl.Container implements IconEntry { + /** + * The default value of the '{@link #getIconPath() <em>Icon Path</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIconPath() + * @generated + * @ordered + */ + protected static final String ICON_PATH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIconPath() <em>Icon Path</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIconPath() + * @generated + * @ordered + */ + protected String iconPath = ICON_PATH_EDEFAULT; + + /** + * The default value of the '{@link #getBundleId() <em>Bundle Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBundleId() + * @generated + * @ordered + */ + protected static final String BUNDLE_ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBundleId() <em>Bundle Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBundleId() + * @generated + * @ordered + */ + protected String bundleId = BUNDLE_ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IconEntryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.ICON_ENTRY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getIconPath() { + return iconPath; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setIconPath(String newIconPath) { + String oldIconPath = iconPath; + iconPath = newIconPath; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH, oldIconPath, iconPath)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getBundleId() { + return bundleId; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBundleId(String newBundleId) { + String oldBundleId = bundleId; + bundleId = newBundleId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID, oldBundleId, bundleId)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH: + return getIconPath(); + case ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID: + return getBundleId(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH: + setIconPath((String)newValue); + return; + case ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID: + setBundleId((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH: + setIconPath(ICON_PATH_EDEFAULT); + return; + case ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID: + setBundleId(BUNDLE_ID_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.ICON_ENTRY__ICON_PATH: + return ICON_PATH_EDEFAULT == null ? iconPath != null : !ICON_PATH_EDEFAULT.equals(iconPath); + case ElementtypesconfigurationsPackage.ICON_ENTRY__BUNDLE_ID: + return BUNDLE_ID_EDEFAULT == null ? bundleId != null : !BUNDLE_ID_EDEFAULT.equals(bundleId); + } + 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(" (iconPath: "); + result.append(iconPath); + result.append(", bundleId: "); + result.append(bundleId); + result.append(')'); + return result.toString(); + } + +} //IconEntryImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/MatcherConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/MatcherConfigurationImpl.java index cf5b20d6aee..45b1deef37d 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/MatcherConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/MatcherConfigurationImpl.java @@ -1,173 +1,172 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Matcher Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl#getMatcherClassName <em>Matcher Class Name</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class MatcherConfigurationImpl extends MinimalEObjectImpl.Container implements MatcherConfiguration {
- /**
- * The default value of the '{@link #getMatcherClassName() <em>Matcher Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMatcherClassName()
- * @generated
- * @ordered
- */
- protected static final String MATCHER_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMatcherClassName() <em>Matcher Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMatcherClassName()
- * @generated
- * @ordered
- */
- protected String matcherClassName = MATCHER_CLASS_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MatcherConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.MATCHER_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getMatcherClassName() {
- return matcherClassName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMatcherClassName(String newMatcherClassName) {
- String oldMatcherClassName = matcherClassName;
- matcherClassName = newMatcherClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME, oldMatcherClassName, matcherClassName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME:
- return getMatcherClassName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME:
- setMatcherClassName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME:
- setMatcherClassName(MATCHER_CLASS_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME:
- return MATCHER_CLASS_NAME_EDEFAULT == null ? matcherClassName != null : !MATCHER_CLASS_NAME_EDEFAULT.equals(matcherClassName);
- }
- 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(" (matcherClassName: ");
- result.append(matcherClassName);
- result.append(')');
- return result.toString();
- }
-
-} //MatcherConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Matcher Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MatcherConfigurationImpl#getMatcherClassName <em>Matcher Class Name</em>}</li> + * </ul> + * + * @generated + */ +public class MatcherConfigurationImpl extends AbstractMatcherConfigurationImpl implements MatcherConfiguration { + /** + * The default value of the '{@link #getMatcherClassName() <em>Matcher Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMatcherClassName() + * @generated + * @ordered + */ + protected static final String MATCHER_CLASS_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMatcherClassName() <em>Matcher Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMatcherClassName() + * @generated + * @ordered + */ + protected String matcherClassName = MATCHER_CLASS_NAME_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MatcherConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.MATCHER_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getMatcherClassName() { + return matcherClassName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMatcherClassName(String newMatcherClassName) { + String oldMatcherClassName = matcherClassName; + matcherClassName = newMatcherClassName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME, oldMatcherClassName, matcherClassName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME: + return getMatcherClassName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME: + setMatcherClassName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME: + setMatcherClassName(MATCHER_CLASS_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION__MATCHER_CLASS_NAME: + return MATCHER_CLASS_NAME_EDEFAULT == null ? matcherClassName != null : !MATCHER_CLASS_NAME_EDEFAULT.equals(matcherClassName); + } + 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(" (matcherClassName: "); + result.append(matcherClassName); + result.append(')'); + return result.toString(); + } + +} //MatcherConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/MetamodelTypeConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/MetamodelTypeConfigurationImpl.java index 63ef54a1630..56f9707dfb1 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/MetamodelTypeConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/MetamodelTypeConfigurationImpl.java @@ -1,233 +1,233 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Metamodel Type Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl#getEClass <em>EClass</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl#getEditHelperClassName <em>Edit Helper Class Name</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class MetamodelTypeConfigurationImpl extends ElementTypeConfigurationImpl implements MetamodelTypeConfiguration {
- /**
- * The cached value of the '{@link #getEClass() <em>EClass</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEClass()
- * @generated
- * @ordered
- */
- protected EClass eClass;
-
- /**
- * The default value of the '{@link #getEditHelperClassName() <em>Edit Helper Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditHelperClassName()
- * @generated
- * @ordered
- */
- protected static final String EDIT_HELPER_CLASS_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEditHelperClassName() <em>Edit Helper Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditHelperClassName()
- * @generated
- * @ordered
- */
- protected String editHelperClassName = EDIT_HELPER_CLASS_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MetamodelTypeConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.METAMODEL_TYPE_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getEClass() {
- if (eClass != null && eClass.eIsProxy()) {
- InternalEObject oldEClass = (InternalEObject)eClass;
- eClass = (EClass)eResolveProxy(oldEClass);
- if (eClass != oldEClass) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS, oldEClass, eClass));
- }
- }
- return eClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass basicGetEClass() {
- return eClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEClass(EClass newEClass) {
- EClass oldEClass = eClass;
- eClass = newEClass;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS, oldEClass, eClass));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEditHelperClassName() {
- return editHelperClassName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEditHelperClassName(String newEditHelperClassName) {
- String oldEditHelperClassName = editHelperClassName;
- editHelperClassName = newEditHelperClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME, oldEditHelperClassName, editHelperClassName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS:
- if (resolve) return getEClass();
- return basicGetEClass();
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME:
- return getEditHelperClassName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS:
- setEClass((EClass)newValue);
- return;
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME:
- setEditHelperClassName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS:
- setEClass((EClass)null);
- return;
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME:
- setEditHelperClassName(EDIT_HELPER_CLASS_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS:
- return eClass != null;
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME:
- return EDIT_HELPER_CLASS_NAME_EDEFAULT == null ? editHelperClassName != null : !EDIT_HELPER_CLASS_NAME_EDEFAULT.equals(editHelperClassName);
- }
- 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(" (editHelperClassName: ");
- result.append(editHelperClassName);
- result.append(')');
- return result.toString();
- }
-
-} //MetamodelTypeConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Metamodel Type Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl#getEClass <em>EClass</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.MetamodelTypeConfigurationImpl#getEditHelperClassName <em>Edit Helper Class Name</em>}</li> + * </ul> + * + * @generated + */ +public class MetamodelTypeConfigurationImpl extends ElementTypeConfigurationImpl implements MetamodelTypeConfiguration { + /** + * The cached value of the '{@link #getEClass() <em>EClass</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEClass() + * @generated + * @ordered + */ + protected EClass eClass; + + /** + * The default value of the '{@link #getEditHelperClassName() <em>Edit Helper Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditHelperClassName() + * @generated + * @ordered + */ + protected static final String EDIT_HELPER_CLASS_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getEditHelperClassName() <em>Edit Helper Class Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditHelperClassName() + * @generated + * @ordered + */ + protected String editHelperClassName = EDIT_HELPER_CLASS_NAME_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MetamodelTypeConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.METAMODEL_TYPE_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getEClass() { + if (eClass != null && eClass.eIsProxy()) { + InternalEObject oldEClass = (InternalEObject)eClass; + eClass = (EClass)eResolveProxy(oldEClass); + if (eClass != oldEClass) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS, oldEClass, eClass)); + } + } + return eClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass basicGetEClass() { + return eClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEClass(EClass newEClass) { + EClass oldEClass = eClass; + eClass = newEClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS, oldEClass, eClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getEditHelperClassName() { + return editHelperClassName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEditHelperClassName(String newEditHelperClassName) { + String oldEditHelperClassName = editHelperClassName; + editHelperClassName = newEditHelperClassName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME, oldEditHelperClassName, editHelperClassName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS: + if (resolve) return getEClass(); + return basicGetEClass(); + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME: + return getEditHelperClassName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS: + setEClass((EClass)newValue); + return; + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME: + setEditHelperClassName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS: + setEClass((EClass)null); + return; + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME: + setEditHelperClassName(EDIT_HELPER_CLASS_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__ECLASS: + return eClass != null; + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION__EDIT_HELPER_CLASS_NAME: + return EDIT_HELPER_CLASS_NAME_EDEFAULT == null ? editHelperClassName != null : !EDIT_HELPER_CLASS_NAME_EDEFAULT.equals(editHelperClassName); + } + 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(" (editHelperClassName: "); + result.append(editHelperClassName); + result.append(')'); + return result.toString(); + } + +} //MetamodelTypeConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/SpecializationTypeConfigurationImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/SpecializationTypeConfigurationImpl.java index d026e9fbbb4..509a2eb209e 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/SpecializationTypeConfigurationImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/impl/SpecializationTypeConfigurationImpl.java @@ -1,392 +1,392 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.EDataTypeUniqueEList;
-
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration;
-import org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Specialization Type Configuration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl#getSpecializedTypesID <em>Specialized Types ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl#getContainerConfiguration <em>Container Configuration</em>}</li>
- * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl#getMatcherConfiguration <em>Matcher Configuration</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class SpecializationTypeConfigurationImpl extends ElementTypeConfigurationImpl implements SpecializationTypeConfiguration {
- /**
- * The cached value of the '{@link #getSpecializedTypesID() <em>Specialized Types ID</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSpecializedTypesID()
- * @generated
- * @ordered
- */
- protected EList<String> specializedTypesID;
-
- /**
- * The cached value of the '{@link #getEditHelperAdviceConfiguration() <em>Edit Helper Advice Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEditHelperAdviceConfiguration()
- * @generated
- * @ordered
- */
- protected EditHelperAdviceConfiguration editHelperAdviceConfiguration;
-
- /**
- * The cached value of the '{@link #getContainerConfiguration() <em>Container Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getContainerConfiguration()
- * @generated
- * @ordered
- */
- protected ContainerConfiguration containerConfiguration;
-
- /**
- * The cached value of the '{@link #getMatcherConfiguration() <em>Matcher Configuration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMatcherConfiguration()
- * @generated
- * @ordered
- */
- protected MatcherConfiguration matcherConfiguration;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SpecializationTypeConfigurationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ElementtypesconfigurationsPackage.Literals.SPECIALIZATION_TYPE_CONFIGURATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getSpecializedTypesID() {
- if (specializedTypesID == null) {
- specializedTypesID = new EDataTypeUniqueEList<String>(String.class, this, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID);
- }
- return specializedTypesID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EditHelperAdviceConfiguration getEditHelperAdviceConfiguration() {
- return editHelperAdviceConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetEditHelperAdviceConfiguration(EditHelperAdviceConfiguration newEditHelperAdviceConfiguration, NotificationChain msgs) {
- EditHelperAdviceConfiguration oldEditHelperAdviceConfiguration = editHelperAdviceConfiguration;
- editHelperAdviceConfiguration = newEditHelperAdviceConfiguration;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, oldEditHelperAdviceConfiguration, newEditHelperAdviceConfiguration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEditHelperAdviceConfiguration(EditHelperAdviceConfiguration newEditHelperAdviceConfiguration) {
- if (newEditHelperAdviceConfiguration != editHelperAdviceConfiguration) {
- NotificationChain msgs = null;
- if (editHelperAdviceConfiguration != null)
- msgs = ((InternalEObject)editHelperAdviceConfiguration).eInverseRemove(this, ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET, EditHelperAdviceConfiguration.class, msgs);
- if (newEditHelperAdviceConfiguration != null)
- msgs = ((InternalEObject)newEditHelperAdviceConfiguration).eInverseAdd(this, ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION__TARGET, EditHelperAdviceConfiguration.class, msgs);
- msgs = basicSetEditHelperAdviceConfiguration(newEditHelperAdviceConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, newEditHelperAdviceConfiguration, newEditHelperAdviceConfiguration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ContainerConfiguration getContainerConfiguration() {
- return containerConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetContainerConfiguration(ContainerConfiguration newContainerConfiguration, NotificationChain msgs) {
- ContainerConfiguration oldContainerConfiguration = containerConfiguration;
- containerConfiguration = newContainerConfiguration;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION, oldContainerConfiguration, newContainerConfiguration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setContainerConfiguration(ContainerConfiguration newContainerConfiguration) {
- if (newContainerConfiguration != containerConfiguration) {
- NotificationChain msgs = null;
- if (containerConfiguration != null)
- msgs = ((InternalEObject)containerConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION, null, msgs);
- if (newContainerConfiguration != null)
- msgs = ((InternalEObject)newContainerConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION, null, msgs);
- msgs = basicSetContainerConfiguration(newContainerConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION, newContainerConfiguration, newContainerConfiguration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MatcherConfiguration getMatcherConfiguration() {
- return matcherConfiguration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetMatcherConfiguration(MatcherConfiguration newMatcherConfiguration, NotificationChain msgs) {
- MatcherConfiguration oldMatcherConfiguration = matcherConfiguration;
- matcherConfiguration = newMatcherConfiguration;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION, oldMatcherConfiguration, newMatcherConfiguration);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMatcherConfiguration(MatcherConfiguration newMatcherConfiguration) {
- if (newMatcherConfiguration != matcherConfiguration) {
- NotificationChain msgs = null;
- if (matcherConfiguration != null)
- msgs = ((InternalEObject)matcherConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION, null, msgs);
- if (newMatcherConfiguration != null)
- msgs = ((InternalEObject)newMatcherConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION, null, msgs);
- msgs = basicSetMatcherConfiguration(newMatcherConfiguration, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION, newMatcherConfiguration, newMatcherConfiguration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION:
- if (editHelperAdviceConfiguration != null)
- msgs = ((InternalEObject)editHelperAdviceConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, null, msgs);
- return basicSetEditHelperAdviceConfiguration((EditHelperAdviceConfiguration)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 ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION:
- return basicSetEditHelperAdviceConfiguration(null, msgs);
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION:
- return basicSetContainerConfiguration(null, msgs);
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION:
- return basicSetMatcherConfiguration(null, 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 ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID:
- return getSpecializedTypesID();
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION:
- return getEditHelperAdviceConfiguration();
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION:
- return getContainerConfiguration();
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION:
- return getMatcherConfiguration();
- }
- 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 ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID:
- getSpecializedTypesID().clear();
- getSpecializedTypesID().addAll((Collection<? extends String>)newValue);
- return;
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION:
- setEditHelperAdviceConfiguration((EditHelperAdviceConfiguration)newValue);
- return;
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION:
- setContainerConfiguration((ContainerConfiguration)newValue);
- return;
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION:
- setMatcherConfiguration((MatcherConfiguration)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID:
- getSpecializedTypesID().clear();
- return;
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION:
- setEditHelperAdviceConfiguration((EditHelperAdviceConfiguration)null);
- return;
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION:
- setContainerConfiguration((ContainerConfiguration)null);
- return;
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION:
- setMatcherConfiguration((MatcherConfiguration)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID:
- return specializedTypesID != null && !specializedTypesID.isEmpty();
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION:
- return editHelperAdviceConfiguration != null;
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION:
- return containerConfiguration != null;
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION:
- return matcherConfiguration != null;
- }
- 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(" (specializedTypesID: ");
- result.append(specializedTypesID);
- result.append(')');
- return result.toString();
- }
-
-} //SpecializationTypeConfigurationImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.EDataTypeUniqueEList; + +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration; +import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage; +import org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Specialization Type Configuration</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl#getSpecializedTypesID <em>Specialized Types ID</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl#getEditHelperAdviceConfiguration <em>Edit Helper Advice Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl#getContainerConfiguration <em>Container Configuration</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.elementtypesconfigurations.impl.SpecializationTypeConfigurationImpl#getMatcherConfiguration <em>Matcher Configuration</em>}</li> + * </ul> + * + * @generated + */ +public class SpecializationTypeConfigurationImpl extends ElementTypeConfigurationImpl implements SpecializationTypeConfiguration { + /** + * The cached value of the '{@link #getSpecializedTypesID() <em>Specialized Types ID</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSpecializedTypesID() + * @generated + * @ordered + */ + protected EList<String> specializedTypesID; + + /** + * The cached value of the '{@link #getEditHelperAdviceConfiguration() <em>Edit Helper Advice Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEditHelperAdviceConfiguration() + * @generated + * @ordered + */ + protected AbstractEditHelperAdviceConfiguration editHelperAdviceConfiguration; + + /** + * The cached value of the '{@link #getContainerConfiguration() <em>Container Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getContainerConfiguration() + * @generated + * @ordered + */ + protected ContainerConfiguration containerConfiguration; + + /** + * The cached value of the '{@link #getMatcherConfiguration() <em>Matcher Configuration</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMatcherConfiguration() + * @generated + * @ordered + */ + protected AbstractMatcherConfiguration matcherConfiguration; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SpecializationTypeConfigurationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ElementtypesconfigurationsPackage.Literals.SPECIALIZATION_TYPE_CONFIGURATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getSpecializedTypesID() { + if (specializedTypesID == null) { + specializedTypesID = new EDataTypeUniqueEList<String>(String.class, this, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID); + } + return specializedTypesID; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AbstractEditHelperAdviceConfiguration getEditHelperAdviceConfiguration() { + return editHelperAdviceConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetEditHelperAdviceConfiguration(AbstractEditHelperAdviceConfiguration newEditHelperAdviceConfiguration, NotificationChain msgs) { + AbstractEditHelperAdviceConfiguration oldEditHelperAdviceConfiguration = editHelperAdviceConfiguration; + editHelperAdviceConfiguration = newEditHelperAdviceConfiguration; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, oldEditHelperAdviceConfiguration, newEditHelperAdviceConfiguration); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEditHelperAdviceConfiguration(AbstractEditHelperAdviceConfiguration newEditHelperAdviceConfiguration) { + if (newEditHelperAdviceConfiguration != editHelperAdviceConfiguration) { + NotificationChain msgs = null; + if (editHelperAdviceConfiguration != null) + msgs = ((InternalEObject)editHelperAdviceConfiguration).eInverseRemove(this, ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET, AbstractEditHelperAdviceConfiguration.class, msgs); + if (newEditHelperAdviceConfiguration != null) + msgs = ((InternalEObject)newEditHelperAdviceConfiguration).eInverseAdd(this, ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION__TARGET, AbstractEditHelperAdviceConfiguration.class, msgs); + msgs = basicSetEditHelperAdviceConfiguration(newEditHelperAdviceConfiguration, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, newEditHelperAdviceConfiguration, newEditHelperAdviceConfiguration)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ContainerConfiguration getContainerConfiguration() { + return containerConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetContainerConfiguration(ContainerConfiguration newContainerConfiguration, NotificationChain msgs) { + ContainerConfiguration oldContainerConfiguration = containerConfiguration; + containerConfiguration = newContainerConfiguration; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION, oldContainerConfiguration, newContainerConfiguration); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setContainerConfiguration(ContainerConfiguration newContainerConfiguration) { + if (newContainerConfiguration != containerConfiguration) { + NotificationChain msgs = null; + if (containerConfiguration != null) + msgs = ((InternalEObject)containerConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION, null, msgs); + if (newContainerConfiguration != null) + msgs = ((InternalEObject)newContainerConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION, null, msgs); + msgs = basicSetContainerConfiguration(newContainerConfiguration, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION, newContainerConfiguration, newContainerConfiguration)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AbstractMatcherConfiguration getMatcherConfiguration() { + return matcherConfiguration; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMatcherConfiguration(AbstractMatcherConfiguration newMatcherConfiguration, NotificationChain msgs) { + AbstractMatcherConfiguration oldMatcherConfiguration = matcherConfiguration; + matcherConfiguration = newMatcherConfiguration; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION, oldMatcherConfiguration, newMatcherConfiguration); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMatcherConfiguration(AbstractMatcherConfiguration newMatcherConfiguration) { + if (newMatcherConfiguration != matcherConfiguration) { + NotificationChain msgs = null; + if (matcherConfiguration != null) + msgs = ((InternalEObject)matcherConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION, null, msgs); + if (newMatcherConfiguration != null) + msgs = ((InternalEObject)newMatcherConfiguration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION, null, msgs); + msgs = basicSetMatcherConfiguration(newMatcherConfiguration, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION, newMatcherConfiguration, newMatcherConfiguration)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION: + if (editHelperAdviceConfiguration != null) + msgs = ((InternalEObject)editHelperAdviceConfiguration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION, null, msgs); + return basicSetEditHelperAdviceConfiguration((AbstractEditHelperAdviceConfiguration)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 ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION: + return basicSetEditHelperAdviceConfiguration(null, msgs); + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION: + return basicSetContainerConfiguration(null, msgs); + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION: + return basicSetMatcherConfiguration(null, 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 ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID: + return getSpecializedTypesID(); + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION: + return getEditHelperAdviceConfiguration(); + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION: + return getContainerConfiguration(); + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION: + return getMatcherConfiguration(); + } + 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 ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID: + getSpecializedTypesID().clear(); + getSpecializedTypesID().addAll((Collection<? extends String>)newValue); + return; + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION: + setEditHelperAdviceConfiguration((AbstractEditHelperAdviceConfiguration)newValue); + return; + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION: + setContainerConfiguration((ContainerConfiguration)newValue); + return; + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION: + setMatcherConfiguration((AbstractMatcherConfiguration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID: + getSpecializedTypesID().clear(); + return; + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION: + setEditHelperAdviceConfiguration((AbstractEditHelperAdviceConfiguration)null); + return; + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION: + setContainerConfiguration((ContainerConfiguration)null); + return; + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION: + setMatcherConfiguration((AbstractMatcherConfiguration)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__SPECIALIZED_TYPES_ID: + return specializedTypesID != null && !specializedTypesID.isEmpty(); + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__EDIT_HELPER_ADVICE_CONFIGURATION: + return editHelperAdviceConfiguration != null; + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__CONTAINER_CONFIGURATION: + return containerConfiguration != null; + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION__MATCHER_CONFIGURATION: + return matcherConfiguration != null; + } + 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(" (specializedTypesID: "); + result.append(specializedTypesID); + result.append(')'); + return result.toString(); + } + +} //SpecializationTypeConfigurationImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsAdapterFactory.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsAdapterFactory.java index efb18b31821..fb061dc40b8 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsAdapterFactory.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsAdapterFactory.java @@ -1,310 +1,400 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.*;
-
-/**
- * <!-- 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.elementtypesconfigurations.ElementtypesconfigurationsPackage
- * @generated
- */
-public class ElementtypesconfigurationsAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ElementtypesconfigurationsPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementtypesconfigurationsAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = ElementtypesconfigurationsPackage.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 ElementtypesconfigurationsSwitch<Adapter> modelSwitch =
- new ElementtypesconfigurationsSwitch<Adapter>() {
- @Override
- public Adapter caseElementTypeSetConfiguration(ElementTypeSetConfiguration object) {
- return createElementTypeSetConfigurationAdapter();
- }
- @Override
- public Adapter caseElementTypeConfiguration(ElementTypeConfiguration object) {
- return createElementTypeConfigurationAdapter();
- }
- @Override
- public Adapter caseIconEntry(IconEntry object) {
- return createIconEntryAdapter();
- }
- @Override
- public Adapter caseConfigurationElement(ConfigurationElement object) {
- return createConfigurationElementAdapter();
- }
- @Override
- public Adapter caseMatcherConfiguration(MatcherConfiguration object) {
- return createMatcherConfigurationAdapter();
- }
- @Override
- public Adapter caseAdviceConfiguration(AdviceConfiguration object) {
- return createAdviceConfigurationAdapter();
- }
- @Override
- public Adapter caseAdviceBindingConfiguration(AdviceBindingConfiguration object) {
- return createAdviceBindingConfigurationAdapter();
- }
- @Override
- public Adapter caseSpecializationTypeConfiguration(SpecializationTypeConfiguration object) {
- return createSpecializationTypeConfigurationAdapter();
- }
- @Override
- public Adapter caseContainerConfiguration(ContainerConfiguration object) {
- return createContainerConfigurationAdapter();
- }
- @Override
- public Adapter caseMetamodelTypeConfiguration(MetamodelTypeConfiguration object) {
- return createMetamodelTypeConfigurationAdapter();
- }
- @Override
- public Adapter caseEditHelperAdviceConfiguration(EditHelperAdviceConfiguration object) {
- return createEditHelperAdviceConfigurationAdapter();
- }
- @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.elementtypesconfigurations.ElementTypeSetConfiguration <em>Element Type Set 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.elementtypesconfigurations.ElementTypeSetConfiguration
- * @generated
- */
- public Adapter createElementTypeSetConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration <em>Element Type 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.elementtypesconfigurations.ElementTypeConfiguration
- * @generated
- */
- public Adapter createElementTypeConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry <em>Icon Entry</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.elementtypesconfigurations.IconEntry
- * @generated
- */
- public Adapter createIconEntryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement <em>Configuration 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.elementtypesconfigurations.ConfigurationElement
- * @generated
- */
- public Adapter createConfigurationElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration <em>Matcher 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.elementtypesconfigurations.MatcherConfiguration
- * @generated
- */
- public Adapter createMatcherConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration <em>Advice 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.elementtypesconfigurations.AdviceConfiguration
- * @generated
- */
- public Adapter createAdviceConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration <em>Advice Binding 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.elementtypesconfigurations.AdviceBindingConfiguration
- * @generated
- */
- public Adapter createAdviceBindingConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration <em>Specialization Type 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.elementtypesconfigurations.SpecializationTypeConfiguration
- * @generated
- */
- public Adapter createSpecializationTypeConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration <em>Container 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.elementtypesconfigurations.ContainerConfiguration
- * @generated
- */
- public Adapter createContainerConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration <em>Metamodel Type 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.elementtypesconfigurations.MetamodelTypeConfiguration
- * @generated
- */
- public Adapter createMetamodelTypeConfigurationAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration <em>Edit Helper Advice 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.elementtypesconfigurations.EditHelperAdviceConfiguration
- * @generated
- */
- public Adapter createEditHelperAdviceConfigurationAdapter() {
- 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;
- }
-
-} //ElementtypesconfigurationsAdapterFactory
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.*; + +/** + * <!-- 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.elementtypesconfigurations.ElementtypesconfigurationsPackage + * @generated + */ +public class ElementtypesconfigurationsAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ElementtypesconfigurationsPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementtypesconfigurationsAdapterFactory() { + if (modelPackage == null) { + modelPackage = ElementtypesconfigurationsPackage.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 ElementtypesconfigurationsSwitch<Adapter> modelSwitch = + new ElementtypesconfigurationsSwitch<Adapter>() { + @Override + public Adapter caseElementTypeSetConfiguration(ElementTypeSetConfiguration object) { + return createElementTypeSetConfigurationAdapter(); + } + @Override + public Adapter caseElementTypeConfiguration(ElementTypeConfiguration object) { + return createElementTypeConfigurationAdapter(); + } + @Override + public Adapter caseIconEntry(IconEntry object) { + return createIconEntryAdapter(); + } + @Override + public Adapter caseConfigurationElement(ConfigurationElement object) { + return createConfigurationElementAdapter(); + } + @Override + public Adapter caseAbstractMatcherConfiguration(AbstractMatcherConfiguration object) { + return createAbstractMatcherConfigurationAdapter(); + } + @Override + public Adapter caseAdviceConfiguration(AdviceConfiguration object) { + return createAdviceConfigurationAdapter(); + } + @Override + public Adapter caseAbstractAdviceBindingConfiguration(AbstractAdviceBindingConfiguration object) { + return createAbstractAdviceBindingConfigurationAdapter(); + } + @Override + public Adapter caseSpecializationTypeConfiguration(SpecializationTypeConfiguration object) { + return createSpecializationTypeConfigurationAdapter(); + } + @Override + public Adapter caseContainerConfiguration(ContainerConfiguration object) { + return createContainerConfigurationAdapter(); + } + @Override + public Adapter caseMetamodelTypeConfiguration(MetamodelTypeConfiguration object) { + return createMetamodelTypeConfigurationAdapter(); + } + @Override + public Adapter caseAbstractEditHelperAdviceConfiguration(AbstractEditHelperAdviceConfiguration object) { + return createAbstractEditHelperAdviceConfigurationAdapter(); + } + @Override + public Adapter caseEditHelperAdviceConfiguration(EditHelperAdviceConfiguration object) { + return createEditHelperAdviceConfigurationAdapter(); + } + @Override + public Adapter caseAdviceBindingConfiguration(AdviceBindingConfiguration object) { + return createAdviceBindingConfigurationAdapter(); + } + @Override + public Adapter caseMatcherConfiguration(MatcherConfiguration object) { + return createMatcherConfigurationAdapter(); + } + @Override + public Adapter caseIdentifiedConfiguration(IdentifiedConfiguration object) { + return createIdentifiedConfigurationAdapter(); + } + @Override + public Adapter caseNamedConfiguration(NamedConfiguration object) { + return createNamedConfigurationAdapter(); + } + @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.elementtypesconfigurations.ElementTypeSetConfiguration <em>Element Type Set 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.elementtypesconfigurations.ElementTypeSetConfiguration + * @generated + */ + public Adapter createElementTypeSetConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ElementTypeConfiguration <em>Element Type 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.elementtypesconfigurations.ElementTypeConfiguration + * @generated + */ + public Adapter createElementTypeConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IconEntry <em>Icon Entry</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.elementtypesconfigurations.IconEntry + * @generated + */ + public Adapter createIconEntryAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ConfigurationElement <em>Configuration 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.elementtypesconfigurations.ConfigurationElement + * @generated + */ + public Adapter createConfigurationElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractMatcherConfiguration <em>Abstract Matcher 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.elementtypesconfigurations.AbstractMatcherConfiguration + * @generated + */ + public Adapter createAbstractMatcherConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceConfiguration <em>Advice 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.elementtypesconfigurations.AdviceConfiguration + * @generated + */ + public Adapter createAdviceConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractAdviceBindingConfiguration <em>Abstract Advice Binding 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.elementtypesconfigurations.AbstractAdviceBindingConfiguration + * @generated + */ + public Adapter createAbstractAdviceBindingConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.SpecializationTypeConfiguration <em>Specialization Type 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.elementtypesconfigurations.SpecializationTypeConfiguration + * @generated + */ + public Adapter createSpecializationTypeConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.ContainerConfiguration <em>Container 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.elementtypesconfigurations.ContainerConfiguration + * @generated + */ + public Adapter createContainerConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MetamodelTypeConfiguration <em>Metamodel Type 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.elementtypesconfigurations.MetamodelTypeConfiguration + * @generated + */ + public Adapter createMetamodelTypeConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration <em>Abstract Edit Helper Advice 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.elementtypesconfigurations.AbstractEditHelperAdviceConfiguration + * @generated + */ + public Adapter createAbstractEditHelperAdviceConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.EditHelperAdviceConfiguration <em>Edit Helper Advice 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.elementtypesconfigurations.EditHelperAdviceConfiguration + * @generated + */ + public Adapter createEditHelperAdviceConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.AdviceBindingConfiguration <em>Advice Binding 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.elementtypesconfigurations.AdviceBindingConfiguration + * @generated + */ + public Adapter createAdviceBindingConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.MatcherConfiguration <em>Matcher 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.elementtypesconfigurations.MatcherConfiguration + * @generated + */ + public Adapter createMatcherConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.IdentifiedConfiguration <em>Identified 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.elementtypesconfigurations.IdentifiedConfiguration + * @generated + */ + public Adapter createIdentifiedConfigurationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.elementtypesconfigurations.NamedConfiguration <em>Named 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.elementtypesconfigurations.NamedConfiguration + * @generated + */ + public Adapter createNamedConfigurationAdapter() { + 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; + } + +} //ElementtypesconfigurationsAdapterFactory diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsResourceFactoryImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsResourceFactoryImpl.java index da99ddd4af2..5c62811f637 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsResourceFactoryImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsResourceFactoryImpl.java @@ -1,51 +1,51 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.util.ElementtypesconfigurationsResourceImpl
- * @generated
- */
-public class ElementtypesconfigurationsResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementtypesconfigurationsResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- Resource result = new ElementtypesconfigurationsResourceImpl(uri);
- return result;
- }
-
-} //ElementtypesconfigurationsResourceFactoryImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.util.ElementtypesconfigurationsResourceImpl + * @generated + */ +public class ElementtypesconfigurationsResourceFactoryImpl extends ResourceFactoryImpl { + /** + * Creates an instance of the resource factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementtypesconfigurationsResourceFactoryImpl() { + super(); + } + + /** + * Creates an instance of the resource. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Resource createResource(URI uri) { + Resource result = new ElementtypesconfigurationsResourceImpl(uri); + return result; + } + +} //ElementtypesconfigurationsResourceFactoryImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsResourceImpl.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsResourceImpl.java index 9342d2e4bb1..2b6fa588b26 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsResourceImpl.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsResourceImpl.java @@ -1,37 +1,38 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.util.ElementtypesconfigurationsResourceFactoryImpl
- * @generated
- */
-public class ElementtypesconfigurationsResourceImpl extends XMIResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public ElementtypesconfigurationsResourceImpl(URI uri) {
- super(uri);
- }
-
-} //ElementtypesconfigurationsResourceImpl
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.util.ElementtypesconfigurationsResourceFactoryImpl + * @generated + */ +public class ElementtypesconfigurationsResourceImpl extends XMIResourceImpl { + /** + * Creates an instance of the resource. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param uri the URI of the new resource. + * @generated + */ + public ElementtypesconfigurationsResourceImpl(URI uri) { + super(uri); + } + +} //ElementtypesconfigurationsResourceImpl diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsSwitch.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsSwitch.java index e7eb0eeca54..74edf0afdc4 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsSwitch.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsSwitch.java @@ -1,341 +1,463 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.*;
-
-/**
- * <!-- 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.elementtypesconfigurations.ElementtypesconfigurationsPackage
- * @generated
- */
-public class ElementtypesconfigurationsSwitch<T> extends Switch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ElementtypesconfigurationsPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementtypesconfigurationsSwitch() {
- if (modelPackage == null) {
- modelPackage = ElementtypesconfigurationsPackage.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 ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION: {
- ElementTypeSetConfiguration elementTypeSetConfiguration = (ElementTypeSetConfiguration)theEObject;
- T result = caseElementTypeSetConfiguration(elementTypeSetConfiguration);
- if (result == null) result = caseConfigurationElement(elementTypeSetConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION: {
- ElementTypeConfiguration elementTypeConfiguration = (ElementTypeConfiguration)theEObject;
- T result = caseElementTypeConfiguration(elementTypeConfiguration);
- if (result == null) result = caseConfigurationElement(elementTypeConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.ICON_ENTRY: {
- IconEntry iconEntry = (IconEntry)theEObject;
- T result = caseIconEntry(iconEntry);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT: {
- ConfigurationElement configurationElement = (ConfigurationElement)theEObject;
- T result = caseConfigurationElement(configurationElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION: {
- MatcherConfiguration matcherConfiguration = (MatcherConfiguration)theEObject;
- T result = caseMatcherConfiguration(matcherConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION: {
- AdviceConfiguration adviceConfiguration = (AdviceConfiguration)theEObject;
- T result = caseAdviceConfiguration(adviceConfiguration);
- if (result == null) result = caseConfigurationElement(adviceConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION: {
- AdviceBindingConfiguration adviceBindingConfiguration = (AdviceBindingConfiguration)theEObject;
- T result = caseAdviceBindingConfiguration(adviceBindingConfiguration);
- if (result == null) result = caseAdviceConfiguration(adviceBindingConfiguration);
- if (result == null) result = caseConfigurationElement(adviceBindingConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION: {
- SpecializationTypeConfiguration specializationTypeConfiguration = (SpecializationTypeConfiguration)theEObject;
- T result = caseSpecializationTypeConfiguration(specializationTypeConfiguration);
- if (result == null) result = caseElementTypeConfiguration(specializationTypeConfiguration);
- if (result == null) result = caseConfigurationElement(specializationTypeConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION: {
- ContainerConfiguration containerConfiguration = (ContainerConfiguration)theEObject;
- T result = caseContainerConfiguration(containerConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION: {
- MetamodelTypeConfiguration metamodelTypeConfiguration = (MetamodelTypeConfiguration)theEObject;
- T result = caseMetamodelTypeConfiguration(metamodelTypeConfiguration);
- if (result == null) result = caseElementTypeConfiguration(metamodelTypeConfiguration);
- if (result == null) result = caseConfigurationElement(metamodelTypeConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION: {
- EditHelperAdviceConfiguration editHelperAdviceConfiguration = (EditHelperAdviceConfiguration)theEObject;
- T result = caseEditHelperAdviceConfiguration(editHelperAdviceConfiguration);
- if (result == null) result = caseAdviceConfiguration(editHelperAdviceConfiguration);
- if (result == null) result = caseConfigurationElement(editHelperAdviceConfiguration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Element Type Set 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>Element Type Set Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseElementTypeSetConfiguration(ElementTypeSetConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Element Type 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>Element Type Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseElementTypeConfiguration(ElementTypeConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Icon Entry</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>Icon Entry</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseIconEntry(IconEntry object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Configuration 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>Configuration Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseConfigurationElement(ConfigurationElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Matcher 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>Matcher Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMatcherConfiguration(MatcherConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Advice 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>Advice Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAdviceConfiguration(AdviceConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Advice Binding 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>Advice Binding Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAdviceBindingConfiguration(AdviceBindingConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Specialization Type 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>Specialization Type Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseSpecializationTypeConfiguration(SpecializationTypeConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Container 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>Container Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseContainerConfiguration(ContainerConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Metamodel Type 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>Metamodel Type Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMetamodelTypeConfiguration(MetamodelTypeConfiguration object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Edit Helper Advice 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>Edit Helper Advice Configuration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEditHelperAdviceConfiguration(EditHelperAdviceConfiguration 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;
- }
-
-} //ElementtypesconfigurationsSwitch
+/** + * Copyright (c) 2014 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + */ +package org.eclipse.papyrus.infra.elementtypesconfigurations.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.elementtypesconfigurations.*; + +/** + * <!-- 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.elementtypesconfigurations.ElementtypesconfigurationsPackage + * @generated + */ +public class ElementtypesconfigurationsSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ElementtypesconfigurationsPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementtypesconfigurationsSwitch() { + if (modelPackage == null) { + modelPackage = ElementtypesconfigurationsPackage.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 ElementtypesconfigurationsPackage.ELEMENT_TYPE_SET_CONFIGURATION: { + ElementTypeSetConfiguration elementTypeSetConfiguration = (ElementTypeSetConfiguration)theEObject; + T result = caseElementTypeSetConfiguration(elementTypeSetConfiguration); + if (result == null) result = caseConfigurationElement(elementTypeSetConfiguration); + if (result == null) result = caseIdentifiedConfiguration(elementTypeSetConfiguration); + if (result == null) result = caseNamedConfiguration(elementTypeSetConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.ELEMENT_TYPE_CONFIGURATION: { + ElementTypeConfiguration elementTypeConfiguration = (ElementTypeConfiguration)theEObject; + T result = caseElementTypeConfiguration(elementTypeConfiguration); + if (result == null) result = caseConfigurationElement(elementTypeConfiguration); + if (result == null) result = caseIdentifiedConfiguration(elementTypeConfiguration); + if (result == null) result = caseNamedConfiguration(elementTypeConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.ICON_ENTRY: { + IconEntry iconEntry = (IconEntry)theEObject; + T result = caseIconEntry(iconEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.CONFIGURATION_ELEMENT: { + ConfigurationElement configurationElement = (ConfigurationElement)theEObject; + T result = caseConfigurationElement(configurationElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.ABSTRACT_MATCHER_CONFIGURATION: { + AbstractMatcherConfiguration abstractMatcherConfiguration = (AbstractMatcherConfiguration)theEObject; + T result = caseAbstractMatcherConfiguration(abstractMatcherConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.ADVICE_CONFIGURATION: { + AdviceConfiguration adviceConfiguration = (AdviceConfiguration)theEObject; + T result = caseAdviceConfiguration(adviceConfiguration); + if (result == null) result = caseConfigurationElement(adviceConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.ABSTRACT_ADVICE_BINDING_CONFIGURATION: { + AbstractAdviceBindingConfiguration abstractAdviceBindingConfiguration = (AbstractAdviceBindingConfiguration)theEObject; + T result = caseAbstractAdviceBindingConfiguration(abstractAdviceBindingConfiguration); + if (result == null) result = caseAdviceConfiguration(abstractAdviceBindingConfiguration); + if (result == null) result = caseIdentifiedConfiguration(abstractAdviceBindingConfiguration); + if (result == null) result = caseConfigurationElement(abstractAdviceBindingConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.SPECIALIZATION_TYPE_CONFIGURATION: { + SpecializationTypeConfiguration specializationTypeConfiguration = (SpecializationTypeConfiguration)theEObject; + T result = caseSpecializationTypeConfiguration(specializationTypeConfiguration); + if (result == null) result = caseElementTypeConfiguration(specializationTypeConfiguration); + if (result == null) result = caseConfigurationElement(specializationTypeConfiguration); + if (result == null) result = caseIdentifiedConfiguration(specializationTypeConfiguration); + if (result == null) result = caseNamedConfiguration(specializationTypeConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.CONTAINER_CONFIGURATION: { + ContainerConfiguration containerConfiguration = (ContainerConfiguration)theEObject; + T result = caseContainerConfiguration(containerConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.METAMODEL_TYPE_CONFIGURATION: { + MetamodelTypeConfiguration metamodelTypeConfiguration = (MetamodelTypeConfiguration)theEObject; + T result = caseMetamodelTypeConfiguration(metamodelTypeConfiguration); + if (result == null) result = caseElementTypeConfiguration(metamodelTypeConfiguration); + if (result == null) result = caseConfigurationElement(metamodelTypeConfiguration); + if (result == null) result = caseIdentifiedConfiguration(metamodelTypeConfiguration); + if (result == null) result = caseNamedConfiguration(metamodelTypeConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.ABSTRACT_EDIT_HELPER_ADVICE_CONFIGURATION: { + AbstractEditHelperAdviceConfiguration abstractEditHelperAdviceConfiguration = (AbstractEditHelperAdviceConfiguration)theEObject; + T result = caseAbstractEditHelperAdviceConfiguration(abstractEditHelperAdviceConfiguration); + if (result == null) result = caseAdviceConfiguration(abstractEditHelperAdviceConfiguration); + if (result == null) result = caseConfigurationElement(abstractEditHelperAdviceConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.EDIT_HELPER_ADVICE_CONFIGURATION: { + EditHelperAdviceConfiguration editHelperAdviceConfiguration = (EditHelperAdviceConfiguration)theEObject; + T result = caseEditHelperAdviceConfiguration(editHelperAdviceConfiguration); + if (result == null) result = caseAbstractEditHelperAdviceConfiguration(editHelperAdviceConfiguration); + if (result == null) result = caseAdviceConfiguration(editHelperAdviceConfiguration); + if (result == null) result = caseConfigurationElement(editHelperAdviceConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.ADVICE_BINDING_CONFIGURATION: { + AdviceBindingConfiguration adviceBindingConfiguration = (AdviceBindingConfiguration)theEObject; + T result = caseAdviceBindingConfiguration(adviceBindingConfiguration); + if (result == null) result = caseAbstractAdviceBindingConfiguration(adviceBindingConfiguration); + if (result == null) result = caseAdviceConfiguration(adviceBindingConfiguration); + if (result == null) result = caseIdentifiedConfiguration(adviceBindingConfiguration); + if (result == null) result = caseConfigurationElement(adviceBindingConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.MATCHER_CONFIGURATION: { + MatcherConfiguration matcherConfiguration = (MatcherConfiguration)theEObject; + T result = caseMatcherConfiguration(matcherConfiguration); + if (result == null) result = caseAbstractMatcherConfiguration(matcherConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.IDENTIFIED_CONFIGURATION: { + IdentifiedConfiguration identifiedConfiguration = (IdentifiedConfiguration)theEObject; + T result = caseIdentifiedConfiguration(identifiedConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ElementtypesconfigurationsPackage.NAMED_CONFIGURATION: { + NamedConfiguration namedConfiguration = (NamedConfiguration)theEObject; + T result = caseNamedConfiguration(namedConfiguration); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Element Type Set 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>Element Type Set Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseElementTypeSetConfiguration(ElementTypeSetConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Element Type 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>Element Type Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseElementTypeConfiguration(ElementTypeConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Icon Entry</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>Icon Entry</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIconEntry(IconEntry object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Configuration 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>Configuration Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigurationElement(ConfigurationElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Matcher 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>Abstract Matcher Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractMatcherConfiguration(AbstractMatcherConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Advice 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>Advice Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAdviceConfiguration(AdviceConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Advice Binding 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>Abstract Advice Binding Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractAdviceBindingConfiguration(AbstractAdviceBindingConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Specialization Type 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>Specialization Type Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSpecializationTypeConfiguration(SpecializationTypeConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Container 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>Container Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContainerConfiguration(ContainerConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Metamodel Type 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>Metamodel Type Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelTypeConfiguration(MetamodelTypeConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Edit Helper Advice 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>Abstract Edit Helper Advice Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractEditHelperAdviceConfiguration(AbstractEditHelperAdviceConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Edit Helper Advice 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>Edit Helper Advice Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEditHelperAdviceConfiguration(EditHelperAdviceConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Advice Binding 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>Advice Binding Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAdviceBindingConfiguration(AdviceBindingConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Matcher 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>Matcher Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMatcherConfiguration(MatcherConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Identified 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>Identified Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIdentifiedConfiguration(IdentifiedConfiguration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Named 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>Named Configuration</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNamedConfiguration(NamedConfiguration 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; + } + +} //ElementtypesconfigurationsSwitch diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsXMLProcessor.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsXMLProcessor.java deleted file mode 100644 index b788a9f6cdd..00000000000 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src-gen/org/eclipse/papyrus/infra/elementtypesconfigurations/util/ElementtypesconfigurationsXMLProcessor.java +++ /dev/null @@ -1,60 +0,0 @@ -/**
- * Copyright (c) 2014 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.elementtypesconfigurations.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-import org.eclipse.papyrus.infra.elementtypesconfigurations.ElementtypesconfigurationsPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ElementtypesconfigurationsXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ElementtypesconfigurationsXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- ElementtypesconfigurationsPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the ElementtypesconfigurationsResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations() {
- if (registrations == null) {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new ElementtypesconfigurationsResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new ElementtypesconfigurationsResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //ElementtypesconfigurationsXMLProcessor
|