Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/TransformationLabelImpl.java')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/TransformationLabelImpl.java259
1 files changed, 0 insertions, 259 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/TransformationLabelImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/TransformationLabelImpl.java
deleted file mode 100644
index 04de6a64a6e..00000000000
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/TransformationLabelImpl.java
+++ /dev/null
@@ -1,259 +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.umldi.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.umldi.ObjectFlowEdge;
-import org.eclipse.papyrus.umldi.TransformationLabel;
-import org.eclipse.papyrus.umldi.UMLDIPackage;
-import org.eclipse.papyrus.umldi.UmlDiagramElement;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Transformation Label</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.papyrus.umldi.impl.TransformationLabelImpl#getOwningUmlDiagramElement <em>Owning Uml Diagram Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.umldi.impl.TransformationLabelImpl#getObjectFlowEdge <em>Object Flow Edge</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class TransformationLabelImpl extends UmlLabelImpl implements TransformationLabel {
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected TransformationLabelImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return UMLDIPackage.Literals.TRANSFORMATION_LABEL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public UmlDiagramElement getOwningUmlDiagramElement() {
- UmlDiagramElement owningUmlDiagramElement = basicGetOwningUmlDiagramElement();
- return owningUmlDiagramElement != null && owningUmlDiagramElement.eIsProxy() ? (UmlDiagramElement)eResolveProxy((InternalEObject)owningUmlDiagramElement) : owningUmlDiagramElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public UmlDiagramElement basicGetOwningUmlDiagramElement() {
- ObjectFlowEdge objectFlowEdge = getObjectFlowEdge();
- if(objectFlowEdge != null) {
- return objectFlowEdge;
- }
- return super.basicGetOwningUmlDiagramElement();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ObjectFlowEdge getObjectFlowEdge() {
- if(eContainerFeatureID() != UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE)
- return null;
- return (ObjectFlowEdge)eInternalContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetObjectFlowEdge(ObjectFlowEdge newObjectFlowEdge, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newObjectFlowEdge, UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setObjectFlowEdge(ObjectFlowEdge newObjectFlowEdge) {
- if(newObjectFlowEdge != eInternalContainer() || (eContainerFeatureID() != UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE && newObjectFlowEdge != null)) {
- if(EcoreUtil.isAncestor(this, newObjectFlowEdge))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if(eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if(newObjectFlowEdge != null)
- msgs = ((InternalEObject)newObjectFlowEdge).eInverseAdd(this, UMLDIPackage.OBJECT_FLOW_EDGE__TRANSFORMATION_LABEL, ObjectFlowEdge.class, msgs);
- msgs = basicSetObjectFlowEdge(newObjectFlowEdge, msgs);
- if(msgs != null)
- msgs.dispatch();
- } else if(eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE, newObjectFlowEdge, newObjectFlowEdge));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE:
- if(eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetObjectFlowEdge((ObjectFlowEdge)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 UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE:
- return basicSetObjectFlowEdge(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch(eContainerFeatureID()) {
- case UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE:
- return eInternalContainer().eInverseRemove(this, UMLDIPackage.OBJECT_FLOW_EDGE__TRANSFORMATION_LABEL, ObjectFlowEdge.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 UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE:
- return getObjectFlowEdge();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE:
- setObjectFlowEdge((ObjectFlowEdge)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch(featureID) {
- case UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE:
- setObjectFlowEdge((ObjectFlowEdge)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch(featureID) {
- case UMLDIPackage.TRANSFORMATION_LABEL__OWNING_UML_DIAGRAM_ELEMENT:
- return isSetOwningUmlDiagramElement();
- case UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE:
- return getObjectFlowEdge() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean isSetOwningUmlDiagramElement() {
- return super.isSetOwningUmlDiagramElement() || eIsSet(UMLDIPackage.TRANSFORMATION_LABEL__OBJECT_FLOW_EDGE);
- }
-} //TransformationLabelImpl

Back to the top