Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathCommandImpl.java')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathCommandImpl.java57
1 files changed, 33 insertions, 24 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathCommandImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathCommandImpl.java
index 9486a5a582c..7c6fcba70a8 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathCommandImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathCommandImpl.java
@@ -22,22 +22,22 @@ import org.eclipse.papyrus.dd.dg.DGPackage;
import org.eclipse.papyrus.dd.dg.PathCommand;
/**
- * <!-- begin-user-doc --> An implementation of the model object '
- * <em><b>Path Command</b></em>'. <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object ' <em><b>Path Command</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PathCommandImpl#isRelative <em>Is Relative</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PathCommandImpl#isRelative <em>Is Relative</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
-public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
- implements PathCommand {
+public abstract class PathCommandImpl extends MinimalEObjectImpl.Container implements PathCommand {
+
/**
* The default value of the '{@link #isRelative() <em>Is Relative</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isRelative()
* @generated
* @ordered
@@ -47,6 +47,7 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
/**
* The cached value of the '{@link #isRelative() <em>Is Relative</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isRelative()
* @generated
* @ordered
@@ -55,6 +56,7 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected PathCommandImpl() {
@@ -63,6 +65,7 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -72,6 +75,7 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isRelative() {
@@ -80,82 +84,87 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setIsRelative(boolean newIsRelative) {
boolean oldIsRelative = isRelative;
isRelative = newIsRelative;
- if (eNotificationRequired())
+ if(eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.PATH_COMMAND__IS_RELATIVE, oldIsRelative, isRelative));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case DGPackage.PATH_COMMAND__IS_RELATIVE:
- return isRelative();
+ switch(featureID) {
+ case DGPackage.PATH_COMMAND__IS_RELATIVE:
+ return isRelative();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case DGPackage.PATH_COMMAND__IS_RELATIVE:
- setIsRelative((Boolean)newValue);
- return;
+ switch(featureID) {
+ case DGPackage.PATH_COMMAND__IS_RELATIVE:
+ setIsRelative((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case DGPackage.PATH_COMMAND__IS_RELATIVE:
- setIsRelative(IS_RELATIVE_EDEFAULT);
- return;
+ switch(featureID) {
+ case DGPackage.PATH_COMMAND__IS_RELATIVE:
+ setIsRelative(IS_RELATIVE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case DGPackage.PATH_COMMAND__IS_RELATIVE:
- return isRelative != IS_RELATIVE_EDEFAULT;
+ switch(featureID) {
+ case DGPackage.PATH_COMMAND__IS_RELATIVE:
+ return isRelative != IS_RELATIVE_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
-
+ if(eIsProxy())
+ return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (isRelative: ");
result.append(isRelative);
result.append(')');
return result.toString();
}
-
} // PathCommandImpl

Back to the top