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/UmlLabelImpl.java')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UmlLabelImpl.java90
1 files changed, 55 insertions, 35 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UmlLabelImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UmlLabelImpl.java
index 41380716de1..ab5e4d8b53d 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UmlLabelImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.umldi/src-gen/org/eclipse/papyrus/umldi/impl/UmlLabelImpl.java
@@ -35,16 +35,18 @@ import org.eclipse.papyrus.umldi.UmlLabel;
* The following features are implemented:
* </p>
* <ul>
- * <li>{@link org.eclipse.papyrus.umldi.impl.UmlLabelImpl#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.umldi.impl.UmlLabelImpl#getBounds <em>Bounds</em>}</li>
* </ul>
*
* @generated
*/
public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlLabel {
+
/**
* The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getBounds()
* @generated
* @ordered
@@ -54,6 +56,7 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected UmlLabelImpl() {
@@ -63,6 +66,7 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -73,6 +77,7 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public Bounds getBounds() {
@@ -82,14 +87,18 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetBounds(Bounds newBounds, NotificationChain msgs) {
Bounds oldBounds = bounds;
bounds = newBounds;
- if (eNotificationRequired()) {
+ if(eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLDIPackage.UML_LABEL__BOUNDS, oldBounds, newBounds);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ if(msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
}
return msgs;
}
@@ -97,32 +106,34 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public void setBounds(Bounds newBounds) {
- if (newBounds != bounds) {
+ if(newBounds != bounds) {
NotificationChain msgs = null;
- if (bounds != null)
+ if(bounds != null)
msgs = ((InternalEObject)bounds).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLDIPackage.UML_LABEL__BOUNDS, null, msgs);
- if (newBounds != null)
+ if(newBounds != null)
msgs = ((InternalEObject)newBounds).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLDIPackage.UML_LABEL__BOUNDS, null, msgs);
msgs = basicSetBounds(newBounds, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
+ if(msgs != null)
+ msgs.dispatch();
+ } else if(eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, UMLDIPackage.UML_LABEL__BOUNDS, newBounds, newBounds));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case UMLDIPackage.UML_LABEL__BOUNDS:
- return basicSetBounds(null, msgs);
+ switch(featureID) {
+ case UMLDIPackage.UML_LABEL__BOUNDS:
+ return basicSetBounds(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -130,13 +141,14 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case UMLDIPackage.UML_LABEL__BOUNDS:
- return getBounds();
+ switch(featureID) {
+ case UMLDIPackage.UML_LABEL__BOUNDS:
+ return getBounds();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -144,14 +156,15 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case UMLDIPackage.UML_LABEL__BOUNDS:
- setBounds((Bounds)newValue);
- return;
+ switch(featureID) {
+ case UMLDIPackage.UML_LABEL__BOUNDS:
+ setBounds((Bounds)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -159,14 +172,15 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case UMLDIPackage.UML_LABEL__BOUNDS:
- setBounds((Bounds)null);
- return;
+ switch(featureID) {
+ case UMLDIPackage.UML_LABEL__BOUNDS:
+ setBounds((Bounds)null);
+ return;
}
super.eUnset(featureID);
}
@@ -174,13 +188,14 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case UMLDIPackage.UML_LABEL__BOUNDS:
- return bounds != null;
+ switch(featureID) {
+ case UMLDIPackage.UML_LABEL__BOUNDS:
+ return bounds != null;
}
return super.eIsSet(featureID);
}
@@ -188,14 +203,17 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
- if (baseClass == Shape.class) {
- switch (derivedFeatureID) {
- case UMLDIPackage.UML_LABEL__BOUNDS: return DIPackage.SHAPE__BOUNDS;
- default: return -1;
+ if(baseClass == Shape.class) {
+ switch(derivedFeatureID) {
+ case UMLDIPackage.UML_LABEL__BOUNDS:
+ return DIPackage.SHAPE__BOUNDS;
+ default:
+ return -1;
}
}
return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
@@ -204,17 +222,19 @@ public abstract class UmlLabelImpl extends UmlDiagramElementImpl implements UmlL
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
- if (baseClass == Shape.class) {
- switch (baseFeatureID) {
- case DIPackage.SHAPE__BOUNDS: return UMLDIPackage.UML_LABEL__BOUNDS;
- default: return -1;
+ if(baseClass == Shape.class) {
+ switch(baseFeatureID) {
+ case DIPackage.SHAPE__BOUNDS:
+ return UMLDIPackage.UML_LABEL__BOUNDS;
+ default:
+ return -1;
}
}
return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
}
-
} //UmlLabelImpl

Back to the top