Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaged Elaasar2014-07-25 08:00:31 +0000
committerFlorian Noyrit2014-07-25 13:38:24 +0000
commit0c02b45c17b827dd4e30939bada1f1616ff4d524 (patch)
treed80296c7a6746f2a21ce97082f301b8358f55587 /extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus
parent76ce2af562505666a2bf0220437ed4a25e4fa9ad (diff)
downloadorg.eclipse.papyrus-0c02b45c17b827dd4e30939bada1f1616ff4d524.tar.gz
org.eclipse.papyrus-0c02b45c17b827dd4e30939bada1f1616ff4d524.tar.xz
org.eclipse.papyrus-0c02b45c17b827dd4e30939bada1f1616ff4d524.zip
Signed-off-by: Maged Elaasar <melaasar@gmail.com>
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Bounds.java90
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCFactory.java21
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCPackage.java195
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Dimension.java57
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/KnownColor.java189
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Point.java53
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/BoundsImpl.java265
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCFactoryImpl.java120
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCPackageImpl.java246
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DimensionImpl.java184
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/PointImpl.java94
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCAdapterFactory.java62
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCSwitch.java103
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCValidator.java200
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Canvas.java21
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Circle.java37
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClipPath.java10
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClosePath.java13
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/CubicCurveTo.java58
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGFactory.java125
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGPackage.java2585
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definition.java14
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definitions.java20
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ElementKind.java220
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Ellipse.java31
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/EllipticalArcTo.java46
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/FontDecoration.java83
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Gradient.java14
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GradientStop.java66
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GraphicalElement.java71
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Group.java40
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Image.java37
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Line.java31
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LineTo.java21
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LinearGradient.java34
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MarkedElement.java48
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Marker.java34
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Matrix.java71
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MoveTo.java23
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Paint.java26
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PaintServer.java14
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Path.java14
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PathCommand.java24
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Pattern.java33
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polygon.java14
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polyline.java14
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/QuadraticCurveTo.java39
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RadialGradient.java38
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rectangle.java50
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RootCanvas.java72
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rotate.java32
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Scale.java16
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Skew.java16
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Style.java252
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleRule.java18
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSelector.java30
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSheet.java6
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Text.java62
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/TextAnchor.java244
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Transform.java11
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Translate.java32
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Use.java34
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CanvasImpl.java101
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CircleImpl.java147
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClipPathImpl.java4
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClosePathImpl.java4
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CubicCurveToImpl.java198
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGFactoryImpl.java235
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGPackageImpl.java1743
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionImpl.java78
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionsImpl.java112
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipseImpl.java131
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipticalArcToImpl.java251
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientImpl.java47
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientStopImpl.java239
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GraphicalElementImpl.java352
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GroupImpl.java125
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ImageImpl.java178
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineImpl.java127
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineToImpl.java70
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LinearGradientImpl.java170
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkedElementImpl.java238
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkerImpl.java129
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MatrixImpl.java174
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MoveToImpl.java70
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintImpl.java118
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintServerImpl.java48
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathCommandImpl.java51
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathImpl.java78
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PatternImpl.java129
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolygonImpl.java47
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolylineImpl.java47
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/QuadraticCurveToImpl.java136
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RadialGradientImpl.java284
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RectangleImpl.java154
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RootCanvasImpl.java204
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RotateImpl.java104
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ScaleImpl.java127
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/SkewImpl.java88
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleImpl.java824
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleRuleImpl.java110
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSelectorImpl.java91
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSheetImpl.java47
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TextImpl.java198
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TransformImpl.java4
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TranslateImpl.java88
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/UseImpl.java145
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGAdapterFactory.java485
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGSwitch.java1200
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGValidator.java1581
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIFactory.java9
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIPackage.java496
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Diagram.java60
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DiagramElement.java157
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Edge.java73
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Shape.java21
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Style.java12
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIFactoryImpl.java25
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIPackageImpl.java283
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramElementImpl.java316
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramImpl.java120
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/EdgeImpl.java128
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/ShapeImpl.java70
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/StyleImpl.java4
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIAdapterFactory.java87
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIDerivedUnionAdapter.java146
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DISwitch.java152
127 files changed, 8323 insertions, 11870 deletions
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Bounds.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Bounds.java
index b6ec9d416a7..a2980485f52 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Bounds.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Bounds.java
@@ -20,21 +20,21 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Bounds</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Bounds specifies a rectangular area in some x-y
- * coordinate system that is defined by a location (x and y) and a size (width
- * and height). <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Bounds specifies a rectangular area in some x-y coordinate system that is defined by a location (x and y) and a size (width and height).
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dc.Bounds#getX <em>X</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.Bounds#getY <em>Y</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.Bounds#getWidth <em>Width</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.Bounds#getHeight <em>Height</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.Bounds#getX <em>X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.Bounds#getY <em>Y</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.Bounds#getWidth <em>Width</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.Bounds#getHeight <em>Height</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dc.DCPackage#getBounds()
* @model
* @generated
@@ -57,11 +57,9 @@ public interface Bounds extends EObject {
double getX();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getX
- * <em>X</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>X</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getX <em>X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>X</em>' attribute.
* @see #isSetX()
* @see #unsetX()
* @see #getX()
@@ -70,9 +68,8 @@ public interface Bounds extends EObject {
void setX(double value);
/**
- * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getX
- * <em>X</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getX <em>X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetX()
* @see #getX()
* @see #setX(double)
@@ -81,10 +78,8 @@ public interface Bounds extends EObject {
void unsetX();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Bounds#getX <em>X</em>}' attribute is
- * set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getX <em>X</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>X</em>' attribute is set.
* @see #unsetX()
* @see #getX()
@@ -109,11 +104,9 @@ public interface Bounds extends EObject {
double getY();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getY
- * <em>Y</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Y</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getY <em>Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Y</em>' attribute.
* @see #isSetY()
* @see #unsetY()
* @see #getY()
@@ -122,9 +115,8 @@ public interface Bounds extends EObject {
void setY(double value);
/**
- * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getY
- * <em>Y</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getY <em>Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetY()
* @see #getY()
* @see #setY(double)
@@ -133,10 +125,8 @@ public interface Bounds extends EObject {
void unsetY();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Bounds#getY <em>Y</em>}' attribute is
- * set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getY <em>Y</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Y</em>' attribute is set.
* @see #unsetY()
* @see #getY()
@@ -161,11 +151,9 @@ public interface Bounds extends EObject {
double getWidth();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getWidth
- * <em>Width</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Width</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getWidth <em>Width</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Width</em>' attribute.
* @see #isSetWidth()
* @see #unsetWidth()
* @see #getWidth()
@@ -174,10 +162,8 @@ public interface Bounds extends EObject {
void setWidth(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Bounds#getWidth <em>Width</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getWidth <em>Width</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetWidth()
* @see #getWidth()
* @see #setWidth(double)
@@ -186,10 +172,8 @@ public interface Bounds extends EObject {
void unsetWidth();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Bounds#getWidth <em>Width</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getWidth <em>Width</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Width</em>' attribute is set.
* @see #unsetWidth()
* @see #getWidth()
@@ -226,10 +210,8 @@ public interface Bounds extends EObject {
void setHeight(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Bounds#getHeight <em>Height</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getHeight <em>Height</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetHeight()
* @see #getHeight()
* @see #setHeight(double)
@@ -238,10 +220,8 @@ public interface Bounds extends EObject {
void unsetHeight();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Bounds#getHeight <em>Height</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dc.Bounds#getHeight <em>Height</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Height</em>' attribute is set.
* @see #unsetHeight()
* @see #getHeight()
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCFactory.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCFactory.java
index ebecccd1f12..b364e15c327 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCFactory.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCFactory.java
@@ -16,51 +16,50 @@ 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.dd.dc.DCPackage
* @generated
*/
public interface DCFactory extends EFactory {
/**
- * The singleton instance of the factory. <!-- begin-user-doc --> <!--
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
DCFactory eINSTANCE = org.eclipse.papyrus.dd.dc.impl.DCFactoryImpl.init();
/**
- * Returns a new object of class '<em>Point</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Point</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Point</em>'.
* @generated
*/
Point createPoint();
/**
- * Returns a new object of class '<em>Dimension</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Dimension</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Dimension</em>'.
* @generated
*/
Dimension createDimension();
/**
- * Returns a new object of class '<em>Bounds</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Bounds</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Bounds</em>'.
* @generated
*/
Bounds createBounds();
/**
- * Returns the package supported by this factory. <!-- begin-user-doc -->
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCPackage.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCPackage.java
index 82e124103ec..f15cee65e34 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCPackage.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/DCPackage.java
@@ -40,39 +40,37 @@ import org.eclipse.emf.ecore.EPackage;
public interface DCPackage extends EPackage {
/**
- * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNAME = "dc";
/**
- * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package namespace URI.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNS_URI = "http://www.omg.org/spec/DD/20110901/DC";
/**
- * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package namespace name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNS_PREFIX = "dc";
/**
- * The singleton instance of the package. <!-- begin-user-doc --> <!--
+ * The singleton instance of the package.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
DCPackage eINSTANCE = org.eclipse.papyrus.dd.dc.impl.DCPackageImpl.init();
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dc.impl.PointImpl <em>Point</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dc.impl.PointImpl <em>Point</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dc.impl.PointImpl
* @see org.eclipse.papyrus.dd.dc.impl.DCPackageImpl#getPoint()
* @generated
@@ -80,18 +78,18 @@ public interface DCPackage extends EPackage {
int POINT = 0;
/**
- * The feature id for the '<em><b>X</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>X</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int POINT__X = 0;
/**
- * The feature id for the '<em><b>Y</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>Y</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -116,10 +114,8 @@ public interface DCPackage extends EPackage {
int POINT_OPERATION_COUNT = 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dc.impl.DimensionImpl <em>Dimension</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dc.impl.DimensionImpl <em>Dimension</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dc.impl.DimensionImpl
* @see org.eclipse.papyrus.dd.dc.impl.DCPackageImpl#getDimension()
* @generated
@@ -181,10 +177,8 @@ public interface DCPackage extends EPackage {
int DIMENSION_OPERATION_COUNT = 2;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl <em>Bounds</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl <em>Bounds</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dc.impl.BoundsImpl
* @see org.eclipse.papyrus.dd.dc.impl.DCPackageImpl#getBounds()
* @generated
@@ -192,18 +186,18 @@ public interface DCPackage extends EPackage {
int BOUNDS = 2;
/**
- * The feature id for the '<em><b>X</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>X</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int BOUNDS__X = 0;
/**
- * The feature id for the '<em><b>Y</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>Y</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -293,9 +287,9 @@ public interface DCPackage extends EPackage {
int INTEGER = 5;
/**
- * The meta object id for the '<em>Real</em>' data type. <!-- begin-user-doc
+ * The meta object id for the '<em>Real</em>' data type.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dc.impl.DCPackageImpl#getReal()
* @generated
*/
@@ -368,10 +362,8 @@ public interface DCPackage extends EPackage {
EClass getDimension();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Width</em>'.
* @see org.eclipse.papyrus.dd.dc.Dimension#getWidth()
* @see #getDimension()
@@ -380,10 +372,8 @@ public interface DCPackage extends EPackage {
EAttribute getDimension_Width();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Height</em>'.
* @see org.eclipse.papyrus.dd.dc.Dimension#getHeight()
* @see #getDimension()
@@ -392,27 +382,21 @@ public interface DCPackage extends EPackage {
EAttribute getDimension_Height();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Width</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dc.Dimension#nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Width</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Non Negative Width</em>' operation.
- * @see org.eclipse.papyrus.dd.dc.Dimension#nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dc.Dimension#nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getDimension__NonNegativeWidth__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Height</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dc.Dimension#nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Height</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Non Negative Height</em>' operation.
- * @see org.eclipse.papyrus.dd.dc.Dimension#nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dc.Dimension#nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getDimension__NonNegativeHeight__DiagnosticChain_Map();
@@ -477,27 +461,21 @@ public interface DCPackage extends EPackage {
EAttribute getBounds_Height();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dc.Bounds#nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Width</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dc.Bounds#nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Width</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Non Negative Width</em>' operation.
- * @see org.eclipse.papyrus.dd.dc.Bounds#nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dc.Bounds#nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getBounds__NonNegativeWidth__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dc.Bounds#nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Height</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dc.Bounds#nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Height</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Non Negative Height</em>' operation.
- * @see org.eclipse.papyrus.dd.dc.Bounds#nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dc.Bounds#nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getBounds__NonNegativeHeight__DiagnosticChain_Map();
@@ -544,9 +522,8 @@ public interface DCPackage extends EPackage {
EDataType getReal();
/**
- * Returns the meta object for data type '{@link java.lang.String
- * <em>String</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for data type '{@link java.lang.String <em>String</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for data type '<em>String</em>'.
* @see java.lang.String
* @model instanceClass="java.lang.String"
@@ -555,9 +532,8 @@ public interface DCPackage extends EPackage {
EDataType getString();
/**
- * Returns the meta object for data type '{@link java.awt.Color
- * <em>Color</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for data type '{@link java.awt.Color <em>Color</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for data type '<em>Color</em>'.
* @see java.awt.Color
* @model instanceClass="java.awt.Color"
@@ -585,16 +561,13 @@ public interface DCPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @generated
*/
interface Literals {
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dc.impl.PointImpl <em>Point</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dc.impl.PointImpl <em>Point</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dc.impl.PointImpl
* @see org.eclipse.papyrus.dd.dc.impl.DCPackageImpl#getPoint()
* @generated
@@ -602,17 +575,15 @@ public interface DCPackage extends EPackage {
EClass POINT = eINSTANCE.getPoint();
/**
- * The meta object literal for the '<em><b>X</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>X</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute POINT__X = eINSTANCE.getPoint_X();
/**
- * The meta object literal for the '<em><b>Y</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Y</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute POINT__Y = eINSTANCE.getPoint_Y();
@@ -630,44 +601,36 @@ public interface DCPackage extends EPackage {
EClass DIMENSION = eINSTANCE.getDimension();
/**
- * The meta object literal for the '<em><b>Width</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Width</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute DIMENSION__WIDTH = eINSTANCE.getDimension_Width();
/**
- * The meta object literal for the '<em><b>Height</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Height</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute DIMENSION__HEIGHT = eINSTANCE.getDimension_Height();
/**
- * The meta object literal for the '<em><b>Non Negative Width</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Non Negative Width</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation DIMENSION___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getDimension__NonNegativeWidth__DiagnosticChain_Map();
+ EOperation DIMENSION___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP = eINSTANCE.getDimension__NonNegativeWidth__DiagnosticChain_Map();
/**
- * The meta object literal for the '<em><b>Non Negative Height</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Non Negative Height</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation DIMENSION___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getDimension__NonNegativeHeight__DiagnosticChain_Map();
+ EOperation DIMENSION___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getDimension__NonNegativeHeight__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl <em>Bounds</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl <em>Bounds</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dc.impl.BoundsImpl
* @see org.eclipse.papyrus.dd.dc.impl.DCPackageImpl#getBounds()
* @generated
@@ -675,60 +638,50 @@ public interface DCPackage extends EPackage {
EClass BOUNDS = eINSTANCE.getBounds();
/**
- * The meta object literal for the '<em><b>X</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>X</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute BOUNDS__X = eINSTANCE.getBounds_X();
/**
- * The meta object literal for the '<em><b>Y</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Y</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute BOUNDS__Y = eINSTANCE.getBounds_Y();
/**
- * The meta object literal for the '<em><b>Width</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Width</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute BOUNDS__WIDTH = eINSTANCE.getBounds_Width();
/**
- * The meta object literal for the '<em><b>Height</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Height</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute BOUNDS__HEIGHT = eINSTANCE.getBounds_Height();
/**
- * The meta object literal for the '<em><b>Non Negative Width</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Non Negative Width</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation BOUNDS___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getBounds__NonNegativeWidth__DiagnosticChain_Map();
+ EOperation BOUNDS___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP = eINSTANCE.getBounds__NonNegativeWidth__DiagnosticChain_Map();
/**
- * The meta object literal for the '<em><b>Non Negative Height</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Non Negative Height</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation BOUNDS___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getBounds__NonNegativeHeight__DiagnosticChain_Map();
+ EOperation BOUNDS___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getBounds__NonNegativeHeight__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dc.KnownColor <em>Known Color</em>}'
- * enum. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dc.KnownColor <em>Known Color</em>}' enum.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dc.KnownColor
* @see org.eclipse.papyrus.dd.dc.impl.DCPackageImpl#getKnownColor()
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Dimension.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Dimension.java
index 823ad0d6cc0..72a90128bb9 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Dimension.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Dimension.java
@@ -20,18 +20,19 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Dimension</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Dimension specifies two lengths (width and height)
- * along the x and y axes in some x-y coordinate system. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Dimension specifies two lengths (width and height) along the x and y axes in some x-y coordinate system.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dc.DCPackage#getDimension()
* @model
* @generated
@@ -54,12 +55,9 @@ public interface Dimension extends EObject {
double getWidth();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Width</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Width</em>' attribute.
* @see #isSetWidth()
* @see #unsetWidth()
* @see #getWidth()
@@ -68,10 +66,8 @@ public interface Dimension extends EObject {
void setWidth(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetWidth()
* @see #getWidth()
* @see #setWidth(double)
@@ -80,10 +76,8 @@ public interface Dimension extends EObject {
void unsetWidth();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dc.Dimension#getWidth <em>Width</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Width</em>' attribute is set.
* @see #unsetWidth()
* @see #getWidth()
@@ -108,12 +102,9 @@ public interface Dimension extends EObject {
double getHeight();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Height</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Height</em>' attribute.
* @see #isSetHeight()
* @see #unsetHeight()
* @see #getHeight()
@@ -122,10 +113,8 @@ public interface Dimension extends EObject {
void setHeight(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetHeight()
* @see #getHeight()
* @see #setHeight(double)
@@ -134,10 +123,8 @@ public interface Dimension extends EObject {
void unsetHeight();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dc.Dimension#getHeight <em>Height</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Height</em>' attribute is set.
* @see #unsetHeight()
* @see #getHeight()
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/KnownColor.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/KnownColor.java
index c9f01f0ed02..b08e6b71175 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/KnownColor.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/KnownColor.java
@@ -29,9 +29,9 @@ import org.eclipse.emf.common.util.Enumerator;
*/
public enum KnownColor implements Enumerator {
/**
- * The '<em><b>Maroon</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Maroon</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #MAROON_VALUE
* @generated
* @ordered
@@ -39,9 +39,9 @@ public enum KnownColor implements Enumerator {
MAROON(0, "maroon", "#800000"),
/**
- * The '<em><b>Red</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Red</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #RED_VALUE
* @generated
* @ordered
@@ -49,9 +49,9 @@ public enum KnownColor implements Enumerator {
RED(1, "red", "#FF0000"),
/**
- * The '<em><b>Orange</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Orange</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #ORANGE_VALUE
* @generated
* @ordered
@@ -59,9 +59,9 @@ public enum KnownColor implements Enumerator {
ORANGE(2, "orange", "#FFA500"),
/**
- * The '<em><b>Yellow</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Yellow</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #YELLOW_VALUE
* @generated
* @ordered
@@ -69,9 +69,9 @@ public enum KnownColor implements Enumerator {
YELLOW(3, "yellow", "#FFFF00"),
/**
- * The '<em><b>Olive</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Olive</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #OLIVE_VALUE
* @generated
* @ordered
@@ -79,9 +79,9 @@ public enum KnownColor implements Enumerator {
OLIVE(4, "olive", "#808000"),
/**
- * The '<em><b>Purple</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Purple</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #PURPLE_VALUE
* @generated
* @ordered
@@ -89,9 +89,9 @@ public enum KnownColor implements Enumerator {
PURPLE(5, "purple", "#800080"),
/**
- * The '<em><b>Fuchsia</b></em>' literal object. <!-- begin-user-doc -->
+ * The '<em><b>Fuchsia</b></em>' literal object.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #FUCHSIA_VALUE
* @generated
* @ordered
@@ -99,9 +99,9 @@ public enum KnownColor implements Enumerator {
FUCHSIA(6, "fuchsia", "#FF00FF"),
/**
- * The '<em><b>White</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>White</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #WHITE_VALUE
* @generated
* @ordered
@@ -109,9 +109,9 @@ public enum KnownColor implements Enumerator {
WHITE(7, "white", "#FFFFFF"),
/**
- * The '<em><b>Lime</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Lime</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #LIME_VALUE
* @generated
* @ordered
@@ -119,9 +119,9 @@ public enum KnownColor implements Enumerator {
LIME(8, "lime", "#00FF00"),
/**
- * The '<em><b>Green</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Green</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #GREEN_VALUE
* @generated
* @ordered
@@ -129,9 +129,9 @@ public enum KnownColor implements Enumerator {
GREEN(9, "green", "#008000"),
/**
- * The '<em><b>Navy</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Navy</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #NAVY_VALUE
* @generated
* @ordered
@@ -139,9 +139,9 @@ public enum KnownColor implements Enumerator {
NAVY(10, "navy", "#000080"),
/**
- * The '<em><b>Blue</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Blue</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #BLUE_VALUE
* @generated
* @ordered
@@ -149,9 +149,9 @@ public enum KnownColor implements Enumerator {
BLUE(11, "blue", "#0000FF"),
/**
- * The '<em><b>Aqua</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Aqua</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #AQUA_VALUE
* @generated
* @ordered
@@ -159,9 +159,9 @@ public enum KnownColor implements Enumerator {
AQUA(12, "aqua", "#00FFFF"),
/**
- * The '<em><b>Teal</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Teal</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #TEAL_VALUE
* @generated
* @ordered
@@ -169,9 +169,9 @@ public enum KnownColor implements Enumerator {
TEAL(13, "teal", "#008080"),
/**
- * The '<em><b>Black</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Black</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #BLACK_VALUE
* @generated
* @ordered
@@ -179,9 +179,9 @@ public enum KnownColor implements Enumerator {
BLACK(14, "black", "#000000"),
/**
- * The '<em><b>Silver</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Silver</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #SILVER_VALUE
* @generated
* @ordered
@@ -189,9 +189,9 @@ public enum KnownColor implements Enumerator {
SILVER(15, "silver", "#C0C0C0"),
/**
- * The '<em><b>Gray</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Gray</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #GRAY_VALUE
* @generated
* @ordered
@@ -408,23 +408,36 @@ public enum KnownColor implements Enumerator {
*
* @generated
*/
- private static final KnownColor[] VALUES_ARRAY = new KnownColor[] { MAROON,
- RED, ORANGE, YELLOW, OLIVE, PURPLE, FUCHSIA, WHITE, LIME, GREEN,
- NAVY, BLUE, AQUA, TEAL, BLACK, SILVER, GRAY, };
-
- /**
- * A public read-only list of all the '<em><b>Known Color</b></em>'
- * enumerators. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ private static final KnownColor[] VALUES_ARRAY = new KnownColor[] {
+ MAROON,
+ RED,
+ ORANGE,
+ YELLOW,
+ OLIVE,
+ PURPLE,
+ FUCHSIA,
+ WHITE,
+ LIME,
+ GREEN,
+ NAVY,
+ BLUE,
+ AQUA,
+ TEAL,
+ BLACK,
+ SILVER,
+ GRAY,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Known Color</b></em>' enumerators.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- public static final List<KnownColor> VALUES = Collections
- .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+ public static final List<KnownColor> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
- * Returns the '<em><b>Known Color</b></em>' literal with the specified
- * literal value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Known Color</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static KnownColor get(String literal) {
@@ -438,9 +451,8 @@ public enum KnownColor implements Enumerator {
}
/**
- * Returns the '<em><b>Known Color</b></em>' literal with the specified
- * name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Known Color</b></em>' literal with the specified name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static KnownColor getByName(String name) {
@@ -454,76 +466,55 @@ public enum KnownColor implements Enumerator {
}
/**
- * Returns the '<em><b>Known Color</b></em>' literal with the specified
- * integer value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Known Color</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static KnownColor get(int value) {
switch (value) {
- case MAROON_VALUE:
- return MAROON;
- case RED_VALUE:
- return RED;
- case ORANGE_VALUE:
- return ORANGE;
- case YELLOW_VALUE:
- return YELLOW;
- case OLIVE_VALUE:
- return OLIVE;
- case PURPLE_VALUE:
- return PURPLE;
- case FUCHSIA_VALUE:
- return FUCHSIA;
- case WHITE_VALUE:
- return WHITE;
- case LIME_VALUE:
- return LIME;
- case GREEN_VALUE:
- return GREEN;
- case NAVY_VALUE:
- return NAVY;
- case BLUE_VALUE:
- return BLUE;
- case AQUA_VALUE:
- return AQUA;
- case TEAL_VALUE:
- return TEAL;
- case BLACK_VALUE:
- return BLACK;
- case SILVER_VALUE:
- return SILVER;
- case GRAY_VALUE:
- return GRAY;
+ case MAROON_VALUE: return MAROON;
+ case RED_VALUE: return RED;
+ case ORANGE_VALUE: return ORANGE;
+ case YELLOW_VALUE: return YELLOW;
+ case OLIVE_VALUE: return OLIVE;
+ case PURPLE_VALUE: return PURPLE;
+ case FUCHSIA_VALUE: return FUCHSIA;
+ case WHITE_VALUE: return WHITE;
+ case LIME_VALUE: return LIME;
+ case GREEN_VALUE: return GREEN;
+ case NAVY_VALUE: return NAVY;
+ case BLUE_VALUE: return BLUE;
+ case AQUA_VALUE: return AQUA;
+ case TEAL_VALUE: return TEAL;
+ case BLACK_VALUE: return BLACK;
+ case SILVER_VALUE: return SILVER;
+ case GRAY_VALUE: return GRAY;
}
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 --> <!--
+ * Only this class can construct instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
private KnownColor(int value, String name, String literal) {
@@ -534,35 +525,31 @@ public enum KnownColor implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public int getValue() {
- return value;
+ return value;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getLiteral() {
- return literal;
+ return literal;
}
/**
- * Returns the literal value of the enumerator, which is its string
- * representation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Point.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Point.java
index 9fe57282508..1f14eeeac17 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Point.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/Point.java
@@ -16,18 +16,19 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Point</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> A Point specifies an location in some x-y coordinate
- * system. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * A Point specifies an location in some x-y coordinate system.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dc.Point#getX <em>X</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.Point#getY <em>Y</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.Point#getX <em>X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.Point#getY <em>Y</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dc.DCPackage#getPoint()
* @model
* @generated
@@ -50,11 +51,9 @@ public interface Point extends EObject {
double getX();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getX
- * <em>X</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>X</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getX <em>X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>X</em>' attribute.
* @see #isSetX()
* @see #unsetX()
* @see #getX()
@@ -63,9 +62,8 @@ public interface Point extends EObject {
void setX(double value);
/**
- * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getX
- * <em>X</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getX <em>X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetX()
* @see #getX()
* @see #setX(double)
@@ -74,10 +72,8 @@ public interface Point extends EObject {
void unsetX();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Point#getX <em>X</em>}' attribute is
- * set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getX <em>X</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>X</em>' attribute is set.
* @see #unsetX()
* @see #getX()
@@ -102,11 +98,9 @@ public interface Point extends EObject {
double getY();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getY
- * <em>Y</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Y</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getY <em>Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Y</em>' attribute.
* @see #isSetY()
* @see #unsetY()
* @see #getY()
@@ -115,9 +109,8 @@ public interface Point extends EObject {
void setY(double value);
/**
- * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getY
- * <em>Y</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getY <em>Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetY()
* @see #getY()
* @see #setY(double)
@@ -126,10 +119,8 @@ public interface Point extends EObject {
void unsetY();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dc.Point#getY <em>Y</em>}' attribute is
- * set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dc.Point#getY <em>Y</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Y</em>' attribute is set.
* @see #unsetY()
* @see #getY()
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/BoundsImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/BoundsImpl.java
index 67e646ed7b6..e782b9357ff 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/BoundsImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/BoundsImpl.java
@@ -37,15 +37,13 @@ import org.eclipse.papyrus.dd.dc.util.DCValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl#getX <em>X</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl#getY <em>Y</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl#getWidth <em>Width</em>}
- * </li>
- * <li>{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl#getHeight <em>Height
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl#getX <em>X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl#getY <em>Y</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl#getWidth <em>Width</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.impl.BoundsImpl#getHeight <em>Height</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
@@ -71,9 +69,9 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
protected double x = X_EDEFAULT;
/**
- * This is true if the X attribute has been set. <!-- begin-user-doc -->
+ * This is true if the X attribute has been set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -100,9 +98,9 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
protected double y = Y_EDEFAULT;
/**
- * This is true if the Y attribute has been set. <!-- begin-user-doc -->
+ * This is true if the Y attribute has been set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -111,7 +109,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* The default value of the '{@link #getWidth() <em>Width</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getWidth()
* @generated
* @ordered
@@ -121,7 +118,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* The cached value of the '{@link #getWidth() <em>Width</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getWidth()
* @generated
* @ordered
@@ -129,18 +125,17 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
protected double width = WIDTH_EDEFAULT;
/**
- * This is true if the Width attribute has been set. <!-- begin-user-doc -->
+ * This is true if the Width attribute has been set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
protected boolean widthESet;
/**
- * The default value of the '{@link #getHeight() <em>Height</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getHeight() <em>Height</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getHeight()
* @generated
* @ordered
@@ -150,7 +145,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* The cached value of the '{@link #getHeight() <em>Height</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getHeight()
* @generated
* @ordered
@@ -158,9 +152,9 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
protected double height = HEIGHT_EDEFAULT;
/**
- * This is true if the Height attribute has been set. <!-- begin-user-doc
+ * This is true if the Height attribute has been set.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -168,7 +162,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected BoundsImpl() {
@@ -177,7 +170,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -187,7 +179,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getX() {
@@ -196,7 +187,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setX(double newX) {
@@ -205,13 +195,11 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
boolean oldXESet = xESet;
xESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DCPackage.BOUNDS__X, oldX, x, !oldXESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DCPackage.BOUNDS__X, oldX, x, !oldXESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetX() {
@@ -220,13 +208,11 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
x = X_EDEFAULT;
xESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DCPackage.BOUNDS__X, oldX, X_EDEFAULT, oldXESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DCPackage.BOUNDS__X, oldX, X_EDEFAULT, oldXESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetX() {
@@ -235,7 +221,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getY() {
@@ -244,7 +229,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setY(double newY) {
@@ -253,13 +237,11 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
boolean oldYESet = yESet;
yESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DCPackage.BOUNDS__Y, oldY, y, !oldYESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DCPackage.BOUNDS__Y, oldY, y, !oldYESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetY() {
@@ -268,13 +250,11 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
y = Y_EDEFAULT;
yESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DCPackage.BOUNDS__Y, oldY, Y_EDEFAULT, oldYESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DCPackage.BOUNDS__Y, oldY, Y_EDEFAULT, oldYESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetY() {
@@ -283,7 +263,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getWidth() {
@@ -292,7 +271,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setWidth(double newWidth) {
@@ -301,13 +279,11 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
boolean oldWidthESet = widthESet;
widthESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DCPackage.BOUNDS__WIDTH, oldWidth, width, !oldWidthESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DCPackage.BOUNDS__WIDTH, oldWidth, width, !oldWidthESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetWidth() {
@@ -316,14 +292,11 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
width = WIDTH_EDEFAULT;
widthESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DCPackage.BOUNDS__WIDTH, oldWidth, WIDTH_EDEFAULT,
- oldWidthESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DCPackage.BOUNDS__WIDTH, oldWidth, WIDTH_EDEFAULT, oldWidthESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetWidth() {
@@ -332,7 +305,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getHeight() {
@@ -341,7 +313,6 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setHeight(double newHeight) {
@@ -350,13 +321,11 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
boolean oldHeightESet = heightESet;
heightESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DCPackage.BOUNDS__HEIGHT, oldHeight, height, !oldHeightESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DCPackage.BOUNDS__HEIGHT, oldHeight, height, !oldHeightESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetHeight() {
@@ -365,14 +334,11 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
height = HEIGHT_EDEFAULT;
heightESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DCPackage.BOUNDS__HEIGHT, oldHeight, HEIGHT_EDEFAULT,
- oldHeightESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DCPackage.BOUNDS__HEIGHT, oldHeight, HEIGHT_EDEFAULT, oldHeightESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetHeight() {
@@ -380,13 +346,10 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
}
/**
- * The cached validation expression for the '
- * {@link #nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Width</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Width</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -394,32 +357,29 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean nonNegativeWidth(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DCValidator
- .validate(
- DCPackage.Literals.BOUNDS,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DCPackage.Literals.BOUNDS___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP,
- NON_NEGATIVE_WIDTH_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DCValidator.DIAGNOSTIC_SOURCE,
- DCValidator.BOUNDS__NON_NEGATIVE_WIDTH);
+ return
+ DCValidator.validate
+ (DCPackage.Literals.BOUNDS,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DCPackage.Literals.BOUNDS___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP,
+ NON_NEGATIVE_WIDTH_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DCValidator.DIAGNOSTIC_SOURCE,
+ DCValidator.BOUNDS__NON_NEGATIVE_WIDTH);
}
/**
- * The cached validation expression for the '
- * {@link #nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Height</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Height</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -427,115 +387,110 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean nonNegativeHeight(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DCValidator
- .validate(
- DCPackage.Literals.BOUNDS,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DCPackage.Literals.BOUNDS___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP,
- NON_NEGATIVE_HEIGHT_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DCValidator.DIAGNOSTIC_SOURCE,
- DCValidator.BOUNDS__NON_NEGATIVE_HEIGHT);
+ return
+ DCValidator.validate
+ (DCPackage.Literals.BOUNDS,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DCPackage.Literals.BOUNDS___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP,
+ NON_NEGATIVE_HEIGHT_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DCValidator.DIAGNOSTIC_SOURCE,
+ DCValidator.BOUNDS__NON_NEGATIVE_HEIGHT);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DCPackage.BOUNDS__X:
- return getX();
- case DCPackage.BOUNDS__Y:
- return getY();
- case DCPackage.BOUNDS__WIDTH:
- return getWidth();
- case DCPackage.BOUNDS__HEIGHT:
- return getHeight();
+ case DCPackage.BOUNDS__X:
+ return getX();
+ case DCPackage.BOUNDS__Y:
+ return getY();
+ case DCPackage.BOUNDS__WIDTH:
+ return getWidth();
+ case DCPackage.BOUNDS__HEIGHT:
+ return getHeight();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DCPackage.BOUNDS__X:
- setX((Double) newValue);
- return;
- case DCPackage.BOUNDS__Y:
- setY((Double) newValue);
- return;
- case DCPackage.BOUNDS__WIDTH:
- setWidth((Double) newValue);
- return;
- case DCPackage.BOUNDS__HEIGHT:
- setHeight((Double) newValue);
- return;
+ case DCPackage.BOUNDS__X:
+ setX((Double)newValue);
+ return;
+ case DCPackage.BOUNDS__Y:
+ setY((Double)newValue);
+ return;
+ case DCPackage.BOUNDS__WIDTH:
+ setWidth((Double)newValue);
+ return;
+ case DCPackage.BOUNDS__HEIGHT:
+ setHeight((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DCPackage.BOUNDS__X:
- unsetX();
- return;
- case DCPackage.BOUNDS__Y:
- unsetY();
- return;
- case DCPackage.BOUNDS__WIDTH:
- unsetWidth();
- return;
- case DCPackage.BOUNDS__HEIGHT:
- unsetHeight();
- return;
+ case DCPackage.BOUNDS__X:
+ unsetX();
+ return;
+ case DCPackage.BOUNDS__Y:
+ unsetY();
+ return;
+ case DCPackage.BOUNDS__WIDTH:
+ unsetWidth();
+ return;
+ case DCPackage.BOUNDS__HEIGHT:
+ unsetHeight();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DCPackage.BOUNDS__X:
- return isSetX();
- case DCPackage.BOUNDS__Y:
- return isSetY();
- case DCPackage.BOUNDS__WIDTH:
- return isSetWidth();
- case DCPackage.BOUNDS__HEIGHT:
- return isSetHeight();
+ case DCPackage.BOUNDS__X:
+ return isSetX();
+ case DCPackage.BOUNDS__Y:
+ return isSetY();
+ case DCPackage.BOUNDS__WIDTH:
+ return isSetWidth();
+ case DCPackage.BOUNDS__HEIGHT:
+ return isSetHeight();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -543,47 +498,31 @@ public class BoundsImpl extends MinimalEObjectImpl.Container implements Bounds {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DCPackage.BOUNDS___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP:
- return nonNegativeWidth((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DCPackage.BOUNDS___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP:
- return nonNegativeHeight((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DCPackage.BOUNDS___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP:
+ return nonNegativeWidth((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DCPackage.BOUNDS___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP:
+ return nonNegativeHeight((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (x: ");
- if (xESet)
- result.append(x);
- else
- result.append("<unset>");
+ if (xESet) result.append(x); else result.append("<unset>");
result.append(", y: ");
- if (yESet)
- result.append(y);
- else
- result.append("<unset>");
+ if (yESet) result.append(y); else result.append("<unset>");
result.append(", width: ");
- if (widthESet)
- result.append(width);
- else
- result.append("<unset>");
+ if (widthESet) result.append(width); else result.append("<unset>");
result.append(", height: ");
- if (heightESet)
- result.append(height);
- else
- result.append("<unset>");
+ if (heightESet) result.append(height); else result.append("<unset>");
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCFactoryImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCFactoryImpl.java
index 6ff06341132..f956501aad9 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCFactoryImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCFactoryImpl.java
@@ -27,34 +27,33 @@ import org.eclipse.papyrus.dd.dc.*;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
* @generated
*/
public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
- * Creates the default factory implementation. <!-- begin-user-doc --> <!--
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static DCFactory init() {
try {
- DCFactory theDCFactory = (DCFactory) EPackage.Registry.INSTANCE
- .getEFactory(DCPackage.eNS_URI);
+ DCFactory theDCFactory = (DCFactory)EPackage.Registry.INSTANCE.getEFactory(DCPackage.eNS_URI);
if (theDCFactory != null) {
return theDCFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new DCFactoryImpl();
}
/**
- * Creates an instance of the factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DCFactoryImpl() {
@@ -63,79 +62,69 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case DCPackage.POINT:
- return createPoint();
- case DCPackage.DIMENSION:
- return createDimension();
- case DCPackage.BOUNDS:
- return createBounds();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName()
- + "' is not a valid classifier");
+ case DCPackage.POINT: return createPoint();
+ case DCPackage.DIMENSION: return createDimension();
+ case DCPackage.BOUNDS: return createBounds();
+ 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 DCPackage.KNOWN_COLOR:
- return createKnownColorFromString(eDataType, initialValue);
- case DCPackage.BOOLEAN:
- return createBooleanFromString(eDataType, initialValue);
- case DCPackage.INTEGER:
- return createIntegerFromString(eDataType, initialValue);
- case DCPackage.REAL:
- return createRealFromString(eDataType, initialValue);
- case DCPackage.STRING:
- return createStringFromString(eDataType, initialValue);
- case DCPackage.COLOR:
- return createColorFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '"
- + eDataType.getName() + "' is not a valid classifier");
+ case DCPackage.KNOWN_COLOR:
+ return createKnownColorFromString(eDataType, initialValue);
+ case DCPackage.BOOLEAN:
+ return createBooleanFromString(eDataType, initialValue);
+ case DCPackage.INTEGER:
+ return createIntegerFromString(eDataType, initialValue);
+ case DCPackage.REAL:
+ return createRealFromString(eDataType, initialValue);
+ case DCPackage.STRING:
+ return createStringFromString(eDataType, initialValue);
+ case DCPackage.COLOR:
+ return createColorFromString(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 DCPackage.KNOWN_COLOR:
- return convertKnownColorToString(eDataType, instanceValue);
- case DCPackage.BOOLEAN:
- return convertBooleanToString(eDataType, instanceValue);
- case DCPackage.INTEGER:
- return convertIntegerToString(eDataType, instanceValue);
- case DCPackage.REAL:
- return convertRealToString(eDataType, instanceValue);
- case DCPackage.STRING:
- return convertStringToString(eDataType, instanceValue);
- case DCPackage.COLOR:
- return convertColorToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '"
- + eDataType.getName() + "' is not a valid classifier");
+ case DCPackage.KNOWN_COLOR:
+ return convertKnownColorToString(eDataType, instanceValue);
+ case DCPackage.BOOLEAN:
+ return convertBooleanToString(eDataType, instanceValue);
+ case DCPackage.INTEGER:
+ return convertIntegerToString(eDataType, instanceValue);
+ case DCPackage.REAL:
+ return convertRealToString(eDataType, instanceValue);
+ case DCPackage.STRING:
+ return convertStringToString(eDataType, instanceValue);
+ case DCPackage.COLOR:
+ return convertColorToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point createPoint() {
@@ -145,7 +134,6 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Dimension createDimension() {
@@ -155,7 +143,6 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Bounds createBounds() {
@@ -165,22 +152,17 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public KnownColor createKnownColorFromString(EDataType eDataType,
String initialValue) {
KnownColor result = KnownColor.get(initialValue);
- if (result == null)
- throw new IllegalArgumentException("The value '" + initialValue
- + "' is not a valid enumerator of '" + eDataType.getName()
- + "'");
+ 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 convertKnownColorToString(EDataType eDataType,
@@ -190,17 +172,15 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Boolean createBooleanFromString(EDataType eDataType,
String initialValue) {
- return (Boolean) super.createFromString(eDataType, initialValue);
+ return (Boolean)super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String convertBooleanToString(EDataType eDataType,
@@ -210,17 +190,15 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Integer createIntegerFromString(EDataType eDataType,
String initialValue) {
- return (Integer) super.createFromString(eDataType, initialValue);
+ return (Integer)super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String convertIntegerToString(EDataType eDataType,
@@ -230,16 +208,14 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Double createRealFromString(EDataType eDataType, String initialValue) {
- return (Double) super.createFromString(eDataType, initialValue);
+ return (Double)super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String convertRealToString(EDataType eDataType, Object instanceValue) {
@@ -248,17 +224,15 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String createStringFromString(EDataType eDataType,
String initialValue) {
- return (String) super.createFromString(eDataType, initialValue);
+ return (String)super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String convertStringToString(EDataType eDataType,
@@ -292,16 +266,14 @@ public class DCFactoryImpl extends EFactoryImpl implements DCFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DCPackage getDCPackage() {
- return (DCPackage) getEPackage();
+ return (DCPackage)getEPackage();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCPackageImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCPackageImpl.java
index e57dfb25151..43cc688b7c1 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCPackageImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DCPackageImpl.java
@@ -32,70 +32,60 @@ import org.eclipse.papyrus.dd.dc.util.DCValidator;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
* @generated
*/
public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass pointEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass dimensionEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass boundsEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EEnum knownColorEEnum = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EDataType booleanEDataType = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EDataType integerEDataType = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EDataType realEDataType = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EDataType stringEDataType = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EDataType colorEDataType = null;
@@ -121,7 +111,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -142,14 +131,10 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
* @generated
*/
public static DCPackage init() {
- if (isInited)
- return (DCPackage) EPackage.Registry.INSTANCE
- .getEPackage(DCPackage.eNS_URI);
+ if (isInited) return (DCPackage)EPackage.Registry.INSTANCE.getEPackage(DCPackage.eNS_URI);
// Obtain or create and register package
- DCPackageImpl theDCPackage = (DCPackageImpl) (EPackage.Registry.INSTANCE
- .get(eNS_URI) instanceof DCPackageImpl ? EPackage.Registry.INSTANCE
- .get(eNS_URI) : new DCPackageImpl());
+ DCPackageImpl theDCPackage = (DCPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DCPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DCPackageImpl());
isInited = true;
@@ -160,16 +145,18 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
theDCPackage.initializePackageContents();
// Register package validator
- EValidator.Registry.INSTANCE.put(theDCPackage,
- new EValidator.Descriptor() {
- public EValidator getEValidator() {
- return DCValidator.INSTANCE;
- }
- });
+ EValidator.Registry.INSTANCE.put
+ (theDCPackage,
+ new EValidator.Descriptor() {
+ public EValidator getEValidator() {
+ return DCValidator.INSTANCE;
+ }
+ });
// Mark meta-data to indicate it can't be changed
theDCPackage.freeze();
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(DCPackage.eNS_URI, theDCPackage);
return theDCPackage;
@@ -177,7 +164,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPoint() {
@@ -186,25 +172,22 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPoint_X() {
- return (EAttribute) pointEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)pointEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPoint_Y() {
- return (EAttribute) pointEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)pointEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getDimension() {
@@ -213,25 +196,22 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getDimension_Width() {
- return (EAttribute) dimensionEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)dimensionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getDimension_Height() {
- return (EAttribute) dimensionEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)dimensionEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getDimension__NonNegativeWidth__DiagnosticChain_Map() {
@@ -240,7 +220,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getDimension__NonNegativeHeight__DiagnosticChain_Map() {
@@ -249,7 +228,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getBounds() {
@@ -258,43 +236,38 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getBounds_X() {
- return (EAttribute) boundsEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)boundsEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getBounds_Y() {
- return (EAttribute) boundsEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)boundsEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getBounds_Width() {
- return (EAttribute) boundsEClass.getEStructuralFeatures().get(2);
+ return (EAttribute)boundsEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getBounds_Height() {
- return (EAttribute) boundsEClass.getEStructuralFeatures().get(3);
+ return (EAttribute)boundsEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getBounds__NonNegativeWidth__DiagnosticChain_Map() {
@@ -303,7 +276,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getBounds__NonNegativeHeight__DiagnosticChain_Map() {
@@ -312,7 +284,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EEnum getKnownColor() {
@@ -321,7 +292,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EDataType getBoolean() {
@@ -330,7 +300,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EDataType getInteger() {
@@ -339,7 +308,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EDataType getReal() {
@@ -348,7 +316,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EDataType getString() {
@@ -357,7 +324,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EDataType getColor() {
@@ -366,30 +332,27 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DCFactory getDCFactory() {
- return (DCFactory) getEFactoryInstance();
+ return (DCFactory)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 -->
+ * 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;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -400,20 +363,16 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
dimensionEClass = createEClass(DIMENSION);
createEAttribute(dimensionEClass, DIMENSION__WIDTH);
createEAttribute(dimensionEClass, DIMENSION__HEIGHT);
- createEOperation(dimensionEClass,
- DIMENSION___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP);
- createEOperation(dimensionEClass,
- DIMENSION___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP);
+ createEOperation(dimensionEClass, DIMENSION___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP);
+ createEOperation(dimensionEClass, DIMENSION___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP);
boundsEClass = createEClass(BOUNDS);
createEAttribute(boundsEClass, BOUNDS__X);
createEAttribute(boundsEClass, BOUNDS__Y);
createEAttribute(boundsEClass, BOUNDS__WIDTH);
createEAttribute(boundsEClass, BOUNDS__HEIGHT);
- createEOperation(boundsEClass,
- BOUNDS___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP);
- createEOperation(boundsEClass,
- BOUNDS___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP);
+ createEOperation(boundsEClass, BOUNDS___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP);
+ createEOperation(boundsEClass, BOUNDS___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP);
// Create enums
knownColorEEnum = createEEnum(KNOWN_COLOR);
@@ -428,7 +387,6 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
@@ -441,8 +399,7 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
* @generated
*/
public void initializePackageContents() {
- if (isInitialized)
- return;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -457,30 +414,16 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
// Add supertypes to classes
// Initialize classes, features, and operations; add parameters
- initEClass(pointEClass, Point.class, "Point", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPoint_X(), this.getReal(), "x", "0", 0, 1,
- Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getPoint_Y(), this.getReal(), "y", "0", 0, 1,
- Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(dimensionEClass, Dimension.class, "Dimension", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDimension_Width(), this.getReal(), "width", "0", 0,
- 1, Dimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDimension_Height(), this.getReal(), "height", "0", 0,
- 1, Dimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- EOperation op = initEOperation(
- getDimension__NonNegativeWidth__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "nonNegativeWidth", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(pointEClass, Point.class, "Point", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPoint_X(), this.getReal(), "x", "0", 0, 1, Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getPoint_Y(), this.getReal(), "y", "0", 0, 1, Point.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(dimensionEClass, Dimension.class, "Dimension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDimension_Width(), this.getReal(), "width", "0", 0, 1, Dimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDimension_Height(), this.getReal(), "height", "0", 0, 1, Dimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ EOperation op = initEOperation(getDimension__NonNegativeWidth__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "nonNegativeWidth", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
EGenericType g1 = createEGenericType(ecorePackage.getEMap());
EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -488,12 +431,8 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getDimension__NonNegativeHeight__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "nonNegativeHeight", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getDimension__NonNegativeHeight__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "nonNegativeHeight", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -501,26 +440,14 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(boundsEClass, Bounds.class, "Bounds", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBounds_X(), this.getReal(), "x", "0", 0, 1,
- Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getBounds_Y(), this.getReal(), "y", "0", 0, 1,
- Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getBounds_Width(), this.getReal(), "width", "0", 0, 1,
- Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getBounds_Height(), this.getReal(), "height", "0", 0, 1,
- Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(getBounds__NonNegativeWidth__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "nonNegativeWidth", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(boundsEClass, Bounds.class, "Bounds", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getBounds_X(), this.getReal(), "x", "0", 0, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBounds_Y(), this.getReal(), "y", "0", 0, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBounds_Width(), this.getReal(), "width", "0", 0, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getBounds_Height(), this.getReal(), "height", "0", 0, 1, Bounds.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getBounds__NonNegativeWidth__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "nonNegativeWidth", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -528,12 +455,8 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getBounds__NonNegativeHeight__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "nonNegativeHeight", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getBounds__NonNegativeHeight__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "nonNegativeHeight", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -562,16 +485,11 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
addEEnumLiteral(knownColorEEnum, KnownColor.GRAY);
// Initialize data types
- initEDataType(booleanEDataType, boolean.class, "Boolean",
- IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(integerEDataType, int.class, "Integer", IS_SERIALIZABLE,
- !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(realEDataType, double.class, "Real", IS_SERIALIZABLE,
- !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(stringEDataType, String.class, "String", IS_SERIALIZABLE,
- !IS_GENERATED_INSTANCE_CLASS);
- initEDataType(colorEDataType, Color.class, "Color", IS_SERIALIZABLE,
- !IS_GENERATED_INSTANCE_CLASS);
+ initEDataType(booleanEDataType, boolean.class, "Boolean", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
+ initEDataType(integerEDataType, int.class, "Integer", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
+ initEDataType(realEDataType, double.class, "Real", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
+ initEDataType(stringEDataType, String.class, "String", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
+ initEDataType(colorEDataType, Color.class, "Color", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
// Create resource
createResource(eNS_URI);
@@ -584,35 +502,53 @@ public class DCPackageImpl extends EPackageImpl implements DCPackage {
}
/**
- * Initializes the annotations for
- * <b>http://www.eclipse.org/emf/2002/Ecore</b>. <!-- begin-user-doc -->
+ * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected void createEcoreAnnotations() {
- String source = "http://www.eclipse.org/emf/2002/Ecore";
- addAnnotation(this, source, new String[] { "validationDelegates",
- "http://www.eclipse.org/emf/2002/Ecore/OCL" });
+ String source = "http://www.eclipse.org/emf/2002/Ecore";
+ addAnnotation
+ (this,
+ source,
+ new String[] {
+ "validationDelegates", "http://www.eclipse.org/emf/2002/Ecore/OCL"
+ });
}
/**
- * Initializes the annotations for
- * <b>http://www.eclipse.org/emf/2002/Ecore/OCL</b>. <!-- begin-user-doc -->
+ * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore/OCL</b>.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected void createOCLAnnotations() {
- String source = "http://www.eclipse.org/emf/2002/Ecore/OCL";
- addAnnotation(getDimension__NonNegativeWidth__DiagnosticChain_Map(),
- source, new String[] { "body", "width >=0" });
- addAnnotation(getDimension__NonNegativeHeight__DiagnosticChain_Map(),
- source, new String[] { "body", "height >=0" });
- addAnnotation(getBounds__NonNegativeWidth__DiagnosticChain_Map(),
- source, new String[] { "body", "width >= 0" });
- addAnnotation(getBounds__NonNegativeHeight__DiagnosticChain_Map(),
- source, new String[] { "body", "height >=0" });
+ String source = "http://www.eclipse.org/emf/2002/Ecore/OCL";
+ addAnnotation
+ (getDimension__NonNegativeWidth__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "width >=0"
+ });
+ addAnnotation
+ (getDimension__NonNegativeHeight__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "height >=0"
+ });
+ addAnnotation
+ (getBounds__NonNegativeWidth__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "width >= 0"
+ });
+ addAnnotation
+ (getBounds__NonNegativeHeight__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "height >=0"
+ });
}
} // DCPackageImpl
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DimensionImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DimensionImpl.java
index 4dd581619b6..d80e6927294 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DimensionImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/DimensionImpl.java
@@ -37,13 +37,11 @@ import org.eclipse.papyrus.dd.dc.util.DCValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dc.impl.DimensionImpl#getWidth <em>Width
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.impl.DimensionImpl#getHeight <em>Height
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.impl.DimensionImpl#getWidth <em>Width</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.impl.DimensionImpl#getHeight <em>Height</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class DimensionImpl extends MinimalEObjectImpl.Container implements
@@ -52,7 +50,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* The default value of the '{@link #getWidth() <em>Width</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getWidth()
* @generated
* @ordered
@@ -62,7 +59,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* The cached value of the '{@link #getWidth() <em>Width</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getWidth()
* @generated
* @ordered
@@ -70,18 +66,17 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
protected double width = WIDTH_EDEFAULT;
/**
- * This is true if the Width attribute has been set. <!-- begin-user-doc -->
+ * This is true if the Width attribute has been set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
protected boolean widthESet;
/**
- * The default value of the '{@link #getHeight() <em>Height</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getHeight() <em>Height</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getHeight()
* @generated
* @ordered
@@ -91,7 +86,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* The cached value of the '{@link #getHeight() <em>Height</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getHeight()
* @generated
* @ordered
@@ -99,9 +93,9 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
protected double height = HEIGHT_EDEFAULT;
/**
- * This is true if the Height attribute has been set. <!-- begin-user-doc
+ * This is true if the Height attribute has been set.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -109,7 +103,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected DimensionImpl() {
@@ -118,7 +111,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -128,7 +120,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getWidth() {
@@ -137,7 +128,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setWidth(double newWidth) {
@@ -146,13 +136,11 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
boolean oldWidthESet = widthESet;
widthESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DCPackage.DIMENSION__WIDTH, oldWidth, width, !oldWidthESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DCPackage.DIMENSION__WIDTH, oldWidth, width, !oldWidthESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetWidth() {
@@ -161,14 +149,11 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
width = WIDTH_EDEFAULT;
widthESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DCPackage.DIMENSION__WIDTH, oldWidth, WIDTH_EDEFAULT,
- oldWidthESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DCPackage.DIMENSION__WIDTH, oldWidth, WIDTH_EDEFAULT, oldWidthESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetWidth() {
@@ -177,7 +162,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getHeight() {
@@ -186,7 +170,6 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setHeight(double newHeight) {
@@ -195,14 +178,11 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
boolean oldHeightESet = heightESet;
heightESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DCPackage.DIMENSION__HEIGHT, oldHeight, height,
- !oldHeightESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DCPackage.DIMENSION__HEIGHT, oldHeight, height, !oldHeightESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetHeight() {
@@ -211,14 +191,11 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
height = HEIGHT_EDEFAULT;
heightESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DCPackage.DIMENSION__HEIGHT, oldHeight, HEIGHT_EDEFAULT,
- oldHeightESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DCPackage.DIMENSION__HEIGHT, oldHeight, HEIGHT_EDEFAULT, oldHeightESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetHeight() {
@@ -226,13 +203,10 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
}
/**
- * The cached validation expression for the '
- * {@link #nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Width</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Width</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #nonNegativeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -240,32 +214,29 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean nonNegativeWidth(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DCValidator
- .validate(
- DCPackage.Literals.DIMENSION,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DCPackage.Literals.DIMENSION___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP,
- NON_NEGATIVE_WIDTH_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DCValidator.DIAGNOSTIC_SOURCE,
- DCValidator.DIMENSION__NON_NEGATIVE_WIDTH);
+ return
+ DCValidator.validate
+ (DCPackage.Literals.DIMENSION,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DCPackage.Literals.DIMENSION___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP,
+ NON_NEGATIVE_WIDTH_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DCValidator.DIAGNOSTIC_SOURCE,
+ DCValidator.DIMENSION__NON_NEGATIVE_WIDTH);
}
/**
- * The cached validation expression for the '
- * {@link #nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Height</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Height</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #nonNegativeHeight(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -273,95 +244,90 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean nonNegativeHeight(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DCValidator
- .validate(
- DCPackage.Literals.DIMENSION,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DCPackage.Literals.DIMENSION___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP,
- NON_NEGATIVE_HEIGHT_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DCValidator.DIAGNOSTIC_SOURCE,
- DCValidator.DIMENSION__NON_NEGATIVE_HEIGHT);
+ return
+ DCValidator.validate
+ (DCPackage.Literals.DIMENSION,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DCPackage.Literals.DIMENSION___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP,
+ NON_NEGATIVE_HEIGHT_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DCValidator.DIAGNOSTIC_SOURCE,
+ DCValidator.DIMENSION__NON_NEGATIVE_HEIGHT);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DCPackage.DIMENSION__WIDTH:
- return getWidth();
- case DCPackage.DIMENSION__HEIGHT:
- return getHeight();
+ case DCPackage.DIMENSION__WIDTH:
+ return getWidth();
+ case DCPackage.DIMENSION__HEIGHT:
+ return getHeight();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DCPackage.DIMENSION__WIDTH:
- setWidth((Double) newValue);
- return;
- case DCPackage.DIMENSION__HEIGHT:
- setHeight((Double) newValue);
- return;
+ case DCPackage.DIMENSION__WIDTH:
+ setWidth((Double)newValue);
+ return;
+ case DCPackage.DIMENSION__HEIGHT:
+ setHeight((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DCPackage.DIMENSION__WIDTH:
- unsetWidth();
- return;
- case DCPackage.DIMENSION__HEIGHT:
- unsetHeight();
- return;
+ case DCPackage.DIMENSION__WIDTH:
+ unsetWidth();
+ return;
+ case DCPackage.DIMENSION__HEIGHT:
+ unsetHeight();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DCPackage.DIMENSION__WIDTH:
- return isSetWidth();
- case DCPackage.DIMENSION__HEIGHT:
- return isSetHeight();
+ case DCPackage.DIMENSION__WIDTH:
+ return isSetWidth();
+ case DCPackage.DIMENSION__HEIGHT:
+ return isSetHeight();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -369,37 +335,27 @@ public class DimensionImpl extends MinimalEObjectImpl.Container implements
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DCPackage.DIMENSION___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP:
- return nonNegativeWidth((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DCPackage.DIMENSION___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP:
- return nonNegativeHeight((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DCPackage.DIMENSION___NON_NEGATIVE_WIDTH__DIAGNOSTICCHAIN_MAP:
+ return nonNegativeWidth((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DCPackage.DIMENSION___NON_NEGATIVE_HEIGHT__DIAGNOSTICCHAIN_MAP:
+ return nonNegativeHeight((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (width: ");
- if (widthESet)
- result.append(width);
- else
- result.append("<unset>");
+ if (widthESet) result.append(width); else result.append("<unset>");
result.append(", height: ");
- if (heightESet)
- result.append(height);
- else
- result.append("<unset>");
+ if (heightESet) result.append(height); else result.append("<unset>");
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/PointImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/PointImpl.java
index 489fb62de81..7fe2c4b2d05 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/PointImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/impl/PointImpl.java
@@ -27,11 +27,11 @@ import org.eclipse.papyrus.dd.dc.Point;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dc.impl.PointImpl#getX <em>X</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dc.impl.PointImpl#getY <em>Y</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.impl.PointImpl#getX <em>X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dc.impl.PointImpl#getY <em>Y</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PointImpl extends MinimalEObjectImpl.Container implements Point {
@@ -57,9 +57,9 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
protected double x = X_EDEFAULT;
/**
- * This is true if the X attribute has been set. <!-- begin-user-doc -->
+ * This is true if the X attribute has been set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -86,9 +86,9 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
protected double y = Y_EDEFAULT;
/**
- * This is true if the Y attribute has been set. <!-- begin-user-doc -->
+ * This is true if the Y attribute has been set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -96,7 +96,6 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected PointImpl() {
@@ -105,7 +104,6 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -115,7 +113,6 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getX() {
@@ -124,7 +121,6 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setX(double newX) {
@@ -133,13 +129,11 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
boolean oldXESet = xESet;
xESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DCPackage.POINT__X, oldX, x, !oldXESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DCPackage.POINT__X, oldX, x, !oldXESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetX() {
@@ -148,13 +142,11 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
x = X_EDEFAULT;
xESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DCPackage.POINT__X, oldX, X_EDEFAULT, oldXESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DCPackage.POINT__X, oldX, X_EDEFAULT, oldXESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetX() {
@@ -163,7 +155,6 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getY() {
@@ -172,7 +163,6 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setY(double newY) {
@@ -181,13 +171,11 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
boolean oldYESet = yESet;
yESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DCPackage.POINT__Y, oldY, y, !oldYESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DCPackage.POINT__Y, oldY, y, !oldYESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetY() {
@@ -196,13 +184,11 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
y = Y_EDEFAULT;
yESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DCPackage.POINT__Y, oldY, Y_EDEFAULT, oldYESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DCPackage.POINT__Y, oldY, Y_EDEFAULT, oldYESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetY() {
@@ -211,93 +197,81 @@ public class PointImpl extends MinimalEObjectImpl.Container implements Point {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DCPackage.POINT__X:
- return getX();
- case DCPackage.POINT__Y:
- return getY();
+ case DCPackage.POINT__X:
+ return getX();
+ case DCPackage.POINT__Y:
+ return getY();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DCPackage.POINT__X:
- setX((Double) newValue);
- return;
- case DCPackage.POINT__Y:
- setY((Double) newValue);
- return;
+ case DCPackage.POINT__X:
+ setX((Double)newValue);
+ return;
+ case DCPackage.POINT__Y:
+ setY((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DCPackage.POINT__X:
- unsetX();
- return;
- case DCPackage.POINT__Y:
- unsetY();
- return;
+ case DCPackage.POINT__X:
+ unsetX();
+ return;
+ case DCPackage.POINT__Y:
+ unsetY();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DCPackage.POINT__X:
- return isSetX();
- case DCPackage.POINT__Y:
- return isSetY();
+ case DCPackage.POINT__X:
+ return isSetX();
+ case DCPackage.POINT__Y:
+ return isSetY();
}
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(" (x: ");
- if (xESet)
- result.append(x);
- else
- result.append("<unset>");
+ if (xESet) result.append(x); else result.append("<unset>");
result.append(", y: ");
- if (yESet)
- result.append(y);
- else
- result.append("<unset>");
+ if (yESet) result.append(y); else result.append("<unset>");
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCAdapterFactory.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCAdapterFactory.java
index b225359f91c..d971ef4cdf5 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCAdapterFactory.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCAdapterFactory.java
@@ -24,23 +24,22 @@ import org.eclipse.papyrus.dd.dc.*;
* <!-- 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.dd.dc.DCPackage
* @generated
*/
public class DCAdapterFactory extends AdapterFactoryImpl {
/**
- * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static DCPackage modelPackage;
/**
- * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DCAdapterFactory() {
@@ -54,7 +53,6 @@ public class DCAdapterFactory extends AdapterFactoryImpl {
* <!-- 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
*/
@@ -64,7 +62,7 @@ public class DCAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -76,39 +74,35 @@ public class DCAdapterFactory extends AdapterFactoryImpl {
* @generated
*/
protected DCSwitch<Adapter> modelSwitch = new DCSwitch<Adapter>() {
- @Override
- public Adapter casePoint(Point object) {
- return createPointAdapter();
- }
-
- @Override
- public Adapter caseDimension(Dimension object) {
- return createDimensionAdapter();
- }
-
- @Override
- public Adapter caseBounds(Bounds object) {
- return createBoundsAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter casePoint(Point object) {
+ return createPointAdapter();
+ }
+ @Override
+ public Adapter caseDimension(Dimension object) {
+ return createDimensionAdapter();
+ }
+ @Override
+ public Adapter caseBounds(Bounds object) {
+ return createBoundsAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
- * Creates an adapter for the <code>target</code>. <!-- begin-user-doc -->
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
+ * @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);
+ return modelSwitch.doSwitch((EObject)target);
}
/**
@@ -157,9 +151,9 @@ public class DCAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for the default case. <!-- begin-user-doc --> This
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCSwitch.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCSwitch.java
index ff95308cc47..b935c7caaf3 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCSwitch.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCSwitch.java
@@ -25,23 +25,22 @@ import org.eclipse.papyrus.dd.dc.*;
* 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.dd.dc.DCPackage
* @generated
*/
public class DCSwitch<T> extends Switch<T> {
/**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static DCPackage modelPackage;
/**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!--
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DCSwitch() {
@@ -64,53 +63,44 @@ public class DCSwitch<T> extends Switch<T> {
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns
- * a non null result; it yields that result. <!-- begin-user-doc --> <!--
+ * 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.
+ * @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 DCPackage.POINT: {
- Point point = (Point) theEObject;
- T result = casePoint(point);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DCPackage.DIMENSION: {
- Dimension dimension = (Dimension) theEObject;
- T result = caseDimension(dimension);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DCPackage.BOUNDS: {
- Bounds bounds = (Bounds) theEObject;
- T result = caseBounds(bounds);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
+ case DCPackage.POINT: {
+ Point point = (Point)theEObject;
+ T result = casePoint(point);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DCPackage.DIMENSION: {
+ Dimension dimension = (Dimension)theEObject;
+ T result = caseDimension(dimension);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DCPackage.BOUNDS: {
+ Bounds bounds = (Bounds)theEObject;
+ T result = caseBounds(bounds);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Point</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Point</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>Point</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Point</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -119,15 +109,12 @@ public class DCSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Dimension</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Dimension</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>Dimension</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dimension</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -136,15 +123,12 @@ public class DCSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Bounds</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Bounds</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>Bounds</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Bounds</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -153,15 +137,12 @@ public class DCSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>EObject</em>'. <!-- begin-user-doc --> This implementation returns
+ * 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>'.
+ * @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
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCValidator.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCValidator.java
index 2a3ccfc2a6f..b0d99890cd8 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCValidator.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dc/util/DCValidator.java
@@ -37,18 +37,15 @@ import org.eclipse.papyrus.dd.dc.*;
public class DCValidator extends EObjectValidator {
/**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static final DCValidator INSTANCE = new DCValidator();
/**
- * A constant for the
- * {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of
- * diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes}
- * from this package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.emf.common.util.Diagnostic#getSource()
* @see org.eclipse.emf.common.util.Diagnostic#getCode()
* @generated
@@ -56,78 +53,69 @@ public class DCValidator extends EObjectValidator {
public static final String DIAGNOSTIC_SOURCE = "org.eclipse.papyrus.dd.dc";
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Non Negative Width' of 'Dimension'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Non Negative Width' of 'Dimension'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int DIMENSION__NON_NEGATIVE_WIDTH = 1;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Non Negative Height' of 'Dimension'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Non Negative Height' of 'Dimension'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int DIMENSION__NON_NEGATIVE_HEIGHT = 2;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Non Negative Width' of 'Bounds'. <!-- begin-user-doc --> <!--
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Non Negative Width' of 'Bounds'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static final int BOUNDS__NON_NEGATIVE_WIDTH = 3;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Non Negative Height' of 'Bounds'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Non Negative Height' of 'Bounds'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int BOUNDS__NON_NEGATIVE_HEIGHT = 4;
/**
- * A constant with a fixed name that can be used as the base value for
- * additional hand written constants. <!-- begin-user-doc --> <!--
+ * A constant with a fixed name that can be used as the base value for additional hand written constants.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 4;
/**
- * A constant with a fixed name that can be used as the base value for
- * additional hand written constants in a derived class. <!-- begin-user-doc
+ * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
/**
- * Delegates evaluation of the given invariant expression against the object
- * in the given context. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Delegates evaluation of the given invariant expression against the object in the given context.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static boolean validate(EClass eClass, EObject eObject,
DiagnosticChain diagnostics, Map<Object, Object> context,
String validationDelegate, EOperation invariant, String expression,
int severity, String source, int code) {
- return EObjectValidator.validate(eClass, eObject, diagnostics, context,
- validationDelegate, invariant, expression, severity, source,
- code);
+ return EObjectValidator.validate(eClass, eObject, diagnostics, context, validationDelegate, invariant, expression, severity, source, code);
}
/**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!--
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DCValidator() {
@@ -135,52 +123,50 @@ public class DCValidator extends EObjectValidator {
}
/**
- * Returns the package of this validator switch. <!-- begin-user-doc -->
+ * Returns the package of this validator switch.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected EPackage getEPackage() {
- return DCPackage.eINSTANCE;
+ return DCPackage.eINSTANCE;
}
/**
- * Calls <code>validateXXX</code> for the corresponding classifier of the
- * model. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Calls <code>validateXXX</code> for the corresponding classifier of the model.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
protected boolean validate(int classifierID, Object value,
DiagnosticChain diagnostics, Map<Object, Object> context) {
switch (classifierID) {
- case DCPackage.POINT:
- return validatePoint((Point) value, diagnostics, context);
- case DCPackage.DIMENSION:
- return validateDimension((Dimension) value, diagnostics, context);
- case DCPackage.BOUNDS:
- return validateBounds((Bounds) value, diagnostics, context);
- case DCPackage.KNOWN_COLOR:
- return validateKnownColor((KnownColor) value, diagnostics, context);
- case DCPackage.BOOLEAN:
- return validateBoolean((Boolean) value, diagnostics, context);
- case DCPackage.INTEGER:
- return validateInteger((Integer) value, diagnostics, context);
- case DCPackage.REAL:
- return validateReal((Double) value, diagnostics, context);
- case DCPackage.STRING:
- return validateString((String) value, diagnostics, context);
- case DCPackage.COLOR:
- return validateColor((Color) value, diagnostics, context);
- default:
- return true;
+ case DCPackage.POINT:
+ return validatePoint((Point)value, diagnostics, context);
+ case DCPackage.DIMENSION:
+ return validateDimension((Dimension)value, diagnostics, context);
+ case DCPackage.BOUNDS:
+ return validateBounds((Bounds)value, diagnostics, context);
+ case DCPackage.KNOWN_COLOR:
+ return validateKnownColor((KnownColor)value, diagnostics, context);
+ case DCPackage.BOOLEAN:
+ return validateBoolean((Boolean)value, diagnostics, context);
+ case DCPackage.INTEGER:
+ return validateInteger((Integer)value, diagnostics, context);
+ case DCPackage.REAL:
+ return validateReal((Double)value, diagnostics, context);
+ case DCPackage.STRING:
+ return validateString((String)value, diagnostics, context);
+ case DCPackage.COLOR:
+ return validateColor((Color)value, diagnostics, context);
+ default:
+ return true;
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePoint(Point point, DiagnosticChain diagnostics,
@@ -190,40 +176,21 @@ public class DCValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateDimension(Dimension dimension,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(dimension, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(dimension,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(dimension, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(dimension,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(dimension,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(dimension, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(dimension, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(dimension, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(dimension, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDimension_nonNegativeWidth(dimension,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDimension_nonNegativeHeight(dimension,
- diagnostics, context);
+ if (!validate_NoCircularContainment(dimension, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDimension_nonNegativeWidth(dimension, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDimension_nonNegativeHeight(dimension, diagnostics, context);
return result;
}
@@ -251,38 +218,21 @@ public class DCValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateBounds(Bounds bounds, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(bounds, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(bounds,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(bounds, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(bounds, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(bounds,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(bounds, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(bounds, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(bounds, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(bounds, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateBounds_nonNegativeWidth(bounds, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateBounds_nonNegativeHeight(bounds, diagnostics,
- context);
+ if (!validate_NoCircularContainment(bounds, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validateBounds_nonNegativeWidth(bounds, diagnostics, context);
+ if (result || diagnostics != null) result &= validateBounds_nonNegativeHeight(bounds, diagnostics, context);
return result;
}
@@ -310,7 +260,6 @@ public class DCValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateKnownColor(KnownColor knownColor,
@@ -320,7 +269,6 @@ public class DCValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateBoolean(boolean boolean_,
@@ -330,7 +278,6 @@ public class DCValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateInteger(int integer, DiagnosticChain diagnostics,
@@ -340,7 +287,6 @@ public class DCValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateReal(double real, DiagnosticChain diagnostics,
@@ -350,7 +296,6 @@ public class DCValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateString(String string, DiagnosticChain diagnostics,
@@ -360,7 +305,6 @@ public class DCValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateColor(Color color, DiagnosticChain diagnostics,
@@ -369,16 +313,14 @@ public class DCValidator extends EObjectValidator {
}
/**
- * Returns the resource locator that will be used to fetch messages for this
- * validator's diagnostics. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
// TODO
- // Specialize this to return a resource locator for messages specific to
- // this validator.
+ // Specialize this to return a resource locator for messages specific to this validator.
// Ensure that you remove @generated or mark it @generated NOT
return super.getResourceLocator();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Canvas.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Canvas.java
index d5f092d0227..ab78f601e15 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Canvas.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Canvas.java
@@ -18,17 +18,18 @@ import org.eclipse.papyrus.dd.dc.Bounds;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Canvas</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Canvas is a kind of group that has bounds. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Canvas is a kind of group that has bounds.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Canvas#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Canvas#getBounds <em>Bounds</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getCanvas()
* @model
* @generated
@@ -49,12 +50,10 @@ public interface Canvas extends Group {
Bounds getBounds();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Canvas#getBounds
- * <em>Bounds</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Canvas#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Bounds</em>' containment reference.
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
* @see #getBounds()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Circle.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Circle.java
index 1e3ad034632..683e928c72f 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Circle.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Circle.java
@@ -20,18 +20,19 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Circle</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Circle is a graphical element that defines a
- * circular shape with a given center point and a radius. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Circle is a graphical element that defines a circular shape with a given center point and a radius.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Circle#getCenter <em>Center</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Circle#getRadius <em>Radius</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Circle#getCenter <em>Center</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Circle#getRadius <em>Radius</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getCircle()
* @model
* @generated
@@ -52,28 +53,26 @@ public interface Circle extends GraphicalElement {
Point getCenter();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Circle#getCenter
- * <em>Center</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Circle#getCenter <em>Center</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Center</em>' containment reference.
+ * @param value the new value of the '<em>Center</em>' containment reference.
* @see #getCenter()
* @generated
*/
void setCenter(Point value);
/**
- * Returns the value of the '<em><b>Radius</b></em>' attribute. The default
- * value is <code>"0"</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
- * <!-- begin-model-doc --> a real number (>=0) that represents the radius
- * of the circle. <!-- end-model-doc -->
- *
+ * Returns the value of the '<em><b>Radius</b></em>' attribute.
+ * The default value is <code>"0"</code>.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * a real number (>=0) that represents the radius of the circle.
+ * <!-- end-model-doc -->
* @return the value of the '<em>Radius</em>' attribute.
* @see #setRadius(double)
* @see org.eclipse.papyrus.dd.dg.DGPackage#getCircle_Radius()
- * @model default="0" dataType="org.eclipse.papyrus.dd.dc.Real"
- * required="true" ordered="false"
+ * @model default="0" dataType="org.eclipse.papyrus.dd.dc.Real" required="true" ordered="false"
* @generated
*/
double getRadius();
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClipPath.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClipPath.java
index 8652e6c3eb9..f09f470ffda 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClipPath.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClipPath.java
@@ -14,12 +14,12 @@ package org.eclipse.papyrus.dd.dg;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Clip Path</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> ClipPath is a kind of group whose members
- * collectively define a painting mask for its referencing graphical elements.
+ *
+ * <!-- begin-model-doc -->
+ * ClipPath is a kind of group whose members collectively define a painting mask for its referencing graphical elements.
* <!-- end-model-doc -->
- *
- *
+ *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getClipPath()
* @model
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClosePath.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClosePath.java
index d6d6efc3457..f5c681d952c 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClosePath.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ClosePath.java
@@ -14,13 +14,12 @@ package org.eclipse.papyrus.dd.dg;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Close Path</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> ClosePath is a kind of path command that ends the
- * current subpath and causes an automatic straight line to be drawn from the
- * current point to the initial point of the current subpath. <!-- end-model-doc
- * -->
- *
- *
+ *
+ * <!-- begin-model-doc -->
+ * ClosePath is a kind of path command that ends the current subpath and causes an automatic straight line to be drawn from the current point to the initial point of the current subpath.
+ * <!-- end-model-doc -->
+ *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getClosePath()
* @model
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/CubicCurveTo.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/CubicCurveTo.java
index c995ff4d354..0c596e65ce7 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/CubicCurveTo.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/CubicCurveTo.java
@@ -16,28 +16,23 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Cubic Curve To</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> CubicCurveTo is a kind of path command that draws a
- * cubic b?zier curve from the current point to a new point using a start and an
- * end control points. Definitions nests definitions that are commonly
- * referenced in the containing canvas. It can also nest an embedded stylesheet.
- * EllipticalArcTo is a kind of path command that draws an elliptical arc from
- * the current point to a new point in the coordinate system. QuadraticCurveTo
- * is a kind of path command that draws a quadratic b?zier curve from the
- * current point to a new point using a single control point. <!-- end-model-doc
- * -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * CubicCurveTo is a kind of path command that draws a cubic b?zier curve from the current point to a new point using a start and an end control points.
+ * Definitions nests definitions that are commonly referenced in the containing canvas. It can also nest an embedded stylesheet.
+ * EllipticalArcTo is a kind of path command that draws an elliptical arc from the current point to a new point in the coordinate system.
+ * QuadraticCurveTo is a kind of path command that draws a quadratic b?zier curve from the current point to a new point using a single control point.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getStartControl <em>Start
- * Control</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getEndControl <em>End
- * Control</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getPoint <em>Point</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getStartControl <em>Start Control</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getEndControl <em>End Control</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getCubicCurveTo()
* @model
* @generated
@@ -58,12 +53,9 @@ public interface CubicCurveTo extends PathCommand {
Point getPoint();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getPoint <em>Point</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Point</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getPoint <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Point</em>' containment reference.
* @see #getPoint()
* @generated
*/
@@ -84,14 +76,10 @@ public interface CubicCurveTo extends PathCommand {
Point getStartControl();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getStartControl
- * <em>Start Control</em>}' containment reference. <!-- begin-user-doc -->
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getStartControl <em>Start Control</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Start Control</em>' containment
- * reference.
+ * @param value the new value of the '<em>Start Control</em>' containment reference.
* @see #getStartControl()
* @generated
*/
@@ -112,14 +100,10 @@ public interface CubicCurveTo extends PathCommand {
Point getEndControl();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getEndControl
- * <em>End Control</em>}' containment reference. <!-- begin-user-doc -->
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getEndControl <em>End Control</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>End Control</em>' containment
- * reference.
+ * @param value the new value of the '<em>End Control</em>' containment reference.
* @see #getEndControl()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGFactory.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGFactory.java
index 6726c1dc661..11ecebd373e 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGFactory.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGFactory.java
@@ -16,86 +16,85 @@ 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.dd.dg.DGPackage
* @generated
*/
public interface DGFactory extends EFactory {
/**
- * The singleton instance of the factory. <!-- begin-user-doc --> <!--
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
DGFactory eINSTANCE = org.eclipse.papyrus.dd.dg.impl.DGFactoryImpl.init();
/**
- * Returns a new object of class '<em>Canvas</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Canvas</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Canvas</em>'.
* @generated
*/
Canvas createCanvas();
/**
- * Returns a new object of class '<em>Group</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Group</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Group</em>'.
* @generated
*/
Group createGroup();
/**
- * Returns a new object of class '<em>Move To</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Move To</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Move To</em>'.
* @generated
*/
MoveTo createMoveTo();
/**
- * Returns a new object of class '<em>Clip Path</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Clip Path</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Clip Path</em>'.
* @generated
*/
ClipPath createClipPath();
/**
- * Returns a new object of class '<em>Style</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Style</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Style</em>'.
* @generated
*/
Style createStyle();
/**
- * Returns a new object of class '<em>Paint</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Paint</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Paint</em>'.
* @generated
*/
Paint createPaint();
/**
- * Returns a new object of class '<em>Circle</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Circle</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Circle</em>'.
* @generated
*/
Circle createCircle();
/**
- * Returns a new object of class '<em>Close Path</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Close Path</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Close Path</em>'.
* @generated
*/
@@ -111,27 +110,27 @@ public interface DGFactory extends EFactory {
CubicCurveTo createCubicCurveTo();
/**
- * Returns a new object of class '<em>Definitions</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Definitions</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Definitions</em>'.
* @generated
*/
Definitions createDefinitions();
/**
- * Returns a new object of class '<em>Style Sheet</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Style Sheet</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Style Sheet</em>'.
* @generated
*/
StyleSheet createStyleSheet();
/**
- * Returns a new object of class '<em>Style Rule</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Style Rule</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Style Rule</em>'.
* @generated
*/
@@ -147,9 +146,9 @@ public interface DGFactory extends EFactory {
StyleSelector createStyleSelector();
/**
- * Returns a new object of class '<em>Ellipse</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Ellipse</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Ellipse</em>'.
* @generated
*/
@@ -183,27 +182,27 @@ public interface DGFactory extends EFactory {
GradientStop createGradientStop();
/**
- * Returns a new object of class '<em>Image</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Image</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Image</em>'.
* @generated
*/
Image createImage();
/**
- * Returns a new object of class '<em>Line</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Line</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Line</em>'.
* @generated
*/
Line createLine();
/**
- * Returns a new object of class '<em>Marker</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Marker</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Marker</em>'.
* @generated
*/
@@ -219,54 +218,54 @@ public interface DGFactory extends EFactory {
LinearGradient createLinearGradient();
/**
- * Returns a new object of class '<em>Line To</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Line To</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Line To</em>'.
* @generated
*/
LineTo createLineTo();
/**
- * Returns a new object of class '<em>Matrix</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Matrix</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Matrix</em>'.
* @generated
*/
Matrix createMatrix();
/**
- * Returns a new object of class '<em>Path</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Path</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Path</em>'.
* @generated
*/
Path createPath();
/**
- * Returns a new object of class '<em>Pattern</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Pattern</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Pattern</em>'.
* @generated
*/
Pattern createPattern();
/**
- * Returns a new object of class '<em>Polygon</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Polygon</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Polygon</em>'.
* @generated
*/
Polygon createPolygon();
/**
- * Returns a new object of class '<em>Polyline</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Polyline</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Polyline</em>'.
* @generated
*/
@@ -282,81 +281,81 @@ public interface DGFactory extends EFactory {
RadialGradient createRadialGradient();
/**
- * Returns a new object of class '<em>Rectangle</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Rectangle</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Rectangle</em>'.
* @generated
*/
Rectangle createRectangle();
/**
- * Returns a new object of class '<em>Root Canvas</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Root Canvas</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Root Canvas</em>'.
* @generated
*/
RootCanvas createRootCanvas();
/**
- * Returns a new object of class '<em>Rotate</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Rotate</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Rotate</em>'.
* @generated
*/
Rotate createRotate();
/**
- * Returns a new object of class '<em>Scale</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Scale</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Scale</em>'.
* @generated
*/
Scale createScale();
/**
- * Returns a new object of class '<em>Skew</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Skew</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Skew</em>'.
* @generated
*/
Skew createSkew();
/**
- * Returns a new object of class '<em>Text</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Text</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Text</em>'.
* @generated
*/
Text createText();
/**
- * Returns a new object of class '<em>Translate</em>'. <!-- begin-user-doc
+ * Returns a new object of class '<em>Translate</em>'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @return a new object of class '<em>Translate</em>'.
* @generated
*/
Translate createTranslate();
/**
- * Returns a new object of class '<em>Use</em>'. <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Use</em>'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Use</em>'.
* @generated
*/
Use createUse();
/**
- * Returns the package supported by this factory. <!-- begin-user-doc -->
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGPackage.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGPackage.java
index b02830381e0..3ed6eb2b538 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGPackage.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/DGPackage.java
@@ -43,39 +43,37 @@ import org.eclipse.emf.ecore.EReference;
*/
public interface DGPackage extends EPackage {
/**
- * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNAME = "dg";
/**
- * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package namespace URI.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNS_URI = "http://www.omg.org/spec/DD/20110901/DG";
/**
- * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package namespace name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNS_PREFIX = "dg";
/**
- * The singleton instance of the package. <!-- begin-user-doc --> <!--
+ * The singleton instance of the package.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
DGPackage eINSTANCE = org.eclipse.papyrus.dd.dg.impl.DGPackageImpl.init();
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.DefinitionImpl <em>Definition</em>}
- * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.DefinitionImpl <em>Definition</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.DefinitionImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getDefinition()
* @generated
@@ -94,7 +92,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Definition</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -119,11 +116,9 @@ public interface DGPackage extends EPackage {
int DEFINITION_OPERATION_COUNT = 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl
- * <em>Graphical Element</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl <em>Graphical Element</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getGraphicalElement()
* @generated
@@ -169,29 +164,35 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int GRAPHICAL_ELEMENT__STYLE = DEFINITION_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int GRAPHICAL_ELEMENT__TRANSFORM = DEFINITION_FEATURE_COUNT + 4;
/**
- * The number of structural features of the '<em>Graphical Element</em>'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GRAPHICAL_ELEMENT__LAYOUT_DATA = DEFINITION_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Graphical Element</em>' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- int GRAPHICAL_ELEMENT_FEATURE_COUNT = DEFINITION_FEATURE_COUNT + 5;
+ int GRAPHICAL_ELEMENT_FEATURE_COUNT = DEFINITION_FEATURE_COUNT + 6;
/**
* The operation id for the '<em>Id Cannot Be Empty</em>' operation. <!--
@@ -205,7 +206,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -221,10 +221,8 @@ public interface DGPackage extends EPackage {
int GRAPHICAL_ELEMENT_OPERATION_COUNT = DEFINITION_OPERATION_COUNT + 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.GroupImpl <em>Group</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.GroupImpl <em>Group</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.GroupImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getGroup()
* @generated
@@ -270,38 +268,53 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int GROUP__STYLE = GRAPHICAL_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int GROUP__TRANSFORM = GRAPHICAL_ELEMENT__TRANSFORM;
/**
- * The feature id for the '<em><b>Member</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP__LAYOUT_DATA = GRAPHICAL_ELEMENT__LAYOUT_DATA;
+
+ /**
+ * The feature id for the '<em><b>Member</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int GROUP__MEMBER = GRAPHICAL_ELEMENT_FEATURE_COUNT + 0;
/**
+ * The feature id for the '<em><b>Layout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int GROUP__LAYOUT = GRAPHICAL_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
* The number of structural features of the '<em>Group</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @generated
* @ordered
*/
- int GROUP_FEATURE_COUNT = GRAPHICAL_ELEMENT_FEATURE_COUNT + 1;
+ int GROUP_FEATURE_COUNT = GRAPHICAL_ELEMENT_FEATURE_COUNT + 2;
/**
* The operation id for the '<em>Id Cannot Be Empty</em>' operation. <!--
@@ -315,7 +328,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -331,10 +343,8 @@ public interface DGPackage extends EPackage {
int GROUP_OPERATION_COUNT = GRAPHICAL_ELEMENT_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.CanvasImpl <em>Canvas</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.CanvasImpl <em>Canvas</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.CanvasImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getCanvas()
* @generated
@@ -380,34 +390,48 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int CANVAS__STYLE = GROUP__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int CANVAS__TRANSFORM = GROUP__TRANSFORM;
/**
- * The feature id for the '<em><b>Member</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CANVAS__LAYOUT_DATA = GROUP__LAYOUT_DATA;
+
+ /**
+ * The feature id for the '<em><b>Member</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int CANVAS__MEMBER = GROUP__MEMBER;
/**
+ * The feature id for the '<em><b>Layout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CANVAS__LAYOUT = GROUP__LAYOUT;
+
+ /**
* The feature id for the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -434,16 +458,14 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int CANVAS___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = GROUP___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Canvas Cannot Have Transforms</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Canvas Cannot Have Transforms</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -482,7 +504,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Path Command</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -498,10 +519,8 @@ public interface DGPackage extends EPackage {
int PATH_COMMAND_OPERATION_COUNT = 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.MoveToImpl <em>Move To</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.MoveToImpl <em>Move To</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.MoveToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getMoveTo()
* @generated
@@ -520,7 +539,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Point</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -545,10 +563,8 @@ public interface DGPackage extends EPackage {
int MOVE_TO_OPERATION_COUNT = PATH_COMMAND_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.ClipPathImpl <em>Clip Path</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.ClipPathImpl <em>Clip Path</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.ClipPathImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getClipPath()
* @generated
@@ -594,31 +610,46 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int CLIP_PATH__STYLE = GROUP__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int CLIP_PATH__TRANSFORM = GROUP__TRANSFORM;
/**
- * The feature id for the '<em><b>Member</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CLIP_PATH__LAYOUT_DATA = GROUP__LAYOUT_DATA;
+
+ /**
+ * The feature id for the '<em><b>Member</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int CLIP_PATH__MEMBER = GROUP__MEMBER;
/**
+ * The feature id for the '<em><b>Layout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CLIP_PATH__LAYOUT = GROUP__LAYOUT;
+
+ /**
* The number of structural features of the '<em>Clip Path</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -639,7 +670,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -655,10 +685,8 @@ public interface DGPackage extends EPackage {
int CLIP_PATH_OPERATION_COUNT = GROUP_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.StyleImpl <em>Style</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl <em>Style</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.StyleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getStyle()
* @generated
@@ -686,7 +714,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Stroke</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -711,9 +738,8 @@ public interface DGPackage extends EPackage {
int STYLE__STROKE_OPACITY = 4;
/**
- * The feature id for the '<em><b>Stroke Dash Length</b></em>' attribute
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Stroke Dash Length</b></em>' attribute list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -803,7 +829,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Valid Dash Length Size</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -828,10 +853,8 @@ public interface DGPackage extends EPackage {
int STYLE_OPERATION_COUNT = 5;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PaintImpl <em>Paint</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.PaintImpl <em>Paint</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.PaintImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPaint()
* @generated
@@ -866,9 +889,8 @@ public interface DGPackage extends EPackage {
int PAINT_FEATURE_COUNT = 2;
/**
- * The operation id for the '<em>Referenced Paint Server Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Paint Server Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -905,9 +927,8 @@ public interface DGPackage extends EPackage {
int PAINT_SERVER__ID = DEFINITION__ID;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -916,7 +937,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Paint Server</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -941,10 +961,8 @@ public interface DGPackage extends EPackage {
int PAINT_SERVER_OPERATION_COUNT = DEFINITION_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.TransformImpl <em>Transform</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.TransformImpl <em>Transform</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.TransformImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getTransform()
* @generated
@@ -970,10 +988,8 @@ public interface DGPackage extends EPackage {
int TRANSFORM_OPERATION_COUNT = 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.CircleImpl <em>Circle</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.CircleImpl <em>Circle</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.CircleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getCircle()
* @generated
@@ -1019,25 +1035,31 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int CIRCLE__STYLE = GRAPHICAL_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int CIRCLE__TRANSFORM = GRAPHICAL_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CIRCLE__LAYOUT_DATA = GRAPHICAL_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>Center</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1073,7 +1095,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1098,10 +1119,8 @@ public interface DGPackage extends EPackage {
int CIRCLE_OPERATION_COUNT = GRAPHICAL_ELEMENT_OPERATION_COUNT + 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.ClosePathImpl <em>Close Path</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.ClosePathImpl <em>Close Path</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.ClosePathImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getClosePath()
* @generated
@@ -1120,7 +1139,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Close Path</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1136,11 +1154,9 @@ public interface DGPackage extends EPackage {
int CLOSE_PATH_OPERATION_COUNT = PATH_COMMAND_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl
- * <em>Cubic Curve To</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl <em>Cubic Curve To</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getCubicCurveTo()
* @generated
@@ -1157,18 +1173,16 @@ public interface DGPackage extends EPackage {
int CUBIC_CURVE_TO__IS_RELATIVE = PATH_COMMAND__IS_RELATIVE;
/**
- * The feature id for the '<em><b>Start Control</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Start Control</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int CUBIC_CURVE_TO__START_CONTROL = PATH_COMMAND_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>End Control</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>End Control</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -1177,7 +1191,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Point</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1186,7 +1199,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Cubic Curve To</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1214,18 +1226,16 @@ public interface DGPackage extends EPackage {
int DEFINITIONS = 14;
/**
- * The feature id for the '<em><b>Defnition</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Defnition</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int DEFINITIONS__DEFNITION = 0;
/**
- * The feature id for the '<em><b>Style Sheet</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Style Sheet</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -1234,7 +1244,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Definitions</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1264,7 +1273,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Rule</b></em>' containment reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1273,7 +1281,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Style Sheet</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1289,10 +1296,8 @@ public interface DGPackage extends EPackage {
int STYLE_SHEET_OPERATION_COUNT = 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl <em>Style Rule</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl <em>Style Rule</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getStyleRule()
* @generated
@@ -1300,9 +1305,8 @@ public interface DGPackage extends EPackage {
int STYLE_RULE = 16;
/**
- * The feature id for the '<em><b>Selector</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Selector</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -1311,7 +1315,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1320,7 +1323,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Style Rule</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1336,11 +1338,9 @@ public interface DGPackage extends EPackage {
int STYLE_RULE_OPERATION_COUNT = 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl
- * <em>Style Selector</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl <em>Style Selector</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getStyleSelector()
* @generated
@@ -1368,7 +1368,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Style Selector</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1384,10 +1383,8 @@ public interface DGPackage extends EPackage {
int STYLE_SELECTOR_OPERATION_COUNT = 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.EllipseImpl <em>Ellipse</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.EllipseImpl <em>Ellipse</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.EllipseImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getEllipse()
* @generated
@@ -1433,25 +1430,31 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int ELLIPSE__STYLE = GRAPHICAL_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int ELLIPSE__TRANSFORM = GRAPHICAL_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELLIPSE__LAYOUT_DATA = GRAPHICAL_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>Center</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1460,7 +1463,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Radii</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1487,7 +1489,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1503,11 +1504,9 @@ public interface DGPackage extends EPackage {
int ELLIPSE_OPERATION_COUNT = GRAPHICAL_ELEMENT_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl
- * <em>Elliptical Arc To</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl <em>Elliptical Arc To</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getEllipticalArcTo()
* @generated
@@ -1526,7 +1525,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Radii</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1562,16 +1560,14 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Point</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int ELLIPTICAL_ARC_TO__POINT = PATH_COMMAND_FEATURE_COUNT + 4;
/**
- * The number of structural features of the '<em>Elliptical Arc To</em>'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The number of structural features of the '<em>Elliptical Arc To</em>' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -1587,11 +1583,9 @@ public interface DGPackage extends EPackage {
int ELLIPTICAL_ARC_TO_OPERATION_COUNT = PATH_COMMAND_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl
- * <em>Quadratic Curve To</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl <em>Quadratic Curve To</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getQuadraticCurveTo()
* @generated
@@ -1610,7 +1604,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Control</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1619,16 +1612,14 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Point</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int QUADRATIC_CURVE_TO__POINT = PATH_COMMAND_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Quadratic Curve To</em>'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The number of structural features of the '<em>Quadratic Curve To</em>' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -1644,10 +1635,8 @@ public interface DGPackage extends EPackage {
int QUADRATIC_CURVE_TO_OPERATION_COUNT = PATH_COMMAND_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.GradientImpl <em>Gradient</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.GradientImpl <em>Gradient</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.GradientImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getGradient()
* @generated
@@ -1664,9 +1653,8 @@ public interface DGPackage extends EPackage {
int GRADIENT__ID = PAINT_SERVER__ID;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -1675,7 +1663,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Stop</b></em>' containment reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1750,7 +1737,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Gradient Stop</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1784,10 +1770,8 @@ public interface DGPackage extends EPackage {
int GRADIENT_STOP_OPERATION_COUNT = 2;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.ImageImpl <em>Image</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.ImageImpl <em>Image</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.ImageImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getImage()
* @generated
@@ -1833,22 +1817,29 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int IMAGE__STYLE = GRAPHICAL_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int IMAGE__TRANSFORM = GRAPHICAL_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMAGE__LAYOUT_DATA = GRAPHICAL_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>Source</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -1860,16 +1851,14 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int IMAGE__BOUNDS = GRAPHICAL_ELEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Is Aspect Ratio Preserved</b></em>'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Is Aspect Ratio Preserved</b></em>' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -1896,7 +1885,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1905,7 +1893,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Source Cannot Be Empty</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -1921,11 +1908,9 @@ public interface DGPackage extends EPackage {
int IMAGE_OPERATION_COUNT = GRAPHICAL_ELEMENT_OPERATION_COUNT + 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl
- * <em>Marked Element</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl <em>Marked Element</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getMarkedElement()
* @generated
@@ -1971,22 +1956,29 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int MARKED_ELEMENT__STYLE = GRAPHICAL_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int MARKED_ELEMENT__TRANSFORM = GRAPHICAL_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MARKED_ELEMENT__LAYOUT_DATA = GRAPHICAL_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>End Marker</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -2016,7 +2008,6 @@ public interface DGPackage extends EPackage {
/**
* The number of structural features of the '<em>Marked Element</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2034,34 +2025,30 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int MARKED_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Start Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Start Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = GRAPHICAL_ELEMENT_OPERATION_COUNT + 0;
/**
- * The operation id for the '<em>Referenced Mid Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Mid Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = GRAPHICAL_ELEMENT_OPERATION_COUNT + 1;
/**
- * The operation id for the '<em>Referenced End Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced End Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -2077,10 +2064,8 @@ public interface DGPackage extends EPackage {
int MARKED_ELEMENT_OPERATION_COUNT = GRAPHICAL_ELEMENT_OPERATION_COUNT + 3;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.LineImpl <em>Line</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.LineImpl <em>Line</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.LineImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getLine()
* @generated
@@ -2126,22 +2111,29 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int LINE__STYLE = MARKED_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int LINE__TRANSFORM = MARKED_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LINE__LAYOUT_DATA = MARKED_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>End Marker</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -2171,7 +2163,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Start</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2207,34 +2198,30 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int LINE___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Start Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Start Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int LINE___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Mid Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Mid Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int LINE___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced End Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced End Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -2250,10 +2237,8 @@ public interface DGPackage extends EPackage {
int LINE_OPERATION_COUNT = MARKED_ELEMENT_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.MarkerImpl <em>Marker</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.MarkerImpl <em>Marker</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.MarkerImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getMarker()
* @generated
@@ -2299,31 +2284,46 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int MARKER__STYLE = GROUP__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int MARKER__TRANSFORM = GROUP__TRANSFORM;
/**
- * The feature id for the '<em><b>Member</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MARKER__LAYOUT_DATA = GROUP__LAYOUT_DATA;
+
+ /**
+ * The feature id for the '<em><b>Member</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int MARKER__MEMBER = GROUP__MEMBER;
/**
+ * The feature id for the '<em><b>Layout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MARKER__LAYOUT = GROUP__LAYOUT;
+
+ /**
* The feature id for the '<em><b>Size</b></em>' containment reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -2335,7 +2335,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Reference</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2362,7 +2361,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2378,11 +2376,9 @@ public interface DGPackage extends EPackage {
int MARKER_OPERATION_COUNT = GROUP_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl
- * <em>Linear Gradient</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl <em>Linear Gradient</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getLinearGradient()
* @generated
@@ -2399,9 +2395,8 @@ public interface DGPackage extends EPackage {
int LINEAR_GRADIENT__ID = GRADIENT__ID;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -2410,7 +2405,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Stop</b></em>' containment reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2419,7 +2413,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Start</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2435,9 +2428,8 @@ public interface DGPackage extends EPackage {
int LINEAR_GRADIENT__END = GRADIENT_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Linear Gradient</em>'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The number of structural features of the '<em>Linear Gradient</em>' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -2471,10 +2463,8 @@ public interface DGPackage extends EPackage {
int LINEAR_GRADIENT_OPERATION_COUNT = GRADIENT_OPERATION_COUNT + 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.LineToImpl <em>Line To</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.LineToImpl <em>Line To</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.LineToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getLineTo()
* @generated
@@ -2493,7 +2483,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Point</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2518,10 +2507,8 @@ public interface DGPackage extends EPackage {
int LINE_TO_OPERATION_COUNT = PATH_COMMAND_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl <em>Matrix</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl <em>Matrix</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.MatrixImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getMatrix()
* @generated
@@ -2529,54 +2516,54 @@ public interface DGPackage extends EPackage {
int MATRIX = 29;
/**
- * The feature id for the '<em><b>A</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>A</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int MATRIX__A = TRANSFORM_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>B</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>B</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int MATRIX__B = TRANSFORM_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>C</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>C</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int MATRIX__C = TRANSFORM_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>D</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>D</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int MATRIX__D = TRANSFORM_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>E</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>E</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int MATRIX__E = TRANSFORM_FEATURE_COUNT + 4;
/**
- * The feature id for the '<em><b>F</b></em>' attribute. <!-- begin-user-doc
+ * The feature id for the '<em><b>F</b></em>' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2601,10 +2588,8 @@ public interface DGPackage extends EPackage {
int MATRIX_OPERATION_COUNT = TRANSFORM_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PathImpl <em>Path</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.PathImpl <em>Path</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.PathImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPath()
* @generated
@@ -2650,22 +2635,29 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int PATH__STYLE = MARKED_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int PATH__TRANSFORM = MARKED_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PATH__LAYOUT_DATA = MARKED_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>End Marker</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -2693,9 +2685,8 @@ public interface DGPackage extends EPackage {
int PATH__START_MARKER = MARKED_ELEMENT__START_MARKER;
/**
- * The feature id for the '<em><b>Command</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Command</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -2722,34 +2713,30 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int PATH___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Start Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Start Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int PATH___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Mid Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Mid Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int PATH___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced End Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced End Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -2758,7 +2745,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>First Command Must Be Move</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2774,10 +2760,8 @@ public interface DGPackage extends EPackage {
int PATH_OPERATION_COUNT = MARKED_ELEMENT_OPERATION_COUNT + 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PatternImpl <em>Pattern</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.PatternImpl <em>Pattern</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.PatternImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPattern()
* @generated
@@ -2794,9 +2778,8 @@ public interface DGPackage extends EPackage {
int PATTERN__ID = PAINT_SERVER__ID;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -2805,7 +2788,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -2848,10 +2830,8 @@ public interface DGPackage extends EPackage {
int PATTERN_OPERATION_COUNT = PAINT_SERVER_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PolygonImpl <em>Polygon</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.PolygonImpl <em>Polygon</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.PolygonImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPolygon()
* @generated
@@ -2897,22 +2877,29 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int POLYGON__STYLE = MARKED_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int POLYGON__TRANSFORM = MARKED_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POLYGON__LAYOUT_DATA = MARKED_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>End Marker</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -2940,9 +2927,8 @@ public interface DGPackage extends EPackage {
int POLYGON__START_MARKER = MARKED_ELEMENT__START_MARKER;
/**
- * The feature id for the '<em><b>Point</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Point</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -2969,34 +2955,30 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int POLYGON___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Start Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Start Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int POLYGON___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Mid Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Mid Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int POLYGON___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced End Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced End Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -3012,10 +2994,8 @@ public interface DGPackage extends EPackage {
int POLYGON_OPERATION_COUNT = MARKED_ELEMENT_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PolylineImpl <em>Polyline</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.PolylineImpl <em>Polyline</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.PolylineImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPolyline()
* @generated
@@ -3061,22 +3041,29 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int POLYLINE__STYLE = MARKED_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int POLYLINE__TRANSFORM = MARKED_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int POLYLINE__LAYOUT_DATA = MARKED_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>End Marker</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -3104,9 +3091,8 @@ public interface DGPackage extends EPackage {
int POLYLINE__START_MARKER = MARKED_ELEMENT__START_MARKER;
/**
- * The feature id for the '<em><b>Point</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Point</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -3133,34 +3119,30 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int POLYLINE___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Start Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Start Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int POLYLINE___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced Mid Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced Mid Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int POLYLINE___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Referenced End Marker Has Id</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Referenced End Marker Has Id</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -3176,11 +3158,9 @@ public interface DGPackage extends EPackage {
int POLYLINE_OPERATION_COUNT = MARKED_ELEMENT_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl
- * <em>Radial Gradient</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl <em>Radial Gradient</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getRadialGradient()
* @generated
@@ -3197,9 +3177,8 @@ public interface DGPackage extends EPackage {
int RADIAL_GRADIENT__ID = GRADIENT__ID;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -3208,7 +3187,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Stop</b></em>' containment reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3217,7 +3195,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Center</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3226,7 +3203,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Focus</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3242,9 +3218,8 @@ public interface DGPackage extends EPackage {
int RADIAL_GRADIENT__RADIUS = GRADIENT_FEATURE_COUNT + 2;
/**
- * The number of structural features of the '<em>Radial Gradient</em>'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The number of structural features of the '<em>Radial Gradient</em>' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -3296,10 +3271,8 @@ public interface DGPackage extends EPackage {
int RADIAL_GRADIENT_OPERATION_COUNT = GRADIENT_OPERATION_COUNT + 3;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.RectangleImpl <em>Rectangle</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.RectangleImpl <em>Rectangle</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.RectangleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getRectangle()
* @generated
@@ -3345,25 +3318,31 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int RECTANGLE__STYLE = GRAPHICAL_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int RECTANGLE__TRANSFORM = GRAPHICAL_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RECTANGLE__LAYOUT_DATA = GRAPHICAL_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3399,7 +3378,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3408,7 +3386,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Non Negative Corner Radius</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3474,34 +3451,48 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int ROOT_CANVAS__STYLE = CANVAS__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int ROOT_CANVAS__TRANSFORM = CANVAS__TRANSFORM;
/**
- * The feature id for the '<em><b>Member</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_CANVAS__LAYOUT_DATA = CANVAS__LAYOUT_DATA;
+
+ /**
+ * The feature id for the '<em><b>Member</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int ROOT_CANVAS__MEMBER = CANVAS__MEMBER;
/**
+ * The feature id for the '<em><b>Layout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_CANVAS__LAYOUT = CANVAS__LAYOUT;
+
+ /**
* The feature id for the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3517,31 +3508,37 @@ public interface DGPackage extends EPackage {
int ROOT_CANVAS__BACKGROUND_COLOR = CANVAS_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Definitions</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Definitions</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int ROOT_CANVAS__DEFINITIONS = CANVAS_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>External Style Sheet</b></em>' reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>External Style Sheet</b></em>' reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int ROOT_CANVAS__EXTERNAL_STYLE_SHEET = CANVAS_FEATURE_COUNT + 2;
/**
+ * The feature id for the '<em><b>Script</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ROOT_CANVAS__SCRIPT = CANVAS_FEATURE_COUNT + 3;
+
+ /**
* The number of structural features of the '<em>Root Canvas</em>' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
- int ROOT_CANVAS_FEATURE_COUNT = CANVAS_FEATURE_COUNT + 3;
+ int ROOT_CANVAS_FEATURE_COUNT = CANVAS_FEATURE_COUNT + 4;
/**
* The operation id for the '<em>Id Cannot Be Empty</em>' operation. <!--
@@ -3555,16 +3552,14 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int ROOT_CANVAS___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = CANVAS___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the '<em>Canvas Cannot Have Transforms</em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The operation id for the '<em>Canvas Cannot Have Transforms</em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -3580,10 +3575,8 @@ public interface DGPackage extends EPackage {
int ROOT_CANVAS_OPERATION_COUNT = CANVAS_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.RotateImpl <em>Rotate</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.RotateImpl <em>Rotate</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.RotateImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getRotate()
* @generated
@@ -3602,7 +3595,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Center</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3627,10 +3619,8 @@ public interface DGPackage extends EPackage {
int ROTATE_OPERATION_COUNT = TRANSFORM_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.ScaleImpl <em>Scale</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.ScaleImpl <em>Scale</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.ScaleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getScale()
* @generated
@@ -3683,10 +3673,8 @@ public interface DGPackage extends EPackage {
int SCALE_OPERATION_COUNT = TRANSFORM_OPERATION_COUNT + 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.SkewImpl <em>Skew</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.SkewImpl <em>Skew</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.SkewImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getSkew()
* @generated
@@ -3730,10 +3718,8 @@ public interface DGPackage extends EPackage {
int SKEW_OPERATION_COUNT = TRANSFORM_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.TextImpl <em>Text</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.TextImpl <em>Text</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.TextImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getText()
* @generated
@@ -3779,22 +3765,29 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int TEXT__STYLE = GRAPHICAL_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int TEXT__TRANSFORM = GRAPHICAL_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT__LAYOUT_DATA = GRAPHICAL_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>Data</b></em>' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -3806,20 +3799,28 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Position</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int TEXT__POSITION = GRAPHICAL_ELEMENT_FEATURE_COUNT + 1;
/**
+ * The feature id for the '<em><b>Anchor</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEXT__ANCHOR = GRAPHICAL_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
* The number of structural features of the '<em>Text</em>' class. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @generated
* @ordered
*/
- int TEXT_FEATURE_COUNT = GRAPHICAL_ELEMENT_FEATURE_COUNT + 2;
+ int TEXT_FEATURE_COUNT = GRAPHICAL_ELEMENT_FEATURE_COUNT + 3;
/**
* The operation id for the '<em>Id Cannot Be Empty</em>' operation. <!--
@@ -3833,7 +3834,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3858,10 +3858,8 @@ public interface DGPackage extends EPackage {
int TEXT_OPERATION_COUNT = GRAPHICAL_ELEMENT_OPERATION_COUNT + 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.TranslateImpl <em>Translate</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.impl.TranslateImpl <em>Translate</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.TranslateImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getTranslate()
* @generated
@@ -3954,25 +3952,31 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Style</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USE__STYLE = GRAPHICAL_ELEMENT__STYLE;
/**
- * The feature id for the '<em><b>Transform</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Transform</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
int USE__TRANSFORM = GRAPHICAL_ELEMENT__TRANSFORM;
/**
+ * The feature id for the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__LAYOUT_DATA = GRAPHICAL_ELEMENT__LAYOUT_DATA;
+
+ /**
* The feature id for the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -3981,7 +3985,6 @@ public interface DGPackage extends EPackage {
/**
* The feature id for the '<em><b>Referenced Element</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -4008,7 +4011,6 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Clippath Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -4017,26 +4019,23 @@ public interface DGPackage extends EPackage {
/**
* The operation id for the '<em>Referenced Element Has Id</em>' operation.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP = GRAPHICAL_ELEMENT_OPERATION_COUNT + 0;
/**
- * The number of operations of the '<em>Use</em>' class. <!-- begin-user-doc
+ * The number of operations of the '<em>Use</em>' class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int USE_OPERATION_COUNT = GRAPHICAL_ELEMENT_OPERATION_COUNT + 1;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.dg.FontDecoration <em>Font Decoration</em>}
- * ' enum. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.FontDecoration <em>Font Decoration</em>}' enum.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.FontDecoration
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getFontDecoration()
* @generated
@@ -4055,6 +4054,16 @@ public interface DGPackage extends EPackage {
int ELEMENT_KIND = 44;
/**
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.dg.TextAnchor <em>Text Anchor</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.dd.dg.TextAnchor
+ * @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getTextAnchor()
+ * @generated
+ */
+ int TEXT_ANCHOR = 45;
+
+ /**
* Returns the meta object for class '
* {@link org.eclipse.papyrus.dd.dg.Canvas <em>Canvas</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
@@ -4078,15 +4087,11 @@ public interface DGPackage extends EPackage {
EReference getCanvas_Bounds();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Canvas#canvasCannotHaveTransforms(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Canvas Cannot Have Transforms</em>}' operation. <!-- begin-user-doc
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Canvas#canvasCannotHaveTransforms(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Canvas Cannot Have Transforms</em>}' operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>Canvas Cannot Have Transforms</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Canvas#canvasCannotHaveTransforms(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Canvas Cannot Have Transforms</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Canvas#canvasCannotHaveTransforms(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getCanvas__CanvasCannotHaveTransforms__DiagnosticChain_Map();
@@ -4116,6 +4121,17 @@ public interface DGPackage extends EPackage {
EReference getGroup_Member();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Group#getLayout <em>Layout</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Layout</em>'.
+ * @see org.eclipse.papyrus.dd.dg.Group#getLayout()
+ * @see #getGroup()
+ * @generated
+ */
+ EAttribute getGroup_Layout();
+
+ /**
* Returns the meta object for class '
* {@link org.eclipse.papyrus.dd.dg.GraphicalElement
* <em>Graphical Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc
@@ -4128,10 +4144,8 @@ public interface DGPackage extends EPackage {
EClass getGraphicalElement();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClipPath
- * <em>Clip Path</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClipPath <em>Clip Path</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>Clip Path</em>'.
* @see org.eclipse.papyrus.dd.dg.GraphicalElement#getClipPath()
* @see #getGraphicalElement()
@@ -4140,10 +4154,8 @@ public interface DGPackage extends EPackage {
EReference getGraphicalElement_ClipPath();
/**
- * Returns the meta object for the container reference '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup
- * <em>Group</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the container reference '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the container reference '<em>Group</em>'.
* @see org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup()
* @see #getGraphicalElement()
@@ -4152,10 +4164,8 @@ public interface DGPackage extends EPackage {
EReference getGraphicalElement_Group();
/**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClasses
- * <em>Class</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClasses <em>Class</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Class</em>'.
* @see org.eclipse.papyrus.dd.dg.GraphicalElement#getClasses()
* @see #getGraphicalElement()
@@ -4164,10 +4174,8 @@ public interface DGPackage extends EPackage {
EAttribute getGraphicalElement_Class();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle
- * <em>Style</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle <em>Style</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Style</em>'.
* @see org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle()
* @see #getGraphicalElement()
@@ -4176,12 +4184,9 @@ public interface DGPackage extends EPackage {
EReference getGraphicalElement_Style();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getTransforms
- * <em>Transform</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '
- * <em>Transform</em>'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getTransforms <em>Transform</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Transform</em>'.
* @see org.eclipse.papyrus.dd.dg.GraphicalElement#getTransforms()
* @see #getGraphicalElement()
* @generated
@@ -4189,15 +4194,22 @@ public interface DGPackage extends EPackage {
EReference getGraphicalElement_Transform();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#referencedClippathHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Referenced Clippath Has Id</em>}' operation. <!-- begin-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getLayoutData <em>Layout Data</em>}'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>Referenced Clippath Has Id</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.GraphicalElement#referencedClippathHasId(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the attribute '<em>Layout Data</em>'.
+ * @see org.eclipse.papyrus.dd.dg.GraphicalElement#getLayoutData()
+ * @see #getGraphicalElement()
+ * @generated
+ */
+ EAttribute getGraphicalElement_LayoutData();
+
+ /**
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#referencedClippathHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Referenced Clippath Has Id</em>}' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the '<em>Referenced Clippath Has Id</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.GraphicalElement#referencedClippathHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getGraphicalElement__ReferencedClippathHasId__DiagnosticChain_Map();
@@ -4226,14 +4238,11 @@ public interface DGPackage extends EPackage {
EAttribute getDefinition_Id();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Definition#idCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Id Cannot Be Empty</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Definition#idCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Id Cannot Be Empty</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Id Cannot Be Empty</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.Definition#idCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.Definition#idCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getDefinition__IdCannotBeEmpty__DiagnosticChain_Map();
@@ -4262,10 +4271,8 @@ public interface DGPackage extends EPackage {
EReference getMoveTo_Point();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.dg.PathCommand <em>Path Command</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.PathCommand <em>Path Command</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Path Command</em>'.
* @see org.eclipse.papyrus.dd.dg.PathCommand
* @generated
@@ -4273,10 +4280,8 @@ public interface DGPackage extends EPackage {
EClass getPathCommand();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.PathCommand#isRelative
- * <em>Is Relative</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.PathCommand#isRelative <em>Is Relative</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Is Relative</em>'.
* @see org.eclipse.papyrus.dd.dg.PathCommand#isRelative()
* @see #getPathCommand()
@@ -4319,10 +4324,8 @@ public interface DGPackage extends EPackage {
EReference getStyle_Fill();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity
- * <em>Fill Opacity</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity <em>Fill Opacity</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Fill Opacity</em>'.
* @see org.eclipse.papyrus.dd.dg.Style#getFillOpacity()
* @see #getStyle()
@@ -4343,10 +4346,8 @@ public interface DGPackage extends EPackage {
EReference getStyle_Stroke();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth
- * <em>Stroke Width</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth <em>Stroke Width</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Stroke Width</em>'.
* @see org.eclipse.papyrus.dd.dg.Style#getStrokeWidth()
* @see #getStyle()
@@ -4355,10 +4356,8 @@ public interface DGPackage extends EPackage {
EAttribute getStyle_StrokeWidth();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity
- * <em>Stroke Opacity</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity <em>Stroke Opacity</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Stroke Opacity</em>'.
* @see org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity()
* @see #getStyle()
@@ -4381,10 +4380,8 @@ public interface DGPackage extends EPackage {
EAttribute getStyle_StrokeDashLength();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Font Size</em>'.
* @see org.eclipse.papyrus.dd.dg.Style#getFontSize()
* @see #getStyle()
@@ -4393,10 +4390,8 @@ public interface DGPackage extends EPackage {
EAttribute getStyle_FontSize();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Font Name</em>'.
* @see org.eclipse.papyrus.dd.dg.Style#getFontName()
* @see #getStyle()
@@ -4405,10 +4400,8 @@ public interface DGPackage extends EPackage {
EAttribute getStyle_FontName();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Font Italic</em>'.
* @see org.eclipse.papyrus.dd.dg.Style#isFontItalic()
* @see #getStyle()
@@ -4417,10 +4410,8 @@ public interface DGPackage extends EPackage {
EAttribute getStyle_FontItalic();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Style#isFontBold <em>Font Bold</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Style#isFontBold <em>Font Bold</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Font Bold</em>'.
* @see org.eclipse.papyrus.dd.dg.Style#isFontBold()
* @see #getStyle()
@@ -4429,10 +4420,8 @@ public interface DGPackage extends EPackage {
EAttribute getStyle_FontBold();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration
- * <em>Font Decoration</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration <em>Font Decoration</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Font Decoration</em>'.
* @see org.eclipse.papyrus.dd.dg.Style#getFontDecoration()
* @see #getStyle()
@@ -4441,68 +4430,51 @@ public interface DGPackage extends EPackage {
EAttribute getStyle_FontDecoration();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Style#validFontSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Font Size</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Style#validFontSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Font Size</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Valid Font Size</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.Style#validFontSize(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.Style#validFontSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getStyle__ValidFontSize__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Style#validFillOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Fill Opacity</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Style#validFillOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Fill Opacity</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Valid Fill Opacity</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.Style#validFillOpacity(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.Style#validFillOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getStyle__ValidFillOpacity__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Style#validStrokeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Stroke Width</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Style#validStrokeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Stroke Width</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Valid Stroke Width</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.Style#validStrokeWidth(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.Style#validStrokeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getStyle__ValidStrokeWidth__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Style#validDashLengthSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Dash Length Size</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Style#validDashLengthSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Dash Length Size</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the meta object for the '<em>Valid Dash Length Size</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Style#validDashLengthSize(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Valid Dash Length Size</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Style#validDashLengthSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getStyle__ValidDashLengthSize__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Style#validStrokeOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Stroke Opacity</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Style#validStrokeOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Stroke Opacity</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the meta object for the '<em>Valid Stroke Opacity</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Style#validStrokeOpacity(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Valid Stroke Opacity</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Style#validStrokeOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getStyle__ValidStrokeOpacity__DiagnosticChain_Map();
@@ -4531,10 +4503,8 @@ public interface DGPackage extends EPackage {
EAttribute getPaint_Color();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.dg.Paint#getPaintServer
- * <em>Paint Server</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.dg.Paint#getPaintServer <em>Paint Server</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>Paint Server</em>'.
* @see org.eclipse.papyrus.dd.dg.Paint#getPaintServer()
* @see #getPaint()
@@ -4543,24 +4513,18 @@ public interface DGPackage extends EPackage {
EReference getPaint_PaintServer();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Paint#referencedPaintServerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Referenced Paint Server Has Id</em>}' operation. <!-- begin-user-doc
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Paint#referencedPaintServerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Referenced Paint Server Has Id</em>}' operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>Referenced Paint Server Has Id</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Paint#referencedPaintServerHasId(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Referenced Paint Server Has Id</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Paint#referencedPaintServerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getPaint__ReferencedPaintServerHasId__DiagnosticChain_Map();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.dg.PaintServer <em>Paint Server</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.PaintServer <em>Paint Server</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Paint Server</em>'.
* @see org.eclipse.papyrus.dd.dg.PaintServer
* @generated
@@ -4568,12 +4532,9 @@ public interface DGPackage extends EPackage {
EClass getPaintServer();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.dd.dg.PaintServer#getTransforms
- * <em>Transform</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '
- * <em>Transform</em>'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.dd.dg.PaintServer#getTransforms <em>Transform</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Transform</em>'.
* @see org.eclipse.papyrus.dd.dg.PaintServer#getTransforms()
* @see #getPaintServer()
* @generated
@@ -4627,14 +4588,11 @@ public interface DGPackage extends EPackage {
EAttribute getCircle_Radius();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Circle#nonNegativeRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Radius</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Circle#nonNegativeRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Radius</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Non Negative Radius</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.Circle#nonNegativeRadius(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.Circle#nonNegativeRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getCircle__NonNegativeRadius__DiagnosticChain_Map();
@@ -4651,10 +4609,8 @@ public interface DGPackage extends EPackage {
EClass getClosePath();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.dg.CubicCurveTo <em>Cubic Curve To</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.CubicCurveTo <em>Cubic Curve To</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Cubic Curve To</em>'.
* @see org.eclipse.papyrus.dd.dg.CubicCurveTo
* @generated
@@ -4662,10 +4618,8 @@ public interface DGPackage extends EPackage {
EClass getCubicCurveTo();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getPoint <em>Point</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getPoint <em>Point</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the containment reference '<em>Point</em>'.
* @see org.eclipse.papyrus.dd.dg.CubicCurveTo#getPoint()
* @see #getCubicCurveTo()
@@ -4674,12 +4628,9 @@ public interface DGPackage extends EPackage {
EReference getCubicCurveTo_Point();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getStartControl
- * <em>Start Control</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '
- * <em>Start Control</em>'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getStartControl <em>Start Control</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Start Control</em>'.
* @see org.eclipse.papyrus.dd.dg.CubicCurveTo#getStartControl()
* @see #getCubicCurveTo()
* @generated
@@ -4687,12 +4638,9 @@ public interface DGPackage extends EPackage {
EReference getCubicCurveTo_StartControl();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getEndControl
- * <em>End Control</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '
- * <em>End Control</em>'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.CubicCurveTo#getEndControl <em>End Control</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>End Control</em>'.
* @see org.eclipse.papyrus.dd.dg.CubicCurveTo#getEndControl()
* @see #getCubicCurveTo()
* @generated
@@ -4711,12 +4659,9 @@ public interface DGPackage extends EPackage {
EClass getDefinitions();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.dd.dg.Definitions#getDefnitions
- * <em>Defnition</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '
- * <em>Defnition</em>'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.dd.dg.Definitions#getDefnitions <em>Defnition</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Defnition</em>'.
* @see org.eclipse.papyrus.dd.dg.Definitions#getDefnitions()
* @see #getDefinitions()
* @generated
@@ -4724,12 +4669,9 @@ public interface DGPackage extends EPackage {
EReference getDefinitions_Defnition();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.Definitions#getStyleSheet
- * <em>Style Sheet</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '
- * <em>Style Sheet</em>'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.Definitions#getStyleSheet <em>Style Sheet</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Style Sheet</em>'.
* @see org.eclipse.papyrus.dd.dg.Definitions#getStyleSheet()
* @see #getDefinitions()
* @generated
@@ -4748,12 +4690,9 @@ public interface DGPackage extends EPackage {
EClass getStyleSheet();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.dd.dg.StyleSheet#getRules <em>Rule</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.dd.dg.StyleSheet#getRules <em>Rule</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Rule</em>
- * '.
+ * @return the meta object for the containment reference list '<em>Rule</em>'.
* @see org.eclipse.papyrus.dd.dg.StyleSheet#getRules()
* @see #getStyleSheet()
* @generated
@@ -4772,12 +4711,9 @@ public interface DGPackage extends EPackage {
EClass getStyleRule();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.dd.dg.StyleRule#getSelectors
- * <em>Selector</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '
- * <em>Selector</em>'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.dd.dg.StyleRule#getSelectors <em>Selector</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Selector</em>'.
* @see org.eclipse.papyrus.dd.dg.StyleRule#getSelectors()
* @see #getStyleRule()
* @generated
@@ -4785,10 +4721,8 @@ public interface DGPackage extends EPackage {
EReference getStyleRule_Selector();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.StyleRule#getStyle <em>Style</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.StyleRule#getStyle <em>Style</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the containment reference '<em>Style</em>'.
* @see org.eclipse.papyrus.dd.dg.StyleRule#getStyle()
* @see #getStyleRule()
@@ -4797,10 +4731,8 @@ public interface DGPackage extends EPackage {
EReference getStyleRule_Style();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.dg.StyleSelector <em>Style Selector</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.StyleSelector <em>Style Selector</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Style Selector</em>'.
* @see org.eclipse.papyrus.dd.dg.StyleSelector
* @generated
@@ -4808,10 +4740,8 @@ public interface DGPackage extends EPackage {
EClass getStyleSelector();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Kind</em>'.
* @see org.eclipse.papyrus.dd.dg.StyleSelector#getKind()
* @see #getStyleSelector()
@@ -4820,10 +4750,8 @@ public interface DGPackage extends EPackage {
EAttribute getStyleSelector_Kind();
/**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.papyrus.dd.dg.StyleSelector#getClasses <em>Class</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.dd.dg.StyleSelector#getClasses <em>Class</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Class</em>'.
* @see org.eclipse.papyrus.dd.dg.StyleSelector#getClasses()
* @see #getStyleSelector()
@@ -4843,10 +4771,8 @@ public interface DGPackage extends EPackage {
EClass getEllipse();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.Ellipse#getCenter <em>Center</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.Ellipse#getCenter <em>Center</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the containment reference '<em>Center</em>'.
* @see org.eclipse.papyrus.dd.dg.Ellipse#getCenter()
* @see #getEllipse()
@@ -4879,10 +4805,8 @@ public interface DGPackage extends EPackage {
EClass getEllipticalArcTo();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getPoint <em>Point</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getPoint <em>Point</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Point</em>'.
* @see org.eclipse.papyrus.dd.dg.EllipticalArcTo#getPoint()
* @see #getEllipticalArcTo()
@@ -4891,10 +4815,8 @@ public interface DGPackage extends EPackage {
EReference getEllipticalArcTo_Point();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRadii <em>Radii</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRadii <em>Radii</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Radii</em>'.
* @see org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRadii()
* @see #getEllipticalArcTo()
@@ -4903,10 +4825,8 @@ public interface DGPackage extends EPackage {
EReference getEllipticalArcTo_Radii();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRotation
- * <em>Rotation</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRotation <em>Rotation</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Rotation</em>'.
* @see org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRotation()
* @see #getEllipticalArcTo()
@@ -4915,10 +4835,8 @@ public interface DGPackage extends EPackage {
EAttribute getEllipticalArcTo_Rotation();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isLargeArc
- * <em>Is Large Arc</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isLargeArc <em>Is Large Arc</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Is Large Arc</em>'.
* @see org.eclipse.papyrus.dd.dg.EllipticalArcTo#isLargeArc()
* @see #getEllipticalArcTo()
@@ -4927,10 +4845,8 @@ public interface DGPackage extends EPackage {
EAttribute getEllipticalArcTo_IsLargeArc();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isSweep
- * <em>Is Sweep</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isSweep <em>Is Sweep</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Is Sweep</em>'.
* @see org.eclipse.papyrus.dd.dg.EllipticalArcTo#isSweep()
* @see #getEllipticalArcTo()
@@ -4951,10 +4867,8 @@ public interface DGPackage extends EPackage {
EClass getQuadraticCurveTo();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getPoint
- * <em>Point</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getPoint <em>Point</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Point</em>'.
* @see org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getPoint()
* @see #getQuadraticCurveTo()
@@ -4963,10 +4877,8 @@ public interface DGPackage extends EPackage {
EReference getQuadraticCurveTo_Point();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getControl
- * <em>Control</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getControl <em>Control</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Control</em>'.
* @see org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getControl()
* @see #getQuadraticCurveTo()
@@ -4999,10 +4911,8 @@ public interface DGPackage extends EPackage {
EReference getGradient_Stop();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop <em>Gradient Stop</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.GradientStop <em>Gradient Stop</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Gradient Stop</em>'.
* @see org.eclipse.papyrus.dd.dg.GradientStop
* @generated
@@ -5010,10 +4920,8 @@ public interface DGPackage extends EPackage {
EClass getGradientStop();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Color</em>'.
* @see org.eclipse.papyrus.dd.dg.GradientStop#getColor()
* @see #getGradientStop()
@@ -5022,10 +4930,8 @@ public interface DGPackage extends EPackage {
EAttribute getGradientStop_Color();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Offset</em>'.
* @see org.eclipse.papyrus.dd.dg.GradientStop#getOffset()
* @see #getGradientStop()
@@ -5034,10 +4940,8 @@ public interface DGPackage extends EPackage {
EAttribute getGradientStop_Offset();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getOpacity
- * <em>Opacity</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.GradientStop#getOpacity <em>Opacity</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Opacity</em>'.
* @see org.eclipse.papyrus.dd.dg.GradientStop#getOpacity()
* @see #getGradientStop()
@@ -5046,27 +4950,21 @@ public interface DGPackage extends EPackage {
EAttribute getGradientStop_Opacity();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#validOffset(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Offset</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.GradientStop#validOffset(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Offset</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Valid Offset</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.GradientStop#validOffset(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.GradientStop#validOffset(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getGradientStop__ValidOffset__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#validOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Opacity</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.GradientStop#validOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Opacity</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Valid Opacity</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.GradientStop#validOpacity(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.GradientStop#validOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getGradientStop__ValidOpacity__DiagnosticChain_Map();
@@ -5107,13 +5005,10 @@ public interface DGPackage extends EPackage {
EReference getImage_Bounds();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Image#isAspectRatioPreserved
- * <em>Is Aspect Ratio Preserved</em>}'. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Image#isAspectRatioPreserved <em>Is Aspect Ratio Preserved</em>}'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the meta object for the attribute '
- * <em>Is Aspect Ratio Preserved</em>'.
+ * @return the meta object for the attribute '<em>Is Aspect Ratio Preserved</em>'.
* @see org.eclipse.papyrus.dd.dg.Image#isAspectRatioPreserved()
* @see #getImage()
* @generated
@@ -5121,23 +5016,18 @@ public interface DGPackage extends EPackage {
EAttribute getImage_IsAspectRatioPreserved();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Image#sourceCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Source Cannot Be Empty</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Image#sourceCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Source Cannot Be Empty</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the meta object for the '<em>Source Cannot Be Empty</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Image#sourceCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Source Cannot Be Empty</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Image#sourceCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getImage__SourceCannotBeEmpty__DiagnosticChain_Map();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Line
- * <em>Line</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Line <em>Line</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Line</em>'.
* @see org.eclipse.papyrus.dd.dg.Line
* @generated
@@ -5169,10 +5059,8 @@ public interface DGPackage extends EPackage {
EReference getLine_End();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement <em>Marked Element</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.MarkedElement <em>Marked Element</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Marked Element</em>'.
* @see org.eclipse.papyrus.dd.dg.MarkedElement
* @generated
@@ -5180,10 +5068,8 @@ public interface DGPackage extends EPackage {
EClass getMarkedElement();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#getEndMarker
- * <em>End Marker</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.dg.MarkedElement#getEndMarker <em>End Marker</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>End Marker</em>'.
* @see org.eclipse.papyrus.dd.dg.MarkedElement#getEndMarker()
* @see #getMarkedElement()
@@ -5192,10 +5078,8 @@ public interface DGPackage extends EPackage {
EReference getMarkedElement_EndMarker();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#getMidMarker
- * <em>Mid Marker</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.dg.MarkedElement#getMidMarker <em>Mid Marker</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>Mid Marker</em>'.
* @see org.eclipse.papyrus.dd.dg.MarkedElement#getMidMarker()
* @see #getMarkedElement()
@@ -5204,10 +5088,8 @@ public interface DGPackage extends EPackage {
EReference getMarkedElement_MidMarker();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#getStartMarker
- * <em>Start Marker</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.dg.MarkedElement#getStartMarker <em>Start Marker</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>Start Marker</em>'.
* @see org.eclipse.papyrus.dd.dg.MarkedElement#getStartMarker()
* @see #getMarkedElement()
@@ -5216,43 +5098,31 @@ public interface DGPackage extends EPackage {
EReference getMarkedElement_StartMarker();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#referencedStartMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Referenced Start Marker Has Id</em>}' operation. <!-- begin-user-doc
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.MarkedElement#referencedStartMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Referenced Start Marker Has Id</em>}' operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>Referenced Start Marker Has Id</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.MarkedElement#referencedStartMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Referenced Start Marker Has Id</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.MarkedElement#referencedStartMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getMarkedElement__ReferencedStartMarkerHasId__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#referencedMidMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Referenced Mid Marker Has Id</em>}' operation. <!-- begin-user-doc
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.MarkedElement#referencedMidMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Referenced Mid Marker Has Id</em>}' operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>Referenced Mid Marker Has Id</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.MarkedElement#referencedMidMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Referenced Mid Marker Has Id</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.MarkedElement#referencedMidMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getMarkedElement__ReferencedMidMarkerHasId__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#referencedEndMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Referenced End Marker Has Id</em>}' operation. <!-- begin-user-doc
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.MarkedElement#referencedEndMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Referenced End Marker Has Id</em>}' operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>Referenced End Marker Has Id</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.MarkedElement#referencedEndMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Referenced End Marker Has Id</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.MarkedElement#referencedEndMarkerHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getMarkedElement__ReferencedEndMarkerHasId__DiagnosticChain_Map();
@@ -5281,12 +5151,9 @@ public interface DGPackage extends EPackage {
EReference getMarker_Size();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.Marker#getReference <em>Reference</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Reference</em>
- * '.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.Marker#getReference <em>Reference</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Reference</em>'.
* @see org.eclipse.papyrus.dd.dg.Marker#getReference()
* @see #getMarker()
* @generated
@@ -5294,10 +5161,8 @@ public interface DGPackage extends EPackage {
EReference getMarker_Reference();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.dg.LinearGradient <em>Linear Gradient</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.LinearGradient <em>Linear Gradient</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Linear Gradient</em>'.
* @see org.eclipse.papyrus.dd.dg.LinearGradient
* @generated
@@ -5305,10 +5170,8 @@ public interface DGPackage extends EPackage {
EClass getLinearGradient();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.LinearGradient#getStart <em>Start</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.LinearGradient#getStart <em>Start</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Start</em>'.
* @see org.eclipse.papyrus.dd.dg.LinearGradient#getStart()
* @see #getLinearGradient()
@@ -5317,10 +5180,8 @@ public interface DGPackage extends EPackage {
EReference getLinearGradient_Start();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.LinearGradient#getEnd <em>End</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.LinearGradient#getEnd <em>End</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the containment reference '<em>End</em>'.
* @see org.eclipse.papyrus.dd.dg.LinearGradient#getEnd()
* @see #getLinearGradient()
@@ -5329,15 +5190,11 @@ public interface DGPackage extends EPackage {
EReference getLinearGradient_End();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.LinearGradient#validGradientVector(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Gradient Vector</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.LinearGradient#validGradientVector(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Gradient Vector</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the meta object for the '<em>Valid Gradient Vector</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.LinearGradient#validGradientVector(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Valid Gradient Vector</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.LinearGradient#validGradientVector(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getLinearGradient__ValidGradientVector__DiagnosticChain_Map();
@@ -5449,9 +5306,8 @@ public interface DGPackage extends EPackage {
EAttribute getMatrix_F();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Path
- * <em>Path</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Path <em>Path</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Path</em>'.
* @see org.eclipse.papyrus.dd.dg.Path
* @generated
@@ -5459,12 +5315,9 @@ public interface DGPackage extends EPackage {
EClass getPath();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.dd.dg.Path#getCommands <em>Command</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.dd.dg.Path#getCommands <em>Command</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '
- * <em>Command</em>'.
+ * @return the meta object for the containment reference list '<em>Command</em>'.
* @see org.eclipse.papyrus.dd.dg.Path#getCommands()
* @see #getPath()
* @generated
@@ -5472,15 +5325,11 @@ public interface DGPackage extends EPackage {
EReference getPath_Command();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Path#firstCommandMustBeMove(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>First Command Must Be Move</em>}' operation. <!-- begin-user-doc -->
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Path#firstCommandMustBeMove(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>First Command Must Be Move</em>}' operation.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>First Command Must Be Move</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Path#firstCommandMustBeMove(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>First Command Must Be Move</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Path#firstCommandMustBeMove(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getPath__FirstCommandMustBeMove__DiagnosticChain_Map();
@@ -5497,10 +5346,8 @@ public interface DGPackage extends EPackage {
EClass getPattern();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.Pattern#getBounds <em>Bounds</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.Pattern#getBounds <em>Bounds</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the containment reference '<em>Bounds</em>'.
* @see org.eclipse.papyrus.dd.dg.Pattern#getBounds()
* @see #getPattern()
@@ -5556,12 +5403,9 @@ public interface DGPackage extends EPackage {
EClass getPolyline();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.dd.dg.Polyline#getPoints <em>Point</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.dd.dg.Polyline#getPoints <em>Point</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '
- * <em>Point</em>'.
+ * @return the meta object for the containment reference list '<em>Point</em>'.
* @see org.eclipse.papyrus.dd.dg.Polyline#getPoints()
* @see #getPolyline()
* @generated
@@ -5569,10 +5413,8 @@ public interface DGPackage extends EPackage {
EReference getPolyline_Point();
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient <em>Radial Gradient</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.RadialGradient <em>Radial Gradient</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Radial Gradient</em>'.
* @see org.eclipse.papyrus.dd.dg.RadialGradient
* @generated
@@ -5580,10 +5422,8 @@ public interface DGPackage extends EPackage {
EClass getRadialGradient();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient#getCenter
- * <em>Center</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.RadialGradient#getCenter <em>Center</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Center</em>'.
* @see org.eclipse.papyrus.dd.dg.RadialGradient#getCenter()
* @see #getRadialGradient()
@@ -5592,10 +5432,8 @@ public interface DGPackage extends EPackage {
EReference getRadialGradient_Center();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient#getFocus <em>Focus</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.RadialGradient#getFocus <em>Focus</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Focus</em>'.
* @see org.eclipse.papyrus.dd.dg.RadialGradient#getFocus()
* @see #getRadialGradient()
@@ -5604,10 +5442,8 @@ public interface DGPackage extends EPackage {
EReference getRadialGradient_Focus();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient#getRadius
- * <em>Radius</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.RadialGradient#getRadius <em>Radius</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Radius</em>'.
* @see org.eclipse.papyrus.dd.dg.RadialGradient#getRadius()
* @see #getRadialGradient()
@@ -5616,40 +5452,31 @@ public interface DGPackage extends EPackage {
EAttribute getRadialGradient_Radius();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient#validCenterPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Center Point</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.RadialGradient#validCenterPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Center Point</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Valid Center Point</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.RadialGradient#validCenterPoint(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.RadialGradient#validCenterPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getRadialGradient__ValidCenterPoint__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient#validFocusPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Focus Point</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.RadialGradient#validFocusPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Focus Point</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Valid Focus Point</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.RadialGradient#validFocusPoint(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.RadialGradient#validFocusPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getRadialGradient__ValidFocusPoint__DiagnosticChain_Map();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient#validRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Radius</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.RadialGradient#validRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Radius</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Valid Radius</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.RadialGradient#validRadius(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.RadialGradient#validRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getRadialGradient__ValidRadius__DiagnosticChain_Map();
@@ -5666,10 +5493,8 @@ public interface DGPackage extends EPackage {
EClass getRectangle();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.Rectangle#getBounds <em>Bounds</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.Rectangle#getBounds <em>Bounds</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the containment reference '<em>Bounds</em>'.
* @see org.eclipse.papyrus.dd.dg.Rectangle#getBounds()
* @see #getRectangle()
@@ -5678,10 +5503,8 @@ public interface DGPackage extends EPackage {
EReference getRectangle_Bounds();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius
- * <em>Corner Radius</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius <em>Corner Radius</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Corner Radius</em>'.
* @see org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius()
* @see #getRectangle()
@@ -5690,15 +5513,11 @@ public interface DGPackage extends EPackage {
EAttribute getRectangle_CornerRadius();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Rectangle#nonNegativeCornerRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Corner Radius</em>}' operation. <!-- begin-user-doc -->
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Rectangle#nonNegativeCornerRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Corner Radius</em>}' operation.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>Non Negative Corner Radius</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Rectangle#nonNegativeCornerRadius(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Non Negative Corner Radius</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Rectangle#nonNegativeCornerRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getRectangle__NonNegativeCornerRadius__DiagnosticChain_Map();
@@ -5728,12 +5547,9 @@ public interface DGPackage extends EPackage {
EAttribute getRootCanvas_BackgroundColor();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.RootCanvas#getDefinitions
- * <em>Definitions</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '
- * <em>Definitions</em>'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.RootCanvas#getDefinitions <em>Definitions</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Definitions</em>'.
* @see org.eclipse.papyrus.dd.dg.RootCanvas#getDefinitions()
* @see #getRootCanvas()
* @generated
@@ -5741,13 +5557,10 @@ public interface DGPackage extends EPackage {
EReference getRootCanvas_Definitions();
/**
- * Returns the meta object for the reference list '
- * {@link org.eclipse.papyrus.dd.dg.RootCanvas#getExternalStyleSheets
- * <em>External Style Sheet</em>}'. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.dd.dg.RootCanvas#getExternalStyleSheets <em>External Style Sheet</em>}'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the meta object for the reference list '
- * <em>External Style Sheet</em>'.
+ * @return the meta object for the reference list '<em>External Style Sheet</em>'.
* @see org.eclipse.papyrus.dd.dg.RootCanvas#getExternalStyleSheets()
* @see #getRootCanvas()
* @generated
@@ -5755,6 +5568,17 @@ public interface DGPackage extends EPackage {
EReference getRootCanvas_ExternalStyleSheet();
/**
+ * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.dd.dg.RootCanvas#getScripts <em>Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Script</em>'.
+ * @see org.eclipse.papyrus.dd.dg.RootCanvas#getScripts()
+ * @see #getRootCanvas()
+ * @generated
+ */
+ EAttribute getRootCanvas_Script();
+
+ /**
* Returns the meta object for class '
* {@link org.eclipse.papyrus.dd.dg.Rotate <em>Rotate</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
@@ -5801,10 +5625,8 @@ public interface DGPackage extends EPackage {
EClass getScale();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Scale#getFactorX <em>Factor X</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Scale#getFactorX <em>Factor X</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Factor X</em>'.
* @see org.eclipse.papyrus.dd.dg.Scale#getFactorX()
* @see #getScale()
@@ -5813,10 +5635,8 @@ public interface DGPackage extends EPackage {
EAttribute getScale_FactorX();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Scale#getFactorY <em>Factor Y</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Scale#getFactorY <em>Factor Y</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Factor Y</em>'.
* @see org.eclipse.papyrus.dd.dg.Scale#getFactorY()
* @see #getScale()
@@ -5825,22 +5645,18 @@ public interface DGPackage extends EPackage {
EAttribute getScale_FactorY();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Scale#nonnegativescale(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Nonnegativescale</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Scale#nonnegativescale(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Nonnegativescale</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return the meta object for the '<em>Nonnegativescale</em>' operation.
- * @see org.eclipse.papyrus.dd.dg.Scale#nonnegativescale(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see org.eclipse.papyrus.dd.dg.Scale#nonnegativescale(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getScale__Nonnegativescale__DiagnosticChain_Map();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Skew
- * <em>Skew</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Skew <em>Skew</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Skew</em>'.
* @see org.eclipse.papyrus.dd.dg.Skew
* @generated
@@ -5872,9 +5688,8 @@ public interface DGPackage extends EPackage {
EAttribute getSkew_AngleY();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Text
- * <em>Text</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Text <em>Text</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Text</em>'.
* @see org.eclipse.papyrus.dd.dg.Text
* @generated
@@ -5894,12 +5709,9 @@ public interface DGPackage extends EPackage {
EAttribute getText_Data();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.dg.Text#getPosition <em>Position</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.dd.dg.Text#getPosition <em>Position</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Position</em>
- * '.
+ * @return the meta object for the containment reference '<em>Position</em>'.
* @see org.eclipse.papyrus.dd.dg.Text#getPosition()
* @see #getText()
* @generated
@@ -5907,15 +5719,22 @@ public interface DGPackage extends EPackage {
EReference getText_Position();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Text#dataCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Data Cannot Be Empty</em>}' operation. <!-- begin-user-doc --> <!--
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Text#getAnchor <em>Anchor</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Anchor</em>'.
+ * @see org.eclipse.papyrus.dd.dg.Text#getAnchor()
+ * @see #getText()
+ * @generated
+ */
+ EAttribute getText_Anchor();
+
+ /**
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Text#dataCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Data Cannot Be Empty</em>}' operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return the meta object for the '<em>Data Cannot Be Empty</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Text#dataCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Data Cannot Be Empty</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Text#dataCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getText__DataCannotBeEmpty__DiagnosticChain_Map();
@@ -5932,10 +5751,8 @@ public interface DGPackage extends EPackage {
EClass getTranslate();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Translate#getDeltaX <em>Delta X</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Translate#getDeltaX <em>Delta X</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Delta X</em>'.
* @see org.eclipse.papyrus.dd.dg.Translate#getDeltaX()
* @see #getTranslate()
@@ -5944,10 +5761,8 @@ public interface DGPackage extends EPackage {
EAttribute getTranslate_DeltaX();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.dg.Translate#getDeltaY <em>Delta Y</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.dg.Translate#getDeltaY <em>Delta Y</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Delta Y</em>'.
* @see org.eclipse.papyrus.dd.dg.Translate#getDeltaY()
* @see #getTranslate()
@@ -5956,9 +5771,8 @@ public interface DGPackage extends EPackage {
EAttribute getTranslate_DeltaY();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Use
- * <em>Use</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.dg.Use <em>Use</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Use</em>'.
* @see org.eclipse.papyrus.dd.dg.Use
* @generated
@@ -5991,24 +5805,18 @@ public interface DGPackage extends EPackage {
EReference getUse_ReferencedElement();
/**
- * Returns the meta object for the '
- * {@link org.eclipse.papyrus.dd.dg.Use#referencedElementHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Referenced Element Has Id</em>}' operation. <!-- begin-user-doc -->
+ * Returns the meta object for the '{@link org.eclipse.papyrus.dd.dg.Use#referencedElementHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Referenced Element Has Id</em>}' operation.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the meta object for the '<em>Referenced Element Has Id</em>'
- * operation.
- * @see org.eclipse.papyrus.dd.dg.Use#referencedElementHasId(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @return the meta object for the '<em>Referenced Element Has Id</em>' operation.
+ * @see org.eclipse.papyrus.dd.dg.Use#referencedElementHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
*/
EOperation getUse__ReferencedElementHasId__DiagnosticChain_Map();
/**
- * Returns the meta object for enum '
- * {@link org.eclipse.papyrus.dd.dg.FontDecoration <em>Font Decoration</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.dd.dg.FontDecoration <em>Font Decoration</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for enum '<em>Font Decoration</em>'.
* @see org.eclipse.papyrus.dd.dg.FontDecoration
* @generated
@@ -6016,10 +5824,8 @@ public interface DGPackage extends EPackage {
EEnum getFontDecoration();
/**
- * Returns the meta object for enum '
- * {@link org.eclipse.papyrus.dd.dg.ElementKind <em>Element Kind</em>}'.
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.dd.dg.ElementKind <em>Element Kind</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the meta object for enum '<em>Element Kind</em>'.
* @see org.eclipse.papyrus.dd.dg.ElementKind
* @generated
@@ -6027,6 +5833,16 @@ public interface DGPackage extends EPackage {
EEnum getElementKind();
/**
+ * Returns the meta object for enum '{@link org.eclipse.papyrus.dd.dg.TextAnchor <em>Text Anchor</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Text Anchor</em>'.
+ * @see org.eclipse.papyrus.dd.dg.TextAnchor
+ * @generated
+ */
+ EEnum getTextAnchor();
+
+ /**
* Returns the factory that creates the instances of the model. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -6046,15 +5862,12 @@ public interface DGPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @generated
*/
interface Literals {
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.CanvasImpl <em>Canvas</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.CanvasImpl <em>Canvas</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.CanvasImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getCanvas()
* @generated
@@ -6062,9 +5875,8 @@ public interface DGPackage extends EPackage {
EClass CANVAS = eINSTANCE.getCanvas();
/**
- * The meta object literal for the '<em><b>Bounds</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference CANVAS__BOUNDS = eINSTANCE.getCanvas_Bounds();
@@ -6076,14 +5888,11 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation CANVAS___CANVAS_CANNOT_HAVE_TRANSFORMS__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getCanvas__CanvasCannotHaveTransforms__DiagnosticChain_Map();
+ EOperation CANVAS___CANVAS_CANNOT_HAVE_TRANSFORMS__DIAGNOSTICCHAIN_MAP = eINSTANCE.getCanvas__CanvasCannotHaveTransforms__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.GroupImpl <em>Group</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.GroupImpl <em>Group</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.GroupImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getGroup()
* @generated
@@ -6091,19 +5900,24 @@ public interface DGPackage extends EPackage {
EClass GROUP = eINSTANCE.getGroup();
/**
- * The meta object literal for the '<em><b>Member</b></em>' containment
- * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Member</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference GROUP__MEMBER = eINSTANCE.getGroup_Member();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl
- * <em>Graphical Element</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Layout</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute GROUP__LAYOUT = eINSTANCE.getGroup_Layout();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl <em>Graphical Element</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getGraphicalElement()
* @generated
@@ -6111,50 +5925,48 @@ public interface DGPackage extends EPackage {
EClass GRAPHICAL_ELEMENT = eINSTANCE.getGraphicalElement();
/**
- * The meta object literal for the '<em><b>Clip Path</b></em>' reference
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Clip Path</b></em>' reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference GRAPHICAL_ELEMENT__CLIP_PATH = eINSTANCE
- .getGraphicalElement_ClipPath();
+ EReference GRAPHICAL_ELEMENT__CLIP_PATH = eINSTANCE.getGraphicalElement_ClipPath();
/**
- * The meta object literal for the '<em><b>Group</b></em>' container
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Group</b></em>' container reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference GRAPHICAL_ELEMENT__GROUP = eINSTANCE
- .getGraphicalElement_Group();
+ EReference GRAPHICAL_ELEMENT__GROUP = eINSTANCE.getGraphicalElement_Group();
/**
- * The meta object literal for the '<em><b>Class</b></em>' attribute
- * list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Class</b></em>' attribute list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute GRAPHICAL_ELEMENT__CLASS = eINSTANCE
- .getGraphicalElement_Class();
+ EAttribute GRAPHICAL_ELEMENT__CLASS = eINSTANCE.getGraphicalElement_Class();
/**
- * The meta object literal for the '<em><b>Style</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Style</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference GRAPHICAL_ELEMENT__STYLE = eINSTANCE
- .getGraphicalElement_Style();
+ EReference GRAPHICAL_ELEMENT__STYLE = eINSTANCE.getGraphicalElement_Style();
/**
- * The meta object literal for the '<em><b>Transform</b></em>'
- * containment reference list feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Transform</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference GRAPHICAL_ELEMENT__TRANSFORM = eINSTANCE
- .getGraphicalElement_Transform();
+ EReference GRAPHICAL_ELEMENT__TRANSFORM = eINSTANCE.getGraphicalElement_Transform();
+
+ /**
+ * The meta object literal for the '<em><b>Layout Data</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute GRAPHICAL_ELEMENT__LAYOUT_DATA = eINSTANCE.getGraphicalElement_LayoutData();
/**
* The meta object literal for the '
@@ -6163,15 +5975,12 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getGraphicalElement__ReferencedClippathHasId__DiagnosticChain_Map();
+ EOperation GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getGraphicalElement__ReferencedClippathHasId__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.DefinitionImpl
- * <em>Definition</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.DefinitionImpl <em>Definition</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.DefinitionImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getDefinition()
* @generated
@@ -6179,27 +5988,22 @@ public interface DGPackage extends EPackage {
EClass DEFINITION = eINSTANCE.getDefinition();
/**
- * The meta object literal for the '<em><b>Id</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute DEFINITION__ID = eINSTANCE.getDefinition_Id();
/**
- * The meta object literal for the '<em><b>Id Cannot Be Empty</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Id Cannot Be Empty</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation DEFINITION___ID_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getDefinition__IdCannotBeEmpty__DiagnosticChain_Map();
+ EOperation DEFINITION___ID_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP = eINSTANCE.getDefinition__IdCannotBeEmpty__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.MoveToImpl <em>Move To</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.MoveToImpl <em>Move To</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.MoveToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getMoveTo()
* @generated
@@ -6207,19 +6011,16 @@ public interface DGPackage extends EPackage {
EClass MOVE_TO = eINSTANCE.getMoveTo();
/**
- * The meta object literal for the '<em><b>Point</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Point</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference MOVE_TO__POINT = eINSTANCE.getMoveTo_Point();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PathCommandImpl
- * <em>Path Command</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.PathCommandImpl <em>Path Command</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.PathCommandImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPathCommand()
* @generated
@@ -6227,13 +6028,11 @@ public interface DGPackage extends EPackage {
EClass PATH_COMMAND = eINSTANCE.getPathCommand();
/**
- * The meta object literal for the '<em><b>Is Relative</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Is Relative</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute PATH_COMMAND__IS_RELATIVE = eINSTANCE
- .getPathCommand_IsRelative();
+ EAttribute PATH_COMMAND__IS_RELATIVE = eINSTANCE.getPathCommand_IsRelative();
/**
* The meta object literal for the '
@@ -6248,10 +6047,8 @@ public interface DGPackage extends EPackage {
EClass CLIP_PATH = eINSTANCE.getClipPath();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.StyleImpl <em>Style</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl <em>Style</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.StyleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getStyle()
* @generated
@@ -6259,120 +6056,102 @@ public interface DGPackage extends EPackage {
EClass STYLE = eINSTANCE.getStyle();
/**
- * The meta object literal for the '<em><b>Fill</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Fill</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference STYLE__FILL = eINSTANCE.getStyle_Fill();
/**
- * The meta object literal for the '<em><b>Fill Opacity</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Fill Opacity</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE__FILL_OPACITY = eINSTANCE.getStyle_FillOpacity();
/**
- * The meta object literal for the '<em><b>Stroke</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Stroke</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference STYLE__STROKE = eINSTANCE.getStyle_Stroke();
/**
- * The meta object literal for the '<em><b>Stroke Width</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Stroke Width</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE__STROKE_WIDTH = eINSTANCE.getStyle_StrokeWidth();
/**
- * The meta object literal for the '<em><b>Stroke Opacity</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Stroke Opacity</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE__STROKE_OPACITY = eINSTANCE.getStyle_StrokeOpacity();
/**
- * The meta object literal for the '<em><b>Stroke Dash Length</b></em>'
- * attribute list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Stroke Dash Length</b></em>' attribute list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute STYLE__STROKE_DASH_LENGTH = eINSTANCE
- .getStyle_StrokeDashLength();
+ EAttribute STYLE__STROKE_DASH_LENGTH = eINSTANCE.getStyle_StrokeDashLength();
/**
- * The meta object literal for the '<em><b>Font Size</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Font Size</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE__FONT_SIZE = eINSTANCE.getStyle_FontSize();
/**
- * The meta object literal for the '<em><b>Font Name</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Font Name</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE__FONT_NAME = eINSTANCE.getStyle_FontName();
/**
- * The meta object literal for the '<em><b>Font Italic</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Font Italic</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE__FONT_ITALIC = eINSTANCE.getStyle_FontItalic();
/**
- * The meta object literal for the '<em><b>Font Bold</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Font Bold</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE__FONT_BOLD = eINSTANCE.getStyle_FontBold();
/**
- * The meta object literal for the '<em><b>Font Decoration</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Font Decoration</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE__FONT_DECORATION = eINSTANCE.getStyle_FontDecoration();
/**
- * The meta object literal for the '<em><b>Valid Font Size</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Font Size</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation STYLE___VALID_FONT_SIZE__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getStyle__ValidFontSize__DiagnosticChain_Map();
+ EOperation STYLE___VALID_FONT_SIZE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getStyle__ValidFontSize__DiagnosticChain_Map();
/**
- * The meta object literal for the '<em><b>Valid Fill Opacity</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Fill Opacity</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation STYLE___VALID_FILL_OPACITY__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getStyle__ValidFillOpacity__DiagnosticChain_Map();
+ EOperation STYLE___VALID_FILL_OPACITY__DIAGNOSTICCHAIN_MAP = eINSTANCE.getStyle__ValidFillOpacity__DiagnosticChain_Map();
/**
- * The meta object literal for the '<em><b>Valid Stroke Width</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Stroke Width</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation STYLE___VALID_STROKE_WIDTH__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getStyle__ValidStrokeWidth__DiagnosticChain_Map();
+ EOperation STYLE___VALID_STROKE_WIDTH__DIAGNOSTICCHAIN_MAP = eINSTANCE.getStyle__ValidStrokeWidth__DiagnosticChain_Map();
/**
* The meta object literal for the '
@@ -6381,23 +6160,18 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation STYLE___VALID_DASH_LENGTH_SIZE__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getStyle__ValidDashLengthSize__DiagnosticChain_Map();
+ EOperation STYLE___VALID_DASH_LENGTH_SIZE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getStyle__ValidDashLengthSize__DiagnosticChain_Map();
/**
- * The meta object literal for the '<em><b>Valid Stroke Opacity</b></em>
- * ' operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Stroke Opacity</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation STYLE___VALID_STROKE_OPACITY__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getStyle__ValidStrokeOpacity__DiagnosticChain_Map();
+ EOperation STYLE___VALID_STROKE_OPACITY__DIAGNOSTICCHAIN_MAP = eINSTANCE.getStyle__ValidStrokeOpacity__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PaintImpl <em>Paint</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.PaintImpl <em>Paint</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.PaintImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPaint()
* @generated
@@ -6405,17 +6179,15 @@ public interface DGPackage extends EPackage {
EClass PAINT = eINSTANCE.getPaint();
/**
- * The meta object literal for the '<em><b>Color</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Color</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute PAINT__COLOR = eINSTANCE.getPaint_Color();
/**
- * The meta object literal for the '<em><b>Paint Server</b></em>'
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Paint Server</b></em>' reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference PAINT__PAINT_SERVER = eINSTANCE.getPaint_PaintServer();
@@ -6427,15 +6199,12 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation PAINT___REFERENCED_PAINT_SERVER_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getPaint__ReferencedPaintServerHasId__DiagnosticChain_Map();
+ EOperation PAINT___REFERENCED_PAINT_SERVER_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getPaint__ReferencedPaintServerHasId__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PaintServerImpl
- * <em>Paint Server</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.PaintServerImpl <em>Paint Server</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.PaintServerImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPaintServer()
* @generated
@@ -6443,14 +6212,12 @@ public interface DGPackage extends EPackage {
EClass PAINT_SERVER = eINSTANCE.getPaintServer();
/**
- * The meta object literal for the '<em><b>Transform</b></em>'
- * containment reference list feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Transform</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference PAINT_SERVER__TRANSFORM = eINSTANCE
- .getPaintServer_Transform();
+ EReference PAINT_SERVER__TRANSFORM = eINSTANCE.getPaintServer_Transform();
/**
* The meta object literal for the '
@@ -6465,10 +6232,8 @@ public interface DGPackage extends EPackage {
EClass TRANSFORM = eINSTANCE.getTransform();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.CircleImpl <em>Circle</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.CircleImpl <em>Circle</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.CircleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getCircle()
* @generated
@@ -6476,36 +6241,30 @@ public interface DGPackage extends EPackage {
EClass CIRCLE = eINSTANCE.getCircle();
/**
- * The meta object literal for the '<em><b>Center</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Center</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference CIRCLE__CENTER = eINSTANCE.getCircle_Center();
/**
- * The meta object literal for the '<em><b>Radius</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Radius</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute CIRCLE__RADIUS = eINSTANCE.getCircle_Radius();
/**
- * The meta object literal for the '<em><b>Non Negative Radius</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Non Negative Radius</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation CIRCLE___NON_NEGATIVE_RADIUS__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getCircle__NonNegativeRadius__DiagnosticChain_Map();
+ EOperation CIRCLE___NON_NEGATIVE_RADIUS__DIAGNOSTICCHAIN_MAP = eINSTANCE.getCircle__NonNegativeRadius__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.ClosePathImpl
- * <em>Close Path</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.ClosePathImpl <em>Close Path</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.ClosePathImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getClosePath()
* @generated
@@ -6513,11 +6272,9 @@ public interface DGPackage extends EPackage {
EClass CLOSE_PATH = eINSTANCE.getClosePath();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl
- * <em>Cubic Curve To</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl <em>Cubic Curve To</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getCubicCurveTo()
* @generated
@@ -6525,39 +6282,32 @@ public interface DGPackage extends EPackage {
EClass CUBIC_CURVE_TO = eINSTANCE.getCubicCurveTo();
/**
- * The meta object literal for the '<em><b>Point</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Point</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference CUBIC_CURVE_TO__POINT = eINSTANCE.getCubicCurveTo_Point();
/**
- * The meta object literal for the '<em><b>Start Control</b></em>'
- * containment reference feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Start Control</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference CUBIC_CURVE_TO__START_CONTROL = eINSTANCE
- .getCubicCurveTo_StartControl();
+ EReference CUBIC_CURVE_TO__START_CONTROL = eINSTANCE.getCubicCurveTo_StartControl();
/**
- * The meta object literal for the '<em><b>End Control</b></em>'
- * containment reference feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>End Control</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference CUBIC_CURVE_TO__END_CONTROL = eINSTANCE
- .getCubicCurveTo_EndControl();
+ EReference CUBIC_CURVE_TO__END_CONTROL = eINSTANCE.getCubicCurveTo_EndControl();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.DefinitionsImpl
- * <em>Definitions</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.DefinitionsImpl <em>Definitions</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.DefinitionsImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getDefinitions()
* @generated
@@ -6565,31 +6315,25 @@ public interface DGPackage extends EPackage {
EClass DEFINITIONS = eINSTANCE.getDefinitions();
/**
- * The meta object literal for the '<em><b>Defnition</b></em>'
- * containment reference list feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Defnition</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference DEFINITIONS__DEFNITION = eINSTANCE
- .getDefinitions_Defnition();
+ EReference DEFINITIONS__DEFNITION = eINSTANCE.getDefinitions_Defnition();
/**
- * The meta object literal for the '<em><b>Style Sheet</b></em>'
- * containment reference feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Style Sheet</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference DEFINITIONS__STYLE_SHEET = eINSTANCE
- .getDefinitions_StyleSheet();
+ EReference DEFINITIONS__STYLE_SHEET = eINSTANCE.getDefinitions_StyleSheet();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.StyleSheetImpl
- * <em>Style Sheet</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.StyleSheetImpl <em>Style Sheet</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.StyleSheetImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getStyleSheet()
* @generated
@@ -6597,19 +6341,16 @@ public interface DGPackage extends EPackage {
EClass STYLE_SHEET = eINSTANCE.getStyleSheet();
/**
- * The meta object literal for the '<em><b>Rule</b></em>' containment
- * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Rule</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference STYLE_SHEET__RULE = eINSTANCE.getStyleSheet_Rule();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl
- * <em>Style Rule</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl <em>Style Rule</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getStyleRule()
* @generated
@@ -6617,28 +6358,24 @@ public interface DGPackage extends EPackage {
EClass STYLE_RULE = eINSTANCE.getStyleRule();
/**
- * The meta object literal for the '<em><b>Selector</b></em>'
- * containment reference list feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Selector</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
EReference STYLE_RULE__SELECTOR = eINSTANCE.getStyleRule_Selector();
/**
- * The meta object literal for the '<em><b>Style</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Style</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference STYLE_RULE__STYLE = eINSTANCE.getStyleRule_Style();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl
- * <em>Style Selector</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl <em>Style Selector</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getStyleSelector()
* @generated
@@ -6646,26 +6383,22 @@ public interface DGPackage extends EPackage {
EClass STYLE_SELECTOR = eINSTANCE.getStyleSelector();
/**
- * The meta object literal for the '<em><b>Kind</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Kind</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE_SELECTOR__KIND = eINSTANCE.getStyleSelector_Kind();
/**
- * The meta object literal for the '<em><b>Class</b></em>' attribute
- * list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Class</b></em>' attribute list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute STYLE_SELECTOR__CLASS = eINSTANCE.getStyleSelector_Class();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.EllipseImpl <em>Ellipse</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.EllipseImpl <em>Ellipse</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.EllipseImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getEllipse()
* @generated
@@ -6673,27 +6406,23 @@ public interface DGPackage extends EPackage {
EClass ELLIPSE = eINSTANCE.getEllipse();
/**
- * The meta object literal for the '<em><b>Center</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Center</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference ELLIPSE__CENTER = eINSTANCE.getEllipse_Center();
/**
- * The meta object literal for the '<em><b>Radii</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Radii</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference ELLIPSE__RADII = eINSTANCE.getEllipse_Radii();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl
- * <em>Elliptical Arc To</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl <em>Elliptical Arc To</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getEllipticalArcTo()
* @generated
@@ -6701,56 +6430,44 @@ public interface DGPackage extends EPackage {
EClass ELLIPTICAL_ARC_TO = eINSTANCE.getEllipticalArcTo();
/**
- * The meta object literal for the '<em><b>Point</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Point</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference ELLIPTICAL_ARC_TO__POINT = eINSTANCE
- .getEllipticalArcTo_Point();
+ EReference ELLIPTICAL_ARC_TO__POINT = eINSTANCE.getEllipticalArcTo_Point();
/**
- * The meta object literal for the '<em><b>Radii</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Radii</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference ELLIPTICAL_ARC_TO__RADII = eINSTANCE
- .getEllipticalArcTo_Radii();
+ EReference ELLIPTICAL_ARC_TO__RADII = eINSTANCE.getEllipticalArcTo_Radii();
/**
- * The meta object literal for the '<em><b>Rotation</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Rotation</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute ELLIPTICAL_ARC_TO__ROTATION = eINSTANCE
- .getEllipticalArcTo_Rotation();
+ EAttribute ELLIPTICAL_ARC_TO__ROTATION = eINSTANCE.getEllipticalArcTo_Rotation();
/**
- * The meta object literal for the '<em><b>Is Large Arc</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Is Large Arc</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute ELLIPTICAL_ARC_TO__IS_LARGE_ARC = eINSTANCE
- .getEllipticalArcTo_IsLargeArc();
+ EAttribute ELLIPTICAL_ARC_TO__IS_LARGE_ARC = eINSTANCE.getEllipticalArcTo_IsLargeArc();
/**
- * The meta object literal for the '<em><b>Is Sweep</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Is Sweep</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute ELLIPTICAL_ARC_TO__IS_SWEEP = eINSTANCE
- .getEllipticalArcTo_IsSweep();
+ EAttribute ELLIPTICAL_ARC_TO__IS_SWEEP = eINSTANCE.getEllipticalArcTo_IsSweep();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl
- * <em>Quadratic Curve To</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl <em>Quadratic Curve To</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getQuadraticCurveTo()
* @generated
@@ -6758,28 +6475,22 @@ public interface DGPackage extends EPackage {
EClass QUADRATIC_CURVE_TO = eINSTANCE.getQuadraticCurveTo();
/**
- * The meta object literal for the '<em><b>Point</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Point</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference QUADRATIC_CURVE_TO__POINT = eINSTANCE
- .getQuadraticCurveTo_Point();
+ EReference QUADRATIC_CURVE_TO__POINT = eINSTANCE.getQuadraticCurveTo_Point();
/**
- * The meta object literal for the '<em><b>Control</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Control</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference QUADRATIC_CURVE_TO__CONTROL = eINSTANCE
- .getQuadraticCurveTo_Control();
+ EReference QUADRATIC_CURVE_TO__CONTROL = eINSTANCE.getQuadraticCurveTo_Control();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.GradientImpl <em>Gradient</em>}
- * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.GradientImpl <em>Gradient</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.GradientImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getGradient()
* @generated
@@ -6787,19 +6498,16 @@ public interface DGPackage extends EPackage {
EClass GRADIENT = eINSTANCE.getGradient();
/**
- * The meta object literal for the '<em><b>Stop</b></em>' containment
- * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Stop</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference GRADIENT__STOP = eINSTANCE.getGradient_Stop();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.GradientStopImpl
- * <em>Gradient Stop</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.GradientStopImpl <em>Gradient Stop</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.GradientStopImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getGradientStop()
* @generated
@@ -6807,52 +6515,43 @@ public interface DGPackage extends EPackage {
EClass GRADIENT_STOP = eINSTANCE.getGradientStop();
/**
- * The meta object literal for the '<em><b>Color</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Color</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute GRADIENT_STOP__COLOR = eINSTANCE.getGradientStop_Color();
/**
- * The meta object literal for the '<em><b>Offset</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Offset</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute GRADIENT_STOP__OFFSET = eINSTANCE.getGradientStop_Offset();
/**
- * The meta object literal for the '<em><b>Opacity</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Opacity</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute GRADIENT_STOP__OPACITY = eINSTANCE.getGradientStop_Opacity();
/**
- * The meta object literal for the '<em><b>Valid Offset</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Offset</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation GRADIENT_STOP___VALID_OFFSET__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getGradientStop__ValidOffset__DiagnosticChain_Map();
+ EOperation GRADIENT_STOP___VALID_OFFSET__DIAGNOSTICCHAIN_MAP = eINSTANCE.getGradientStop__ValidOffset__DiagnosticChain_Map();
/**
- * The meta object literal for the '<em><b>Valid Opacity</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Opacity</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation GRADIENT_STOP___VALID_OPACITY__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getGradientStop__ValidOpacity__DiagnosticChain_Map();
+ EOperation GRADIENT_STOP___VALID_OPACITY__DIAGNOSTICCHAIN_MAP = eINSTANCE.getGradientStop__ValidOpacity__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.ImageImpl <em>Image</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.ImageImpl <em>Image</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.ImageImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getImage()
* @generated
@@ -6860,17 +6559,15 @@ public interface DGPackage extends EPackage {
EClass IMAGE = eINSTANCE.getImage();
/**
- * The meta object literal for the '<em><b>Source</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Source</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute IMAGE__SOURCE = eINSTANCE.getImage_Source();
/**
- * The meta object literal for the '<em><b>Bounds</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference IMAGE__BOUNDS = eINSTANCE.getImage_Bounds();
@@ -6882,8 +6579,7 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EAttribute IMAGE__IS_ASPECT_RATIO_PRESERVED = eINSTANCE
- .getImage_IsAspectRatioPreserved();
+ EAttribute IMAGE__IS_ASPECT_RATIO_PRESERVED = eINSTANCE.getImage_IsAspectRatioPreserved();
/**
* The meta object literal for the '
@@ -6892,14 +6588,11 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation IMAGE___SOURCE_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getImage__SourceCannotBeEmpty__DiagnosticChain_Map();
+ EOperation IMAGE___SOURCE_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP = eINSTANCE.getImage__SourceCannotBeEmpty__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.LineImpl <em>Line</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.LineImpl <em>Line</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.LineImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getLine()
* @generated
@@ -6907,27 +6600,23 @@ public interface DGPackage extends EPackage {
EClass LINE = eINSTANCE.getLine();
/**
- * The meta object literal for the '<em><b>Start</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Start</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference LINE__START = eINSTANCE.getLine_Start();
/**
- * The meta object literal for the '<em><b>End</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>End</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference LINE__END = eINSTANCE.getLine_End();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl
- * <em>Marked Element</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl <em>Marked Element</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getMarkedElement()
* @generated
@@ -6935,31 +6624,25 @@ public interface DGPackage extends EPackage {
EClass MARKED_ELEMENT = eINSTANCE.getMarkedElement();
/**
- * The meta object literal for the '<em><b>End Marker</b></em>'
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>End Marker</b></em>' reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference MARKED_ELEMENT__END_MARKER = eINSTANCE
- .getMarkedElement_EndMarker();
+ EReference MARKED_ELEMENT__END_MARKER = eINSTANCE.getMarkedElement_EndMarker();
/**
- * The meta object literal for the '<em><b>Mid Marker</b></em>'
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Mid Marker</b></em>' reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference MARKED_ELEMENT__MID_MARKER = eINSTANCE
- .getMarkedElement_MidMarker();
+ EReference MARKED_ELEMENT__MID_MARKER = eINSTANCE.getMarkedElement_MidMarker();
/**
- * The meta object literal for the '<em><b>Start Marker</b></em>'
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Start Marker</b></em>' reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference MARKED_ELEMENT__START_MARKER = eINSTANCE
- .getMarkedElement_StartMarker();
+ EReference MARKED_ELEMENT__START_MARKER = eINSTANCE.getMarkedElement_StartMarker();
/**
* The meta object literal for the '
@@ -6968,8 +6651,7 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getMarkedElement__ReferencedStartMarkerHasId__DiagnosticChain_Map();
+ EOperation MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getMarkedElement__ReferencedStartMarkerHasId__DiagnosticChain_Map();
/**
* The meta object literal for the '
@@ -6978,8 +6660,7 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getMarkedElement__ReferencedMidMarkerHasId__DiagnosticChain_Map();
+ EOperation MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getMarkedElement__ReferencedMidMarkerHasId__DiagnosticChain_Map();
/**
* The meta object literal for the '
@@ -6988,14 +6669,11 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation MARKED_ELEMENT___REFERENCED_END_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getMarkedElement__ReferencedEndMarkerHasId__DiagnosticChain_Map();
+ EOperation MARKED_ELEMENT___REFERENCED_END_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getMarkedElement__ReferencedEndMarkerHasId__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.MarkerImpl <em>Marker</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.MarkerImpl <em>Marker</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.MarkerImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getMarker()
* @generated
@@ -7003,28 +6681,24 @@ public interface DGPackage extends EPackage {
EClass MARKER = eINSTANCE.getMarker();
/**
- * The meta object literal for the '<em><b>Size</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Size</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference MARKER__SIZE = eINSTANCE.getMarker_Size();
/**
- * The meta object literal for the '<em><b>Reference</b></em>'
- * containment reference feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Reference</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
EReference MARKER__REFERENCE = eINSTANCE.getMarker_Reference();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl
- * <em>Linear Gradient</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl <em>Linear Gradient</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getLinearGradient()
* @generated
@@ -7032,36 +6706,30 @@ public interface DGPackage extends EPackage {
EClass LINEAR_GRADIENT = eINSTANCE.getLinearGradient();
/**
- * The meta object literal for the '<em><b>Start</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Start</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference LINEAR_GRADIENT__START = eINSTANCE.getLinearGradient_Start();
/**
- * The meta object literal for the '<em><b>End</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>End</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference LINEAR_GRADIENT__END = eINSTANCE.getLinearGradient_End();
/**
- * The meta object literal for the '
- * <em><b>Valid Gradient Vector</b></em>' operation. <!-- begin-user-doc
+ * The meta object literal for the '<em><b>Valid Gradient Vector</b></em>' operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
- EOperation LINEAR_GRADIENT___VALID_GRADIENT_VECTOR__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getLinearGradient__ValidGradientVector__DiagnosticChain_Map();
+ EOperation LINEAR_GRADIENT___VALID_GRADIENT_VECTOR__DIAGNOSTICCHAIN_MAP = eINSTANCE.getLinearGradient__ValidGradientVector__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.LineToImpl <em>Line To</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.LineToImpl <em>Line To</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.LineToImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getLineTo()
* @generated
@@ -7069,18 +6737,15 @@ public interface DGPackage extends EPackage {
EClass LINE_TO = eINSTANCE.getLineTo();
/**
- * The meta object literal for the '<em><b>Point</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Point</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference LINE_TO__POINT = eINSTANCE.getLineTo_Point();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl <em>Matrix</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl <em>Matrix</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.MatrixImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getMatrix()
* @generated
@@ -7088,58 +6753,50 @@ public interface DGPackage extends EPackage {
EClass MATRIX = eINSTANCE.getMatrix();
/**
- * The meta object literal for the '<em><b>A</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>A</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute MATRIX__A = eINSTANCE.getMatrix_A();
/**
- * The meta object literal for the '<em><b>B</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>B</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute MATRIX__B = eINSTANCE.getMatrix_B();
/**
- * The meta object literal for the '<em><b>C</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>C</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute MATRIX__C = eINSTANCE.getMatrix_C();
/**
- * The meta object literal for the '<em><b>D</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>D</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute MATRIX__D = eINSTANCE.getMatrix_D();
/**
- * The meta object literal for the '<em><b>E</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>E</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute MATRIX__E = eINSTANCE.getMatrix_E();
/**
- * The meta object literal for the '<em><b>F</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>F</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute MATRIX__F = eINSTANCE.getMatrix_F();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PathImpl <em>Path</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.PathImpl <em>Path</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.PathImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPath()
* @generated
@@ -7147,9 +6804,8 @@ public interface DGPackage extends EPackage {
EClass PATH = eINSTANCE.getPath();
/**
- * The meta object literal for the '<em><b>Command</b></em>' containment
- * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Command</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference PATH__COMMAND = eINSTANCE.getPath_Command();
@@ -7161,14 +6817,11 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation PATH___FIRST_COMMAND_MUST_BE_MOVE__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getPath__FirstCommandMustBeMove__DiagnosticChain_Map();
+ EOperation PATH___FIRST_COMMAND_MUST_BE_MOVE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getPath__FirstCommandMustBeMove__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PatternImpl <em>Pattern</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.PatternImpl <em>Pattern</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.PatternImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPattern()
* @generated
@@ -7176,26 +6829,22 @@ public interface DGPackage extends EPackage {
EClass PATTERN = eINSTANCE.getPattern();
/**
- * The meta object literal for the '<em><b>Bounds</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference PATTERN__BOUNDS = eINSTANCE.getPattern_Bounds();
/**
- * The meta object literal for the '<em><b>Tile</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Tile</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference PATTERN__TILE = eINSTANCE.getPattern_Tile();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PolygonImpl <em>Polygon</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.PolygonImpl <em>Polygon</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.PolygonImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPolygon()
* @generated
@@ -7203,18 +6852,15 @@ public interface DGPackage extends EPackage {
EClass POLYGON = eINSTANCE.getPolygon();
/**
- * The meta object literal for the '<em><b>Point</b></em>' containment
- * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Point</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference POLYGON__POINT = eINSTANCE.getPolygon_Point();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.PolylineImpl <em>Polyline</em>}
- * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.PolylineImpl <em>Polyline</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.PolylineImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getPolyline()
* @generated
@@ -7222,19 +6868,16 @@ public interface DGPackage extends EPackage {
EClass POLYLINE = eINSTANCE.getPolyline();
/**
- * The meta object literal for the '<em><b>Point</b></em>' containment
- * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Point</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference POLYLINE__POINT = eINSTANCE.getPolyline_Point();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl
- * <em>Radial Gradient</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl <em>Radial Gradient</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getRadialGradient()
* @generated
@@ -7242,57 +6885,46 @@ public interface DGPackage extends EPackage {
EClass RADIAL_GRADIENT = eINSTANCE.getRadialGradient();
/**
- * The meta object literal for the '<em><b>Center</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Center</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference RADIAL_GRADIENT__CENTER = eINSTANCE
- .getRadialGradient_Center();
+ EReference RADIAL_GRADIENT__CENTER = eINSTANCE.getRadialGradient_Center();
/**
- * The meta object literal for the '<em><b>Focus</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Focus</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference RADIAL_GRADIENT__FOCUS = eINSTANCE.getRadialGradient_Focus();
/**
- * The meta object literal for the '<em><b>Radius</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Radius</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute RADIAL_GRADIENT__RADIUS = eINSTANCE
- .getRadialGradient_Radius();
+ EAttribute RADIAL_GRADIENT__RADIUS = eINSTANCE.getRadialGradient_Radius();
/**
- * The meta object literal for the '<em><b>Valid Center Point</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Center Point</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation RADIAL_GRADIENT___VALID_CENTER_POINT__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getRadialGradient__ValidCenterPoint__DiagnosticChain_Map();
+ EOperation RADIAL_GRADIENT___VALID_CENTER_POINT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getRadialGradient__ValidCenterPoint__DiagnosticChain_Map();
/**
- * The meta object literal for the '<em><b>Valid Focus Point</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Focus Point</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation RADIAL_GRADIENT___VALID_FOCUS_POINT__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getRadialGradient__ValidFocusPoint__DiagnosticChain_Map();
+ EOperation RADIAL_GRADIENT___VALID_FOCUS_POINT__DIAGNOSTICCHAIN_MAP = eINSTANCE.getRadialGradient__ValidFocusPoint__DiagnosticChain_Map();
/**
- * The meta object literal for the '<em><b>Valid Radius</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Valid Radius</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation RADIAL_GRADIENT___VALID_RADIUS__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getRadialGradient__ValidRadius__DiagnosticChain_Map();
+ EOperation RADIAL_GRADIENT___VALID_RADIUS__DIAGNOSTICCHAIN_MAP = eINSTANCE.getRadialGradient__ValidRadius__DiagnosticChain_Map();
/**
* The meta object literal for the '
@@ -7307,21 +6939,18 @@ public interface DGPackage extends EPackage {
EClass RECTANGLE = eINSTANCE.getRectangle();
/**
- * The meta object literal for the '<em><b>Bounds</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference RECTANGLE__BOUNDS = eINSTANCE.getRectangle_Bounds();
/**
- * The meta object literal for the '<em><b>Corner Radius</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Corner Radius</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute RECTANGLE__CORNER_RADIUS = eINSTANCE
- .getRectangle_CornerRadius();
+ EAttribute RECTANGLE__CORNER_RADIUS = eINSTANCE.getRectangle_CornerRadius();
/**
* The meta object literal for the '
@@ -7330,15 +6959,12 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation RECTANGLE___NON_NEGATIVE_CORNER_RADIUS__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getRectangle__NonNegativeCornerRadius__DiagnosticChain_Map();
+ EOperation RECTANGLE___NON_NEGATIVE_CORNER_RADIUS__DIAGNOSTICCHAIN_MAP = eINSTANCE.getRectangle__NonNegativeCornerRadius__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl
- * <em>Root Canvas</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl <em>Root Canvas</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getRootCanvas()
* @generated
@@ -7346,23 +6972,19 @@ public interface DGPackage extends EPackage {
EClass ROOT_CANVAS = eINSTANCE.getRootCanvas();
/**
- * The meta object literal for the '<em><b>Background Color</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Background Color</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute ROOT_CANVAS__BACKGROUND_COLOR = eINSTANCE
- .getRootCanvas_BackgroundColor();
+ EAttribute ROOT_CANVAS__BACKGROUND_COLOR = eINSTANCE.getRootCanvas_BackgroundColor();
/**
- * The meta object literal for the '<em><b>Definitions</b></em>'
- * containment reference feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Definitions</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference ROOT_CANVAS__DEFINITIONS = eINSTANCE
- .getRootCanvas_Definitions();
+ EReference ROOT_CANVAS__DEFINITIONS = eINSTANCE.getRootCanvas_Definitions();
/**
* The meta object literal for the '<em><b>External Style Sheet</b></em>
@@ -7371,14 +6993,19 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EReference ROOT_CANVAS__EXTERNAL_STYLE_SHEET = eINSTANCE
- .getRootCanvas_ExternalStyleSheet();
+ EReference ROOT_CANVAS__EXTERNAL_STYLE_SHEET = eINSTANCE.getRootCanvas_ExternalStyleSheet();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.RotateImpl <em>Rotate</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Script</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ROOT_CANVAS__SCRIPT = eINSTANCE.getRootCanvas_Script();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.RotateImpl <em>Rotate</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.RotateImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getRotate()
* @generated
@@ -7386,26 +7013,22 @@ public interface DGPackage extends EPackage {
EClass ROTATE = eINSTANCE.getRotate();
/**
- * The meta object literal for the '<em><b>Angle</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Angle</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute ROTATE__ANGLE = eINSTANCE.getRotate_Angle();
/**
- * The meta object literal for the '<em><b>Center</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Center</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference ROTATE__CENTER = eINSTANCE.getRotate_Center();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.ScaleImpl <em>Scale</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.ScaleImpl <em>Scale</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.impl.ScaleImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getScale()
* @generated
@@ -7413,35 +7036,29 @@ public interface DGPackage extends EPackage {
EClass SCALE = eINSTANCE.getScale();
/**
- * The meta object literal for the '<em><b>Factor X</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Factor X</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute SCALE__FACTOR_X = eINSTANCE.getScale_FactorX();
/**
- * The meta object literal for the '<em><b>Factor Y</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Factor Y</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute SCALE__FACTOR_Y = eINSTANCE.getScale_FactorY();
/**
- * The meta object literal for the '<em><b>Nonnegativescale</b></em>'
- * operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Nonnegativescale</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EOperation SCALE___NONNEGATIVESCALE__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getScale__Nonnegativescale__DiagnosticChain_Map();
+ EOperation SCALE___NONNEGATIVESCALE__DIAGNOSTICCHAIN_MAP = eINSTANCE.getScale__Nonnegativescale__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.SkewImpl <em>Skew</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.SkewImpl <em>Skew</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.SkewImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getSkew()
* @generated
@@ -7449,26 +7066,22 @@ public interface DGPackage extends EPackage {
EClass SKEW = eINSTANCE.getSkew();
/**
- * The meta object literal for the '<em><b>Angle X</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Angle X</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute SKEW__ANGLE_X = eINSTANCE.getSkew_AngleX();
/**
- * The meta object literal for the '<em><b>Angle Y</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Angle Y</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute SKEW__ANGLE_Y = eINSTANCE.getSkew_AngleY();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.TextImpl <em>Text</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.TextImpl <em>Text</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.TextImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getText()
* @generated
@@ -7476,30 +7089,34 @@ public interface DGPackage extends EPackage {
EClass TEXT = eINSTANCE.getText();
/**
- * The meta object literal for the '<em><b>Data</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Data</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute TEXT__DATA = eINSTANCE.getText_Data();
/**
- * The meta object literal for the '<em><b>Position</b></em>'
- * containment reference feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Position</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
EReference TEXT__POSITION = eINSTANCE.getText_Position();
/**
- * The meta object literal for the '<em><b>Data Cannot Be Empty</b></em>
- * ' operation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Anchor</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- EOperation TEXT___DATA_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getText__DataCannotBeEmpty__DiagnosticChain_Map();
+ EAttribute TEXT__ANCHOR = eINSTANCE.getText_Anchor();
+
+ /**
+ * The meta object literal for the '<em><b>Data Cannot Be Empty</b></em>' operation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ EOperation TEXT___DATA_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP = eINSTANCE.getText__DataCannotBeEmpty__DiagnosticChain_Map();
/**
* The meta object literal for the '
@@ -7514,26 +7131,22 @@ public interface DGPackage extends EPackage {
EClass TRANSLATE = eINSTANCE.getTranslate();
/**
- * The meta object literal for the '<em><b>Delta X</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Delta X</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute TRANSLATE__DELTA_X = eINSTANCE.getTranslate_DeltaX();
/**
- * The meta object literal for the '<em><b>Delta Y</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Delta Y</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute TRANSLATE__DELTA_Y = eINSTANCE.getTranslate_DeltaY();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.impl.UseImpl <em>Use</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.impl.UseImpl <em>Use</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.impl.UseImpl
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getUse()
* @generated
@@ -7541,21 +7154,18 @@ public interface DGPackage extends EPackage {
EClass USE = eINSTANCE.getUse();
/**
- * The meta object literal for the '<em><b>Bounds</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference USE__BOUNDS = eINSTANCE.getUse_Bounds();
/**
- * The meta object literal for the '<em><b>Referenced Element</b></em>'
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Referenced Element</b></em>' reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference USE__REFERENCED_ELEMENT = eINSTANCE
- .getUse_ReferencedElement();
+ EReference USE__REFERENCED_ELEMENT = eINSTANCE.getUse_ReferencedElement();
/**
* The meta object literal for the '
@@ -7564,15 +7174,12 @@ public interface DGPackage extends EPackage {
*
* @generated
*/
- EOperation USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE
- .getUse__ReferencedElementHasId__DiagnosticChain_Map();
+ EOperation USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP = eINSTANCE.getUse__ReferencedElementHasId__DiagnosticChain_Map();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.FontDecoration
- * <em>Font Decoration</em>}' enum. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.FontDecoration <em>Font Decoration</em>}' enum.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.FontDecoration
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getFontDecoration()
* @generated
@@ -7580,16 +7187,24 @@ public interface DGPackage extends EPackage {
EEnum FONT_DECORATION = eINSTANCE.getFontDecoration();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.dg.ElementKind <em>Element Kind</em>}'
- * enum. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.ElementKind <em>Element Kind</em>}' enum.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.dg.ElementKind
* @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getElementKind()
* @generated
*/
EEnum ELEMENT_KIND = eINSTANCE.getElementKind();
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.dg.TextAnchor <em>Text Anchor</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.dd.dg.TextAnchor
+ * @see org.eclipse.papyrus.dd.dg.impl.DGPackageImpl#getTextAnchor()
+ * @generated
+ */
+ EEnum TEXT_ANCHOR = eINSTANCE.getTextAnchor();
+
}
} // DGPackage
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definition.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definition.java
index ecadd73bdd5..2a025cbbb9b 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definition.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definition.java
@@ -18,14 +18,14 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Definition</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Definition#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Definition#getId <em>Id</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getDefinition()
* @model abstract="true"
* @generated
@@ -46,11 +46,9 @@ public interface Definition extends EObject {
String getId();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Definition#getId
- * <em>Id</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Id</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Definition#getId <em>Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definitions.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definitions.java
index d84d3ca0421..af071d48561 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definitions.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Definitions.java
@@ -18,17 +18,15 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Definitions</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Definitions#getDefnitions <em>Defnition
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Definitions#getStyleSheet <em>Style
- * Sheet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Definitions#getDefnitions <em>Defnition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Definitions#getStyleSheet <em>Style Sheet</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getDefinitions()
* @model
* @generated
@@ -64,14 +62,10 @@ public interface Definitions extends EObject {
StyleSheet getStyleSheet();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Definitions#getStyleSheet
- * <em>Style Sheet</em>}' containment reference. <!-- begin-user-doc -->
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Definitions#getStyleSheet <em>Style Sheet</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Style Sheet</em>' containment
- * reference.
+ * @param value the new value of the '<em>Style Sheet</em>' containment reference.
* @see #getStyleSheet()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ElementKind.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ElementKind.java
index 1e6ea7ae2c3..a7c7fee32aa 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ElementKind.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/ElementKind.java
@@ -21,16 +21,15 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- begin-user-doc --> A representation of the literals of the enumeration '
* <em><b>Element Kind</b></em>', and utility methods for working with them.
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getElementKind()
* @model
* @generated
*/
public enum ElementKind implements Enumerator {
/**
- * The '<em><b>Canvas</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Canvas</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #CANVAS_VALUE
* @generated
* @ordered
@@ -38,9 +37,9 @@ public enum ElementKind implements Enumerator {
CANVAS(0, "canvas", "canvas"),
/**
- * The '<em><b>Circle</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Circle</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #CIRCLE_VALUE
* @generated
* @ordered
@@ -48,9 +47,9 @@ public enum ElementKind implements Enumerator {
CIRCLE(1, "circle", "circle"),
/**
- * The '<em><b>Clip Path</b></em>' literal object. <!-- begin-user-doc -->
+ * The '<em><b>Clip Path</b></em>' literal object.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #CLIP_PATH_VALUE
* @generated
* @ordered
@@ -58,9 +57,9 @@ public enum ElementKind implements Enumerator {
CLIP_PATH(2, "clipPath", "clipPath"),
/**
- * The '<em><b>Ellipse</b></em>' literal object. <!-- begin-user-doc -->
+ * The '<em><b>Ellipse</b></em>' literal object.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #ELLIPSE_VALUE
* @generated
* @ordered
@@ -68,9 +67,9 @@ public enum ElementKind implements Enumerator {
ELLIPSE(3, "ellipse", "ellipse"),
/**
- * The '<em><b>Group</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Group</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #GROUP_VALUE
* @generated
* @ordered
@@ -78,9 +77,9 @@ public enum ElementKind implements Enumerator {
GROUP(4, "group", "group"),
/**
- * The '<em><b>Image</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Image</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #IMAGE_VALUE
* @generated
* @ordered
@@ -88,9 +87,9 @@ public enum ElementKind implements Enumerator {
IMAGE(5, "image", "image"),
/**
- * The '<em><b>Line</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Line</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #LINE_VALUE
* @generated
* @ordered
@@ -98,9 +97,9 @@ public enum ElementKind implements Enumerator {
LINE(6, "line", "line"),
/**
- * The '<em><b>Marker</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Marker</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #MARKER_VALUE
* @generated
* @ordered
@@ -108,9 +107,9 @@ public enum ElementKind implements Enumerator {
MARKER(7, "marker", "marker"),
/**
- * The '<em><b>Path</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Path</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #PATH_VALUE
* @generated
* @ordered
@@ -118,9 +117,9 @@ public enum ElementKind implements Enumerator {
PATH(8, "path", "path"),
/**
- * The '<em><b>Polygon</b></em>' literal object. <!-- begin-user-doc -->
+ * The '<em><b>Polygon</b></em>' literal object.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #POLYGON_VALUE
* @generated
* @ordered
@@ -128,9 +127,9 @@ public enum ElementKind implements Enumerator {
POLYGON(9, "polygon", "polygon"),
/**
- * The '<em><b>Polyline</b></em>' literal object. <!-- begin-user-doc -->
+ * The '<em><b>Polyline</b></em>' literal object.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #POLYLINE_VALUE
* @generated
* @ordered
@@ -138,9 +137,9 @@ public enum ElementKind implements Enumerator {
POLYLINE(10, "polyline", "polyline"),
/**
- * The '<em><b>Rectangle</b></em>' literal object. <!-- begin-user-doc -->
+ * The '<em><b>Rectangle</b></em>' literal object.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #RECTANGLE_VALUE
* @generated
* @ordered
@@ -148,9 +147,9 @@ public enum ElementKind implements Enumerator {
RECTANGLE(11, "rectangle", "rectangle"),
/**
- * The '<em><b>Text</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Text</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #TEXT_VALUE
* @generated
* @ordered
@@ -158,9 +157,9 @@ public enum ElementKind implements Enumerator {
TEXT(12, "text", "text"),
/**
- * The '<em><b>Use</b></em>' literal object. <!-- begin-user-doc --> <!--
+ * The '<em><b>Use</b></em>' literal object.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #USE_VALUE
* @generated
* @ordered
@@ -168,13 +167,13 @@ public enum ElementKind implements Enumerator {
USE(13, "use", "use");
/**
- * The '<em><b>Canvas</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Canvas</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Canvas</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #CANVAS
* @model name="canvas"
* @generated
@@ -183,13 +182,13 @@ public enum ElementKind implements Enumerator {
public static final int CANVAS_VALUE = 0;
/**
- * The '<em><b>Circle</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Circle</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Circle</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #CIRCLE
* @model name="circle"
* @generated
@@ -198,13 +197,13 @@ public enum ElementKind implements Enumerator {
public static final int CIRCLE_VALUE = 1;
/**
- * The '<em><b>Clip Path</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Clip Path</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Clip Path</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #CLIP_PATH
* @model name="clipPath"
* @generated
@@ -213,13 +212,13 @@ public enum ElementKind implements Enumerator {
public static final int CLIP_PATH_VALUE = 2;
/**
- * The '<em><b>Ellipse</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Ellipse</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Ellipse</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #ELLIPSE
* @model name="ellipse"
* @generated
@@ -228,13 +227,13 @@ public enum ElementKind implements Enumerator {
public static final int ELLIPSE_VALUE = 3;
/**
- * The '<em><b>Group</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Group</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Group</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #GROUP
* @model name="group"
* @generated
@@ -243,13 +242,13 @@ public enum ElementKind implements Enumerator {
public static final int GROUP_VALUE = 4;
/**
- * The '<em><b>Image</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Image</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Image</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #IMAGE
* @model name="image"
* @generated
@@ -258,13 +257,13 @@ public enum ElementKind implements Enumerator {
public static final int IMAGE_VALUE = 5;
/**
- * The '<em><b>Line</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Line</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Line</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #LINE
* @model name="line"
* @generated
@@ -273,13 +272,13 @@ public enum ElementKind implements Enumerator {
public static final int LINE_VALUE = 6;
/**
- * The '<em><b>Marker</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Marker</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Marker</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #MARKER
* @model name="marker"
* @generated
@@ -288,13 +287,13 @@ public enum ElementKind implements Enumerator {
public static final int MARKER_VALUE = 7;
/**
- * The '<em><b>Path</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Path</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Path</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #PATH
* @model name="path"
* @generated
@@ -303,13 +302,13 @@ public enum ElementKind implements Enumerator {
public static final int PATH_VALUE = 8;
/**
- * The '<em><b>Polygon</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Polygon</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Polygon</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #POLYGON
* @model name="polygon"
* @generated
@@ -318,13 +317,13 @@ public enum ElementKind implements Enumerator {
public static final int POLYGON_VALUE = 9;
/**
- * The '<em><b>Polyline</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Polyline</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Polyline</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #POLYLINE
* @model name="polyline"
* @generated
@@ -333,13 +332,13 @@ public enum ElementKind implements Enumerator {
public static final int POLYLINE_VALUE = 10;
/**
- * The '<em><b>Rectangle</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Rectangle</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Rectangle</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #RECTANGLE
* @model name="rectangle"
* @generated
@@ -348,13 +347,13 @@ public enum ElementKind implements Enumerator {
public static final int RECTANGLE_VALUE = 11;
/**
- * The '<em><b>Text</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Text</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Text</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #TEXT
* @model name="text"
* @generated
@@ -363,13 +362,13 @@ public enum ElementKind implements Enumerator {
public static final int TEXT_VALUE = 12;
/**
- * The '<em><b>Use</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Use</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Use</b></em>' literal object isn't clear, there
* really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #USE
* @model name="use"
* @generated
@@ -384,22 +383,32 @@ public enum ElementKind implements Enumerator {
* @generated
*/
private static final ElementKind[] VALUES_ARRAY = new ElementKind[] {
- CANVAS, CIRCLE, CLIP_PATH, ELLIPSE, GROUP, IMAGE, LINE, MARKER,
- PATH, POLYGON, POLYLINE, RECTANGLE, TEXT, USE, };
-
- /**
- * A public read-only list of all the '<em><b>Element Kind</b></em>'
- * enumerators. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ CANVAS,
+ CIRCLE,
+ CLIP_PATH,
+ ELLIPSE,
+ GROUP,
+ IMAGE,
+ LINE,
+ MARKER,
+ PATH,
+ POLYGON,
+ POLYLINE,
+ RECTANGLE,
+ TEXT,
+ USE,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Element Kind</b></em>' enumerators.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- public static final List<ElementKind> VALUES = Collections
- .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+ public static final List<ElementKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
- * Returns the '<em><b>Element Kind</b></em>' literal with the specified
- * literal value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Element Kind</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static ElementKind get(String literal) {
@@ -413,9 +422,8 @@ public enum ElementKind implements Enumerator {
}
/**
- * Returns the '<em><b>Element Kind</b></em>' literal with the specified
- * name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Element Kind</b></em>' literal with the specified name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static ElementKind getByName(String name) {
@@ -429,70 +437,52 @@ public enum ElementKind implements Enumerator {
}
/**
- * Returns the '<em><b>Element Kind</b></em>' literal with the specified
- * integer value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Element Kind</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static ElementKind get(int value) {
switch (value) {
- case CANVAS_VALUE:
- return CANVAS;
- case CIRCLE_VALUE:
- return CIRCLE;
- case CLIP_PATH_VALUE:
- return CLIP_PATH;
- case ELLIPSE_VALUE:
- return ELLIPSE;
- case GROUP_VALUE:
- return GROUP;
- case IMAGE_VALUE:
- return IMAGE;
- case LINE_VALUE:
- return LINE;
- case MARKER_VALUE:
- return MARKER;
- case PATH_VALUE:
- return PATH;
- case POLYGON_VALUE:
- return POLYGON;
- case POLYLINE_VALUE:
- return POLYLINE;
- case RECTANGLE_VALUE:
- return RECTANGLE;
- case TEXT_VALUE:
- return TEXT;
- case USE_VALUE:
- return USE;
+ case CANVAS_VALUE: return CANVAS;
+ case CIRCLE_VALUE: return CIRCLE;
+ case CLIP_PATH_VALUE: return CLIP_PATH;
+ case ELLIPSE_VALUE: return ELLIPSE;
+ case GROUP_VALUE: return GROUP;
+ case IMAGE_VALUE: return IMAGE;
+ case LINE_VALUE: return LINE;
+ case MARKER_VALUE: return MARKER;
+ case PATH_VALUE: return PATH;
+ case POLYGON_VALUE: return POLYGON;
+ case POLYLINE_VALUE: return POLYLINE;
+ case RECTANGLE_VALUE: return RECTANGLE;
+ case TEXT_VALUE: return TEXT;
+ case USE_VALUE: return USE;
}
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 --> <!--
+ * Only this class can construct instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
private ElementKind(int value, String name, String literal) {
@@ -503,35 +493,31 @@ public enum ElementKind implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public int getValue() {
- return value;
+ return value;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getLiteral() {
- return literal;
+ return literal;
}
/**
- * Returns the literal value of the enumerator, which is its string
- * representation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Ellipse.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Ellipse.java
index cdc94bb8ef9..f2c2876c13c 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Ellipse.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Ellipse.java
@@ -17,19 +17,19 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Ellipse</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Ellipse is a graphical element that defines an
- * elliptical shape with a given center point and two radii on the x and y axes.
+ *
+ * <!-- begin-model-doc -->
+ * Ellipse is a graphical element that defines an elliptical shape with a given center point and two radii on the x and y axes.
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Ellipse#getCenter <em>Center</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Ellipse#getRadii <em>Radii</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Ellipse#getCenter <em>Center</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Ellipse#getRadii <em>Radii</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getEllipse()
* @model
* @generated
@@ -50,12 +50,9 @@ public interface Ellipse extends GraphicalElement {
Point getCenter();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Ellipse#getCenter <em>Center</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Center</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Ellipse#getCenter <em>Center</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Center</em>' containment reference.
* @see #getCenter()
* @generated
*/
@@ -76,12 +73,10 @@ public interface Ellipse extends GraphicalElement {
Dimension getRadii();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Ellipse#getRadii
- * <em>Radii</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Ellipse#getRadii <em>Radii</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Radii</em>' containment reference.
+ * @param value the new value of the '<em>Radii</em>' containment reference.
* @see #getRadii()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/EllipticalArcTo.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/EllipticalArcTo.java
index a94a420d1bc..0c1ebb98cb2 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/EllipticalArcTo.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/EllipticalArcTo.java
@@ -17,23 +17,18 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Elliptical Arc To</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRadii <em>Radii</em>}
- * </li>
- * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRotation <em>Rotation
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isLargeArc <em>Is Large
- * Arc</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isSweep <em>Is Sweep
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getPoint <em>Point</em>}
- * </li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRadii <em>Radii</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRotation <em>Rotation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isLargeArc <em>Is Large Arc</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isSweep <em>Is Sweep</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getEllipticalArcTo()
* @model
* @generated
@@ -54,12 +49,9 @@ public interface EllipticalArcTo extends PathCommand {
Dimension getRadii();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRadii <em>Radii</em>}
- * ' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Radii</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getRadii <em>Radii</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Radii</em>' containment reference.
* @see #getRadii()
* @generated
*/
@@ -109,13 +101,10 @@ public interface EllipticalArcTo extends PathCommand {
boolean isLargeArc();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isLargeArc
- * <em>Is Large Arc</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#isLargeArc <em>Is Large Arc</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Large Arc</em>' attribute.
+ * @param value the new value of the '<em>Is Large Arc</em>' attribute.
* @see #isLargeArc()
* @generated
*/
@@ -163,12 +152,9 @@ public interface EllipticalArcTo extends PathCommand {
Point getPoint();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getPoint <em>Point</em>}
- * ' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Point</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo#getPoint <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Point</em>' containment reference.
* @see #getPoint()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/FontDecoration.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/FontDecoration.java
index c90e039af48..299a0162a7f 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/FontDecoration.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/FontDecoration.java
@@ -21,16 +21,15 @@ import org.eclipse.emf.common.util.Enumerator;
* <!-- begin-user-doc --> A representation of the literals of the enumeration '
* <em><b>Font Decoration</b></em>', and utility methods for working with them.
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getFontDecoration()
* @model
* @generated
*/
public enum FontDecoration implements Enumerator {
/**
- * The '<em><b>Underline</b></em>' literal object. <!-- begin-user-doc -->
+ * The '<em><b>Underline</b></em>' literal object.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #UNDERLINE_VALUE
* @generated
* @ordered
@@ -38,9 +37,9 @@ public enum FontDecoration implements Enumerator {
UNDERLINE(0, "underline", "underline"),
/**
- * The '<em><b>Overline</b></em>' literal object. <!-- begin-user-doc -->
+ * The '<em><b>Overline</b></em>' literal object.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #OVERLINE_VALUE
* @generated
* @ordered
@@ -48,9 +47,9 @@ public enum FontDecoration implements Enumerator {
OVERLINE(1, "overline", "overline"),
/**
- * The '<em><b>Line Through</b></em>' literal object. <!-- begin-user-doc
+ * The '<em><b>Line Through</b></em>' literal object.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @see #LINE_THROUGH_VALUE
* @generated
* @ordered
@@ -58,13 +57,13 @@ public enum FontDecoration implements Enumerator {
LINE_THROUGH(2, "lineThrough", "lineThrough");
/**
- * The '<em><b>Underline</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Underline</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Underline</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #UNDERLINE
* @model name="underline"
* @generated
@@ -73,13 +72,13 @@ public enum FontDecoration implements Enumerator {
public static final int UNDERLINE_VALUE = 0;
/**
- * The '<em><b>Overline</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Overline</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Overline</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #OVERLINE
* @model name="overline"
* @generated
@@ -88,13 +87,13 @@ public enum FontDecoration implements Enumerator {
public static final int OVERLINE_VALUE = 1;
/**
- * The '<em><b>Line Through</b></em>' literal value. <!-- begin-user-doc -->
+ * The '<em><b>Line Through</b></em>' literal value.
+ * <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Line Through</b></em>' literal object isn't
* clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @see #LINE_THROUGH
* @model name="lineThrough"
* @generated
@@ -109,21 +108,21 @@ public enum FontDecoration implements Enumerator {
* @generated
*/
private static final FontDecoration[] VALUES_ARRAY = new FontDecoration[] {
- UNDERLINE, OVERLINE, LINE_THROUGH, };
+ UNDERLINE,
+ OVERLINE,
+ LINE_THROUGH,
+ };
/**
- * A public read-only list of all the '<em><b>Font Decoration</b></em>'
- * enumerators. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * A public read-only list of all the '<em><b>Font Decoration</b></em>' enumerators.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- public static final List<FontDecoration> VALUES = Collections
- .unmodifiableList(Arrays.asList(VALUES_ARRAY));
+ public static final List<FontDecoration> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
- * Returns the '<em><b>Font Decoration</b></em>' literal with the specified
- * literal value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Font Decoration</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static FontDecoration get(String literal) {
@@ -137,9 +136,8 @@ public enum FontDecoration implements Enumerator {
}
/**
- * Returns the '<em><b>Font Decoration</b></em>' literal with the specified
- * name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Font Decoration</b></em>' literal with the specified name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static FontDecoration getByName(String name) {
@@ -153,48 +151,41 @@ public enum FontDecoration implements Enumerator {
}
/**
- * Returns the '<em><b>Font Decoration</b></em>' literal with the specified
- * integer value. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the '<em><b>Font Decoration</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static FontDecoration get(int value) {
switch (value) {
- case UNDERLINE_VALUE:
- return UNDERLINE;
- case OVERLINE_VALUE:
- return OVERLINE;
- case LINE_THROUGH_VALUE:
- return LINE_THROUGH;
+ case UNDERLINE_VALUE: return UNDERLINE;
+ case OVERLINE_VALUE: return OVERLINE;
+ case LINE_THROUGH_VALUE: return LINE_THROUGH;
}
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 --> <!--
+ * Only this class can construct instances.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
private FontDecoration(int value, String name, String literal) {
@@ -205,35 +196,31 @@ public enum FontDecoration implements Enumerator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public int getValue() {
- return value;
+ return value;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getLiteral() {
- return literal;
+ return literal;
}
/**
- * Returns the literal value of the enumerator, which is its string
- * representation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Gradient.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Gradient.java
index f230538246c..84537aae231 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Gradient.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Gradient.java
@@ -16,18 +16,18 @@ import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Gradient</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Gradient is a kind of paint server that serves a
- * continuously smooth color transition along the gradient range from one color
- * to the next. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Gradient is a kind of paint server that serves a continuously smooth color transition along the gradient range from one color to the next.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Gradient#getStops <em>Stop</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Gradient#getStops <em>Stop</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getGradient()
* @model abstract="true"
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GradientStop.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GradientStop.java
index 35d8c87c8f2..f69cedf130f 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GradientStop.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GradientStop.java
@@ -22,20 +22,20 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Gradient Stop</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> GradientStop defines a color transition along the
- * distance from a gradient's start to its end offsets. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * GradientStop defines a color transition along the distance from a gradient's start to its end offsets.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.GradientStop#getOpacity <em>Opacity
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GradientStop#getOpacity <em>Opacity</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getGradientStop()
* @model
* @generated
@@ -58,12 +58,9 @@ public interface GradientStop extends EObject {
Color getColor();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Color</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Color</em>' attribute.
* @see #isSetColor()
* @see #unsetColor()
* @see #getColor()
@@ -72,10 +69,8 @@ public interface GradientStop extends EObject {
void setColor(Color value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetColor()
* @see #getColor()
* @see #setColor(Color)
@@ -84,10 +79,8 @@ public interface GradientStop extends EObject {
void unsetColor();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.GradientStop#getColor <em>Color</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Color</em>' attribute is set.
* @see #unsetColor()
* @see #getColor()
@@ -115,12 +108,9 @@ public interface GradientStop extends EObject {
double getOffset();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Offset</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Offset</em>' attribute.
* @see #isSetOffset()
* @see #unsetOffset()
* @see #getOffset()
@@ -129,10 +119,8 @@ public interface GradientStop extends EObject {
void setOffset(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetOffset()
* @see #getOffset()
* @see #setOffset(double)
@@ -141,10 +129,8 @@ public interface GradientStop extends EObject {
void unsetOffset();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.GradientStop#getOffset <em>Offset</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Offset</em>' attribute is set.
* @see #unsetOffset()
* @see #getOffset()
@@ -200,11 +186,9 @@ public interface GradientStop extends EObject {
void unsetOpacity();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop#getOpacity
- * <em>Opacity</em>}' attribute is set. <!-- begin-user-doc --> <!--
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.GradientStop#getOpacity <em>Opacity</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @return whether the value of the '<em>Opacity</em>' attribute is set.
* @see #unsetOpacity()
* @see #getOpacity()
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GraphicalElement.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GraphicalElement.java
index 493a52a8de9..70aa8145c66 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GraphicalElement.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/GraphicalElement.java
@@ -18,26 +18,23 @@ import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Graphical Element</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> GraphicalElement is the abstract superclass of all
- * graphical elements that can be nested in a canvas. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * GraphicalElement is the abstract superclass of all graphical elements that can be nested in a canvas.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClipPath <em>Clip
- * Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup <em>Group
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClasses <em>Class
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle <em>Style
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getTransforms <em>
- * Transform</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClipPath <em>Clip Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup <em>Group</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClasses <em>Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle <em>Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getTransforms <em>Transform</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getLayoutData <em>Layout Data</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getGraphicalElement()
* @model abstract="true"
* @generated
@@ -87,13 +84,10 @@ public interface GraphicalElement extends Definition {
Group getGroup();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup
- * <em>Group</em>}' container reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup <em>Group</em>}' container reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Group</em>' container reference.
+ * @param value the new value of the '<em>Group</em>' container reference.
* @see #getGroup()
* @generated
*/
@@ -127,13 +121,10 @@ public interface GraphicalElement extends Definition {
Style getStyle();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle
- * <em>Style</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle <em>Style</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Style</em>' containment reference.
+ * @param value the new value of the '<em>Style</em>' containment reference.
* @see #getStyle()
* @generated
*/
@@ -154,6 +145,32 @@ public interface GraphicalElement extends Definition {
EList<Transform> getTransforms();
/**
+ * Returns the value of the '<em><b>Layout Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Layout Data</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Layout Data</em>' attribute.
+ * @see #setLayoutData(String)
+ * @see org.eclipse.papyrus.dd.dg.DGPackage#getGraphicalElement_LayoutData()
+ * @model dataType="org.eclipse.papyrus.dd.dc.String" ordered="false"
+ * @generated
+ */
+ String getLayoutData();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getLayoutData <em>Layout Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Layout Data</em>' attribute.
+ * @see #getLayoutData()
+ * @generated
+ */
+ void setLayoutData(String value);
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc -->
*
* @param diagnostics
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Group.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Group.java
index d4e82076cda..f246ef20689 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Group.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Group.java
@@ -16,17 +16,19 @@ import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Group</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Group defines a group of graphical elements that can
- * be styled, clipped and/or transformed together. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Group defines a group of graphical elements that can be styled, clipped and/or transformed together.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Group#getMembers <em>Member</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Group#getMembers <em>Member</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Group#getLayout <em>Layout</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getGroup()
* @model
* @generated
@@ -50,4 +52,30 @@ public interface Group extends GraphicalElement {
*/
EList<GraphicalElement> getMembers();
+ /**
+ * Returns the value of the '<em><b>Layout</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Layout</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Layout</em>' attribute.
+ * @see #setLayout(String)
+ * @see org.eclipse.papyrus.dd.dg.DGPackage#getGroup_Layout()
+ * @model dataType="org.eclipse.papyrus.dd.dc.String" ordered="false"
+ * @generated
+ */
+ String getLayout();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Group#getLayout <em>Layout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Layout</em>' attribute.
+ * @see #getLayout()
+ * @generated
+ */
+ void setLayout(String value);
+
} // Group
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Image.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Image.java
index c0b6cd73b76..1e47addbf8f 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Image.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Image.java
@@ -18,21 +18,20 @@ import org.eclipse.papyrus.dd.dc.Bounds;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Image</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Image is a graphical element that defines a shape
- * that paints an image with a given URL within given bounds. <!-- end-model-doc
- * -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Image is a graphical element that defines a shape that paints an image with a given URL within given bounds.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Image#getSource <em>Source</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Image#getBounds <em>Bounds</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Image#isAspectRatioPreserved <em>Is
- * Aspect Ratio Preserved</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Image#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Image#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Image#isAspectRatioPreserved <em>Is Aspect Ratio Preserved</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getImage()
* @model
* @generated
@@ -78,12 +77,10 @@ public interface Image extends GraphicalElement {
Bounds getBounds();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Image#getBounds
- * <em>Bounds</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Image#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Bounds</em>' containment reference.
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
* @see #getBounds()
* @generated
*/
@@ -106,14 +103,10 @@ public interface Image extends GraphicalElement {
boolean isAspectRatioPreserved();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Image#isAspectRatioPreserved
- * <em>Is Aspect Ratio Preserved</em>}' attribute. <!-- begin-user-doc -->
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Image#isAspectRatioPreserved <em>Is Aspect Ratio Preserved</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Aspect Ratio Preserved</em>'
- * attribute.
+ * @param value the new value of the '<em>Is Aspect Ratio Preserved</em>' attribute.
* @see #isAspectRatioPreserved()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Line.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Line.java
index de9aac940cc..814b2539d74 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Line.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Line.java
@@ -16,18 +16,19 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Line</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Line is a marked element that defines a shape
- * consisting of one straight line between two points. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Line is a marked element that defines a shape consisting of one straight line between two points.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Line#getStart <em>Start</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Line#getEnd <em>End</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Line#getStart <em>Start</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Line#getEnd <em>End</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getLine()
* @model
* @generated
@@ -48,12 +49,10 @@ public interface Line extends MarkedElement {
Point getStart();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Line#getStart
- * <em>Start</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Line#getStart <em>Start</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Start</em>' containment reference.
+ * @param value the new value of the '<em>Start</em>' containment reference.
* @see #getStart()
* @generated
*/
@@ -74,12 +73,10 @@ public interface Line extends MarkedElement {
Point getEnd();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Line#getEnd
- * <em>End</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Line#getEnd <em>End</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>End</em>' containment reference.
+ * @param value the new value of the '<em>End</em>' containment reference.
* @see #getEnd()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LineTo.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LineTo.java
index 6c39ce8cd70..fcbfe9275e7 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LineTo.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LineTo.java
@@ -16,17 +16,18 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Line To</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> LineTo is a kind of path command that draw a
- * straight line from the current point to a new point. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * LineTo is a kind of path command that draw a straight line from the current point to a new point.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.LineTo#getPoint <em>Point</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.LineTo#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getLineTo()
* @model
* @generated
@@ -47,12 +48,10 @@ public interface LineTo extends PathCommand {
Point getPoint();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.LineTo#getPoint
- * <em>Point</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.LineTo#getPoint <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Point</em>' containment reference.
+ * @param value the new value of the '<em>Point</em>' containment reference.
* @see #getPoint()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LinearGradient.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LinearGradient.java
index 79efbe04ff4..05c6bb31153 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LinearGradient.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/LinearGradient.java
@@ -19,19 +19,19 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Linear Gradient</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> LinearGradient is a kind of gradient that fills a
- * graphical element by smoothly changing color values along a vector. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * LinearGradient is a kind of gradient that fills a graphical element by smoothly changing color values along a vector.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.LinearGradient#getStart <em>Start</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.LinearGradient#getEnd <em>End</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.LinearGradient#getStart <em>Start</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.LinearGradient#getEnd <em>End</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getLinearGradient()
* @model
* @generated
@@ -52,12 +52,9 @@ public interface LinearGradient extends Gradient {
Point getStart();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.LinearGradient#getStart <em>Start</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Start</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.LinearGradient#getStart <em>Start</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Start</em>' containment reference.
* @see #getStart()
* @generated
*/
@@ -78,12 +75,9 @@ public interface LinearGradient extends Gradient {
Point getEnd();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.LinearGradient#getEnd <em>End</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>End</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.LinearGradient#getEnd <em>End</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>End</em>' containment reference.
* @see #getEnd()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MarkedElement.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MarkedElement.java
index 8cade9a0e96..ef53179ec9a 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MarkedElement.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MarkedElement.java
@@ -17,23 +17,20 @@ import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Marked Element</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> MarkedElement is a graphic element that can be
- * decorated at its vertices with markers (e.g. arrowheads). <!-- end-model-doc
- * -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * MarkedElement is a graphic element that can be decorated at its vertices with markers (e.g. arrowheads).
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.MarkedElement#getEndMarker <em>End
- * Marker</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.MarkedElement#getMidMarker <em>Mid
- * Marker</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.MarkedElement#getStartMarker <em>Start
- * Marker</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.MarkedElement#getEndMarker <em>End Marker</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.MarkedElement#getMidMarker <em>Mid Marker</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.MarkedElement#getStartMarker <em>Start Marker</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getMarkedElement()
* @model abstract="true"
* @generated
@@ -54,13 +51,10 @@ public interface MarkedElement extends GraphicalElement {
Marker getEndMarker();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#getEndMarker
- * <em>End Marker</em>}' reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.MarkedElement#getEndMarker <em>End Marker</em>}' reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>End Marker</em>' reference.
+ * @param value the new value of the '<em>End Marker</em>' reference.
* @see #getEndMarker()
* @generated
*/
@@ -81,13 +75,10 @@ public interface MarkedElement extends GraphicalElement {
Marker getMidMarker();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#getMidMarker
- * <em>Mid Marker</em>}' reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.MarkedElement#getMidMarker <em>Mid Marker</em>}' reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Mid Marker</em>' reference.
+ * @param value the new value of the '<em>Mid Marker</em>' reference.
* @see #getMidMarker()
* @generated
*/
@@ -108,13 +99,10 @@ public interface MarkedElement extends GraphicalElement {
Marker getStartMarker();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement#getStartMarker
- * <em>Start Marker</em>}' reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.MarkedElement#getStartMarker <em>Start Marker</em>}' reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Start Marker</em>' reference.
+ * @param value the new value of the '<em>Start Marker</em>' reference.
* @see #getStartMarker()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Marker.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Marker.java
index 39ae66ebdd4..110efb53345 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Marker.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Marker.java
@@ -17,19 +17,19 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Marker</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Marker is a kind of group that is used as a
- * decoration (e.g. an arrowhead) for the vertices of a marked graphical
- * element. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Marker is a kind of group that is used as a decoration (e.g. an arrowhead) for the vertices of a marked graphical element.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Marker#getSize <em>Size</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Marker#getReference <em>Reference</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Marker#getSize <em>Size</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Marker#getReference <em>Reference</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getMarker()
* @model
* @generated
@@ -49,12 +49,10 @@ public interface Marker extends Group {
Dimension getSize();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Marker#getSize
- * <em>Size</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Marker#getSize <em>Size</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Size</em>' containment reference.
+ * @param value the new value of the '<em>Size</em>' containment reference.
* @see #getSize()
* @generated
*/
@@ -75,13 +73,9 @@ public interface Marker extends Group {
Point getReference();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Marker#getReference <em>Reference</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Reference</em>' containment
- * reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Marker#getReference <em>Reference</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Reference</em>' containment reference.
* @see #getReference()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Matrix.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Matrix.java
index 4fa188dcfd5..0e82b8dee1f 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Matrix.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Matrix.java
@@ -14,22 +14,23 @@ package org.eclipse.papyrus.dd.dg;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Matrix</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Matrix is a kind of transform that represents any
- * transform operation with a 3x3 transformation matrix. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Matrix is a kind of transform that represents any transform operation with a 3x3 transformation matrix.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getA <em>A</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getB <em>B</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getC <em>C</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getD <em>D</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getE <em>E</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getF <em>F</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getA <em>A</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getB <em>B</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getC <em>C</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getD <em>D</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getE <em>E</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Matrix#getF <em>F</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getMatrix()
* @model
* @generated
@@ -50,11 +51,9 @@ public interface Matrix extends Transform {
double getA();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getA
- * <em>A</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>A</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getA <em>A</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>A</em>' attribute.
* @see #getA()
* @generated
*/
@@ -75,11 +74,9 @@ public interface Matrix extends Transform {
double getB();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getB
- * <em>B</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>B</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getB <em>B</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>B</em>' attribute.
* @see #getB()
* @generated
*/
@@ -100,11 +97,9 @@ public interface Matrix extends Transform {
double getC();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getC
- * <em>C</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>C</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getC <em>C</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>C</em>' attribute.
* @see #getC()
* @generated
*/
@@ -125,11 +120,9 @@ public interface Matrix extends Transform {
double getD();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getD
- * <em>D</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>D</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getD <em>D</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>D</em>' attribute.
* @see #getD()
* @generated
*/
@@ -150,11 +143,9 @@ public interface Matrix extends Transform {
double getE();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getE
- * <em>E</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>E</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getE <em>E</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>E</em>' attribute.
* @see #getE()
* @generated
*/
@@ -175,11 +166,9 @@ public interface Matrix extends Transform {
double getF();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getF
- * <em>F</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>F</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Matrix#getF <em>F</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>F</em>' attribute.
* @see #getF()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MoveTo.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MoveTo.java
index 8e8bff2219d..9f4187499b4 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MoveTo.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/MoveTo.java
@@ -16,18 +16,19 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Move To</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> MoveTo is a kind of path command that establishes a
- * new current point in the coordinate system. Definition is an object with an
- * id that can be nested under Definitions. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * MoveTo is a kind of path command that establishes a new current point in the coordinate system.
+ * Definition is an object with an id that can be nested under Definitions.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.MoveTo#getPoint <em>Point</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.MoveTo#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getMoveTo()
* @model
* @generated
@@ -47,12 +48,10 @@ public interface MoveTo extends PathCommand {
Point getPoint();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.MoveTo#getPoint
- * <em>Point</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.MoveTo#getPoint <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Point</em>' containment reference.
+ * @param value the new value of the '<em>Point</em>' containment reference.
* @see #getPoint()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Paint.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Paint.java
index c3312a82680..cace5f08b11 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Paint.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Paint.java
@@ -20,16 +20,15 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Paint</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Paint#getColor <em>Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Paint#getPaintServer <em>Paint Server
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Paint#getColor <em>Color</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Paint#getPaintServer <em>Paint Server</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getPaint()
* @model
* @generated
@@ -49,11 +48,9 @@ public interface Paint extends EObject {
Color getColor();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Paint#getColor
- * <em>Color</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Color</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Paint#getColor <em>Color</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Color</em>' attribute.
* @see #getColor()
* @generated
*/
@@ -73,13 +70,10 @@ public interface Paint extends EObject {
PaintServer getPaintServer();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Paint#getPaintServer
- * <em>Paint Server</em>}' reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Paint#getPaintServer <em>Paint Server</em>}' reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Paint Server</em>' reference.
+ * @param value the new value of the '<em>Paint Server</em>' reference.
* @see #getPaintServer()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PaintServer.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PaintServer.java
index 2ed36d090b5..ebd68ff5fe8 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PaintServer.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PaintServer.java
@@ -16,18 +16,18 @@ import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Paint Server</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> PaintServer is the abstract super class of all paint
- * servers, like gradients and patterns <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * PaintServer is the abstract super class of all paint servers, like gradients and patterns
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.PaintServer#getTransforms <em>Transform
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.PaintServer#getTransforms <em>Transform</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getPaintServer()
* @model abstract="true"
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Path.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Path.java
index 3ff54bc6a3c..8ae2a3e004d 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Path.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Path.java
@@ -18,18 +18,18 @@ import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Path</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Path is a marked element that defines a custom shape
- * whose geometry is specified with a sequence of path commands. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Path is a marked element that defines a custom shape whose geometry is specified with a sequence of path commands.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Path#getCommands <em>Command</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Path#getCommands <em>Command</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getPath()
* @model
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PathCommand.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PathCommand.java
index 184fe534eb3..48d86483823 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PathCommand.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/PathCommand.java
@@ -16,19 +16,18 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Path Command</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> PathCommand is the abstract super type of all
- * commands that participate in specifying a path element. <!-- end-model-doc
- * -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * PathCommand is the abstract super type of all commands that participate in specifying a path element.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.PathCommand#isRelative <em>Is Relative
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.PathCommand#isRelative <em>Is Relative</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getPathCommand()
* @model abstract="true"
* @generated
@@ -52,13 +51,10 @@ public interface PathCommand extends EObject {
boolean isRelative();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.PathCommand#isRelative
- * <em>Is Relative</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.PathCommand#isRelative <em>Is Relative</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Is Relative</em>' attribute.
+ * @param value the new value of the '<em>Is Relative</em>' attribute.
* @see #isRelative()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Pattern.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Pattern.java
index 4f6efd5187c..ca3b91c8dd1 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Pattern.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Pattern.java
@@ -16,19 +16,19 @@ import org.eclipse.papyrus.dd.dc.Bounds;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Pattern</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Pattern is a kind of paint server that paints a
- * graphical element (a tile) repeatedly at fixed intervals in x and y axes to
- * cover the areas to be filled. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Pattern is a kind of paint server that paints a graphical element (a tile) repeatedly at fixed intervals in x and y axes to cover the areas to be filled.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Pattern#getBounds <em>Bounds</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Pattern#getTile <em>Tile</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Pattern#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Pattern#getTile <em>Tile</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getPattern()
* @model
* @generated
@@ -49,12 +49,9 @@ public interface Pattern extends PaintServer {
Bounds getBounds();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Pattern#getBounds <em>Bounds</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Bounds</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Pattern#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
* @see #getBounds()
* @generated
*/
@@ -76,12 +73,10 @@ public interface Pattern extends PaintServer {
GraphicalElement getTile();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Pattern#getTile
- * <em>Tile</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Pattern#getTile <em>Tile</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Tile</em>' containment reference.
+ * @param value the new value of the '<em>Tile</em>' containment reference.
* @see #getTile()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polygon.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polygon.java
index 8557101bd98..986e0604b0c 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polygon.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polygon.java
@@ -18,18 +18,18 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Polygon</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Polygon is a marked element that defines a closed
- * shape consisting of a sequence of connected straight line segments. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Polygon is a marked element that defines a closed shape consisting of a sequence of connected straight line segments.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Polygon#getPoints <em>Point</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Polygon#getPoints <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getPolygon()
* @model
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polyline.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polyline.java
index 35031deaff3..c0ca83a2bcf 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polyline.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Polyline.java
@@ -18,18 +18,18 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Polyline</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Polyline is a marked element that defines a shape
- * consisting of a sequence of connected straight line segments. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Polyline is a marked element that defines a shape consisting of a sequence of connected straight line segments.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Polyline#getPoints <em>Point</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Polyline#getPoints <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getPolyline()
* @model
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/QuadraticCurveTo.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/QuadraticCurveTo.java
index f5b0a138e0c..1f418823585 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/QuadraticCurveTo.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/QuadraticCurveTo.java
@@ -16,23 +16,20 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Quadratic Curve To</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> QuadraticCurveTo is a kind of path command that
- * draws a quadratic b?zier curve from the current point to a new point using a
- * single control point. EllipticalArcTo is a kind of path command that draws an
- * elliptical arc from the current point to a new point in the coordinate
- * system. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * QuadraticCurveTo is a kind of path command that draws a quadratic b?zier curve from the current point to a new point using a single control point.
+ * EllipticalArcTo is a kind of path command that draws an elliptical arc from the current point to a new point in the coordinate system.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getControl <em>Control
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getPoint <em>Point
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getControl <em>Control</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getQuadraticCurveTo()
* @model
* @generated
@@ -53,13 +50,10 @@ public interface QuadraticCurveTo extends PathCommand {
Point getPoint();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getPoint
- * <em>Point</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getPoint <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Point</em>' containment reference.
+ * @param value the new value of the '<em>Point</em>' containment reference.
* @see #getPoint()
* @generated
*/
@@ -79,13 +73,10 @@ public interface QuadraticCurveTo extends PathCommand {
Point getControl();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getControl
- * <em>Control</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo#getControl <em>Control</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Control</em>' containment reference.
+ * @param value the new value of the '<em>Control</em>' containment reference.
* @see #getControl()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RadialGradient.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RadialGradient.java
index 6c829669207..35235e9d073 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RadialGradient.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RadialGradient.java
@@ -19,22 +19,20 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Radial Gradient</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> RadialGradient is a kind of gradient that fills a
- * graphical element by smoothly changing color values in a circle. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * RadialGradient is a kind of gradient that fills a graphical element by smoothly changing color values in a circle.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.RadialGradient#getCenter <em>Center
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.RadialGradient#getFocus <em>Focus</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.RadialGradient#getRadius <em>Radius
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.RadialGradient#getCenter <em>Center</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.RadialGradient#getFocus <em>Focus</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.RadialGradient#getRadius <em>Radius</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getRadialGradient()
* @model
* @generated
@@ -55,13 +53,10 @@ public interface RadialGradient extends Gradient {
Point getCenter();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient#getCenter
- * <em>Center</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.RadialGradient#getCenter <em>Center</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Center</em>' containment reference.
+ * @param value the new value of the '<em>Center</em>' containment reference.
* @see #getCenter()
* @generated
*/
@@ -82,12 +77,9 @@ public interface RadialGradient extends Gradient {
Point getFocus();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient#getFocus <em>Focus</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Focus</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.RadialGradient#getFocus <em>Focus</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Focus</em>' containment reference.
* @see #getFocus()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rectangle.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rectangle.java
index 2f7e4c5d5cd..572c9619502 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rectangle.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rectangle.java
@@ -18,20 +18,19 @@ import org.eclipse.papyrus.dd.dc.Bounds;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Rectangle</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Rectangle is a graphical element that defines a
- * rectangular shape with given bounds. A rectangle may be given rounded corners
- * by setting its corner radius. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Rectangle is a graphical element that defines a rectangular shape with given bounds. A rectangle may be given rounded corners by setting its corner radius.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Rectangle#getBounds <em>Bounds</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius <em>Corner
- * Radius</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Rectangle#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius <em>Corner Radius</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getRectangle()
* @model
* @generated
@@ -52,12 +51,9 @@ public interface Rectangle extends GraphicalElement {
Bounds getBounds();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Rectangle#getBounds <em>Bounds</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Bounds</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Rectangle#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
* @see #getBounds()
* @generated
*/
@@ -82,13 +78,10 @@ public interface Rectangle extends GraphicalElement {
double getCornerRadius();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius
- * <em>Corner Radius</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius <em>Corner Radius</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Corner Radius</em>' attribute.
+ * @param value the new value of the '<em>Corner Radius</em>' attribute.
* @see #isSetCornerRadius()
* @see #unsetCornerRadius()
* @see #getCornerRadius()
@@ -97,11 +90,9 @@ public interface Rectangle extends GraphicalElement {
void setCornerRadius(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius
- * <em>Corner Radius</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius <em>Corner Radius</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #isSetCornerRadius()
* @see #getCornerRadius()
* @see #setCornerRadius(double)
@@ -110,13 +101,10 @@ public interface Rectangle extends GraphicalElement {
void unsetCornerRadius();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius
- * <em>Corner Radius</em>}' attribute is set. <!-- begin-user-doc --> <!--
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Rectangle#getCornerRadius <em>Corner Radius</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return whether the value of the '<em>Corner Radius</em>' attribute is
- * set.
+ * @return whether the value of the '<em>Corner Radius</em>' attribute is set.
* @see #unsetCornerRadius()
* @see #getCornerRadius()
* @see #setCornerRadius(double)
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RootCanvas.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RootCanvas.java
index 1d55d9a2d4c..5b71af0777c 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RootCanvas.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/RootCanvas.java
@@ -18,23 +18,21 @@ import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Root Canvas</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> RootCanvas is a kind of canvas that represents the
- * root of containment for all graphical elements that render together. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * RootCanvas is a kind of canvas that represents the root of containment for all graphical elements that render together.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.RootCanvas#getBackgroundColor <em>
- * Background Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.RootCanvas#getDefinitions <em>
- * Definitions</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.RootCanvas#getExternalStyleSheets <em>
- * External Style Sheet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.RootCanvas#getBackgroundColor <em>Background Color</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.RootCanvas#getDefinitions <em>Definitions</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.RootCanvas#getExternalStyleSheets <em>External Style Sheet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.RootCanvas#getScripts <em>Script</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getRootCanvas()
* @model
* @generated
@@ -57,13 +55,10 @@ public interface RootCanvas extends Canvas {
Color getBackgroundColor();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.RootCanvas#getBackgroundColor
- * <em>Background Color</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.RootCanvas#getBackgroundColor <em>Background Color</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Background Color</em>' attribute.
+ * @param value the new value of the '<em>Background Color</em>' attribute.
* @see #isSetBackgroundColor()
* @see #unsetBackgroundColor()
* @see #getBackgroundColor()
@@ -72,11 +67,9 @@ public interface RootCanvas extends Canvas {
void setBackgroundColor(Color value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.RootCanvas#getBackgroundColor
- * <em>Background Color</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.RootCanvas#getBackgroundColor <em>Background Color</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #isSetBackgroundColor()
* @see #getBackgroundColor()
* @see #setBackgroundColor(Color)
@@ -85,13 +78,10 @@ public interface RootCanvas extends Canvas {
void unsetBackgroundColor();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.RootCanvas#getBackgroundColor
- * <em>Background Color</em>}' attribute is set. <!-- begin-user-doc -->
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.RootCanvas#getBackgroundColor <em>Background Color</em>}' attribute is set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Background Color</em>' attribute is
- * set.
+ * @return whether the value of the '<em>Background Color</em>' attribute is set.
* @see #unsetBackgroundColor()
* @see #getBackgroundColor()
* @see #setBackgroundColor(Color)
@@ -114,14 +104,10 @@ public interface RootCanvas extends Canvas {
Definitions getDefinitions();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.RootCanvas#getDefinitions
- * <em>Definitions</em>}' containment reference. <!-- begin-user-doc -->
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.RootCanvas#getDefinitions <em>Definitions</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Definitions</em>' containment
- * reference.
+ * @param value the new value of the '<em>Definitions</em>' containment reference.
* @see #getDefinitions()
* @generated
*/
@@ -141,4 +127,20 @@ public interface RootCanvas extends Canvas {
*/
EList<StyleSheet> getExternalStyleSheets();
+ /**
+ * Returns the value of the '<em><b>Script</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Script</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>Script</em>' attribute list.
+ * @see org.eclipse.papyrus.dd.dg.DGPackage#getRootCanvas_Script()
+ * @model dataType="org.eclipse.papyrus.dd.dc.String" ordered="false"
+ * @generated
+ */
+ EList<String> getScripts();
+
} // RootCanvas
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rotate.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rotate.java
index db9d996d830..aad9b1186f8 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rotate.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Rotate.java
@@ -16,19 +16,19 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Rotate</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Rotate is a kind of transform that rotates a
- * graphical element by a given angle about a given center point in the x-y
- * coordinate system. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Rotate is a kind of transform that rotates a graphical element by a given angle about a given center point in the x-y coordinate system.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Rotate#getAngle <em>Angle</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Rotate#getCenter <em>Center</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Rotate#getAngle <em>Angle</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Rotate#getCenter <em>Center</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getRotate()
* @model
* @generated
@@ -51,11 +51,9 @@ public interface Rotate extends Transform {
double getAngle();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Rotate#getAngle
- * <em>Angle</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Angle</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Rotate#getAngle <em>Angle</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Angle</em>' attribute.
* @see #getAngle()
* @generated
*/
@@ -77,12 +75,10 @@ public interface Rotate extends Transform {
Point getCenter();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Rotate#getCenter
- * <em>Center</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Rotate#getCenter <em>Center</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Center</em>' containment reference.
+ * @param value the new value of the '<em>Center</em>' containment reference.
* @see #getCenter()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Scale.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Scale.java
index 13a1c1b18e2..e5672f85a5a 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Scale.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Scale.java
@@ -18,19 +18,19 @@ import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Scale</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Scale is a kind of transform that scales (resizes) a
- * graphical element by a given factor in the x-y coordinate system. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Scale is a kind of transform that scales (resizes) a graphical element by a given factor in the x-y coordinate system.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Scale#getFactorX <em>Factor X</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Scale#getFactorY <em>Factor Y</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Scale#getFactorX <em>Factor X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Scale#getFactorY <em>Factor Y</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getScale()
* @model
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Skew.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Skew.java
index 5257ded8bd1..d668d312e18 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Skew.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Skew.java
@@ -14,19 +14,19 @@ package org.eclipse.papyrus.dd.dg;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Skew</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Skew is a kind of transform that skews (deforms) a
- * graphical element by given angles in the x-y coordinate system. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Skew is a kind of transform that skews (deforms) a graphical element by given angles in the x-y coordinate system.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Skew#getAngleX <em>Angle X</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Skew#getAngleY <em>Angle Y</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Skew#getAngleX <em>Angle X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Skew#getAngleY <em>Angle Y</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getSkew()
* @model
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Style.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Style.java
index 7f7f74a2a34..d2d9873e08e 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Style.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Style.java
@@ -21,33 +21,28 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Style</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Style contains formatting properties that affect the
- * appearance or style of graphical elements. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Style contains formatting properties that affect the appearance or style of graphical elements.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFill <em>Fill</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity <em>Fill Opacity
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getStroke <em>Stroke</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth <em>Stroke Width
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity <em>Stroke
- * Opacity</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getStrokeDashLengths <em>Stroke
- * Dash Length</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}
- * </li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#isFontBold <em>Font Bold</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration <em>Font
- * Decoration</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFill <em>Fill</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity <em>Fill Opacity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getStroke <em>Stroke</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth <em>Stroke Width</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity <em>Stroke Opacity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getStrokeDashLengths <em>Stroke Dash Length</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#isFontBold <em>Font Bold</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration <em>Font Decoration</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getStyle()
* @model
* @generated
@@ -70,12 +65,10 @@ public interface Style extends EObject {
Paint getFill();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFill
- * <em>Fill</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFill <em>Fill</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Fill</em>' containment reference.
+ * @param value the new value of the '<em>Fill</em>' containment reference.
* @see #isSetFill()
* @see #unsetFill()
* @see #getFill()
@@ -84,10 +77,9 @@ public interface Style extends EObject {
void setFill(Paint value);
/**
- * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFill
- * <em>Fill</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFill <em>Fill</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #isSetFill()
* @see #getFill()
* @see #setFill(Paint)
@@ -129,13 +121,10 @@ public interface Style extends EObject {
double getFillOpacity();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity
- * <em>Fill Opacity</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity <em>Fill Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Fill Opacity</em>' attribute.
+ * @param value the new value of the '<em>Fill Opacity</em>' attribute.
* @see #isSetFillOpacity()
* @see #unsetFillOpacity()
* @see #getFillOpacity()
@@ -144,11 +133,9 @@ public interface Style extends EObject {
void setFillOpacity(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity
- * <em>Fill Opacity</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity <em>Fill Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #isSetFillOpacity()
* @see #getFillOpacity()
* @see #setFillOpacity(double)
@@ -157,13 +144,10 @@ public interface Style extends EObject {
void unsetFillOpacity();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity
- * <em>Fill Opacity</em>}' attribute is set. <!-- begin-user-doc --> <!--
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFillOpacity <em>Fill Opacity</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return whether the value of the '<em>Fill Opacity</em>' attribute is
- * set.
+ * @return whether the value of the '<em>Fill Opacity</em>' attribute is set.
* @see #unsetFillOpacity()
* @see #getFillOpacity()
* @see #setFillOpacity(double)
@@ -188,12 +172,10 @@ public interface Style extends EObject {
Paint getStroke();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStroke
- * <em>Stroke</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStroke <em>Stroke</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Stroke</em>' containment reference.
+ * @param value the new value of the '<em>Stroke</em>' containment reference.
* @see #isSetStroke()
* @see #unsetStroke()
* @see #getStroke()
@@ -202,10 +184,8 @@ public interface Style extends EObject {
void setStroke(Paint value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStroke <em>Stroke</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStroke <em>Stroke</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetStroke()
* @see #getStroke()
* @see #setStroke(Paint)
@@ -247,13 +227,10 @@ public interface Style extends EObject {
double getStrokeWidth();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth
- * <em>Stroke Width</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth <em>Stroke Width</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Stroke Width</em>' attribute.
+ * @param value the new value of the '<em>Stroke Width</em>' attribute.
* @see #isSetStrokeWidth()
* @see #unsetStrokeWidth()
* @see #getStrokeWidth()
@@ -262,11 +239,9 @@ public interface Style extends EObject {
void setStrokeWidth(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth
- * <em>Stroke Width</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth <em>Stroke Width</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #isSetStrokeWidth()
* @see #getStrokeWidth()
* @see #setStrokeWidth(double)
@@ -275,13 +250,10 @@ public interface Style extends EObject {
void unsetStrokeWidth();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth
- * <em>Stroke Width</em>}' attribute is set. <!-- begin-user-doc --> <!--
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeWidth <em>Stroke Width</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return whether the value of the '<em>Stroke Width</em>' attribute is
- * set.
+ * @return whether the value of the '<em>Stroke Width</em>' attribute is set.
* @see #unsetStrokeWidth()
* @see #getStrokeWidth()
* @see #setStrokeWidth(double)
@@ -308,13 +280,10 @@ public interface Style extends EObject {
double getStrokeOpacity();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity
- * <em>Stroke Opacity</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity <em>Stroke Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Stroke Opacity</em>' attribute.
+ * @param value the new value of the '<em>Stroke Opacity</em>' attribute.
* @see #isSetStrokeOpacity()
* @see #unsetStrokeOpacity()
* @see #getStrokeOpacity()
@@ -323,11 +292,9 @@ public interface Style extends EObject {
void setStrokeOpacity(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity
- * <em>Stroke Opacity</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity <em>Stroke Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #isSetStrokeOpacity()
* @see #getStrokeOpacity()
* @see #setStrokeOpacity(double)
@@ -336,13 +303,10 @@ public interface Style extends EObject {
void unsetStrokeOpacity();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity
- * <em>Stroke Opacity</em>}' attribute is set. <!-- begin-user-doc --> <!--
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeOpacity <em>Stroke Opacity</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return whether the value of the '<em>Stroke Opacity</em>' attribute is
- * set.
+ * @return whether the value of the '<em>Stroke Opacity</em>' attribute is set.
* @see #unsetStrokeOpacity()
* @see #getStrokeOpacity()
* @see #setStrokeOpacity(double)
@@ -371,11 +335,9 @@ public interface Style extends EObject {
EList<Double> getStrokeDashLengths();
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeDashLengths
- * <em>Stroke Dash Length</em>}' attribute list. <!-- begin-user-doc -->
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeDashLengths <em>Stroke Dash Length</em>}' attribute list.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isSetStrokeDashLengths()
* @see #getStrokeDashLengths()
* @generated
@@ -383,13 +345,10 @@ public interface Style extends EObject {
void unsetStrokeDashLengths();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getStrokeDashLengths
- * <em>Stroke Dash Length</em>}' attribute list is set. <!-- begin-user-doc
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getStrokeDashLengths <em>Stroke Dash Length</em>}' attribute list is set.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Stroke Dash Length</em>' attribute
- * list is set.
+ * @return whether the value of the '<em>Stroke Dash Length</em>' attribute list is set.
* @see #unsetStrokeDashLengths()
* @see #getStrokeDashLengths()
* @generated
@@ -414,12 +373,9 @@ public interface Style extends EObject {
double getFontSize();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Font Size</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Font Size</em>' attribute.
* @see #isSetFontSize()
* @see #unsetFontSize()
* @see #getFontSize()
@@ -428,10 +384,8 @@ public interface Style extends EObject {
void setFontSize(double value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetFontSize()
* @see #getFontSize()
* @see #setFontSize(double)
@@ -440,10 +394,8 @@ public interface Style extends EObject {
void unsetFontSize();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontSize <em>Font Size</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Font Size</em>' attribute is set.
* @see #unsetFontSize()
* @see #getFontSize()
@@ -470,12 +422,9 @@ public interface Style extends EObject {
String getFontName();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Font Name</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Font Name</em>' attribute.
* @see #isSetFontName()
* @see #unsetFontName()
* @see #getFontName()
@@ -484,10 +433,8 @@ public interface Style extends EObject {
void setFontName(String value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetFontName()
* @see #getFontName()
* @see #setFontName(String)
@@ -496,10 +443,8 @@ public interface Style extends EObject {
void unsetFontName();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontName <em>Font Name</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Font Name</em>' attribute is set.
* @see #unsetFontName()
* @see #getFontName()
@@ -526,12 +471,9 @@ public interface Style extends EObject {
boolean isFontItalic();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}
- * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Font Italic</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Font Italic</em>' attribute.
* @see #isSetFontItalic()
* @see #unsetFontItalic()
* @see #isFontItalic()
@@ -540,10 +482,8 @@ public interface Style extends EObject {
void setFontItalic(boolean value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}
- * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetFontItalic()
* @see #isFontItalic()
* @see #setFontItalic(boolean)
@@ -552,10 +492,8 @@ public interface Style extends EObject {
void unsetFontItalic();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}
- * ' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#isFontItalic <em>Font Italic</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Font Italic</em>' attribute is set.
* @see #unsetFontItalic()
* @see #isFontItalic()
@@ -596,10 +534,8 @@ public interface Style extends EObject {
void setFontBold(boolean value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#isFontBold <em>Font Bold</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#isFontBold <em>Font Bold</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetFontBold()
* @see #isFontBold()
* @see #setFontBold(boolean)
@@ -608,10 +544,8 @@ public interface Style extends EObject {
void unsetFontBold();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#isFontBold <em>Font Bold</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#isFontBold <em>Font Bold</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Font Bold</em>' attribute is set.
* @see #unsetFontBold()
* @see #isFontBold()
@@ -640,13 +574,10 @@ public interface Style extends EObject {
FontDecoration getFontDecoration();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration
- * <em>Font Decoration</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration <em>Font Decoration</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Font Decoration</em>' attribute.
+ * @param value the new value of the '<em>Font Decoration</em>' attribute.
* @see org.eclipse.papyrus.dd.dg.FontDecoration
* @see #isSetFontDecoration()
* @see #unsetFontDecoration()
@@ -656,11 +587,9 @@ public interface Style extends EObject {
void setFontDecoration(FontDecoration value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration
- * <em>Font Decoration</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration <em>Font Decoration</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #isSetFontDecoration()
* @see #getFontDecoration()
* @see #setFontDecoration(FontDecoration)
@@ -669,13 +598,10 @@ public interface Style extends EObject {
void unsetFontDecoration();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration
- * <em>Font Decoration</em>}' attribute is set. <!-- begin-user-doc --> <!--
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.Style#getFontDecoration <em>Font Decoration</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @return whether the value of the '<em>Font Decoration</em>' attribute is
- * set.
+ * @return whether the value of the '<em>Font Decoration</em>' attribute is set.
* @see #unsetFontDecoration()
* @see #getFontDecoration()
* @see #setFontDecoration(FontDecoration)
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleRule.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleRule.java
index b578f2f4520..640bb279691 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleRule.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleRule.java
@@ -18,16 +18,15 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Style Rule</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.StyleRule#getSelectors <em>Selector
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.StyleRule#getStyle <em>Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.StyleRule#getSelectors <em>Selector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.StyleRule#getStyle <em>Style</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getStyleRule()
* @model
* @generated
@@ -62,12 +61,9 @@ public interface StyleRule extends EObject {
Style getStyle();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.StyleRule#getStyle <em>Style</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Style</em>' containment reference.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.StyleRule#getStyle <em>Style</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Style</em>' containment reference.
* @see #getStyle()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSelector.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSelector.java
index a659fe231ba..5a7cf3ab67b 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSelector.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSelector.java
@@ -17,16 +17,15 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Style Selector</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.StyleSelector#getClasses <em>Class</em>}
- * </li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.StyleSelector#getClasses <em>Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getStyleSelector()
* @model
* @generated
@@ -50,12 +49,9 @@ public interface StyleSelector extends EObject {
ElementKind getKind();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Kind</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Kind</em>' attribute.
* @see org.eclipse.papyrus.dd.dg.ElementKind
* @see #isSetKind()
* @see #unsetKind()
@@ -65,10 +61,8 @@ public interface StyleSelector extends EObject {
void setKind(ElementKind value);
/**
- * Unsets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Unsets the value of the '{@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSetKind()
* @see #getKind()
* @see #setKind(ElementKind)
@@ -77,10 +71,8 @@ public interface StyleSelector extends EObject {
void unsetKind();
/**
- * Returns whether the value of the '
- * {@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns whether the value of the '{@link org.eclipse.papyrus.dd.dg.StyleSelector#getKind <em>Kind</em>}' attribute is set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return whether the value of the '<em>Kind</em>' attribute is set.
* @see #unsetKind()
* @see #getKind()
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSheet.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSheet.java
index 447bfc2c38a..8e39b4e46bc 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSheet.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/StyleSheet.java
@@ -18,14 +18,14 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Style Sheet</b></em>'. <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.StyleSheet#getRules <em>Rule</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.StyleSheet#getRules <em>Rule</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getStyleSheet()
* @model
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Text.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Text.java
index 39288d4c021..bf497e3bd3a 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Text.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Text.java
@@ -18,18 +18,20 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Text</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Text is a graphical element that defines a shape
- * that renders a character string at a given position. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Text is a graphical element that defines a shape that renders a character string at a given position.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Text#getData <em>Data</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Text#getPosition <em>Position</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Text#getData <em>Data</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Text#getPosition <em>Position</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Text#getAnchor <em>Anchor</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getText()
* @model
* @generated
@@ -50,11 +52,9 @@ public interface Text extends GraphicalElement {
String getData();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Text#getData
- * <em>Data</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Data</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Text#getData <em>Data</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data</em>' attribute.
* @see #getData()
* @generated
*/
@@ -75,19 +75,45 @@ public interface Text extends GraphicalElement {
Point getPosition();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Text#getPosition
- * <em>Position</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Text#getPosition <em>Position</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Position</em>' containment
- * reference.
+ * @param value the new value of the '<em>Position</em>' containment reference.
* @see #getPosition()
* @generated
*/
void setPosition(Point value);
/**
+ * Returns the value of the '<em><b>Anchor</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.papyrus.dd.dg.TextAnchor}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Anchor</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Anchor</em>' attribute.
+ * @see org.eclipse.papyrus.dd.dg.TextAnchor
+ * @see #setAnchor(TextAnchor)
+ * @see org.eclipse.papyrus.dd.dg.DGPackage#getText_Anchor()
+ * @model ordered="false"
+ * @generated
+ */
+ TextAnchor getAnchor();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Text#getAnchor <em>Anchor</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Anchor</em>' attribute.
+ * @see org.eclipse.papyrus.dd.dg.TextAnchor
+ * @see #getAnchor()
+ * @generated
+ */
+ void setAnchor(TextAnchor value);
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc -->
*
* @param diagnostics
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/TextAnchor.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/TextAnchor.java
new file mode 100644
index 00000000000..80ea8836dc6
--- /dev/null
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/TextAnchor.java
@@ -0,0 +1,244 @@
+/**
+ * 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.dd.dg;
+
+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>Text Anchor</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.dd.dg.DGPackage#getTextAnchor()
+ * @model
+ * @generated
+ */
+public enum TextAnchor implements Enumerator {
+ /**
+ * The '<em><b>Start</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #START_VALUE
+ * @generated
+ * @ordered
+ */
+ START(0, "start", "start"),
+
+ /**
+ * The '<em><b>Middle</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MIDDLE_VALUE
+ * @generated
+ * @ordered
+ */
+ MIDDLE(1, "middle", "middle"),
+
+ /**
+ * The '<em><b>End</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #END_VALUE
+ * @generated
+ * @ordered
+ */
+ END(2, "end", "end");
+
+ /**
+ * The '<em><b>Start</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Start</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #START
+ * @model name="start"
+ * @generated
+ * @ordered
+ */
+ public static final int START_VALUE = 0;
+
+ /**
+ * The '<em><b>Middle</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Middle</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MIDDLE
+ * @model name="middle"
+ * @generated
+ * @ordered
+ */
+ public static final int MIDDLE_VALUE = 1;
+
+ /**
+ * The '<em><b>End</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>End</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #END
+ * @model name="end"
+ * @generated
+ * @ordered
+ */
+ public static final int END_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Text Anchor</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final TextAnchor[] VALUES_ARRAY =
+ new TextAnchor[] {
+ START,
+ MIDDLE,
+ END,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Text Anchor</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<TextAnchor> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Text Anchor</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TextAnchor get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TextAnchor result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Text Anchor</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TextAnchor getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TextAnchor result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Text Anchor</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TextAnchor get(int value) {
+ switch (value) {
+ case START_VALUE: return START;
+ case MIDDLE_VALUE: return MIDDLE;
+ case END_VALUE: return END;
+ }
+ 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 TextAnchor(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;
+ }
+
+} //TextAnchor
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Transform.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Transform.java
index 9d67874fabc..c712a7ab3eb 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Transform.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Transform.java
@@ -16,11 +16,12 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Transform</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Transform defines an operation that changes the
- * geometry of a graphical element in a specific way. <!-- end-model-doc -->
- *
- *
+ *
+ * <!-- begin-model-doc -->
+ * Transform defines an operation that changes the geometry of a graphical element in a specific way.
+ * <!-- end-model-doc -->
+ *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getTransform()
* @model abstract="true"
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Translate.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Translate.java
index 1076fed3730..33a079abb93 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Translate.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Translate.java
@@ -14,19 +14,19 @@ package org.eclipse.papyrus.dd.dg;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Translate</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Translate is a kind of transform that translates
- * (moves) a graphical element by a given delta along the x-y coordinate system.
+ *
+ * <!-- begin-model-doc -->
+ * Translate is a kind of transform that translates (moves) a graphical element by a given delta along the x-y coordinate system.
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Translate#getDeltaX <em>Delta X</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Translate#getDeltaY <em>Delta Y</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Translate#getDeltaX <em>Delta X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Translate#getDeltaY <em>Delta Y</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getTranslate()
* @model
* @generated
@@ -48,12 +48,9 @@ public interface Translate extends Transform {
double getDeltaX();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Translate#getDeltaX <em>Delta X</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Delta X</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Translate#getDeltaX <em>Delta X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Delta X</em>' attribute.
* @see #getDeltaX()
* @generated
*/
@@ -75,12 +72,9 @@ public interface Translate extends Transform {
double getDeltaY();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Translate#getDeltaY <em>Delta Y</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Delta Y</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Translate#getDeltaY <em>Delta Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param value the new value of the '<em>Delta Y</em>' attribute.
* @see #getDeltaY()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Use.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Use.java
index f27e2d20ce8..58391c1294d 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Use.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/Use.java
@@ -18,20 +18,19 @@ import org.eclipse.papyrus.dd.dc.Bounds;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Use</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Rectangle is a graphical element that defines a
- * rectangular shape with given bounds. A rectangle may be given rounded corners
- * by setting its corner radius. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Rectangle is a graphical element that defines a rectangular shape with given bounds. A rectangle may be given rounded corners by setting its corner radius.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.Use#getBounds <em>Bounds</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.Use#getReferencedElement <em>Referenced
- * Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Use#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.Use#getReferencedElement <em>Referenced Element</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.dg.DGPackage#getUse()
* @model
* @generated
@@ -52,12 +51,10 @@ public interface Use extends GraphicalElement {
Bounds getBounds();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Use#getBounds
- * <em>Bounds</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Use#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Bounds</em>' containment reference.
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
* @see #getBounds()
* @generated
*/
@@ -78,13 +75,10 @@ public interface Use extends GraphicalElement {
GraphicalElement getReferencedElement();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.dg.Use#getReferencedElement
- * <em>Referenced Element</em>}' reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Use#getReferencedElement <em>Referenced Element</em>}' reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Referenced Element</em>' reference.
+ * @param value the new value of the '<em>Referenced Element</em>' reference.
* @see #getReferencedElement()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CanvasImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CanvasImpl.java
index aabe46debc6..1b1fa05944f 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CanvasImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CanvasImpl.java
@@ -36,18 +36,16 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.CanvasImpl#getBounds <em>Bounds
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.CanvasImpl#getBounds <em>Bounds</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class CanvasImpl extends GroupImpl implements Canvas {
/**
- * The cached value of the '{@link #getBounds() <em>Bounds</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getBounds()
* @generated
* @ordered
@@ -56,7 +54,6 @@ public class CanvasImpl extends GroupImpl implements Canvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected CanvasImpl() {
@@ -65,7 +62,6 @@ public class CanvasImpl extends GroupImpl implements Canvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -75,7 +71,6 @@ public class CanvasImpl extends GroupImpl implements Canvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Bounds getBounds() {
@@ -84,7 +79,6 @@ public class CanvasImpl extends GroupImpl implements Canvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetBounds(Bounds newBounds,
@@ -92,39 +86,28 @@ public class CanvasImpl extends GroupImpl implements Canvas {
Bounds oldBounds = bounds;
bounds = newBounds;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.CANVAS__BOUNDS, oldBounds,
- newBounds);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.CANVAS__BOUNDS, oldBounds, newBounds);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setBounds(Bounds newBounds) {
if (newBounds != bounds) {
NotificationChain msgs = null;
if (bounds != null)
- msgs = ((InternalEObject) bounds).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.CANVAS__BOUNDS,
- null, msgs);
+ msgs = ((InternalEObject)bounds).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.CANVAS__BOUNDS, null, msgs);
if (newBounds != null)
- msgs = ((InternalEObject) newBounds).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.CANVAS__BOUNDS,
- null, msgs);
+ msgs = ((InternalEObject)newBounds).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.CANVAS__BOUNDS, null, msgs);
msgs = basicSetBounds(newBounds, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.CANVAS__BOUNDS, newBounds, newBounds));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.CANVAS__BOUNDS, newBounds, newBounds));
}
/**
@@ -142,100 +125,94 @@ public class CanvasImpl extends GroupImpl implements Canvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean canvasCannotHaveTransforms(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.CANVAS,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.CANVAS___CANVAS_CANNOT_HAVE_TRANSFORMS__DIAGNOSTICCHAIN_MAP,
- CANVAS_CANNOT_HAVE_TRANSFORMS_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.CANVAS__CANVAS_CANNOT_HAVE_TRANSFORMS);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.CANVAS,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.CANVAS___CANVAS_CANNOT_HAVE_TRANSFORMS__DIAGNOSTICCHAIN_MAP,
+ CANVAS_CANNOT_HAVE_TRANSFORMS_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.CANVAS__CANVAS_CANNOT_HAVE_TRANSFORMS);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.CANVAS__BOUNDS:
- return basicSetBounds(null, msgs);
+ case DGPackage.CANVAS__BOUNDS:
+ return basicSetBounds(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 DGPackage.CANVAS__BOUNDS:
- return getBounds();
+ case DGPackage.CANVAS__BOUNDS:
+ return getBounds();
}
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.CANVAS__BOUNDS:
- setBounds((Bounds) newValue);
- return;
+ case DGPackage.CANVAS__BOUNDS:
+ setBounds((Bounds)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.CANVAS__BOUNDS:
- setBounds((Bounds) null);
- return;
+ case DGPackage.CANVAS__BOUNDS:
+ setBounds((Bounds)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.CANVAS__BOUNDS:
- return bounds != null;
+ case DGPackage.CANVAS__BOUNDS:
+ return bounds != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -243,10 +220,8 @@ public class CanvasImpl extends GroupImpl implements Canvas {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.CANVAS___CANVAS_CANNOT_HAVE_TRANSFORMS__DIAGNOSTICCHAIN_MAP:
- return canvasCannotHaveTransforms(
- (DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.CANVAS___CANVAS_CANNOT_HAVE_TRANSFORMS__DIAGNOSTICCHAIN_MAP:
+ return canvasCannotHaveTransforms((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CircleImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CircleImpl.java
index cb84047897d..3b066dec347 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CircleImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CircleImpl.java
@@ -40,20 +40,17 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.CircleImpl#getCenter <em>Center
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.CircleImpl#getRadius <em>Radius
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.CircleImpl#getCenter <em>Center</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.CircleImpl#getRadius <em>Radius</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class CircleImpl extends GraphicalElementImpl implements Circle {
/**
- * The cached value of the '{@link #getCenter() <em>Center</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getCenter() <em>Center</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getCenter()
* @generated
* @ordered
@@ -61,9 +58,8 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
protected Point center;
/**
- * The default value of the '{@link #getRadius() <em>Radius</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getRadius() <em>Radius</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getRadius()
* @generated
* @ordered
@@ -73,7 +69,6 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
/**
* The cached value of the '{@link #getRadius() <em>Radius</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getRadius()
* @generated
* @ordered
@@ -82,7 +77,6 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected CircleImpl() {
@@ -91,7 +85,6 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -101,7 +94,6 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getCenter() {
@@ -110,7 +102,6 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetCenter(Point newCenter,
@@ -118,44 +109,32 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
Point oldCenter = center;
center = newCenter;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.CIRCLE__CENTER, oldCenter,
- newCenter);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.CIRCLE__CENTER, oldCenter, newCenter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setCenter(Point newCenter) {
if (newCenter != center) {
NotificationChain msgs = null;
if (center != null)
- msgs = ((InternalEObject) center).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.CIRCLE__CENTER,
- null, msgs);
+ msgs = ((InternalEObject)center).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.CIRCLE__CENTER, null, msgs);
if (newCenter != null)
- msgs = ((InternalEObject) newCenter).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.CIRCLE__CENTER,
- null, msgs);
+ msgs = ((InternalEObject)newCenter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.CIRCLE__CENTER, null, msgs);
msgs = basicSetCenter(newCenter, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.CIRCLE__CENTER, newCenter, newCenter));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.CIRCLE__CENTER, newCenter, newCenter));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getRadius() {
@@ -164,25 +143,20 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setRadius(double newRadius) {
double oldRadius = radius;
radius = newRadius;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.CIRCLE__RADIUS, oldRadius, radius));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.CIRCLE__RADIUS, oldRadius, radius));
}
/**
- * The cached validation expression for the '
- * {@link #nonNegativeRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Non Negative Radius</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #nonNegativeRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Non Negative Radius</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #nonNegativeRadius(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #nonNegativeRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -190,110 +164,104 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean nonNegativeRadius(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.CIRCLE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.CIRCLE___NON_NEGATIVE_RADIUS__DIAGNOSTICCHAIN_MAP,
- NON_NEGATIVE_RADIUS_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.CIRCLE__NON_NEGATIVE_RADIUS);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.CIRCLE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.CIRCLE___NON_NEGATIVE_RADIUS__DIAGNOSTICCHAIN_MAP,
+ NON_NEGATIVE_RADIUS_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.CIRCLE__NON_NEGATIVE_RADIUS);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.CIRCLE__CENTER:
- return basicSetCenter(null, msgs);
+ case DGPackage.CIRCLE__CENTER:
+ return basicSetCenter(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 DGPackage.CIRCLE__CENTER:
- return getCenter();
- case DGPackage.CIRCLE__RADIUS:
- return getRadius();
+ case DGPackage.CIRCLE__CENTER:
+ return getCenter();
+ case DGPackage.CIRCLE__RADIUS:
+ return getRadius();
}
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.CIRCLE__CENTER:
- setCenter((Point) newValue);
- return;
- case DGPackage.CIRCLE__RADIUS:
- setRadius((Double) newValue);
- return;
+ case DGPackage.CIRCLE__CENTER:
+ setCenter((Point)newValue);
+ return;
+ case DGPackage.CIRCLE__RADIUS:
+ setRadius((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.CIRCLE__CENTER:
- setCenter((Point) null);
- return;
- case DGPackage.CIRCLE__RADIUS:
- setRadius(RADIUS_EDEFAULT);
- return;
+ case DGPackage.CIRCLE__CENTER:
+ setCenter((Point)null);
+ return;
+ case DGPackage.CIRCLE__RADIUS:
+ setRadius(RADIUS_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.CIRCLE__CENTER:
- return center != null;
- case DGPackage.CIRCLE__RADIUS:
- return radius != RADIUS_EDEFAULT;
+ case DGPackage.CIRCLE__CENTER:
+ return center != null;
+ case DGPackage.CIRCLE__RADIUS:
+ return radius != RADIUS_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -301,22 +269,19 @@ public class CircleImpl extends GraphicalElementImpl implements Circle {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.CIRCLE___NON_NEGATIVE_RADIUS__DIAGNOSTICCHAIN_MAP:
- return nonNegativeRadius((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.CIRCLE___NON_NEGATIVE_RADIUS__DIAGNOSTICCHAIN_MAP:
+ return nonNegativeRadius((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (radius: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClipPathImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClipPathImpl.java
index a1ea4dd4b75..025dbcd2ad2 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClipPathImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClipPathImpl.java
@@ -21,13 +21,12 @@ import org.eclipse.papyrus.dd.dg.DGPackage;
* <em><b>Clip Path</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class ClipPathImpl extends GroupImpl implements ClipPath {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected ClipPathImpl() {
@@ -36,7 +35,6 @@ public class ClipPathImpl extends GroupImpl implements ClipPath {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClosePathImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClosePathImpl.java
index 5e0f01216d1..b1e6ecc5bc3 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClosePathImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ClosePathImpl.java
@@ -21,13 +21,12 @@ import org.eclipse.papyrus.dd.dg.DGPackage;
* <em><b>Close Path</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public class ClosePathImpl extends PathCommandImpl implements ClosePath {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected ClosePathImpl() {
@@ -36,7 +35,6 @@ public class ClosePathImpl extends PathCommandImpl implements ClosePath {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CubicCurveToImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CubicCurveToImpl.java
index 75162e62f87..f868e1aa819 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CubicCurveToImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/CubicCurveToImpl.java
@@ -30,23 +30,19 @@ import org.eclipse.papyrus.dd.dg.DGPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl#getStartControl
- * <em>Start Control</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl#getEndControl <em>
- * End Control</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl#getPoint <em>Point
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl#getStartControl <em>Start Control</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl#getEndControl <em>End Control</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.CubicCurveToImpl#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
/**
- * The cached value of the '{@link #getStartControl()
- * <em>Start Control</em>}' containment reference. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getStartControl() <em>Start Control</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getStartControl()
* @generated
* @ordered
@@ -54,9 +50,8 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
protected Point startControl;
/**
- * The cached value of the '{@link #getEndControl() <em>End Control</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getEndControl() <em>End Control</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getEndControl()
* @generated
* @ordered
@@ -64,9 +59,8 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
protected Point endControl;
/**
- * The cached value of the '{@link #getPoint() <em>Point</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPoint() <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPoint()
* @generated
* @ordered
@@ -75,7 +69,6 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected CubicCurveToImpl() {
@@ -84,7 +77,6 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -94,7 +86,6 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getPoint() {
@@ -103,7 +94,6 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetPoint(Point newPoint,
@@ -111,44 +101,32 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
Point oldPoint = point;
point = newPoint;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.CUBIC_CURVE_TO__POINT,
- oldPoint, newPoint);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.CUBIC_CURVE_TO__POINT, oldPoint, newPoint);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setPoint(Point newPoint) {
if (newPoint != point) {
NotificationChain msgs = null;
if (point != null)
- msgs = ((InternalEObject) point).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.CUBIC_CURVE_TO__POINT, null, msgs);
+ msgs = ((InternalEObject)point).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.CUBIC_CURVE_TO__POINT, null, msgs);
if (newPoint != null)
- msgs = ((InternalEObject) newPoint).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.CUBIC_CURVE_TO__POINT, null, msgs);
+ msgs = ((InternalEObject)newPoint).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.CUBIC_CURVE_TO__POINT, null, msgs);
msgs = basicSetPoint(newPoint, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.CUBIC_CURVE_TO__POINT, newPoint, newPoint));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.CUBIC_CURVE_TO__POINT, newPoint, newPoint));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getStartControl() {
@@ -157,7 +135,6 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetStartControl(Point newStartControl,
@@ -165,47 +142,32 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
Point oldStartControl = startControl;
startControl = newStartControl;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.CUBIC_CURVE_TO__START_CONTROL,
- oldStartControl, newStartControl);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.CUBIC_CURVE_TO__START_CONTROL, oldStartControl, newStartControl);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStartControl(Point newStartControl) {
if (newStartControl != startControl) {
NotificationChain msgs = null;
if (startControl != null)
- msgs = ((InternalEObject) startControl).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.CUBIC_CURVE_TO__START_CONTROL,
- null, msgs);
+ msgs = ((InternalEObject)startControl).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.CUBIC_CURVE_TO__START_CONTROL, null, msgs);
if (newStartControl != null)
- msgs = ((InternalEObject) newStartControl).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.CUBIC_CURVE_TO__START_CONTROL,
- null, msgs);
+ msgs = ((InternalEObject)newStartControl).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.CUBIC_CURVE_TO__START_CONTROL, null, msgs);
msgs = basicSetStartControl(newStartControl, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.CUBIC_CURVE_TO__START_CONTROL, newStartControl,
- newStartControl));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.CUBIC_CURVE_TO__START_CONTROL, newStartControl, newStartControl));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getEndControl() {
@@ -214,7 +176,6 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetEndControl(Point newEndControl,
@@ -222,137 +183,118 @@ public class CubicCurveToImpl extends PathCommandImpl implements CubicCurveTo {
Point oldEndControl = endControl;
endControl = newEndControl;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.CUBIC_CURVE_TO__END_CONTROL,
- oldEndControl, newEndControl);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.CUBIC_CURVE_TO__END_CONTROL, oldEndControl, newEndControl);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setEndControl(Point newEndControl) {
if (newEndControl != endControl) {
NotificationChain msgs = null;
if (endControl != null)
- msgs = ((InternalEObject) endControl).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.CUBIC_CURVE_TO__END_CONTROL, null,
- msgs);
+ msgs = ((InternalEObject)endControl).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.CUBIC_CURVE_TO__END_CONTROL, null, msgs);
if (newEndControl != null)
- msgs = ((InternalEObject) newEndControl).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.CUBIC_CURVE_TO__END_CONTROL, null,
- msgs);
+ msgs = ((InternalEObject)newEndControl).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.CUBIC_CURVE_TO__END_CONTROL, null, msgs);
msgs = basicSetEndControl(newEndControl, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.CUBIC_CURVE_TO__END_CONTROL, newEndControl,
- newEndControl));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.CUBIC_CURVE_TO__END_CONTROL, newEndControl, newEndControl));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.CUBIC_CURVE_TO__START_CONTROL:
- return basicSetStartControl(null, msgs);
- case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
- return basicSetEndControl(null, msgs);
- case DGPackage.CUBIC_CURVE_TO__POINT:
- return basicSetPoint(null, msgs);
+ case DGPackage.CUBIC_CURVE_TO__START_CONTROL:
+ return basicSetStartControl(null, msgs);
+ case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
+ return basicSetEndControl(null, msgs);
+ case DGPackage.CUBIC_CURVE_TO__POINT:
+ return basicSetPoint(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 DGPackage.CUBIC_CURVE_TO__START_CONTROL:
- return getStartControl();
- case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
- return getEndControl();
- case DGPackage.CUBIC_CURVE_TO__POINT:
- return getPoint();
+ case DGPackage.CUBIC_CURVE_TO__START_CONTROL:
+ return getStartControl();
+ case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
+ return getEndControl();
+ case DGPackage.CUBIC_CURVE_TO__POINT:
+ return getPoint();
}
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.CUBIC_CURVE_TO__START_CONTROL:
- setStartControl((Point) newValue);
- return;
- case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
- setEndControl((Point) newValue);
- return;
- case DGPackage.CUBIC_CURVE_TO__POINT:
- setPoint((Point) newValue);
- return;
+ case DGPackage.CUBIC_CURVE_TO__START_CONTROL:
+ setStartControl((Point)newValue);
+ return;
+ case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
+ setEndControl((Point)newValue);
+ return;
+ case DGPackage.CUBIC_CURVE_TO__POINT:
+ setPoint((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.CUBIC_CURVE_TO__START_CONTROL:
- setStartControl((Point) null);
- return;
- case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
- setEndControl((Point) null);
- return;
- case DGPackage.CUBIC_CURVE_TO__POINT:
- setPoint((Point) null);
- return;
+ case DGPackage.CUBIC_CURVE_TO__START_CONTROL:
+ setStartControl((Point)null);
+ return;
+ case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
+ setEndControl((Point)null);
+ return;
+ case DGPackage.CUBIC_CURVE_TO__POINT:
+ setPoint((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.CUBIC_CURVE_TO__START_CONTROL:
- return startControl != null;
- case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
- return endControl != null;
- case DGPackage.CUBIC_CURVE_TO__POINT:
- return point != null;
+ case DGPackage.CUBIC_CURVE_TO__START_CONTROL:
+ return startControl != null;
+ case DGPackage.CUBIC_CURVE_TO__END_CONTROL:
+ return endControl != null;
+ case DGPackage.CUBIC_CURVE_TO__POINT:
+ return point != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGFactoryImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGFactoryImpl.java
index 2a27fb3c500..ec605409f3c 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGFactoryImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGFactoryImpl.java
@@ -25,33 +25,32 @@ import org.eclipse.papyrus.dd.dg.*;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
* @generated
*/
public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
- * Creates the default factory implementation. <!-- begin-user-doc --> <!--
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static DGFactory init() {
try {
- DGFactory theDGFactory = (DGFactory) EPackage.Registry.INSTANCE
- .getEFactory(DGPackage.eNS_URI);
+ DGFactory theDGFactory = (DGFactory)EPackage.Registry.INSTANCE.getEFactory(DGPackage.eNS_URI);
if (theDGFactory != null) {
return theDGFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new DGFactoryImpl();
}
/**
- * Creates an instance of the factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DGFactoryImpl() {
@@ -60,129 +59,90 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- case DGPackage.CANVAS:
- return createCanvas();
- case DGPackage.GROUP:
- return createGroup();
- case DGPackage.MOVE_TO:
- return createMoveTo();
- case DGPackage.CLIP_PATH:
- return createClipPath();
- case DGPackage.STYLE:
- return createStyle();
- case DGPackage.PAINT:
- return createPaint();
- case DGPackage.CIRCLE:
- return createCircle();
- case DGPackage.CLOSE_PATH:
- return createClosePath();
- case DGPackage.CUBIC_CURVE_TO:
- return createCubicCurveTo();
- case DGPackage.DEFINITIONS:
- return createDefinitions();
- case DGPackage.STYLE_SHEET:
- return createStyleSheet();
- case DGPackage.STYLE_RULE:
- return createStyleRule();
- case DGPackage.STYLE_SELECTOR:
- return createStyleSelector();
- case DGPackage.ELLIPSE:
- return createEllipse();
- case DGPackage.ELLIPTICAL_ARC_TO:
- return createEllipticalArcTo();
- case DGPackage.QUADRATIC_CURVE_TO:
- return createQuadraticCurveTo();
- case DGPackage.GRADIENT_STOP:
- return createGradientStop();
- case DGPackage.IMAGE:
- return createImage();
- case DGPackage.LINE:
- return createLine();
- case DGPackage.MARKER:
- return createMarker();
- case DGPackage.LINEAR_GRADIENT:
- return createLinearGradient();
- case DGPackage.LINE_TO:
- return createLineTo();
- case DGPackage.MATRIX:
- return createMatrix();
- case DGPackage.PATH:
- return createPath();
- case DGPackage.PATTERN:
- return createPattern();
- case DGPackage.POLYGON:
- return createPolygon();
- case DGPackage.POLYLINE:
- return createPolyline();
- case DGPackage.RADIAL_GRADIENT:
- return createRadialGradient();
- case DGPackage.RECTANGLE:
- return createRectangle();
- case DGPackage.ROOT_CANVAS:
- return createRootCanvas();
- case DGPackage.ROTATE:
- return createRotate();
- case DGPackage.SCALE:
- return createScale();
- case DGPackage.SKEW:
- return createSkew();
- case DGPackage.TEXT:
- return createText();
- case DGPackage.TRANSLATE:
- return createTranslate();
- case DGPackage.USE:
- return createUse();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName()
- + "' is not a valid classifier");
+ case DGPackage.CANVAS: return createCanvas();
+ case DGPackage.GROUP: return createGroup();
+ case DGPackage.MOVE_TO: return createMoveTo();
+ case DGPackage.CLIP_PATH: return createClipPath();
+ case DGPackage.STYLE: return createStyle();
+ case DGPackage.PAINT: return createPaint();
+ case DGPackage.CIRCLE: return createCircle();
+ case DGPackage.CLOSE_PATH: return createClosePath();
+ case DGPackage.CUBIC_CURVE_TO: return createCubicCurveTo();
+ case DGPackage.DEFINITIONS: return createDefinitions();
+ case DGPackage.STYLE_SHEET: return createStyleSheet();
+ case DGPackage.STYLE_RULE: return createStyleRule();
+ case DGPackage.STYLE_SELECTOR: return createStyleSelector();
+ case DGPackage.ELLIPSE: return createEllipse();
+ case DGPackage.ELLIPTICAL_ARC_TO: return createEllipticalArcTo();
+ case DGPackage.QUADRATIC_CURVE_TO: return createQuadraticCurveTo();
+ case DGPackage.GRADIENT_STOP: return createGradientStop();
+ case DGPackage.IMAGE: return createImage();
+ case DGPackage.LINE: return createLine();
+ case DGPackage.MARKER: return createMarker();
+ case DGPackage.LINEAR_GRADIENT: return createLinearGradient();
+ case DGPackage.LINE_TO: return createLineTo();
+ case DGPackage.MATRIX: return createMatrix();
+ case DGPackage.PATH: return createPath();
+ case DGPackage.PATTERN: return createPattern();
+ case DGPackage.POLYGON: return createPolygon();
+ case DGPackage.POLYLINE: return createPolyline();
+ case DGPackage.RADIAL_GRADIENT: return createRadialGradient();
+ case DGPackage.RECTANGLE: return createRectangle();
+ case DGPackage.ROOT_CANVAS: return createRootCanvas();
+ case DGPackage.ROTATE: return createRotate();
+ case DGPackage.SCALE: return createScale();
+ case DGPackage.SKEW: return createSkew();
+ case DGPackage.TEXT: return createText();
+ case DGPackage.TRANSLATE: return createTranslate();
+ case DGPackage.USE: return createUse();
+ 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 DGPackage.FONT_DECORATION:
- return createFontDecorationFromString(eDataType, initialValue);
- case DGPackage.ELEMENT_KIND:
- return createElementKindFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '"
- + eDataType.getName() + "' is not a valid classifier");
+ case DGPackage.FONT_DECORATION:
+ return createFontDecorationFromString(eDataType, initialValue);
+ case DGPackage.ELEMENT_KIND:
+ return createElementKindFromString(eDataType, initialValue);
+ case DGPackage.TEXT_ANCHOR:
+ return createTextAnchorFromString(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 DGPackage.FONT_DECORATION:
- return convertFontDecorationToString(eDataType, instanceValue);
- case DGPackage.ELEMENT_KIND:
- return convertElementKindToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '"
- + eDataType.getName() + "' is not a valid classifier");
+ case DGPackage.FONT_DECORATION:
+ return convertFontDecorationToString(eDataType, instanceValue);
+ case DGPackage.ELEMENT_KIND:
+ return convertElementKindToString(eDataType, instanceValue);
+ case DGPackage.TEXT_ANCHOR:
+ return convertTextAnchorToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Canvas createCanvas() {
@@ -192,7 +152,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Group createGroup() {
@@ -202,7 +161,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public MoveTo createMoveTo() {
@@ -212,7 +170,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ClipPath createClipPath() {
@@ -222,7 +179,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Style createStyle() {
@@ -232,7 +188,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Paint createPaint() {
@@ -242,7 +197,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Circle createCircle() {
@@ -252,7 +206,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ClosePath createClosePath() {
@@ -262,7 +215,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public CubicCurveTo createCubicCurveTo() {
@@ -272,7 +224,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Definitions createDefinitions() {
@@ -282,7 +233,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public StyleSheet createStyleSheet() {
@@ -292,7 +242,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public StyleRule createStyleRule() {
@@ -302,7 +251,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public StyleSelector createStyleSelector() {
@@ -312,7 +260,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Ellipse createEllipse() {
@@ -322,7 +269,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EllipticalArcTo createEllipticalArcTo() {
@@ -332,7 +278,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public QuadraticCurveTo createQuadraticCurveTo() {
@@ -342,7 +287,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public GradientStop createGradientStop() {
@@ -352,7 +296,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Image createImage() {
@@ -362,7 +305,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Line createLine() {
@@ -372,7 +314,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Marker createMarker() {
@@ -382,7 +323,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public LinearGradient createLinearGradient() {
@@ -392,7 +332,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public LineTo createLineTo() {
@@ -402,7 +341,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Matrix createMatrix() {
@@ -412,7 +350,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Path createPath() {
@@ -422,7 +359,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Pattern createPattern() {
@@ -432,7 +368,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Polygon createPolygon() {
@@ -442,7 +377,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Polyline createPolyline() {
@@ -452,7 +386,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public RadialGradient createRadialGradient() {
@@ -462,7 +395,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Rectangle createRectangle() {
@@ -472,7 +404,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public RootCanvas createRootCanvas() {
@@ -482,7 +413,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Rotate createRotate() {
@@ -492,7 +422,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Scale createScale() {
@@ -502,7 +431,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Skew createSkew() {
@@ -512,7 +440,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Text createText() {
@@ -522,7 +449,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Translate createTranslate() {
@@ -532,7 +458,6 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Use createUse() {
@@ -542,22 +467,17 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FontDecoration createFontDecorationFromString(EDataType eDataType,
String initialValue) {
FontDecoration result = FontDecoration.get(initialValue);
- if (result == null)
- throw new IllegalArgumentException("The value '" + initialValue
- + "' is not a valid enumerator of '" + eDataType.getName()
- + "'");
+ 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 convertFontDecorationToString(EDataType eDataType,
@@ -567,22 +487,17 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ElementKind createElementKindFromString(EDataType eDataType,
String initialValue) {
ElementKind result = ElementKind.get(initialValue);
- if (result == null)
- throw new IllegalArgumentException("The value '" + initialValue
- + "' is not a valid enumerator of '" + eDataType.getName()
- + "'");
+ 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 convertElementKindToString(EDataType eDataType,
@@ -591,17 +506,35 @@ public class DGFactoryImpl extends EFactoryImpl implements DGFactory {
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TextAnchor createTextAnchorFromString(EDataType eDataType, String initialValue) {
+ TextAnchor result = TextAnchor.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 convertTextAnchorToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DGPackage getDGPackage() {
- return (DGPackage) getEPackage();
+ return (DGPackage)getEPackage();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGPackageImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGPackageImpl.java
index 2cdb70e594e..5fb7e8090a1 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGPackageImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DGPackageImpl.java
@@ -65,6 +65,7 @@ import org.eclipse.papyrus.dd.dg.StyleRule;
import org.eclipse.papyrus.dd.dg.StyleSelector;
import org.eclipse.papyrus.dd.dg.StyleSheet;
import org.eclipse.papyrus.dd.dg.Text;
+import org.eclipse.papyrus.dd.dg.TextAnchor;
import org.eclipse.papyrus.dd.dg.Transform;
import org.eclipse.papyrus.dd.dg.Translate;
import org.eclipse.papyrus.dd.dg.Use;
@@ -73,326 +74,287 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
* @generated
*/
public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass canvasEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass groupEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass graphicalElementEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass definitionEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass moveToEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass pathCommandEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass clipPathEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass styleEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass paintEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass paintServerEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass transformEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass circleEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass closePathEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass cubicCurveToEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass definitionsEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass styleSheetEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass styleRuleEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass styleSelectorEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass ellipseEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass ellipticalArcToEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass quadraticCurveToEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass gradientEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass gradientStopEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass imageEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass lineEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass markedElementEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass markerEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass linearGradientEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass lineToEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass matrixEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass pathEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass patternEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass polygonEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass polylineEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass radialGradientEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass rectangleEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass rootCanvasEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass rotateEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass scaleEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass skewEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass textEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass translateEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass useEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EEnum fontDecorationEEnum = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EEnum elementKindEEnum = null;
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum textAnchorEEnum = 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.
@@ -413,7 +375,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -434,14 +395,10 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
* @generated
*/
public static DGPackage init() {
- if (isInited)
- return (DGPackage) EPackage.Registry.INSTANCE
- .getEPackage(DGPackage.eNS_URI);
+ if (isInited) return (DGPackage)EPackage.Registry.INSTANCE.getEPackage(DGPackage.eNS_URI);
// Obtain or create and register package
- DGPackageImpl theDGPackage = (DGPackageImpl) (EPackage.Registry.INSTANCE
- .get(eNS_URI) instanceof DGPackageImpl ? EPackage.Registry.INSTANCE
- .get(eNS_URI) : new DGPackageImpl());
+ DGPackageImpl theDGPackage = (DGPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DGPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DGPackageImpl());
isInited = true;
@@ -455,16 +412,18 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
theDGPackage.initializePackageContents();
// Register package validator
- EValidator.Registry.INSTANCE.put(theDGPackage,
- new EValidator.Descriptor() {
- public EValidator getEValidator() {
- return DGValidator.INSTANCE;
- }
- });
+ EValidator.Registry.INSTANCE.put
+ (theDGPackage,
+ new EValidator.Descriptor() {
+ public EValidator getEValidator() {
+ return DGValidator.INSTANCE;
+ }
+ });
// Mark meta-data to indicate it can't be changed
theDGPackage.freeze();
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(DGPackage.eNS_URI, theDGPackage);
return theDGPackage;
@@ -472,7 +431,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getCanvas() {
@@ -481,16 +439,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getCanvas_Bounds() {
- return (EReference) canvasEClass.getEStructuralFeatures().get(0);
+ return (EReference)canvasEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getCanvas__CanvasCannotHaveTransforms__DiagnosticChain_Map() {
@@ -499,7 +455,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getGroup() {
@@ -508,16 +463,23 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getGroup_Member() {
- return (EReference) groupEClass.getEStructuralFeatures().get(0);
+ return (EReference)groupEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getGroup_Layout() {
+ return (EAttribute)groupEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getGraphicalElement() {
@@ -526,57 +488,55 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getGraphicalElement_ClipPath() {
- return (EReference) graphicalElementEClass.getEStructuralFeatures()
- .get(0);
+ return (EReference)graphicalElementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getGraphicalElement_Group() {
- return (EReference) graphicalElementEClass.getEStructuralFeatures()
- .get(1);
+ return (EReference)graphicalElementEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGraphicalElement_Class() {
- return (EAttribute) graphicalElementEClass.getEStructuralFeatures()
- .get(2);
+ return (EAttribute)graphicalElementEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getGraphicalElement_Style() {
- return (EReference) graphicalElementEClass.getEStructuralFeatures()
- .get(3);
+ return (EReference)graphicalElementEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getGraphicalElement_Transform() {
- return (EReference) graphicalElementEClass.getEStructuralFeatures()
- .get(4);
+ return (EReference)graphicalElementEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getGraphicalElement_LayoutData() {
+ return (EAttribute)graphicalElementEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getGraphicalElement__ReferencedClippathHasId__DiagnosticChain_Map() {
@@ -585,7 +545,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getDefinition() {
@@ -594,16 +553,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getDefinition_Id() {
- return (EAttribute) definitionEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)definitionEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getDefinition__IdCannotBeEmpty__DiagnosticChain_Map() {
@@ -612,7 +569,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getMoveTo() {
@@ -621,16 +577,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getMoveTo_Point() {
- return (EReference) moveToEClass.getEStructuralFeatures().get(0);
+ return (EReference)moveToEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPathCommand() {
@@ -639,16 +593,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPathCommand_IsRelative() {
- return (EAttribute) pathCommandEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)pathCommandEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getClipPath() {
@@ -657,7 +609,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getStyle() {
@@ -666,106 +617,94 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getStyle_Fill() {
- return (EReference) styleEClass.getEStructuralFeatures().get(0);
+ return (EReference)styleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_FillOpacity() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getStyle_Stroke() {
- return (EReference) styleEClass.getEStructuralFeatures().get(2);
+ return (EReference)styleEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_StrokeWidth() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(3);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_StrokeOpacity() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(4);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_StrokeDashLength() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(5);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_FontSize() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(6);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_FontName() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(7);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_FontItalic() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(8);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_FontBold() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(9);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyle_FontDecoration() {
- return (EAttribute) styleEClass.getEStructuralFeatures().get(10);
+ return (EAttribute)styleEClass.getEStructuralFeatures().get(10);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getStyle__ValidFontSize__DiagnosticChain_Map() {
@@ -774,7 +713,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getStyle__ValidFillOpacity__DiagnosticChain_Map() {
@@ -783,7 +721,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getStyle__ValidStrokeWidth__DiagnosticChain_Map() {
@@ -792,7 +729,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getStyle__ValidDashLengthSize__DiagnosticChain_Map() {
@@ -801,7 +737,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getStyle__ValidStrokeOpacity__DiagnosticChain_Map() {
@@ -810,7 +745,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPaint() {
@@ -819,25 +753,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPaint_Color() {
- return (EAttribute) paintEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)paintEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPaint_PaintServer() {
- return (EReference) paintEClass.getEStructuralFeatures().get(1);
+ return (EReference)paintEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getPaint__ReferencedPaintServerHasId__DiagnosticChain_Map() {
@@ -846,7 +777,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPaintServer() {
@@ -855,16 +785,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPaintServer_Transform() {
- return (EReference) paintServerEClass.getEStructuralFeatures().get(0);
+ return (EReference)paintServerEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getTransform() {
@@ -873,7 +801,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getCircle() {
@@ -882,25 +809,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getCircle_Center() {
- return (EReference) circleEClass.getEStructuralFeatures().get(0);
+ return (EReference)circleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getCircle_Radius() {
- return (EAttribute) circleEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)circleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getCircle__NonNegativeRadius__DiagnosticChain_Map() {
@@ -909,7 +833,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getClosePath() {
@@ -918,7 +841,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getCubicCurveTo() {
@@ -927,34 +849,30 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getCubicCurveTo_Point() {
- return (EReference) cubicCurveToEClass.getEStructuralFeatures().get(2);
+ return (EReference)cubicCurveToEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getCubicCurveTo_StartControl() {
- return (EReference) cubicCurveToEClass.getEStructuralFeatures().get(0);
+ return (EReference)cubicCurveToEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getCubicCurveTo_EndControl() {
- return (EReference) cubicCurveToEClass.getEStructuralFeatures().get(1);
+ return (EReference)cubicCurveToEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getDefinitions() {
@@ -963,25 +881,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getDefinitions_Defnition() {
- return (EReference) definitionsEClass.getEStructuralFeatures().get(0);
+ return (EReference)definitionsEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getDefinitions_StyleSheet() {
- return (EReference) definitionsEClass.getEStructuralFeatures().get(1);
+ return (EReference)definitionsEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getStyleSheet() {
@@ -990,16 +905,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getStyleSheet_Rule() {
- return (EReference) styleSheetEClass.getEStructuralFeatures().get(0);
+ return (EReference)styleSheetEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getStyleRule() {
@@ -1008,25 +921,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getStyleRule_Selector() {
- return (EReference) styleRuleEClass.getEStructuralFeatures().get(0);
+ return (EReference)styleRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getStyleRule_Style() {
- return (EReference) styleRuleEClass.getEStructuralFeatures().get(1);
+ return (EReference)styleRuleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getStyleSelector() {
@@ -1035,25 +945,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyleSelector_Kind() {
- return (EAttribute) styleSelectorEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)styleSelectorEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getStyleSelector_Class() {
- return (EAttribute) styleSelectorEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)styleSelectorEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getEllipse() {
@@ -1062,25 +969,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEllipse_Center() {
- return (EReference) ellipseEClass.getEStructuralFeatures().get(0);
+ return (EReference)ellipseEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEllipse_Radii() {
- return (EReference) ellipseEClass.getEStructuralFeatures().get(1);
+ return (EReference)ellipseEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getEllipticalArcTo() {
@@ -1089,57 +993,46 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEllipticalArcTo_Point() {
- return (EReference) ellipticalArcToEClass.getEStructuralFeatures().get(
- 4);
+ return (EReference)ellipticalArcToEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getEllipticalArcTo_Radii() {
- return (EReference) ellipticalArcToEClass.getEStructuralFeatures().get(
- 0);
+ return (EReference)ellipticalArcToEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getEllipticalArcTo_Rotation() {
- return (EAttribute) ellipticalArcToEClass.getEStructuralFeatures().get(
- 1);
+ return (EAttribute)ellipticalArcToEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getEllipticalArcTo_IsLargeArc() {
- return (EAttribute) ellipticalArcToEClass.getEStructuralFeatures().get(
- 2);
+ return (EAttribute)ellipticalArcToEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getEllipticalArcTo_IsSweep() {
- return (EAttribute) ellipticalArcToEClass.getEStructuralFeatures().get(
- 3);
+ return (EAttribute)ellipticalArcToEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getQuadraticCurveTo() {
@@ -1148,27 +1041,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getQuadraticCurveTo_Point() {
- return (EReference) quadraticCurveToEClass.getEStructuralFeatures()
- .get(1);
+ return (EReference)quadraticCurveToEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getQuadraticCurveTo_Control() {
- return (EReference) quadraticCurveToEClass.getEStructuralFeatures()
- .get(0);
+ return (EReference)quadraticCurveToEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getGradient() {
@@ -1177,16 +1065,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getGradient_Stop() {
- return (EReference) gradientEClass.getEStructuralFeatures().get(0);
+ return (EReference)gradientEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getGradientStop() {
@@ -1195,34 +1081,30 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGradientStop_Color() {
- return (EAttribute) gradientStopEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)gradientStopEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGradientStop_Offset() {
- return (EAttribute) gradientStopEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)gradientStopEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getGradientStop_Opacity() {
- return (EAttribute) gradientStopEClass.getEStructuralFeatures().get(2);
+ return (EAttribute)gradientStopEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getGradientStop__ValidOffset__DiagnosticChain_Map() {
@@ -1231,7 +1113,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getGradientStop__ValidOpacity__DiagnosticChain_Map() {
@@ -1240,7 +1121,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getImage() {
@@ -1249,34 +1129,30 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getImage_Source() {
- return (EAttribute) imageEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)imageEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getImage_Bounds() {
- return (EReference) imageEClass.getEStructuralFeatures().get(1);
+ return (EReference)imageEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getImage_IsAspectRatioPreserved() {
- return (EAttribute) imageEClass.getEStructuralFeatures().get(2);
+ return (EAttribute)imageEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getImage__SourceCannotBeEmpty__DiagnosticChain_Map() {
@@ -1285,7 +1161,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getLine() {
@@ -1294,25 +1169,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getLine_Start() {
- return (EReference) lineEClass.getEStructuralFeatures().get(0);
+ return (EReference)lineEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getLine_End() {
- return (EReference) lineEClass.getEStructuralFeatures().get(1);
+ return (EReference)lineEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getMarkedElement() {
@@ -1321,34 +1193,30 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getMarkedElement_EndMarker() {
- return (EReference) markedElementEClass.getEStructuralFeatures().get(0);
+ return (EReference)markedElementEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getMarkedElement_MidMarker() {
- return (EReference) markedElementEClass.getEStructuralFeatures().get(1);
+ return (EReference)markedElementEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getMarkedElement_StartMarker() {
- return (EReference) markedElementEClass.getEStructuralFeatures().get(2);
+ return (EReference)markedElementEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getMarkedElement__ReferencedStartMarkerHasId__DiagnosticChain_Map() {
@@ -1357,7 +1225,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getMarkedElement__ReferencedMidMarkerHasId__DiagnosticChain_Map() {
@@ -1366,7 +1233,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getMarkedElement__ReferencedEndMarkerHasId__DiagnosticChain_Map() {
@@ -1375,7 +1241,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getMarker() {
@@ -1384,25 +1249,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getMarker_Size() {
- return (EReference) markerEClass.getEStructuralFeatures().get(0);
+ return (EReference)markerEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getMarker_Reference() {
- return (EReference) markerEClass.getEStructuralFeatures().get(1);
+ return (EReference)markerEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getLinearGradient() {
@@ -1411,27 +1273,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getLinearGradient_Start() {
- return (EReference) linearGradientEClass.getEStructuralFeatures()
- .get(0);
+ return (EReference)linearGradientEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getLinearGradient_End() {
- return (EReference) linearGradientEClass.getEStructuralFeatures()
- .get(1);
+ return (EReference)linearGradientEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getLinearGradient__ValidGradientVector__DiagnosticChain_Map() {
@@ -1440,7 +1297,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getLineTo() {
@@ -1449,16 +1305,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getLineTo_Point() {
- return (EReference) lineToEClass.getEStructuralFeatures().get(0);
+ return (EReference)lineToEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getMatrix() {
@@ -1467,61 +1321,54 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getMatrix_A() {
- return (EAttribute) matrixEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)matrixEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getMatrix_B() {
- return (EAttribute) matrixEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)matrixEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getMatrix_C() {
- return (EAttribute) matrixEClass.getEStructuralFeatures().get(2);
+ return (EAttribute)matrixEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getMatrix_D() {
- return (EAttribute) matrixEClass.getEStructuralFeatures().get(3);
+ return (EAttribute)matrixEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getMatrix_E() {
- return (EAttribute) matrixEClass.getEStructuralFeatures().get(4);
+ return (EAttribute)matrixEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getMatrix_F() {
- return (EAttribute) matrixEClass.getEStructuralFeatures().get(5);
+ return (EAttribute)matrixEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPath() {
@@ -1530,16 +1377,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPath_Command() {
- return (EReference) pathEClass.getEStructuralFeatures().get(0);
+ return (EReference)pathEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getPath__FirstCommandMustBeMove__DiagnosticChain_Map() {
@@ -1548,7 +1393,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPattern() {
@@ -1557,25 +1401,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPattern_Bounds() {
- return (EReference) patternEClass.getEStructuralFeatures().get(0);
+ return (EReference)patternEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPattern_Tile() {
- return (EReference) patternEClass.getEStructuralFeatures().get(1);
+ return (EReference)patternEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPolygon() {
@@ -1584,16 +1425,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPolygon_Point() {
- return (EReference) polygonEClass.getEStructuralFeatures().get(0);
+ return (EReference)polygonEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPolyline() {
@@ -1602,16 +1441,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPolyline_Point() {
- return (EReference) polylineEClass.getEStructuralFeatures().get(0);
+ return (EReference)polylineEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getRadialGradient() {
@@ -1620,37 +1457,30 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getRadialGradient_Center() {
- return (EReference) radialGradientEClass.getEStructuralFeatures()
- .get(0);
+ return (EReference)radialGradientEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getRadialGradient_Focus() {
- return (EReference) radialGradientEClass.getEStructuralFeatures()
- .get(1);
+ return (EReference)radialGradientEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getRadialGradient_Radius() {
- return (EAttribute) radialGradientEClass.getEStructuralFeatures()
- .get(2);
+ return (EAttribute)radialGradientEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getRadialGradient__ValidCenterPoint__DiagnosticChain_Map() {
@@ -1659,7 +1489,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getRadialGradient__ValidFocusPoint__DiagnosticChain_Map() {
@@ -1668,7 +1497,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getRadialGradient__ValidRadius__DiagnosticChain_Map() {
@@ -1677,7 +1505,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getRectangle() {
@@ -1686,25 +1513,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getRectangle_Bounds() {
- return (EReference) rectangleEClass.getEStructuralFeatures().get(0);
+ return (EReference)rectangleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getRectangle_CornerRadius() {
- return (EAttribute) rectangleEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)rectangleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getRectangle__NonNegativeCornerRadius__DiagnosticChain_Map() {
@@ -1713,7 +1537,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getRootCanvas() {
@@ -1722,34 +1545,39 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getRootCanvas_BackgroundColor() {
- return (EAttribute) rootCanvasEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)rootCanvasEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getRootCanvas_Definitions() {
- return (EReference) rootCanvasEClass.getEStructuralFeatures().get(1);
+ return (EReference)rootCanvasEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getRootCanvas_ExternalStyleSheet() {
- return (EReference) rootCanvasEClass.getEStructuralFeatures().get(2);
+ return (EReference)rootCanvasEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getRootCanvas_Script() {
+ return (EAttribute)rootCanvasEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getRotate() {
@@ -1758,25 +1586,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getRotate_Angle() {
- return (EAttribute) rotateEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)rotateEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getRotate_Center() {
- return (EReference) rotateEClass.getEStructuralFeatures().get(1);
+ return (EReference)rotateEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getScale() {
@@ -1785,25 +1610,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getScale_FactorX() {
- return (EAttribute) scaleEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)scaleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getScale_FactorY() {
- return (EAttribute) scaleEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)scaleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getScale__Nonnegativescale__DiagnosticChain_Map() {
@@ -1812,7 +1634,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getSkew() {
@@ -1821,25 +1642,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getSkew_AngleX() {
- return (EAttribute) skewEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)skewEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getSkew_AngleY() {
- return (EAttribute) skewEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)skewEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getText() {
@@ -1848,25 +1666,31 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getText_Data() {
- return (EAttribute) textEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)textEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getText_Position() {
- return (EReference) textEClass.getEStructuralFeatures().get(1);
+ return (EReference)textEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getText_Anchor() {
+ return (EAttribute)textEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getText__DataCannotBeEmpty__DiagnosticChain_Map() {
@@ -1875,7 +1699,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getTranslate() {
@@ -1884,25 +1707,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getTranslate_DeltaX() {
- return (EAttribute) translateEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)translateEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getTranslate_DeltaY() {
- return (EAttribute) translateEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)translateEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getUse() {
@@ -1911,25 +1731,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUse_Bounds() {
- return (EReference) useEClass.getEStructuralFeatures().get(0);
+ return (EReference)useEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getUse_ReferencedElement() {
- return (EReference) useEClass.getEStructuralFeatures().get(1);
+ return (EReference)useEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EOperation getUse__ReferencedElementHasId__DiagnosticChain_Map() {
@@ -1938,7 +1755,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EEnum getFontDecoration() {
@@ -1947,7 +1763,6 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EEnum getElementKind() {
@@ -1955,41 +1770,47 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getTextAnchor() {
+ return textAnchorEEnum;
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DGFactory getDGFactory() {
- return (DGFactory) getEFactoryInstance();
+ return (DGFactory)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 -->
+ * 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;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
canvasEClass = createEClass(CANVAS);
createEReference(canvasEClass, CANVAS__BOUNDS);
- createEOperation(canvasEClass,
- CANVAS___CANVAS_CANNOT_HAVE_TRANSFORMS__DIAGNOSTICCHAIN_MAP);
+ createEOperation(canvasEClass, CANVAS___CANVAS_CANNOT_HAVE_TRANSFORMS__DIAGNOSTICCHAIN_MAP);
groupEClass = createEClass(GROUP);
createEReference(groupEClass, GROUP__MEMBER);
+ createEAttribute(groupEClass, GROUP__LAYOUT);
graphicalElementEClass = createEClass(GRAPHICAL_ELEMENT);
createEReference(graphicalElementEClass, GRAPHICAL_ELEMENT__CLIP_PATH);
@@ -1997,13 +1818,12 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
createEAttribute(graphicalElementEClass, GRAPHICAL_ELEMENT__CLASS);
createEReference(graphicalElementEClass, GRAPHICAL_ELEMENT__STYLE);
createEReference(graphicalElementEClass, GRAPHICAL_ELEMENT__TRANSFORM);
- createEOperation(graphicalElementEClass,
- GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP);
+ createEAttribute(graphicalElementEClass, GRAPHICAL_ELEMENT__LAYOUT_DATA);
+ createEOperation(graphicalElementEClass, GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP);
definitionEClass = createEClass(DEFINITION);
createEAttribute(definitionEClass, DEFINITION__ID);
- createEOperation(definitionEClass,
- DEFINITION___ID_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP);
+ createEOperation(definitionEClass, DEFINITION___ID_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP);
moveToEClass = createEClass(MOVE_TO);
createEReference(moveToEClass, MOVE_TO__POINT);
@@ -2025,22 +1845,16 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
createEAttribute(styleEClass, STYLE__FONT_ITALIC);
createEAttribute(styleEClass, STYLE__FONT_BOLD);
createEAttribute(styleEClass, STYLE__FONT_DECORATION);
- createEOperation(styleEClass,
- STYLE___VALID_FONT_SIZE__DIAGNOSTICCHAIN_MAP);
- createEOperation(styleEClass,
- STYLE___VALID_FILL_OPACITY__DIAGNOSTICCHAIN_MAP);
- createEOperation(styleEClass,
- STYLE___VALID_STROKE_WIDTH__DIAGNOSTICCHAIN_MAP);
- createEOperation(styleEClass,
- STYLE___VALID_DASH_LENGTH_SIZE__DIAGNOSTICCHAIN_MAP);
- createEOperation(styleEClass,
- STYLE___VALID_STROKE_OPACITY__DIAGNOSTICCHAIN_MAP);
+ createEOperation(styleEClass, STYLE___VALID_FONT_SIZE__DIAGNOSTICCHAIN_MAP);
+ createEOperation(styleEClass, STYLE___VALID_FILL_OPACITY__DIAGNOSTICCHAIN_MAP);
+ createEOperation(styleEClass, STYLE___VALID_STROKE_WIDTH__DIAGNOSTICCHAIN_MAP);
+ createEOperation(styleEClass, STYLE___VALID_DASH_LENGTH_SIZE__DIAGNOSTICCHAIN_MAP);
+ createEOperation(styleEClass, STYLE___VALID_STROKE_OPACITY__DIAGNOSTICCHAIN_MAP);
paintEClass = createEClass(PAINT);
createEAttribute(paintEClass, PAINT__COLOR);
createEReference(paintEClass, PAINT__PAINT_SERVER);
- createEOperation(paintEClass,
- PAINT___REFERENCED_PAINT_SERVER_HAS_ID__DIAGNOSTICCHAIN_MAP);
+ createEOperation(paintEClass, PAINT___REFERENCED_PAINT_SERVER_HAS_ID__DIAGNOSTICCHAIN_MAP);
paintServerEClass = createEClass(PAINT_SERVER);
createEReference(paintServerEClass, PAINT_SERVER__TRANSFORM);
@@ -2050,8 +1864,7 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
circleEClass = createEClass(CIRCLE);
createEReference(circleEClass, CIRCLE__CENTER);
createEAttribute(circleEClass, CIRCLE__RADIUS);
- createEOperation(circleEClass,
- CIRCLE___NON_NEGATIVE_RADIUS__DIAGNOSTICCHAIN_MAP);
+ createEOperation(circleEClass, CIRCLE___NON_NEGATIVE_RADIUS__DIAGNOSTICCHAIN_MAP);
closePathEClass = createEClass(CLOSE_PATH);
@@ -2097,17 +1910,14 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
createEAttribute(gradientStopEClass, GRADIENT_STOP__COLOR);
createEAttribute(gradientStopEClass, GRADIENT_STOP__OFFSET);
createEAttribute(gradientStopEClass, GRADIENT_STOP__OPACITY);
- createEOperation(gradientStopEClass,
- GRADIENT_STOP___VALID_OFFSET__DIAGNOSTICCHAIN_MAP);
- createEOperation(gradientStopEClass,
- GRADIENT_STOP___VALID_OPACITY__DIAGNOSTICCHAIN_MAP);
+ createEOperation(gradientStopEClass, GRADIENT_STOP___VALID_OFFSET__DIAGNOSTICCHAIN_MAP);
+ createEOperation(gradientStopEClass, GRADIENT_STOP___VALID_OPACITY__DIAGNOSTICCHAIN_MAP);
imageEClass = createEClass(IMAGE);
createEAttribute(imageEClass, IMAGE__SOURCE);
createEReference(imageEClass, IMAGE__BOUNDS);
createEAttribute(imageEClass, IMAGE__IS_ASPECT_RATIO_PRESERVED);
- createEOperation(imageEClass,
- IMAGE___SOURCE_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP);
+ createEOperation(imageEClass, IMAGE___SOURCE_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP);
lineEClass = createEClass(LINE);
createEReference(lineEClass, LINE__START);
@@ -2117,12 +1927,9 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
createEReference(markedElementEClass, MARKED_ELEMENT__END_MARKER);
createEReference(markedElementEClass, MARKED_ELEMENT__MID_MARKER);
createEReference(markedElementEClass, MARKED_ELEMENT__START_MARKER);
- createEOperation(markedElementEClass,
- MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP);
- createEOperation(markedElementEClass,
- MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP);
- createEOperation(markedElementEClass,
- MARKED_ELEMENT___REFERENCED_END_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP);
+ createEOperation(markedElementEClass, MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP);
+ createEOperation(markedElementEClass, MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP);
+ createEOperation(markedElementEClass, MARKED_ELEMENT___REFERENCED_END_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP);
markerEClass = createEClass(MARKER);
createEReference(markerEClass, MARKER__SIZE);
@@ -2131,8 +1938,7 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
linearGradientEClass = createEClass(LINEAR_GRADIENT);
createEReference(linearGradientEClass, LINEAR_GRADIENT__START);
createEReference(linearGradientEClass, LINEAR_GRADIENT__END);
- createEOperation(linearGradientEClass,
- LINEAR_GRADIENT___VALID_GRADIENT_VECTOR__DIAGNOSTICCHAIN_MAP);
+ createEOperation(linearGradientEClass, LINEAR_GRADIENT___VALID_GRADIENT_VECTOR__DIAGNOSTICCHAIN_MAP);
lineToEClass = createEClass(LINE_TO);
createEReference(lineToEClass, LINE_TO__POINT);
@@ -2147,8 +1953,7 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
pathEClass = createEClass(PATH);
createEReference(pathEClass, PATH__COMMAND);
- createEOperation(pathEClass,
- PATH___FIRST_COMMAND_MUST_BE_MOVE__DIAGNOSTICCHAIN_MAP);
+ createEOperation(pathEClass, PATH___FIRST_COMMAND_MUST_BE_MOVE__DIAGNOSTICCHAIN_MAP);
patternEClass = createEClass(PATTERN);
createEReference(patternEClass, PATTERN__BOUNDS);
@@ -2164,23 +1969,20 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
createEReference(radialGradientEClass, RADIAL_GRADIENT__CENTER);
createEReference(radialGradientEClass, RADIAL_GRADIENT__FOCUS);
createEAttribute(radialGradientEClass, RADIAL_GRADIENT__RADIUS);
- createEOperation(radialGradientEClass,
- RADIAL_GRADIENT___VALID_CENTER_POINT__DIAGNOSTICCHAIN_MAP);
- createEOperation(radialGradientEClass,
- RADIAL_GRADIENT___VALID_FOCUS_POINT__DIAGNOSTICCHAIN_MAP);
- createEOperation(radialGradientEClass,
- RADIAL_GRADIENT___VALID_RADIUS__DIAGNOSTICCHAIN_MAP);
+ createEOperation(radialGradientEClass, RADIAL_GRADIENT___VALID_CENTER_POINT__DIAGNOSTICCHAIN_MAP);
+ createEOperation(radialGradientEClass, RADIAL_GRADIENT___VALID_FOCUS_POINT__DIAGNOSTICCHAIN_MAP);
+ createEOperation(radialGradientEClass, RADIAL_GRADIENT___VALID_RADIUS__DIAGNOSTICCHAIN_MAP);
rectangleEClass = createEClass(RECTANGLE);
createEReference(rectangleEClass, RECTANGLE__BOUNDS);
createEAttribute(rectangleEClass, RECTANGLE__CORNER_RADIUS);
- createEOperation(rectangleEClass,
- RECTANGLE___NON_NEGATIVE_CORNER_RADIUS__DIAGNOSTICCHAIN_MAP);
+ createEOperation(rectangleEClass, RECTANGLE___NON_NEGATIVE_CORNER_RADIUS__DIAGNOSTICCHAIN_MAP);
rootCanvasEClass = createEClass(ROOT_CANVAS);
createEAttribute(rootCanvasEClass, ROOT_CANVAS__BACKGROUND_COLOR);
createEReference(rootCanvasEClass, ROOT_CANVAS__DEFINITIONS);
createEReference(rootCanvasEClass, ROOT_CANVAS__EXTERNAL_STYLE_SHEET);
+ createEAttribute(rootCanvasEClass, ROOT_CANVAS__SCRIPT);
rotateEClass = createEClass(ROTATE);
createEAttribute(rotateEClass, ROTATE__ANGLE);
@@ -2189,8 +1991,7 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
scaleEClass = createEClass(SCALE);
createEAttribute(scaleEClass, SCALE__FACTOR_X);
createEAttribute(scaleEClass, SCALE__FACTOR_Y);
- createEOperation(scaleEClass,
- SCALE___NONNEGATIVESCALE__DIAGNOSTICCHAIN_MAP);
+ createEOperation(scaleEClass, SCALE___NONNEGATIVESCALE__DIAGNOSTICCHAIN_MAP);
skewEClass = createEClass(SKEW);
createEAttribute(skewEClass, SKEW__ANGLE_X);
@@ -2199,8 +2000,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
textEClass = createEClass(TEXT);
createEAttribute(textEClass, TEXT__DATA);
createEReference(textEClass, TEXT__POSITION);
- createEOperation(textEClass,
- TEXT___DATA_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP);
+ createEAttribute(textEClass, TEXT__ANCHOR);
+ createEOperation(textEClass, TEXT___DATA_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP);
translateEClass = createEClass(TRANSLATE);
createEAttribute(translateEClass, TRANSLATE__DELTA_X);
@@ -2209,17 +2010,16 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
useEClass = createEClass(USE);
createEReference(useEClass, USE__BOUNDS);
createEReference(useEClass, USE__REFERENCED_ELEMENT);
- createEOperation(useEClass,
- USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP);
+ createEOperation(useEClass, USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP);
// Create enums
fontDecorationEEnum = createEEnum(FONT_DECORATION);
elementKindEEnum = createEEnum(ELEMENT_KIND);
+ textAnchorEEnum = createEEnum(TEXT_ANCHOR);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
@@ -2232,8 +2032,7 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
* @generated
*/
public void initializePackageContents() {
- if (isInitialized)
- return;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -2242,8 +2041,7 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
setNsURI(eNS_URI);
// Obtain other dependent packages
- DCPackage theDCPackage = (DCPackage) EPackage.Registry.INSTANCE
- .getEPackage(DCPackage.eNS_URI);
+ DCPackage theDCPackage = (DCPackage)EPackage.Registry.INSTANCE.getEPackage(DCPackage.eNS_URI);
// Create type parameters
@@ -2285,19 +2083,11 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
useEClass.getESuperTypes().add(this.getGraphicalElement());
// Initialize classes, features, and operations; add parameters
- initEClass(canvasEClass, Canvas.class, "Canvas", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCanvas_Bounds(), theDCPackage.getBounds(), null,
- "bounds", null, 0, 1, Canvas.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- EOperation op = initEOperation(
- getCanvas__CanvasCannotHaveTransforms__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "canvasCannotHaveTransforms", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(canvasEClass, Canvas.class, "Canvas", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCanvas_Bounds(), theDCPackage.getBounds(), null, "bounds", null, 0, 1, Canvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ EOperation op = initEOperation(getCanvas__CanvasCannotHaveTransforms__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "canvasCannotHaveTransforms", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
EGenericType g1 = createEGenericType(ecorePackage.getEMap());
EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2305,47 +2095,20 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(groupEClass, Group.class, "Group", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getGroup_Member(), this.getGraphicalElement(),
- this.getGraphicalElement_Group(), "member", null, 0, -1,
- Group.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(graphicalElementEClass, GraphicalElement.class,
- "GraphicalElement", IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getGraphicalElement_ClipPath(), this.getClipPath(),
- null, "clipPath", null, 0, 1, GraphicalElement.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getGraphicalElement_Group(), this.getGroup(),
- this.getGroup_Member(), "group", null, 0, 1,
- GraphicalElement.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getGraphicalElement_Class(), theDCPackage.getString(),
- "class", null, 0, -1, GraphicalElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getGraphicalElement_Style(), this.getStyle(), null,
- "style", null, 0, 1, GraphicalElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getGraphicalElement_Transform(), this.getTransform(),
- null, "transform", null, 0, -1, GraphicalElement.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
-
- op = initEOperation(
- getGraphicalElement__ReferencedClippathHasId__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "referencedClippathHasId", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(groupEClass, Group.class, "Group", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getGroup_Member(), this.getGraphicalElement(), this.getGraphicalElement_Group(), "member", null, 0, -1, Group.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getGroup_Layout(), theDCPackage.getString(), "layout", null, 0, 1, Group.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(graphicalElementEClass, GraphicalElement.class, "GraphicalElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getGraphicalElement_ClipPath(), this.getClipPath(), null, "clipPath", null, 0, 1, GraphicalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getGraphicalElement_Group(), this.getGroup(), this.getGroup_Member(), "group", null, 0, 1, GraphicalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getGraphicalElement_Class(), theDCPackage.getString(), "class", null, 0, -1, GraphicalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getGraphicalElement_Style(), this.getStyle(), null, "style", null, 0, 1, GraphicalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getGraphicalElement_Transform(), this.getTransform(), null, "transform", null, 0, -1, GraphicalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getGraphicalElement_LayoutData(), theDCPackage.getString(), "layoutData", null, 0, 1, GraphicalElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getGraphicalElement__ReferencedClippathHasId__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "referencedClippathHasId", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2353,19 +2116,11 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(definitionEClass, Definition.class, "Definition",
- IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDefinition_Id(), theDCPackage.getString(), "id",
- null, 0, 1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- op = initEOperation(
- getDefinition__IdCannotBeEmpty__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "idCannotBeEmpty", 0, 1, IS_UNIQUE,
- IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(definitionEClass, Definition.class, "Definition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDefinition_Id(), theDCPackage.getString(), "id", null, 0, 1, Definition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getDefinition__IdCannotBeEmpty__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "idCannotBeEmpty", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2373,75 +2128,29 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(moveToEClass, MoveTo.class, "MoveTo", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMoveTo_Point(), theDCPackage.getPoint(), null,
- "point", null, 1, 1, MoveTo.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(pathCommandEClass, PathCommand.class, "PathCommand",
- IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPathCommand_IsRelative(), theDCPackage.getBoolean(),
- "isRelative", "false", 1, 1, PathCommand.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
-
- initEClass(clipPathEClass, ClipPath.class, "ClipPath", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(styleEClass, Style.class, "Style", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getStyle_Fill(), this.getPaint(), null, "fill", null, 0,
- 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getStyle_FillOpacity(), theDCPackage.getReal(),
- "fillOpacity", null, 0, 1, Style.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEReference(getStyle_Stroke(), this.getPaint(), null, "stroke",
- null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getStyle_StrokeWidth(), theDCPackage.getReal(),
- "strokeWidth", null, 0, 1, Style.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getStyle_StrokeOpacity(), theDCPackage.getReal(),
- "strokeOpacity", null, 0, 1, Style.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getStyle_StrokeDashLength(), theDCPackage.getReal(),
- "strokeDashLength", null, 0, -1, Style.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStyle_FontSize(), theDCPackage.getReal(), "fontSize",
- null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getStyle_FontName(), theDCPackage.getString(),
- "fontName", null, 0, 1, Style.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getStyle_FontItalic(), theDCPackage.getBoolean(),
- "fontItalic", null, 0, 1, Style.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getStyle_FontBold(), theDCPackage.getBoolean(),
- "fontBold", null, 0, 1, Style.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getStyle_FontDecoration(), this.getFontDecoration(),
- "fontDecoration", null, 0, 1, Style.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(getStyle__ValidFontSize__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validFontSize", 0, 1, IS_UNIQUE,
- IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(moveToEClass, MoveTo.class, "MoveTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMoveTo_Point(), theDCPackage.getPoint(), null, "point", null, 1, 1, MoveTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(pathCommandEClass, PathCommand.class, "PathCommand", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPathCommand_IsRelative(), theDCPackage.getBoolean(), "isRelative", "false", 1, 1, PathCommand.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(clipPathEClass, ClipPath.class, "ClipPath", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(styleEClass, Style.class, "Style", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getStyle_Fill(), this.getPaint(), null, "fill", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyle_FillOpacity(), theDCPackage.getReal(), "fillOpacity", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getStyle_Stroke(), this.getPaint(), null, "stroke", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyle_StrokeWidth(), theDCPackage.getReal(), "strokeWidth", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyle_StrokeOpacity(), theDCPackage.getReal(), "strokeOpacity", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyle_StrokeDashLength(), theDCPackage.getReal(), "strokeDashLength", null, 0, -1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStyle_FontSize(), theDCPackage.getReal(), "fontSize", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyle_FontName(), theDCPackage.getString(), "fontName", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyle_FontItalic(), theDCPackage.getBoolean(), "fontItalic", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyle_FontBold(), theDCPackage.getBoolean(), "fontBold", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyle_FontDecoration(), this.getFontDecoration(), "fontDecoration", null, 0, 1, Style.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getStyle__ValidFontSize__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validFontSize", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2449,11 +2158,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(getStyle__ValidFillOpacity__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validFillOpacity", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getStyle__ValidFillOpacity__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validFillOpacity", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2461,11 +2167,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(getStyle__ValidStrokeWidth__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validStrokeWidth", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getStyle__ValidStrokeWidth__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validStrokeWidth", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2473,12 +2176,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getStyle__ValidDashLengthSize__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validDashLengthSize", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getStyle__ValidDashLengthSize__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validDashLengthSize", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2486,12 +2185,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getStyle__ValidStrokeOpacity__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validStrokeOpacity", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getStyle__ValidStrokeOpacity__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validStrokeOpacity", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2499,23 +2194,12 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(paintEClass, Paint.class, "Paint", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPaint_Color(), theDCPackage.getColor(), "color",
- null, 0, 1, Paint.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getPaint_PaintServer(), this.getPaintServer(), null,
- "paintServer", null, 0, 1, Paint.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(
- getPaint__ReferencedPaintServerHasId__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "referencedPaintServerHasId", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(paintEClass, Paint.class, "Paint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPaint_Color(), theDCPackage.getColor(), "color", null, 0, 1, Paint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getPaint_PaintServer(), this.getPaintServer(), null, "paintServer", null, 0, 1, Paint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getPaint__ReferencedPaintServerHasId__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "referencedPaintServerHasId", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2523,33 +2207,17 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(paintServerEClass, PaintServer.class, "PaintServer",
- IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPaintServer_Transform(), this.getTransform(), null,
- "transform", null, 0, -1, PaintServer.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(transformEClass, Transform.class, "Transform", IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(circleEClass, Circle.class, "Circle", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCircle_Center(), theDCPackage.getPoint(), null,
- "center", null, 1, 1, Circle.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getCircle_Radius(), theDCPackage.getReal(), "radius",
- "0", 1, 1, Circle.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- op = initEOperation(
- getCircle__NonNegativeRadius__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "nonNegativeRadius", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(paintServerEClass, PaintServer.class, "PaintServer", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPaintServer_Transform(), this.getTransform(), null, "transform", null, 0, -1, PaintServer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(transformEClass, Transform.class, "Transform", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(circleEClass, Circle.class, "Circle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCircle_Center(), theDCPackage.getPoint(), null, "center", null, 1, 1, Circle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getCircle_Radius(), theDCPackage.getReal(), "radius", "0", 1, 1, Circle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getCircle__NonNegativeRadius__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "nonNegativeRadius", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2557,146 +2225,53 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(closePathEClass, ClosePath.class, "ClosePath", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(cubicCurveToEClass, CubicCurveTo.class, "CubicCurveTo",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCubicCurveTo_StartControl(), theDCPackage.getPoint(),
- null, "startControl", null, 1, 1, CubicCurveTo.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getCubicCurveTo_EndControl(), theDCPackage.getPoint(),
- null, "endControl", null, 1, 1, CubicCurveTo.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getCubicCurveTo_Point(), theDCPackage.getPoint(), null,
- "point", null, 1, 1, CubicCurveTo.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(definitionsEClass, Definitions.class, "Definitions",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDefinitions_Defnition(), this.getDefinition(), null,
- "defnition", null, 0, -1, Definitions.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDefinitions_StyleSheet(), this.getStyleSheet(), null,
- "styleSheet", null, 0, 1, Definitions.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(styleSheetEClass, StyleSheet.class, "StyleSheet",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getStyleSheet_Rule(), this.getStyleRule(), null, "rule",
- null, 0, -1, StyleSheet.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(styleRuleEClass, StyleRule.class, "StyleRule", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getStyleRule_Selector(), this.getStyleSelector(), null,
- "selector", null, 1, -1, StyleRule.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getStyleRule_Style(), this.getStyle(), null, "style",
- null, 1, 1, StyleRule.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(styleSelectorEClass, StyleSelector.class, "StyleSelector",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStyleSelector_Kind(), this.getElementKind(), "kind",
- null, 0, 1, StyleSelector.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getStyleSelector_Class(), theDCPackage.getString(),
- "class", null, 0, -1, StyleSelector.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(ellipseEClass, Ellipse.class, "Ellipse", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEllipse_Center(), theDCPackage.getPoint(), null,
- "center", null, 1, 1, Ellipse.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getEllipse_Radii(), theDCPackage.getDimension(), null,
- "radii", null, 1, 1, Ellipse.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(ellipticalArcToEClass, EllipticalArcTo.class,
- "EllipticalArcTo", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEllipticalArcTo_Radii(), theDCPackage.getDimension(),
- null, "radii", null, 1, 1, EllipticalArcTo.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getEllipticalArcTo_Rotation(), theDCPackage.getReal(),
- "rotation", null, 1, 1, EllipticalArcTo.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getEllipticalArcTo_IsLargeArc(),
- theDCPackage.getBoolean(), "isLargeArc", null, 1, 1,
- EllipticalArcTo.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getEllipticalArcTo_IsSweep(), theDCPackage.getBoolean(),
- "isSweep", null, 1, 1, EllipticalArcTo.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEReference(getEllipticalArcTo_Point(), theDCPackage.getPoint(),
- null, "point", null, 1, 1, EllipticalArcTo.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(quadraticCurveToEClass, QuadraticCurveTo.class,
- "QuadraticCurveTo", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getQuadraticCurveTo_Control(), theDCPackage.getPoint(),
- null, "control", null, 1, 1, QuadraticCurveTo.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getQuadraticCurveTo_Point(), theDCPackage.getPoint(),
- null, "point", null, 1, 1, QuadraticCurveTo.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(gradientEClass, Gradient.class, "Gradient", IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getGradient_Stop(), this.getGradientStop(), null,
- "stop", null, 2, -1, Gradient.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(gradientStopEClass, GradientStop.class, "GradientStop",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getGradientStop_Color(), theDCPackage.getColor(),
- "color", null, 0, 1, GradientStop.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getGradientStop_Offset(), theDCPackage.getReal(),
- "offset", null, 0, 1, GradientStop.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getGradientStop_Opacity(), theDCPackage.getReal(),
- "opacity", null, 0, 1, GradientStop.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(
- getGradientStop__ValidOffset__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validOffset", 0, 1, IS_UNIQUE,
- IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(closePathEClass, ClosePath.class, "ClosePath", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(cubicCurveToEClass, CubicCurveTo.class, "CubicCurveTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCubicCurveTo_StartControl(), theDCPackage.getPoint(), null, "startControl", null, 1, 1, CubicCurveTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getCubicCurveTo_EndControl(), theDCPackage.getPoint(), null, "endControl", null, 1, 1, CubicCurveTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getCubicCurveTo_Point(), theDCPackage.getPoint(), null, "point", null, 1, 1, CubicCurveTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(definitionsEClass, Definitions.class, "Definitions", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getDefinitions_Defnition(), this.getDefinition(), null, "defnition", null, 0, -1, Definitions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDefinitions_StyleSheet(), this.getStyleSheet(), null, "styleSheet", null, 0, 1, Definitions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(styleSheetEClass, StyleSheet.class, "StyleSheet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getStyleSheet_Rule(), this.getStyleRule(), null, "rule", null, 0, -1, StyleSheet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(styleRuleEClass, StyleRule.class, "StyleRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getStyleRule_Selector(), this.getStyleSelector(), null, "selector", null, 1, -1, StyleRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getStyleRule_Style(), this.getStyle(), null, "style", null, 1, 1, StyleRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(styleSelectorEClass, StyleSelector.class, "StyleSelector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getStyleSelector_Kind(), this.getElementKind(), "kind", null, 0, 1, StyleSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getStyleSelector_Class(), theDCPackage.getString(), "class", null, 0, -1, StyleSelector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(ellipseEClass, Ellipse.class, "Ellipse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEllipse_Center(), theDCPackage.getPoint(), null, "center", null, 1, 1, Ellipse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEllipse_Radii(), theDCPackage.getDimension(), null, "radii", null, 1, 1, Ellipse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(ellipticalArcToEClass, EllipticalArcTo.class, "EllipticalArcTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEllipticalArcTo_Radii(), theDCPackage.getDimension(), null, "radii", null, 1, 1, EllipticalArcTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getEllipticalArcTo_Rotation(), theDCPackage.getReal(), "rotation", null, 1, 1, EllipticalArcTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getEllipticalArcTo_IsLargeArc(), theDCPackage.getBoolean(), "isLargeArc", null, 1, 1, EllipticalArcTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getEllipticalArcTo_IsSweep(), theDCPackage.getBoolean(), "isSweep", null, 1, 1, EllipticalArcTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getEllipticalArcTo_Point(), theDCPackage.getPoint(), null, "point", null, 1, 1, EllipticalArcTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(quadraticCurveToEClass, QuadraticCurveTo.class, "QuadraticCurveTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getQuadraticCurveTo_Control(), theDCPackage.getPoint(), null, "control", null, 1, 1, QuadraticCurveTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getQuadraticCurveTo_Point(), theDCPackage.getPoint(), null, "point", null, 1, 1, QuadraticCurveTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(gradientEClass, Gradient.class, "Gradient", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getGradient_Stop(), this.getGradientStop(), null, "stop", null, 2, -1, Gradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(gradientStopEClass, GradientStop.class, "GradientStop", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getGradientStop_Color(), theDCPackage.getColor(), "color", null, 0, 1, GradientStop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getGradientStop_Offset(), theDCPackage.getReal(), "offset", null, 0, 1, GradientStop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getGradientStop_Opacity(), theDCPackage.getReal(), "opacity", null, 0, 1, GradientStop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getGradientStop__ValidOffset__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validOffset", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2704,12 +2279,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getGradientStop__ValidOpacity__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validOpacity", 0, 1, IS_UNIQUE,
- IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getGradientStop__ValidOpacity__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validOpacity", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2717,27 +2288,13 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(imageEClass, Image.class, "Image", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getImage_Source(), theDCPackage.getString(), "source",
- null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getImage_Bounds(), theDCPackage.getBounds(), null,
- "bounds", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getImage_IsAspectRatioPreserved(),
- theDCPackage.getBoolean(), "isAspectRatioPreserved", "false",
- 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(
- getImage__SourceCannotBeEmpty__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "sourceCannotBeEmpty", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(imageEClass, Image.class, "Image", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getImage_Source(), theDCPackage.getString(), "source", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getImage_Bounds(), theDCPackage.getBounds(), null, "bounds", null, 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getImage_IsAspectRatioPreserved(), theDCPackage.getBoolean(), "isAspectRatioPreserved", "false", 1, 1, Image.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getImage__SourceCannotBeEmpty__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "sourceCannotBeEmpty", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2745,38 +2302,17 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(lineEClass, Line.class, "Line", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getLine_Start(), theDCPackage.getPoint(), null, "start",
- null, 1, 1, Line.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getLine_End(), theDCPackage.getPoint(), null, "end",
- null, 1, 1, Line.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(markedElementEClass, MarkedElement.class, "MarkedElement",
- IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMarkedElement_EndMarker(), this.getMarker(), null,
- "endMarker", null, 0, 1, MarkedElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getMarkedElement_MidMarker(), this.getMarker(), null,
- "midMarker", null, 0, 1, MarkedElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getMarkedElement_StartMarker(), this.getMarker(), null,
- "startMarker", null, 0, 1, MarkedElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(
- getMarkedElement__ReferencedStartMarkerHasId__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "referencedStartMarkerHasId", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(lineEClass, Line.class, "Line", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLine_Start(), theDCPackage.getPoint(), null, "start", null, 1, 1, Line.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getLine_End(), theDCPackage.getPoint(), null, "end", null, 1, 1, Line.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(markedElementEClass, MarkedElement.class, "MarkedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMarkedElement_EndMarker(), this.getMarker(), null, "endMarker", null, 0, 1, MarkedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getMarkedElement_MidMarker(), this.getMarker(), null, "midMarker", null, 0, 1, MarkedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getMarkedElement_StartMarker(), this.getMarker(), null, "startMarker", null, 0, 1, MarkedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getMarkedElement__ReferencedStartMarkerHasId__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "referencedStartMarkerHasId", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2784,12 +2320,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getMarkedElement__ReferencedMidMarkerHasId__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "referencedMidMarkerHasId", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getMarkedElement__ReferencedMidMarkerHasId__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "referencedMidMarkerHasId", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2797,12 +2329,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getMarkedElement__ReferencedEndMarkerHasId__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "referencedEndMarkerHasId", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getMarkedElement__ReferencedEndMarkerHasId__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "referencedEndMarkerHasId", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2810,35 +2338,16 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(markerEClass, Marker.class, "Marker", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMarker_Size(), theDCPackage.getDimension(), null,
- "size", null, 1, 1, Marker.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getMarker_Reference(), theDCPackage.getPoint(), null,
- "reference", null, 1, 1, Marker.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(linearGradientEClass, LinearGradient.class,
- "LinearGradient", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getLinearGradient_Start(), theDCPackage.getPoint(),
- null, "start", null, 1, 1, LinearGradient.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getLinearGradient_End(), theDCPackage.getPoint(), null,
- "end", null, 1, 1, LinearGradient.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(
- getLinearGradient__ValidGradientVector__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validGradientVector", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(markerEClass, Marker.class, "Marker", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMarker_Size(), theDCPackage.getDimension(), null, "size", null, 1, 1, Marker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getMarker_Reference(), theDCPackage.getPoint(), null, "reference", null, 1, 1, Marker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(linearGradientEClass, LinearGradient.class, "LinearGradient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLinearGradient_Start(), theDCPackage.getPoint(), null, "start", null, 1, 1, LinearGradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getLinearGradient_End(), theDCPackage.getPoint(), null, "end", null, 1, 1, LinearGradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getLinearGradient__ValidGradientVector__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validGradientVector", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2846,47 +2355,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(lineToEClass, LineTo.class, "LineTo", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getLineTo_Point(), theDCPackage.getPoint(), null,
- "point", null, 1, 1, LineTo.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(matrixEClass, Matrix.class, "Matrix", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMatrix_A(), theDCPackage.getReal(), "a", null, 1, 1,
- Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getMatrix_B(), theDCPackage.getReal(), "b", null, 1, 1,
- Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getMatrix_C(), theDCPackage.getReal(), "c", null, 1, 1,
- Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getMatrix_D(), theDCPackage.getReal(), "d", null, 1, 1,
- Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getMatrix_E(), theDCPackage.getReal(), "e", null, 1, 1,
- Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getMatrix_F(), theDCPackage.getReal(), "f", null, 1, 1,
- Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(pathEClass, Path.class, "Path", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPath_Command(), this.getPathCommand(), null,
- "command", null, 1, -1, Path.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = initEOperation(
- getPath__FirstCommandMustBeMove__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "firstCommandMustBeMove", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(lineToEClass, LineTo.class, "LineTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLineTo_Point(), theDCPackage.getPoint(), null, "point", null, 1, 1, LineTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(matrixEClass, Matrix.class, "Matrix", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getMatrix_A(), theDCPackage.getReal(), "a", null, 1, 1, Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getMatrix_B(), theDCPackage.getReal(), "b", null, 1, 1, Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getMatrix_C(), theDCPackage.getReal(), "c", null, 1, 1, Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getMatrix_D(), theDCPackage.getReal(), "d", null, 1, 1, Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getMatrix_E(), theDCPackage.getReal(), "e", null, 1, 1, Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getMatrix_F(), theDCPackage.getReal(), "f", null, 1, 1, Matrix.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(pathEClass, Path.class, "Path", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPath_Command(), this.getPathCommand(), null, "command", null, 1, -1, Path.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ op = initEOperation(getPath__FirstCommandMustBeMove__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "firstCommandMustBeMove", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2894,54 +2378,23 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(patternEClass, Pattern.class, "Pattern", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPattern_Bounds(), theDCPackage.getBounds(), null,
- "bounds", null, 1, 1, Pattern.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getPattern_Tile(), this.getGraphicalElement(), null,
- "tile", null, 1, 1, Pattern.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(polygonEClass, Polygon.class, "Polygon", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPolygon_Point(), theDCPackage.getPoint(), null,
- "point", null, 3, -1, Polygon.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(polylineEClass, Polyline.class, "Polyline", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPolyline_Point(), theDCPackage.getPoint(), null,
- "point", null, 2, -1, Polyline.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(radialGradientEClass, RadialGradient.class,
- "RadialGradient", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRadialGradient_Center(), theDCPackage.getPoint(),
- null, "center", null, 1, 1, RadialGradient.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getRadialGradient_Focus(), theDCPackage.getPoint(),
- null, "focus", null, 1, 1, RadialGradient.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getRadialGradient_Radius(), theDCPackage.getReal(),
- "radius", "0.5", 1, 1, RadialGradient.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(
- getRadialGradient__ValidCenterPoint__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validCenterPoint", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(patternEClass, Pattern.class, "Pattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPattern_Bounds(), theDCPackage.getBounds(), null, "bounds", null, 1, 1, Pattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getPattern_Tile(), this.getGraphicalElement(), null, "tile", null, 1, 1, Pattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(polygonEClass, Polygon.class, "Polygon", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPolygon_Point(), theDCPackage.getPoint(), null, "point", null, 3, -1, Polygon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(polylineEClass, Polyline.class, "Polyline", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPolyline_Point(), theDCPackage.getPoint(), null, "point", null, 2, -1, Polyline.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(radialGradientEClass, RadialGradient.class, "RadialGradient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRadialGradient_Center(), theDCPackage.getPoint(), null, "center", null, 1, 1, RadialGradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRadialGradient_Focus(), theDCPackage.getPoint(), null, "focus", null, 1, 1, RadialGradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getRadialGradient_Radius(), theDCPackage.getReal(), "radius", "0.5", 1, 1, RadialGradient.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getRadialGradient__ValidCenterPoint__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validCenterPoint", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2949,12 +2402,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getRadialGradient__ValidFocusPoint__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validFocusPoint", 0, 1, IS_UNIQUE,
- IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getRadialGradient__ValidFocusPoint__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validFocusPoint", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2962,12 +2411,8 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- op = initEOperation(
- getRadialGradient__ValidRadius__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "validRadius", 0, 1, IS_UNIQUE,
- IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ op = initEOperation(getRadialGradient__ValidRadius__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "validRadius", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2975,23 +2420,12 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(rectangleEClass, Rectangle.class, "Rectangle", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRectangle_Bounds(), theDCPackage.getBounds(), null,
- "bounds", null, 1, 1, Rectangle.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getRectangle_CornerRadius(), theDCPackage.getReal(),
- "cornerRadius", "0", 0, 1, Rectangle.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(
- getRectangle__NonNegativeCornerRadius__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "nonNegativeCornerRadius", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(rectangleEClass, Rectangle.class, "Rectangle", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getRectangle_Bounds(), theDCPackage.getBounds(), null, "bounds", null, 1, 1, Rectangle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getRectangle_CornerRadius(), theDCPackage.getReal(), "cornerRadius", "0", 0, 1, Rectangle.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getRectangle__NonNegativeCornerRadius__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "nonNegativeCornerRadius", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -2999,50 +2433,22 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(rootCanvasEClass, RootCanvas.class, "RootCanvas",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRootCanvas_BackgroundColor(),
- theDCPackage.getColor(), "backgroundColor", null, 0, 1,
- RootCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getRootCanvas_Definitions(), this.getDefinitions(),
- null, "definitions", null, 0, 1, RootCanvas.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getRootCanvas_ExternalStyleSheet(),
- this.getStyleSheet(), null, "externalStyleSheet", null, 0, -1,
- RootCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(rotateEClass, Rotate.class, "Rotate", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRotate_Angle(), theDCPackage.getReal(), "angle",
- null, 1, 1, Rotate.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEReference(getRotate_Center(), theDCPackage.getPoint(), null,
- "center", null, 0, 1, Rotate.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(scaleEClass, Scale.class, "Scale", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getScale_FactorX(), theDCPackage.getReal(), "factorX",
- null, 1, 1, Scale.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getScale_FactorY(), theDCPackage.getReal(), "factorY",
- null, 1, 1, Scale.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- op = initEOperation(getScale__Nonnegativescale__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "nonnegativescale", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(rootCanvasEClass, RootCanvas.class, "RootCanvas", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getRootCanvas_BackgroundColor(), theDCPackage.getColor(), "backgroundColor", null, 0, 1, RootCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRootCanvas_Definitions(), this.getDefinitions(), null, "definitions", null, 0, 1, RootCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getRootCanvas_ExternalStyleSheet(), this.getStyleSheet(), null, "externalStyleSheet", null, 0, -1, RootCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getRootCanvas_Script(), theDCPackage.getString(), "script", null, 0, -1, RootCanvas.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(rotateEClass, Rotate.class, "Rotate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getRotate_Angle(), theDCPackage.getReal(), "angle", null, 1, 1, Rotate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getRotate_Center(), theDCPackage.getPoint(), null, "center", null, 0, 1, Rotate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(scaleEClass, Scale.class, "Scale", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getScale_FactorX(), theDCPackage.getReal(), "factorX", null, 1, 1, Scale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getScale_FactorY(), theDCPackage.getReal(), "factorY", null, 1, 1, Scale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getScale__Nonnegativescale__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "nonnegativescale", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -3050,32 +2456,17 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(skewEClass, Skew.class, "Skew", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSkew_AngleX(), theDCPackage.getReal(), "angleX",
- null, 1, 1, Skew.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getSkew_AngleY(), theDCPackage.getReal(), "angleY",
- null, 1, 1, Skew.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(textEClass, Text.class, "Text", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getText_Data(), theDCPackage.getString(), "data", null,
- 1, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getText_Position(), theDCPackage.getPoint(), null,
- "position", null, 1, 1, Text.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- op = initEOperation(getText__DataCannotBeEmpty__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "dataCannotBeEmpty", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(skewEClass, Skew.class, "Skew", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getSkew_AngleX(), theDCPackage.getReal(), "angleX", null, 1, 1, Skew.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getSkew_AngleY(), theDCPackage.getReal(), "angleY", null, 1, 1, Skew.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(textEClass, Text.class, "Text", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getText_Data(), theDCPackage.getString(), "data", null, 1, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getText_Position(), theDCPackage.getPoint(), null, "position", null, 1, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getText_Anchor(), this.getTextAnchor(), "anchor", null, 0, 1, Text.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ op = initEOperation(getText__DataCannotBeEmpty__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "dataCannotBeEmpty", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -3083,35 +2474,16 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
g1.getETypeArguments().add(g2);
addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
- initEClass(translateEClass, Translate.class, "Translate", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getTranslate_DeltaX(), theDCPackage.getReal(), "deltaX",
- null, 1, 1, Translate.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getTranslate_DeltaY(), theDCPackage.getReal(), "deltaY",
- null, 1, 1, Translate.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
-
- initEClass(useEClass, Use.class, "Use", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getUse_Bounds(), theDCPackage.getBounds(), null,
- "bounds", null, 0, 1, Use.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getUse_ReferencedElement(), this.getGraphicalElement(),
- null, "referencedElement", null, 1, 1, Use.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
- IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
-
- op = initEOperation(
- getUse__ReferencedElementHasId__DiagnosticChain_Map(),
- ecorePackage.getEBoolean(), "referencedElementHasId", 0, 1,
- IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0,
- 1, IS_UNIQUE, IS_ORDERED);
+ initEClass(translateEClass, Translate.class, "Translate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTranslate_DeltaX(), theDCPackage.getReal(), "deltaX", null, 1, 1, Translate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getTranslate_DeltaY(), theDCPackage.getReal(), "deltaY", null, 1, 1, Translate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(useEClass, Use.class, "Use", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getUse_Bounds(), theDCPackage.getBounds(), null, "bounds", null, 0, 1, Use.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEReference(getUse_ReferencedElement(), this.getGraphicalElement(), null, "referencedElement", null, 1, 1, Use.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ op = initEOperation(getUse__ReferencedElementHasId__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "referencedElementHasId", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
g1 = createEGenericType(ecorePackage.getEMap());
g2 = createEGenericType(ecorePackage.getEJavaObject());
g1.getETypeArguments().add(g2);
@@ -3141,6 +2513,11 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
addEEnumLiteral(elementKindEEnum, ElementKind.TEXT);
addEEnumLiteral(elementKindEEnum, ElementKind.USE);
+ initEEnum(textAnchorEEnum, TextAnchor.class, "TextAnchor");
+ addEEnumLiteral(textAnchorEEnum, TextAnchor.START);
+ addEEnumLiteral(textAnchorEEnum, TextAnchor.MIDDLE);
+ addEEnumLiteral(textAnchorEEnum, TextAnchor.END);
+
// Create resource
createResource(eNS_URI);
@@ -3152,113 +2529,179 @@ public class DGPackageImpl extends EPackageImpl implements DGPackage {
}
/**
- * Initializes the annotations for
- * <b>http://www.eclipse.org/emf/2002/Ecore</b>. <!-- begin-user-doc -->
+ * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected void createEcoreAnnotations() {
- String source = "http://www.eclipse.org/emf/2002/Ecore";
- addAnnotation(this, source, new String[] { "validationDelegates",
- "http://www.eclipse.org/emf/2002/Ecore/OCL" });
+ String source = "http://www.eclipse.org/emf/2002/Ecore";
+ addAnnotation
+ (this,
+ source,
+ new String[] {
+ "validationDelegates", "http://www.eclipse.org/emf/2002/Ecore/OCL"
+ });
}
/**
- * Initializes the annotations for
- * <b>http://www.eclipse.org/emf/2002/Ecore/OCL</b>. <!-- begin-user-doc -->
+ * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore/OCL</b>.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected void createOCLAnnotations() {
- String source = "http://www.eclipse.org/emf/2002/Ecore/OCL";
- addAnnotation(
- getCanvas__CanvasCannotHaveTransforms__DiagnosticChain_Map(),
- source, new String[] { "body", "transform->isEmpty()" });
- addAnnotation(
- getGraphicalElement__ReferencedClippathHasId__DiagnosticChain_Map(),
- source,
- new String[] { "body",
- "clipPath->notEmpty() implies clipPath.id->notEmpty()" });
- addAnnotation(getDefinition__IdCannotBeEmpty__DiagnosticChain_Map(),
- source, new String[] { "body",
- "id->notEmpty() implies id.size() > 0" });
- addAnnotation(getStyle__ValidFontSize__DiagnosticChain_Map(), source,
- new String[] { "body", "fontSize >= 0" });
- addAnnotation(getStyle__ValidFillOpacity__DiagnosticChain_Map(),
- source, new String[] { "body",
- "fillOpacity >= 0 and fillOpacity <=1" });
- addAnnotation(getStyle__ValidStrokeWidth__DiagnosticChain_Map(),
- source, new String[] { "body", "strokeWidth >= 0" });
- addAnnotation(getStyle__ValidDashLengthSize__DiagnosticChain_Map(),
- source, new String[] { "body",
- "strokeDashLength->size().mod(2) = 0" });
- addAnnotation(getStyle__ValidStrokeOpacity__DiagnosticChain_Map(),
- source, new String[] { "body",
- "strokeOpacity >= 0 and strokeOpacity <=1" });
- addAnnotation(
- getPaint__ReferencedPaintServerHasId__DiagnosticChain_Map(),
- source,
- new String[] { "body",
- "paintServer->notEmpty() implies paintServer.id->notEmpty()" });
- addAnnotation(getCircle__NonNegativeRadius__DiagnosticChain_Map(),
- source, new String[] { "body", "radius >= 0" });
- addAnnotation(getGradientStop__ValidOffset__DiagnosticChain_Map(),
- source, new String[] { "body", "offset>=0 and offset<=1" });
- addAnnotation(getGradientStop__ValidOpacity__DiagnosticChain_Map(),
- source, new String[] { "body", "opacity>=0 and opacity<=1" });
- addAnnotation(getImage__SourceCannotBeEmpty__DiagnosticChain_Map(),
- source, new String[] { "body",
- "source->notEmpty() implies source.size() > 0" });
- addAnnotation(
- getMarkedElement__ReferencedStartMarkerHasId__DiagnosticChain_Map(),
- source,
- new String[] { "body",
- "startMarker->notEmpty() implies startMarker.id->notEmpty()" });
- addAnnotation(
- getMarkedElement__ReferencedMidMarkerHasId__DiagnosticChain_Map(),
- source,
- new String[] { "body",
- "midMarker->notEmpty() implies midMarker.id->notEmpty()" });
- addAnnotation(
- getMarkedElement__ReferencedEndMarkerHasId__DiagnosticChain_Map(),
- source,
- new String[] { "body",
- "endMarker->notEmpty() implies endMarker.id->notEmpty()" });
- addAnnotation(
- getLinearGradient__ValidGradientVector__DiagnosticChain_Map(),
- source,
- new String[] {
- "body",
- "start.x>=0 and start.x<=1 and end.x>=0 and end.x<=1 and start.y>=0 and start.y<=1 and end.y>=0 and end.y<=1" });
- addAnnotation(getPath__FirstCommandMustBeMove__DiagnosticChain_Map(),
- source, new String[] { "body",
- "command->first().oclIsKindOf(MoveTo)" });
- addAnnotation(
- getRadialGradient__ValidCenterPoint__DiagnosticChain_Map(),
- source,
- new String[] { "body",
- "centerX>=0 and centerX<=1 and centerY>=0 and centerY<=1" });
- addAnnotation(
- getRadialGradient__ValidFocusPoint__DiagnosticChain_Map(),
- source, new String[] { "body",
- "focusX>=0 and focusX<=1 and focusY>=0 and focusY<=1" });
- addAnnotation(getRadialGradient__ValidRadius__DiagnosticChain_Map(),
- source, new String[] { "body", "radius>=0 and radius<=1" });
- addAnnotation(
- getRectangle__NonNegativeCornerRadius__DiagnosticChain_Map(),
- source, new String[] { "body", "cornerRadius >= 0" });
- addAnnotation(getScale__Nonnegativescale__DiagnosticChain_Map(),
- source, new String[] { "body", "factorX>=0 and factorY>=0" });
- addAnnotation(getText__DataCannotBeEmpty__DiagnosticChain_Map(),
- source, new String[] { "body",
- "data->notEmpty() implies data.size() > 0" });
- addAnnotation(
- getUse__ReferencedElementHasId__DiagnosticChain_Map(),
- source,
- new String[] { "body",
- "referencedElement->notEmpty() implies referencedElement.id->notEmpty()" });
+ String source = "http://www.eclipse.org/emf/2002/Ecore/OCL";
+ addAnnotation
+ (getCanvas__CanvasCannotHaveTransforms__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "transform->isEmpty()"
+ });
+ addAnnotation
+ (getGraphicalElement__ReferencedClippathHasId__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "clipPath->notEmpty() implies clipPath.id->notEmpty()"
+ });
+ addAnnotation
+ (getDefinition__IdCannotBeEmpty__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "id->notEmpty() implies id.size() > 0"
+ });
+ addAnnotation
+ (getStyle__ValidFontSize__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "fontSize >= 0"
+ });
+ addAnnotation
+ (getStyle__ValidFillOpacity__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "fillOpacity >= 0 and fillOpacity <=1"
+ });
+ addAnnotation
+ (getStyle__ValidStrokeWidth__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "strokeWidth >= 0"
+ });
+ addAnnotation
+ (getStyle__ValidDashLengthSize__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "strokeDashLength->size().mod(2) = 0"
+ });
+ addAnnotation
+ (getStyle__ValidStrokeOpacity__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "strokeOpacity >= 0 and strokeOpacity <=1"
+ });
+ addAnnotation
+ (getPaint__ReferencedPaintServerHasId__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "paintServer->notEmpty() implies paintServer.id->notEmpty()"
+ });
+ addAnnotation
+ (getCircle__NonNegativeRadius__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "radius >= 0"
+ });
+ addAnnotation
+ (getGradientStop__ValidOffset__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "offset>=0 and offset<=1"
+ });
+ addAnnotation
+ (getGradientStop__ValidOpacity__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "opacity>=0 and opacity<=1"
+ });
+ addAnnotation
+ (getImage__SourceCannotBeEmpty__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "source->notEmpty() implies source.size() > 0"
+ });
+ addAnnotation
+ (getMarkedElement__ReferencedStartMarkerHasId__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "startMarker->notEmpty() implies startMarker.id->notEmpty()"
+ });
+ addAnnotation
+ (getMarkedElement__ReferencedMidMarkerHasId__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "midMarker->notEmpty() implies midMarker.id->notEmpty()"
+ });
+ addAnnotation
+ (getMarkedElement__ReferencedEndMarkerHasId__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "endMarker->notEmpty() implies endMarker.id->notEmpty()"
+ });
+ addAnnotation
+ (getLinearGradient__ValidGradientVector__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "start.x>=0 and start.x<=1 and end.x>=0 and end.x<=1 and start.y>=0 and start.y<=1 and end.y>=0 and end.y<=1"
+ });
+ addAnnotation
+ (getPath__FirstCommandMustBeMove__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "command->first().oclIsKindOf(MoveTo)"
+ });
+ addAnnotation
+ (getRadialGradient__ValidCenterPoint__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "centerX>=0 and centerX<=1 and centerY>=0 and centerY<=1"
+ });
+ addAnnotation
+ (getRadialGradient__ValidFocusPoint__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "focusX>=0 and focusX<=1 and focusY>=0 and focusY<=1"
+ });
+ addAnnotation
+ (getRadialGradient__ValidRadius__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "radius>=0 and radius<=1"
+ });
+ addAnnotation
+ (getRectangle__NonNegativeCornerRadius__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "cornerRadius >= 0"
+ });
+ addAnnotation
+ (getScale__Nonnegativescale__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "factorX>=0 and factorY>=0"
+ });
+ addAnnotation
+ (getText__DataCannotBeEmpty__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "data->notEmpty() implies data.size() > 0"
+ });
+ addAnnotation
+ (getUse__ReferencedElementHasId__DiagnosticChain_Map(),
+ source,
+ new String[] {
+ "body", "referencedElement->notEmpty() implies referencedElement.id->notEmpty()"
+ });
}
} // DGPackageImpl
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionImpl.java
index cf5e63c411d..1cd36f5d448 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionImpl.java
@@ -33,10 +33,10 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.DefinitionImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.DefinitionImpl#getId <em>Id</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class DefinitionImpl extends MinimalEObjectImpl.Container
@@ -63,7 +63,6 @@ public abstract class DefinitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected DefinitionImpl() {
@@ -72,7 +71,6 @@ public abstract class DefinitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -82,7 +80,6 @@ public abstract class DefinitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getId() {
@@ -91,25 +88,20 @@ public abstract class DefinitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setId(String newId) {
String oldId = id;
id = newId;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.DEFINITION__ID, oldId, id));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.DEFINITION__ID, oldId, id));
}
/**
- * The cached validation expression for the '
- * {@link #idCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Id Cannot Be Empty</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #idCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Id Cannot Be Empty</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #idCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #idCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -117,85 +109,80 @@ public abstract class DefinitionImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean idCannotBeEmpty(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.DEFINITION,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.DEFINITION___ID_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP,
- ID_CANNOT_BE_EMPTY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.DEFINITION__ID_CANNOT_BE_EMPTY);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.DEFINITION,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.DEFINITION___ID_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP,
+ ID_CANNOT_BE_EMPTY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.DEFINITION__ID_CANNOT_BE_EMPTY);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.DEFINITION__ID:
- return getId();
+ case DGPackage.DEFINITION__ID:
+ return getId();
}
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.DEFINITION__ID:
- setId((String) newValue);
- return;
+ case DGPackage.DEFINITION__ID:
+ setId((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.DEFINITION__ID:
- setId(ID_EDEFAULT);
- return;
+ case DGPackage.DEFINITION__ID:
+ setId(ID_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.DEFINITION__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case DGPackage.DEFINITION__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -203,22 +190,19 @@ public abstract class DefinitionImpl extends MinimalEObjectImpl.Container
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.DEFINITION___ID_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP:
- return idCannotBeEmpty((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.DEFINITION___ID_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP:
+ return idCannotBeEmpty((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (id: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionsImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionsImpl.java
index e46b3c59200..b3521d2d9f5 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionsImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/DefinitionsImpl.java
@@ -38,21 +38,18 @@ import org.eclipse.papyrus.dd.dg.StyleSheet;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.DefinitionsImpl#getDefnitions <em>
- * Defnition</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.DefinitionsImpl#getStyleSheet <em>
- * Style Sheet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.DefinitionsImpl#getDefnitions <em>Defnition</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.DefinitionsImpl#getStyleSheet <em>Style Sheet</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class DefinitionsImpl extends MinimalEObjectImpl.Container implements
Definitions {
/**
- * The cached value of the '{@link #getDefnitions() <em>Defnition</em>}'
- * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getDefnitions() <em>Defnition</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getDefnitions()
* @generated
* @ordered
@@ -60,9 +57,8 @@ public class DefinitionsImpl extends MinimalEObjectImpl.Container implements
protected EList<Definition> defnitions;
/**
- * The cached value of the '{@link #getStyleSheet() <em>Style Sheet</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStyleSheet() <em>Style Sheet</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStyleSheet()
* @generated
* @ordered
@@ -71,7 +67,6 @@ public class DefinitionsImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected DefinitionsImpl() {
@@ -80,7 +75,6 @@ public class DefinitionsImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -90,20 +84,17 @@ public class DefinitionsImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<Definition> getDefnitions() {
if (defnitions == null) {
- defnitions = new EObjectContainmentEList<Definition>(
- Definition.class, this, DGPackage.DEFINITIONS__DEFNITION);
+ defnitions = new EObjectContainmentEList<Definition>(Definition.class, this, DGPackage.DEFINITIONS__DEFNITION);
}
return defnitions;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public StyleSheet getStyleSheet() {
@@ -112,7 +103,6 @@ public class DefinitionsImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetStyleSheet(StyleSheet newStyleSheet,
@@ -120,128 +110,108 @@ public class DefinitionsImpl extends MinimalEObjectImpl.Container implements
StyleSheet oldStyleSheet = styleSheet;
styleSheet = newStyleSheet;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.DEFINITIONS__STYLE_SHEET,
- oldStyleSheet, newStyleSheet);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.DEFINITIONS__STYLE_SHEET, oldStyleSheet, newStyleSheet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStyleSheet(StyleSheet newStyleSheet) {
if (newStyleSheet != styleSheet) {
NotificationChain msgs = null;
if (styleSheet != null)
- msgs = ((InternalEObject) styleSheet).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.DEFINITIONS__STYLE_SHEET, null,
- msgs);
+ msgs = ((InternalEObject)styleSheet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.DEFINITIONS__STYLE_SHEET, null, msgs);
if (newStyleSheet != null)
- msgs = ((InternalEObject) newStyleSheet).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.DEFINITIONS__STYLE_SHEET, null,
- msgs);
+ msgs = ((InternalEObject)newStyleSheet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.DEFINITIONS__STYLE_SHEET, null, msgs);
msgs = basicSetStyleSheet(newStyleSheet, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.DEFINITIONS__STYLE_SHEET, newStyleSheet,
- newStyleSheet));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.DEFINITIONS__STYLE_SHEET, newStyleSheet, newStyleSheet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.DEFINITIONS__DEFNITION:
- return ((InternalEList<?>) getDefnitions()).basicRemove(otherEnd,
- msgs);
- case DGPackage.DEFINITIONS__STYLE_SHEET:
- return basicSetStyleSheet(null, msgs);
+ case DGPackage.DEFINITIONS__DEFNITION:
+ return ((InternalEList<?>)getDefnitions()).basicRemove(otherEnd, msgs);
+ case DGPackage.DEFINITIONS__STYLE_SHEET:
+ return basicSetStyleSheet(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 DGPackage.DEFINITIONS__DEFNITION:
- return getDefnitions();
- case DGPackage.DEFINITIONS__STYLE_SHEET:
- return getStyleSheet();
+ case DGPackage.DEFINITIONS__DEFNITION:
+ return getDefnitions();
+ case DGPackage.DEFINITIONS__STYLE_SHEET:
+ return getStyleSheet();
}
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 DGPackage.DEFINITIONS__DEFNITION:
- getDefnitions().clear();
- getDefnitions().addAll((Collection<? extends Definition>) newValue);
- return;
- case DGPackage.DEFINITIONS__STYLE_SHEET:
- setStyleSheet((StyleSheet) newValue);
- return;
+ case DGPackage.DEFINITIONS__DEFNITION:
+ getDefnitions().clear();
+ getDefnitions().addAll((Collection<? extends Definition>)newValue);
+ return;
+ case DGPackage.DEFINITIONS__STYLE_SHEET:
+ setStyleSheet((StyleSheet)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.DEFINITIONS__DEFNITION:
- getDefnitions().clear();
- return;
- case DGPackage.DEFINITIONS__STYLE_SHEET:
- setStyleSheet((StyleSheet) null);
- return;
+ case DGPackage.DEFINITIONS__DEFNITION:
+ getDefnitions().clear();
+ return;
+ case DGPackage.DEFINITIONS__STYLE_SHEET:
+ setStyleSheet((StyleSheet)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.DEFINITIONS__DEFNITION:
- return defnitions != null && !defnitions.isEmpty();
- case DGPackage.DEFINITIONS__STYLE_SHEET:
- return styleSheet != null;
+ case DGPackage.DEFINITIONS__DEFNITION:
+ return defnitions != null && !defnitions.isEmpty();
+ case DGPackage.DEFINITIONS__STYLE_SHEET:
+ return styleSheet != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipseImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipseImpl.java
index d72bed1544f..9254b23df08 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipseImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipseImpl.java
@@ -31,20 +31,17 @@ import org.eclipse.papyrus.dd.dg.Ellipse;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipseImpl#getCenter <em>Center
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipseImpl#getRadii <em>Radii
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipseImpl#getCenter <em>Center</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipseImpl#getRadii <em>Radii</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
/**
- * The cached value of the '{@link #getCenter() <em>Center</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getCenter() <em>Center</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getCenter()
* @generated
* @ordered
@@ -52,9 +49,8 @@ public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
protected Point center;
/**
- * The cached value of the '{@link #getRadii() <em>Radii</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getRadii() <em>Radii</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getRadii()
* @generated
* @ordered
@@ -63,7 +59,6 @@ public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected EllipseImpl() {
@@ -72,7 +67,6 @@ public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -82,7 +76,6 @@ public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getCenter() {
@@ -91,7 +84,6 @@ public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetCenter(Point newCenter,
@@ -99,44 +91,32 @@ public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
Point oldCenter = center;
center = newCenter;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.ELLIPSE__CENTER, oldCenter,
- newCenter);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPSE__CENTER, oldCenter, newCenter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setCenter(Point newCenter) {
if (newCenter != center) {
NotificationChain msgs = null;
if (center != null)
- msgs = ((InternalEObject) center).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPSE__CENTER,
- null, msgs);
+ msgs = ((InternalEObject)center).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPSE__CENTER, null, msgs);
if (newCenter != null)
- msgs = ((InternalEObject) newCenter).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPSE__CENTER,
- null, msgs);
+ msgs = ((InternalEObject)newCenter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPSE__CENTER, null, msgs);
msgs = basicSetCenter(newCenter, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ELLIPSE__CENTER, newCenter, newCenter));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPSE__CENTER, newCenter, newCenter));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Dimension getRadii() {
@@ -145,7 +125,6 @@ public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetRadii(Dimension newRadii,
@@ -153,122 +132,106 @@ public class EllipseImpl extends GraphicalElementImpl implements Ellipse {
Dimension oldRadii = radii;
radii = newRadii;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.ELLIPSE__RADII, oldRadii,
- newRadii);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPSE__RADII, oldRadii, newRadii);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setRadii(Dimension newRadii) {
if (newRadii != radii) {
NotificationChain msgs = null;
if (radii != null)
- msgs = ((InternalEObject) radii).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPSE__RADII,
- null, msgs);
+ msgs = ((InternalEObject)radii).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPSE__RADII, null, msgs);
if (newRadii != null)
- msgs = ((InternalEObject) newRadii).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPSE__RADII,
- null, msgs);
+ msgs = ((InternalEObject)newRadii).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPSE__RADII, null, msgs);
msgs = basicSetRadii(newRadii, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ELLIPSE__RADII, newRadii, newRadii));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPSE__RADII, newRadii, newRadii));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.ELLIPSE__CENTER:
- return basicSetCenter(null, msgs);
- case DGPackage.ELLIPSE__RADII:
- return basicSetRadii(null, msgs);
+ case DGPackage.ELLIPSE__CENTER:
+ return basicSetCenter(null, msgs);
+ case DGPackage.ELLIPSE__RADII:
+ return basicSetRadii(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 DGPackage.ELLIPSE__CENTER:
- return getCenter();
- case DGPackage.ELLIPSE__RADII:
- return getRadii();
+ case DGPackage.ELLIPSE__CENTER:
+ return getCenter();
+ case DGPackage.ELLIPSE__RADII:
+ return getRadii();
}
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.ELLIPSE__CENTER:
- setCenter((Point) newValue);
- return;
- case DGPackage.ELLIPSE__RADII:
- setRadii((Dimension) newValue);
- return;
+ case DGPackage.ELLIPSE__CENTER:
+ setCenter((Point)newValue);
+ return;
+ case DGPackage.ELLIPSE__RADII:
+ setRadii((Dimension)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.ELLIPSE__CENTER:
- setCenter((Point) null);
- return;
- case DGPackage.ELLIPSE__RADII:
- setRadii((Dimension) null);
- return;
+ case DGPackage.ELLIPSE__CENTER:
+ setCenter((Point)null);
+ return;
+ case DGPackage.ELLIPSE__RADII:
+ setRadii((Dimension)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.ELLIPSE__CENTER:
- return center != null;
- case DGPackage.ELLIPSE__RADII:
- return radii != null;
+ case DGPackage.ELLIPSE__CENTER:
+ return center != null;
+ case DGPackage.ELLIPSE__RADII:
+ return radii != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipticalArcToImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipticalArcToImpl.java
index d3289965e48..370a3280fda 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipticalArcToImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/EllipticalArcToImpl.java
@@ -31,27 +31,21 @@ import org.eclipse.papyrus.dd.dg.EllipticalArcTo;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#getRadii <em>
- * Radii</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#getRotation
- * <em>Rotation</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#isLargeArc <em>
- * Is Large Arc</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#isSweep <em>Is
- * Sweep</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#getPoint <em>
- * Point</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#getRadii <em>Radii</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#getRotation <em>Rotation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#isLargeArc <em>Is Large Arc</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#isSweep <em>Is Sweep</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.EllipticalArcToImpl#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class EllipticalArcToImpl extends PathCommandImpl implements
EllipticalArcTo {
/**
- * The cached value of the '{@link #getRadii() <em>Radii</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getRadii() <em>Radii</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getRadii()
* @generated
* @ordered
@@ -59,9 +53,8 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
protected Dimension radii;
/**
- * The default value of the '{@link #getRotation() <em>Rotation</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getRotation() <em>Rotation</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getRotation()
* @generated
* @ordered
@@ -69,9 +62,8 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
protected static final double ROTATION_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getRotation() <em>Rotation</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getRotation() <em>Rotation</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getRotation()
* @generated
* @ordered
@@ -79,9 +71,8 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
protected double rotation = ROTATION_EDEFAULT;
/**
- * The default value of the '{@link #isLargeArc() <em>Is Large Arc</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #isLargeArc() <em>Is Large Arc</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isLargeArc()
* @generated
* @ordered
@@ -89,9 +80,8 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
protected static final boolean IS_LARGE_ARC_EDEFAULT = false;
/**
- * The cached value of the '{@link #isLargeArc() <em>Is Large Arc</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #isLargeArc() <em>Is Large Arc</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isLargeArc()
* @generated
* @ordered
@@ -99,9 +89,8 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
protected boolean isLargeArc = IS_LARGE_ARC_EDEFAULT;
/**
- * The default value of the '{@link #isSweep() <em>Is Sweep</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #isSweep() <em>Is Sweep</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isSweep()
* @generated
* @ordered
@@ -111,7 +100,6 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* The cached value of the '{@link #isSweep() <em>Is Sweep</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #isSweep()
* @generated
* @ordered
@@ -119,9 +107,8 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
protected boolean isSweep = IS_SWEEP_EDEFAULT;
/**
- * The cached value of the '{@link #getPoint() <em>Point</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPoint() <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPoint()
* @generated
* @ordered
@@ -130,7 +117,6 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected EllipticalArcToImpl() {
@@ -139,7 +125,6 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -149,7 +134,6 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Dimension getRadii() {
@@ -158,7 +142,6 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetRadii(Dimension newRadii,
@@ -166,46 +149,32 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
Dimension oldRadii = radii;
radii = newRadii;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__RADII,
- oldRadii, newRadii);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__RADII, oldRadii, newRadii);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setRadii(Dimension newRadii) {
if (newRadii != radii) {
NotificationChain msgs = null;
if (radii != null)
- msgs = ((InternalEObject) radii).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.ELLIPTICAL_ARC_TO__RADII, null,
- msgs);
+ msgs = ((InternalEObject)radii).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPTICAL_ARC_TO__RADII, null, msgs);
if (newRadii != null)
- msgs = ((InternalEObject) newRadii).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.ELLIPTICAL_ARC_TO__RADII, null,
- msgs);
+ msgs = ((InternalEObject)newRadii).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPTICAL_ARC_TO__RADII, null, msgs);
msgs = basicSetRadii(newRadii, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ELLIPTICAL_ARC_TO__RADII, newRadii, newRadii));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__RADII, newRadii, newRadii));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getRotation() {
@@ -214,21 +183,17 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setRotation(double newRotation) {
double oldRotation = rotation;
rotation = newRotation;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ELLIPTICAL_ARC_TO__ROTATION, oldRotation,
- rotation));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__ROTATION, oldRotation, rotation));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isLargeArc() {
@@ -237,21 +202,17 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setIsLargeArc(boolean newIsLargeArc) {
boolean oldIsLargeArc = isLargeArc;
isLargeArc = newIsLargeArc;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC, oldIsLargeArc,
- isLargeArc));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC, oldIsLargeArc, isLargeArc));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSweep() {
@@ -260,20 +221,17 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setIsSweep(boolean newIsSweep) {
boolean oldIsSweep = isSweep;
isSweep = newIsSweep;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP, oldIsSweep, isSweep));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP, oldIsSweep, isSweep));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getPoint() {
@@ -282,7 +240,6 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetPoint(Point newPoint,
@@ -290,167 +247,147 @@ public class EllipticalArcToImpl extends PathCommandImpl implements
Point oldPoint = point;
point = newPoint;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__POINT,
- oldPoint, newPoint);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__POINT, oldPoint, newPoint);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setPoint(Point newPoint) {
if (newPoint != point) {
NotificationChain msgs = null;
if (point != null)
- msgs = ((InternalEObject) point).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.ELLIPTICAL_ARC_TO__POINT, null,
- msgs);
+ msgs = ((InternalEObject)point).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPTICAL_ARC_TO__POINT, null, msgs);
if (newPoint != null)
- msgs = ((InternalEObject) newPoint).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.ELLIPTICAL_ARC_TO__POINT, null,
- msgs);
+ msgs = ((InternalEObject)newPoint).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.ELLIPTICAL_ARC_TO__POINT, null, msgs);
msgs = basicSetPoint(newPoint, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ELLIPTICAL_ARC_TO__POINT, newPoint, newPoint));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ELLIPTICAL_ARC_TO__POINT, newPoint, newPoint));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.ELLIPTICAL_ARC_TO__RADII:
- return basicSetRadii(null, msgs);
- case DGPackage.ELLIPTICAL_ARC_TO__POINT:
- return basicSetPoint(null, msgs);
+ case DGPackage.ELLIPTICAL_ARC_TO__RADII:
+ return basicSetRadii(null, msgs);
+ case DGPackage.ELLIPTICAL_ARC_TO__POINT:
+ return basicSetPoint(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 DGPackage.ELLIPTICAL_ARC_TO__RADII:
- return getRadii();
- case DGPackage.ELLIPTICAL_ARC_TO__ROTATION:
- return getRotation();
- case DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC:
- return isLargeArc();
- case DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP:
- return isSweep();
- case DGPackage.ELLIPTICAL_ARC_TO__POINT:
- return getPoint();
+ case DGPackage.ELLIPTICAL_ARC_TO__RADII:
+ return getRadii();
+ case DGPackage.ELLIPTICAL_ARC_TO__ROTATION:
+ return getRotation();
+ case DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC:
+ return isLargeArc();
+ case DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP:
+ return isSweep();
+ case DGPackage.ELLIPTICAL_ARC_TO__POINT:
+ return getPoint();
}
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.ELLIPTICAL_ARC_TO__RADII:
- setRadii((Dimension) newValue);
- return;
- case DGPackage.ELLIPTICAL_ARC_TO__ROTATION:
- setRotation((Double) newValue);
- return;
- case DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC:
- setIsLargeArc((Boolean) newValue);
- return;
- case DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP:
- setIsSweep((Boolean) newValue);
- return;
- case DGPackage.ELLIPTICAL_ARC_TO__POINT:
- setPoint((Point) newValue);
- return;
+ case DGPackage.ELLIPTICAL_ARC_TO__RADII:
+ setRadii((Dimension)newValue);
+ return;
+ case DGPackage.ELLIPTICAL_ARC_TO__ROTATION:
+ setRotation((Double)newValue);
+ return;
+ case DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC:
+ setIsLargeArc((Boolean)newValue);
+ return;
+ case DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP:
+ setIsSweep((Boolean)newValue);
+ return;
+ case DGPackage.ELLIPTICAL_ARC_TO__POINT:
+ setPoint((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.ELLIPTICAL_ARC_TO__RADII:
- setRadii((Dimension) null);
- return;
- case DGPackage.ELLIPTICAL_ARC_TO__ROTATION:
- setRotation(ROTATION_EDEFAULT);
- return;
- case DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC:
- setIsLargeArc(IS_LARGE_ARC_EDEFAULT);
- return;
- case DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP:
- setIsSweep(IS_SWEEP_EDEFAULT);
- return;
- case DGPackage.ELLIPTICAL_ARC_TO__POINT:
- setPoint((Point) null);
- return;
+ case DGPackage.ELLIPTICAL_ARC_TO__RADII:
+ setRadii((Dimension)null);
+ return;
+ case DGPackage.ELLIPTICAL_ARC_TO__ROTATION:
+ setRotation(ROTATION_EDEFAULT);
+ return;
+ case DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC:
+ setIsLargeArc(IS_LARGE_ARC_EDEFAULT);
+ return;
+ case DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP:
+ setIsSweep(IS_SWEEP_EDEFAULT);
+ return;
+ case DGPackage.ELLIPTICAL_ARC_TO__POINT:
+ setPoint((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.ELLIPTICAL_ARC_TO__RADII:
- return radii != null;
- case DGPackage.ELLIPTICAL_ARC_TO__ROTATION:
- return rotation != ROTATION_EDEFAULT;
- case DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC:
- return isLargeArc != IS_LARGE_ARC_EDEFAULT;
- case DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP:
- return isSweep != IS_SWEEP_EDEFAULT;
- case DGPackage.ELLIPTICAL_ARC_TO__POINT:
- return point != null;
+ case DGPackage.ELLIPTICAL_ARC_TO__RADII:
+ return radii != null;
+ case DGPackage.ELLIPTICAL_ARC_TO__ROTATION:
+ return rotation != ROTATION_EDEFAULT;
+ case DGPackage.ELLIPTICAL_ARC_TO__IS_LARGE_ARC:
+ return isLargeArc != IS_LARGE_ARC_EDEFAULT;
+ case DGPackage.ELLIPTICAL_ARC_TO__IS_SWEEP:
+ return isSweep != IS_SWEEP_EDEFAULT;
+ case DGPackage.ELLIPTICAL_ARC_TO__POINT:
+ return point != null;
}
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(" (rotation: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientImpl.java
index 2d929f7299c..353f8df6168 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientImpl.java
@@ -28,18 +28,16 @@ import org.eclipse.papyrus.dd.dg.GradientStop;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GradientImpl#getStops <em>Stop
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GradientImpl#getStops <em>Stop</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class GradientImpl extends PaintServerImpl implements Gradient {
/**
- * The cached value of the '{@link #getStops() <em>Stop</em>}' containment
- * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStops() <em>Stop</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStops()
* @generated
* @ordered
@@ -48,7 +46,6 @@ public abstract class GradientImpl extends PaintServerImpl implements Gradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected GradientImpl() {
@@ -57,7 +54,6 @@ public abstract class GradientImpl extends PaintServerImpl implements Gradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -67,88 +63,81 @@ public abstract class GradientImpl extends PaintServerImpl implements Gradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<GradientStop> getStops() {
if (stops == null) {
- stops = new EObjectContainmentEList<GradientStop>(
- GradientStop.class, this, DGPackage.GRADIENT__STOP);
+ stops = new EObjectContainmentEList<GradientStop>(GradientStop.class, this, DGPackage.GRADIENT__STOP);
}
return stops;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.GRADIENT__STOP:
- return ((InternalEList<?>) getStops()).basicRemove(otherEnd, msgs);
+ case DGPackage.GRADIENT__STOP:
+ return ((InternalEList<?>)getStops()).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 DGPackage.GRADIENT__STOP:
- return getStops();
+ case DGPackage.GRADIENT__STOP:
+ return getStops();
}
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 DGPackage.GRADIENT__STOP:
- getStops().clear();
- getStops().addAll((Collection<? extends GradientStop>) newValue);
- return;
+ case DGPackage.GRADIENT__STOP:
+ getStops().clear();
+ getStops().addAll((Collection<? extends GradientStop>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.GRADIENT__STOP:
- getStops().clear();
- return;
+ case DGPackage.GRADIENT__STOP:
+ getStops().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.GRADIENT__STOP:
- return stops != null && !stops.isEmpty();
+ case DGPackage.GRADIENT__STOP:
+ return stops != null && !stops.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientStopImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientStopImpl.java
index a80f8c9e7b7..c14b62e8ece 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientStopImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GradientStopImpl.java
@@ -39,15 +39,12 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GradientStopImpl#getColor <em>Color
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GradientStopImpl#getOffset <em>
- * Offset</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GradientStopImpl#getOpacity <em>
- * Opacity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GradientStopImpl#getColor <em>Color</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GradientStopImpl#getOffset <em>Offset</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GradientStopImpl#getOpacity <em>Opacity</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class GradientStopImpl extends MinimalEObjectImpl.Container implements
@@ -55,7 +52,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* The default value of the '{@link #getColor() <em>Color</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getColor()
* @generated
* @ordered
@@ -65,7 +61,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* The cached value of the '{@link #getColor() <em>Color</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getColor()
* @generated
* @ordered
@@ -73,18 +68,17 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
protected Color color = COLOR_EDEFAULT;
/**
- * This is true if the Color attribute has been set. <!-- begin-user-doc -->
+ * This is true if the Color attribute has been set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
protected boolean colorESet;
/**
- * The default value of the '{@link #getOffset() <em>Offset</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getOffset() <em>Offset</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getOffset()
* @generated
* @ordered
@@ -94,7 +88,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* The cached value of the '{@link #getOffset() <em>Offset</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getOffset()
* @generated
* @ordered
@@ -102,18 +95,17 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
protected double offset = OFFSET_EDEFAULT;
/**
- * This is true if the Offset attribute has been set. <!-- begin-user-doc
+ * This is true if the Offset attribute has been set.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
protected boolean offsetESet;
/**
- * The default value of the '{@link #getOpacity() <em>Opacity</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getOpacity() <em>Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getOpacity()
* @generated
* @ordered
@@ -121,9 +113,8 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
protected static final double OPACITY_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getOpacity() <em>Opacity</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getOpacity() <em>Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getOpacity()
* @generated
* @ordered
@@ -131,9 +122,9 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
protected double opacity = OPACITY_EDEFAULT;
/**
- * This is true if the Opacity attribute has been set. <!-- begin-user-doc
+ * This is true if the Opacity attribute has been set.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -141,7 +132,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected GradientStopImpl() {
@@ -150,7 +140,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -160,7 +149,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Color getColor() {
@@ -169,7 +157,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setColor(Color newColor) {
@@ -178,14 +165,11 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
boolean oldColorESet = colorESet;
colorESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.GRADIENT_STOP__COLOR, oldColor, color,
- !oldColorESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.GRADIENT_STOP__COLOR, oldColor, color, !oldColorESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetColor() {
@@ -194,14 +178,11 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
color = COLOR_EDEFAULT;
colorESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.GRADIENT_STOP__COLOR, oldColor, COLOR_EDEFAULT,
- oldColorESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.GRADIENT_STOP__COLOR, oldColor, COLOR_EDEFAULT, oldColorESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetColor() {
@@ -210,7 +191,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getOffset() {
@@ -219,7 +199,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setOffset(double newOffset) {
@@ -228,14 +207,11 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
boolean oldOffsetESet = offsetESet;
offsetESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.GRADIENT_STOP__OFFSET, oldOffset, offset,
- !oldOffsetESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.GRADIENT_STOP__OFFSET, oldOffset, offset, !oldOffsetESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetOffset() {
@@ -244,14 +220,11 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
offset = OFFSET_EDEFAULT;
offsetESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.GRADIENT_STOP__OFFSET, oldOffset,
- OFFSET_EDEFAULT, oldOffsetESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.GRADIENT_STOP__OFFSET, oldOffset, OFFSET_EDEFAULT, oldOffsetESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetOffset() {
@@ -260,7 +233,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getOpacity() {
@@ -269,7 +241,6 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setOpacity(double newOpacity) {
@@ -278,14 +249,11 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
boolean oldOpacityESet = opacityESet;
opacityESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.GRADIENT_STOP__OPACITY, oldOpacity, opacity,
- !oldOpacityESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.GRADIENT_STOP__OPACITY, oldOpacity, opacity, !oldOpacityESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetOpacity() {
@@ -294,14 +262,11 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
opacity = OPACITY_EDEFAULT;
opacityESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.GRADIENT_STOP__OPACITY, oldOpacity,
- OPACITY_EDEFAULT, oldOpacityESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.GRADIENT_STOP__OPACITY, oldOpacity, OPACITY_EDEFAULT, oldOpacityESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetOpacity() {
@@ -309,13 +274,10 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
}
/**
- * The cached validation expression for the '
- * {@link #validOffset(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Offset</em>}' invariant operation. <!-- begin-user-doc --> <!--
+ * The cached validation expression for the '{@link #validOffset(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Offset</em>}' invariant operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #validOffset(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validOffset(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -323,32 +285,29 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validOffset(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.GRADIENT_STOP,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.GRADIENT_STOP___VALID_OFFSET__DIAGNOSTICCHAIN_MAP,
- VALID_OFFSET_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.GRADIENT_STOP__VALID_OFFSET);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.GRADIENT_STOP,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.GRADIENT_STOP___VALID_OFFSET__DIAGNOSTICCHAIN_MAP,
+ VALID_OFFSET_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.GRADIENT_STOP__VALID_OFFSET);
}
/**
- * The cached validation expression for the '
- * {@link #validOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Opacity</em>}' invariant operation. <!-- begin-user-doc -->
+ * The cached validation expression for the '{@link #validOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Opacity</em>}' invariant operation.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #validOpacity(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -356,105 +315,100 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validOpacity(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.GRADIENT_STOP,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.GRADIENT_STOP___VALID_OPACITY__DIAGNOSTICCHAIN_MAP,
- VALID_OPACITY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.GRADIENT_STOP__VALID_OPACITY);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.GRADIENT_STOP,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.GRADIENT_STOP___VALID_OPACITY__DIAGNOSTICCHAIN_MAP,
+ VALID_OPACITY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.GRADIENT_STOP__VALID_OPACITY);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.GRADIENT_STOP__COLOR:
- return getColor();
- case DGPackage.GRADIENT_STOP__OFFSET:
- return getOffset();
- case DGPackage.GRADIENT_STOP__OPACITY:
- return getOpacity();
+ case DGPackage.GRADIENT_STOP__COLOR:
+ return getColor();
+ case DGPackage.GRADIENT_STOP__OFFSET:
+ return getOffset();
+ case DGPackage.GRADIENT_STOP__OPACITY:
+ return getOpacity();
}
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.GRADIENT_STOP__COLOR:
- setColor((Color) newValue);
- return;
- case DGPackage.GRADIENT_STOP__OFFSET:
- setOffset((Double) newValue);
- return;
- case DGPackage.GRADIENT_STOP__OPACITY:
- setOpacity((Double) newValue);
- return;
+ case DGPackage.GRADIENT_STOP__COLOR:
+ setColor((Color)newValue);
+ return;
+ case DGPackage.GRADIENT_STOP__OFFSET:
+ setOffset((Double)newValue);
+ return;
+ case DGPackage.GRADIENT_STOP__OPACITY:
+ setOpacity((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.GRADIENT_STOP__COLOR:
- unsetColor();
- return;
- case DGPackage.GRADIENT_STOP__OFFSET:
- unsetOffset();
- return;
- case DGPackage.GRADIENT_STOP__OPACITY:
- unsetOpacity();
- return;
+ case DGPackage.GRADIENT_STOP__COLOR:
+ unsetColor();
+ return;
+ case DGPackage.GRADIENT_STOP__OFFSET:
+ unsetOffset();
+ return;
+ case DGPackage.GRADIENT_STOP__OPACITY:
+ unsetOpacity();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.GRADIENT_STOP__COLOR:
- return isSetColor();
- case DGPackage.GRADIENT_STOP__OFFSET:
- return isSetOffset();
- case DGPackage.GRADIENT_STOP__OPACITY:
- return isSetOpacity();
+ case DGPackage.GRADIENT_STOP__COLOR:
+ return isSetColor();
+ case DGPackage.GRADIENT_STOP__OFFSET:
+ return isSetOffset();
+ case DGPackage.GRADIENT_STOP__OPACITY:
+ return isSetOpacity();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -462,42 +416,29 @@ public class GradientStopImpl extends MinimalEObjectImpl.Container implements
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.GRADIENT_STOP___VALID_OFFSET__DIAGNOSTICCHAIN_MAP:
- return validOffset((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.GRADIENT_STOP___VALID_OPACITY__DIAGNOSTICCHAIN_MAP:
- return validOpacity((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.GRADIENT_STOP___VALID_OFFSET__DIAGNOSTICCHAIN_MAP:
+ return validOffset((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.GRADIENT_STOP___VALID_OPACITY__DIAGNOSTICCHAIN_MAP:
+ return validOpacity((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (color: ");
- if (colorESet)
- result.append(color);
- else
- result.append("<unset>");
+ if (colorESet) result.append(color); else result.append("<unset>");
result.append(", offset: ");
- if (offsetESet)
- result.append(offset);
- else
- result.append("<unset>");
+ if (offsetESet) result.append(offset); else result.append("<unset>");
result.append(", opacity: ");
- if (opacityESet)
- result.append(opacity);
- else
- result.append("<unset>");
+ if (opacityESet) result.append(opacity); else result.append("<unset>");
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GraphicalElementImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GraphicalElementImpl.java
index 79583e6f7a6..3caa2723f71 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GraphicalElementImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GraphicalElementImpl.java
@@ -40,27 +40,22 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getClipPath
- * <em>Clip Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getGroup <em>
- * Group</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getClasses
- * <em>Class</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getStyle <em>
- * Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getTransforms
- * <em>Transform</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getClipPath <em>Clip Path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getGroup <em>Group</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getClasses <em>Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getStyle <em>Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getTransforms <em>Transform</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GraphicalElementImpl#getLayoutData <em>Layout Data</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class GraphicalElementImpl extends DefinitionImpl implements
GraphicalElement {
/**
- * The cached value of the '{@link #getClipPath() <em>Clip Path</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getClipPath() <em>Clip Path</em>}' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getClipPath()
* @generated
* @ordered
@@ -68,9 +63,8 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
protected ClipPath clipPath;
/**
- * The cached value of the '{@link #getClasses() <em>Class</em>}' attribute
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getClasses() <em>Class</em>}' attribute list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getClasses()
* @generated
* @ordered
@@ -78,9 +72,8 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
protected EList<String> classes;
/**
- * The cached value of the '{@link #getStyle() <em>Style</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStyle() <em>Style</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStyle()
* @generated
* @ordered
@@ -88,9 +81,8 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
protected Style style;
/**
- * The cached value of the '{@link #getTransforms() <em>Transform</em>}'
- * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getTransforms() <em>Transform</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getTransforms()
* @generated
* @ordered
@@ -98,8 +90,27 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
protected EList<Transform> transforms;
/**
+ * The default value of the '{@link #getLayoutData() <em>Layout Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLayoutData()
+ * @generated
+ * @ordered
+ */
+ protected static final String LAYOUT_DATA_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLayoutData() <em>Layout Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLayoutData()
+ * @generated
+ * @ordered
+ */
+ protected String layoutData = LAYOUT_DATA_EDEFAULT;
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected GraphicalElementImpl() {
@@ -108,7 +119,6 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -118,18 +128,15 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ClipPath getClipPath() {
if (clipPath != null && clipPath.eIsProxy()) {
- InternalEObject oldClipPath = (InternalEObject) clipPath;
- clipPath = (ClipPath) eResolveProxy(oldClipPath);
+ InternalEObject oldClipPath = (InternalEObject)clipPath;
+ clipPath = (ClipPath)eResolveProxy(oldClipPath);
if (clipPath != oldClipPath) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH,
- oldClipPath, clipPath));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH, oldClipPath, clipPath));
}
}
return clipPath;
@@ -137,7 +144,6 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ClipPath basicGetClipPath() {
@@ -146,82 +152,67 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setClipPath(ClipPath newClipPath) {
ClipPath oldClipPath = clipPath;
clipPath = newClipPath;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH, oldClipPath,
- clipPath));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH, oldClipPath, clipPath));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Group getGroup() {
- if (eContainerFeatureID() != DGPackage.GRAPHICAL_ELEMENT__GROUP)
- return null;
- return (Group) eInternalContainer();
+ if (eContainerFeatureID() != DGPackage.GRAPHICAL_ELEMENT__GROUP) return null;
+ return (Group)eInternalContainer();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetGroup(Group newGroup,
NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject) newGroup,
- DGPackage.GRAPHICAL_ELEMENT__GROUP, msgs);
+ msgs = eBasicSetContainer((InternalEObject)newGroup, DGPackage.GRAPHICAL_ELEMENT__GROUP, msgs);
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setGroup(Group newGroup) {
- if (newGroup != eInternalContainer()
- || (eContainerFeatureID() != DGPackage.GRAPHICAL_ELEMENT__GROUP && newGroup != null)) {
+ if (newGroup != eInternalContainer() || (eContainerFeatureID() != DGPackage.GRAPHICAL_ELEMENT__GROUP && newGroup != null)) {
if (EcoreUtil.isAncestor(this, newGroup))
- throw new IllegalArgumentException(
- "Recursive containment not allowed for " + toString());
+ throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newGroup != null)
- msgs = ((InternalEObject) newGroup).eInverseAdd(this,
- DGPackage.GROUP__MEMBER, Group.class, msgs);
+ msgs = ((InternalEObject)newGroup).eInverseAdd(this, DGPackage.GROUP__MEMBER, Group.class, msgs);
msgs = basicSetGroup(newGroup, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.GRAPHICAL_ELEMENT__GROUP, newGroup, newGroup));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.GRAPHICAL_ELEMENT__GROUP, newGroup, newGroup));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<String> getClasses() {
if (classes == null) {
- classes = new EDataTypeUniqueEList<String>(String.class, this,
- DGPackage.GRAPHICAL_ELEMENT__CLASS);
+ classes = new EDataTypeUniqueEList<String>(String.class, this, DGPackage.GRAPHICAL_ELEMENT__CLASS);
}
return classes;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Style getStyle() {
@@ -230,7 +221,6 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetStyle(Style newStyle,
@@ -238,58 +228,63 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
Style oldStyle = style;
style = newStyle;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.GRAPHICAL_ELEMENT__STYLE,
- oldStyle, newStyle);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.GRAPHICAL_ELEMENT__STYLE, oldStyle, newStyle);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStyle(Style newStyle) {
if (newStyle != style) {
NotificationChain msgs = null;
if (style != null)
- msgs = ((InternalEObject) style).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.GRAPHICAL_ELEMENT__STYLE, null,
- msgs);
+ msgs = ((InternalEObject)style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.GRAPHICAL_ELEMENT__STYLE, null, msgs);
if (newStyle != null)
- msgs = ((InternalEObject) newStyle).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.GRAPHICAL_ELEMENT__STYLE, null,
- msgs);
+ msgs = ((InternalEObject)newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.GRAPHICAL_ELEMENT__STYLE, null, msgs);
msgs = basicSetStyle(newStyle, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.GRAPHICAL_ELEMENT__STYLE, newStyle, newStyle));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.GRAPHICAL_ELEMENT__STYLE, newStyle, newStyle));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<Transform> getTransforms() {
if (transforms == null) {
- transforms = new EObjectContainmentEList<Transform>(
- Transform.class, this,
- DGPackage.GRAPHICAL_ELEMENT__TRANSFORM);
+ transforms = new EObjectContainmentEList<Transform>(Transform.class, this, DGPackage.GRAPHICAL_ELEMENT__TRANSFORM);
}
return transforms;
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLayoutData() {
+ return layoutData;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLayoutData(String newLayoutData) {
+ String oldLayoutData = layoutData;
+ layoutData = newLayoutData;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.GRAPHICAL_ELEMENT__LAYOUT_DATA, oldLayoutData, layoutData));
+ }
+
+ /**
* The cached validation expression for the '
* {@link #referencedClippathHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* <em>Referenced Clippath Has Id</em>}' invariant operation. <!--
@@ -304,184 +299,182 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean referencedClippathHasId(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.GRAPHICAL_ELEMENT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP,
- REFERENCED_CLIPPATH_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR,
- DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.GRAPHICAL_ELEMENT__REFERENCED_CLIPPATH_HAS_ID);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.GRAPHICAL_ELEMENT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP,
+ REFERENCED_CLIPPATH_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.GRAPHICAL_ELEMENT__REFERENCED_CLIPPATH_HAS_ID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.GRAPHICAL_ELEMENT__GROUP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetGroup((Group) otherEnd, msgs);
+ case DGPackage.GRAPHICAL_ELEMENT__GROUP:
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ return basicSetGroup((Group)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 DGPackage.GRAPHICAL_ELEMENT__GROUP:
- return basicSetGroup(null, msgs);
- case DGPackage.GRAPHICAL_ELEMENT__STYLE:
- return basicSetStyle(null, msgs);
- case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
- return ((InternalEList<?>) getTransforms()).basicRemove(otherEnd,
- msgs);
+ case DGPackage.GRAPHICAL_ELEMENT__GROUP:
+ return basicSetGroup(null, msgs);
+ case DGPackage.GRAPHICAL_ELEMENT__STYLE:
+ return basicSetStyle(null, msgs);
+ case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
+ return ((InternalEList<?>)getTransforms()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eBasicRemoveFromContainerFeature(
NotificationChain msgs) {
switch (eContainerFeatureID()) {
- case DGPackage.GRAPHICAL_ELEMENT__GROUP:
- return eInternalContainer().eInverseRemove(this,
- DGPackage.GROUP__MEMBER, Group.class, msgs);
+ case DGPackage.GRAPHICAL_ELEMENT__GROUP:
+ return eInternalContainer().eInverseRemove(this, DGPackage.GROUP__MEMBER, Group.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 DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH:
- if (resolve)
- return getClipPath();
- return basicGetClipPath();
- case DGPackage.GRAPHICAL_ELEMENT__GROUP:
- return getGroup();
- case DGPackage.GRAPHICAL_ELEMENT__CLASS:
- return getClasses();
- case DGPackage.GRAPHICAL_ELEMENT__STYLE:
- return getStyle();
- case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
- return getTransforms();
+ case DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH:
+ if (resolve) return getClipPath();
+ return basicGetClipPath();
+ case DGPackage.GRAPHICAL_ELEMENT__GROUP:
+ return getGroup();
+ case DGPackage.GRAPHICAL_ELEMENT__CLASS:
+ return getClasses();
+ case DGPackage.GRAPHICAL_ELEMENT__STYLE:
+ return getStyle();
+ case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
+ return getTransforms();
+ case DGPackage.GRAPHICAL_ELEMENT__LAYOUT_DATA:
+ return getLayoutData();
}
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 DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH:
- setClipPath((ClipPath) newValue);
- return;
- case DGPackage.GRAPHICAL_ELEMENT__GROUP:
- setGroup((Group) newValue);
- return;
- case DGPackage.GRAPHICAL_ELEMENT__CLASS:
- getClasses().clear();
- getClasses().addAll((Collection<? extends String>) newValue);
- return;
- case DGPackage.GRAPHICAL_ELEMENT__STYLE:
- setStyle((Style) newValue);
- return;
- case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
- getTransforms().clear();
- getTransforms().addAll((Collection<? extends Transform>) newValue);
- return;
+ case DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH:
+ setClipPath((ClipPath)newValue);
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__GROUP:
+ setGroup((Group)newValue);
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__CLASS:
+ getClasses().clear();
+ getClasses().addAll((Collection<? extends String>)newValue);
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__STYLE:
+ setStyle((Style)newValue);
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
+ getTransforms().clear();
+ getTransforms().addAll((Collection<? extends Transform>)newValue);
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__LAYOUT_DATA:
+ setLayoutData((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH:
- setClipPath((ClipPath) null);
- return;
- case DGPackage.GRAPHICAL_ELEMENT__GROUP:
- setGroup((Group) null);
- return;
- case DGPackage.GRAPHICAL_ELEMENT__CLASS:
- getClasses().clear();
- return;
- case DGPackage.GRAPHICAL_ELEMENT__STYLE:
- setStyle((Style) null);
- return;
- case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
- getTransforms().clear();
- return;
+ case DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH:
+ setClipPath((ClipPath)null);
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__GROUP:
+ setGroup((Group)null);
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__CLASS:
+ getClasses().clear();
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__STYLE:
+ setStyle((Style)null);
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
+ getTransforms().clear();
+ return;
+ case DGPackage.GRAPHICAL_ELEMENT__LAYOUT_DATA:
+ setLayoutData(LAYOUT_DATA_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH:
- return clipPath != null;
- case DGPackage.GRAPHICAL_ELEMENT__GROUP:
- return getGroup() != null;
- case DGPackage.GRAPHICAL_ELEMENT__CLASS:
- return classes != null && !classes.isEmpty();
- case DGPackage.GRAPHICAL_ELEMENT__STYLE:
- return style != null;
- case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
- return transforms != null && !transforms.isEmpty();
+ case DGPackage.GRAPHICAL_ELEMENT__CLIP_PATH:
+ return clipPath != null;
+ case DGPackage.GRAPHICAL_ELEMENT__GROUP:
+ return getGroup() != null;
+ case DGPackage.GRAPHICAL_ELEMENT__CLASS:
+ return classes != null && !classes.isEmpty();
+ case DGPackage.GRAPHICAL_ELEMENT__STYLE:
+ return style != null;
+ case DGPackage.GRAPHICAL_ELEMENT__TRANSFORM:
+ return transforms != null && !transforms.isEmpty();
+ case DGPackage.GRAPHICAL_ELEMENT__LAYOUT_DATA:
+ return LAYOUT_DATA_EDEFAULT == null ? layoutData != null : !LAYOUT_DATA_EDEFAULT.equals(layoutData);
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -489,26 +482,25 @@ public abstract class GraphicalElementImpl extends DefinitionImpl implements
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP:
- return referencedClippathHasId((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.GRAPHICAL_ELEMENT___REFERENCED_CLIPPATH_HAS_ID__DIAGNOSTICCHAIN_MAP:
+ return referencedClippathHasId((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (class: ");
result.append(classes);
+ result.append(", layoutData: ");
+ result.append(layoutData);
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GroupImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GroupImpl.java
index ca7ac6928ba..4755db93311 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GroupImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/GroupImpl.java
@@ -13,6 +13,7 @@ package org.eclipse.papyrus.dd.dg.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;
@@ -20,6 +21,7 @@ import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
import org.eclipse.emf.ecore.util.InternalEList;
@@ -33,18 +35,17 @@ import org.eclipse.papyrus.dd.dg.Group;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.GroupImpl#getMembers <em>Member
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GroupImpl#getMembers <em>Member</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.GroupImpl#getLayout <em>Layout</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class GroupImpl extends GraphicalElementImpl implements Group {
/**
- * The cached value of the '{@link #getMembers() <em>Member</em>}'
- * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getMembers() <em>Member</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getMembers()
* @generated
* @ordered
@@ -52,8 +53,26 @@ public class GroupImpl extends GraphicalElementImpl implements Group {
protected EList<GraphicalElement> members;
/**
+ * The default value of the '{@link #getLayout() <em>Layout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLayout()
+ * @generated
+ * @ordered
+ */
+ protected static final String LAYOUT_EDEFAULT = null;
+ /**
+ * The cached value of the '{@link #getLayout() <em>Layout</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLayout()
+ * @generated
+ * @ordered
+ */
+ protected String layout = LAYOUT_EDEFAULT;
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected GroupImpl() {
@@ -62,7 +81,6 @@ public class GroupImpl extends GraphicalElementImpl implements Group {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -72,21 +90,38 @@ public class GroupImpl extends GraphicalElementImpl implements Group {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<GraphicalElement> getMembers() {
if (members == null) {
- members = new EObjectContainmentWithInverseEList<GraphicalElement>(
- GraphicalElement.class, this, DGPackage.GROUP__MEMBER,
- DGPackage.GRAPHICAL_ELEMENT__GROUP);
+ members = new EObjectContainmentWithInverseEList<GraphicalElement>(GraphicalElement.class, this, DGPackage.GROUP__MEMBER, DGPackage.GRAPHICAL_ELEMENT__GROUP);
}
return members;
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLayout() {
+ return layout;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLayout(String newLayout) {
+ String oldLayout = layout;
+ layout = newLayout;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.GROUP__LAYOUT, oldLayout, layout));
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -94,88 +129,106 @@ public class GroupImpl extends GraphicalElementImpl implements Group {
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.GROUP__MEMBER:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getMembers())
- .basicAdd(otherEnd, msgs);
+ case DGPackage.GROUP__MEMBER:
+ return ((InternalEList<InternalEObject>)(InternalEList<?>)getMembers()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.GROUP__MEMBER:
- return ((InternalEList<?>) getMembers())
- .basicRemove(otherEnd, msgs);
+ case DGPackage.GROUP__MEMBER:
+ return ((InternalEList<?>)getMembers()).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 DGPackage.GROUP__MEMBER:
- return getMembers();
+ case DGPackage.GROUP__MEMBER:
+ return getMembers();
+ case DGPackage.GROUP__LAYOUT:
+ return getLayout();
}
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 DGPackage.GROUP__MEMBER:
- getMembers().clear();
- getMembers().addAll(
- (Collection<? extends GraphicalElement>) newValue);
- return;
+ case DGPackage.GROUP__MEMBER:
+ getMembers().clear();
+ getMembers().addAll((Collection<? extends GraphicalElement>)newValue);
+ return;
+ case DGPackage.GROUP__LAYOUT:
+ setLayout((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.GROUP__MEMBER:
- getMembers().clear();
- return;
+ case DGPackage.GROUP__MEMBER:
+ getMembers().clear();
+ return;
+ case DGPackage.GROUP__LAYOUT:
+ setLayout(LAYOUT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.GROUP__MEMBER:
- return members != null && !members.isEmpty();
+ case DGPackage.GROUP__MEMBER:
+ return members != null && !members.isEmpty();
+ case DGPackage.GROUP__LAYOUT:
+ return LAYOUT_EDEFAULT == null ? layout != null : !LAYOUT_EDEFAULT.equals(layout);
}
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(" (layout: ");
+ result.append(layout);
+ result.append(')');
+ return result.toString();
+ }
+
} // GroupImpl
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ImageImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ImageImpl.java
index e5315f39819..6a96621ee0d 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ImageImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ImageImpl.java
@@ -36,22 +36,18 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.ImageImpl#getSource <em>Source
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.ImageImpl#getBounds <em>Bounds
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.ImageImpl#isAspectRatioPreserved
- * <em>Is Aspect Ratio Preserved</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.ImageImpl#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.ImageImpl#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.ImageImpl#isAspectRatioPreserved <em>Is Aspect Ratio Preserved</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ImageImpl extends GraphicalElementImpl implements Image {
/**
- * The default value of the '{@link #getSource() <em>Source</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getSource() <em>Source</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getSource()
* @generated
* @ordered
@@ -61,7 +57,6 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
/**
* The cached value of the '{@link #getSource() <em>Source</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getSource()
* @generated
* @ordered
@@ -69,9 +64,8 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
protected String source = SOURCE_EDEFAULT;
/**
- * The cached value of the '{@link #getBounds() <em>Bounds</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getBounds()
* @generated
* @ordered
@@ -79,10 +73,9 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
protected Bounds bounds;
/**
- * The default value of the '{@link #isAspectRatioPreserved()
- * <em>Is Aspect Ratio Preserved</em>}' attribute. <!-- begin-user-doc -->
+ * The default value of the '{@link #isAspectRatioPreserved() <em>Is Aspect Ratio Preserved</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isAspectRatioPreserved()
* @generated
* @ordered
@@ -90,10 +83,9 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
protected static final boolean IS_ASPECT_RATIO_PRESERVED_EDEFAULT = false;
/**
- * The cached value of the '{@link #isAspectRatioPreserved()
- * <em>Is Aspect Ratio Preserved</em>}' attribute. <!-- begin-user-doc -->
+ * The cached value of the '{@link #isAspectRatioPreserved() <em>Is Aspect Ratio Preserved</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #isAspectRatioPreserved()
* @generated
* @ordered
@@ -102,7 +94,6 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected ImageImpl() {
@@ -111,7 +102,6 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -121,7 +111,6 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getSource() {
@@ -130,20 +119,17 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setSource(String newSource) {
String oldSource = source;
source = newSource;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.IMAGE__SOURCE, oldSource, source));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.IMAGE__SOURCE, oldSource, source));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Bounds getBounds() {
@@ -152,7 +138,6 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetBounds(Bounds newBounds,
@@ -160,44 +145,32 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
Bounds oldBounds = bounds;
bounds = newBounds;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.IMAGE__BOUNDS, oldBounds,
- newBounds);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.IMAGE__BOUNDS, oldBounds, newBounds);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setBounds(Bounds newBounds) {
if (newBounds != bounds) {
NotificationChain msgs = null;
if (bounds != null)
- msgs = ((InternalEObject) bounds).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.IMAGE__BOUNDS, null,
- msgs);
+ msgs = ((InternalEObject)bounds).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.IMAGE__BOUNDS, null, msgs);
if (newBounds != null)
- msgs = ((InternalEObject) newBounds).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.IMAGE__BOUNDS, null,
- msgs);
+ msgs = ((InternalEObject)newBounds).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.IMAGE__BOUNDS, null, msgs);
msgs = basicSetBounds(newBounds, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.IMAGE__BOUNDS, newBounds, newBounds));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.IMAGE__BOUNDS, newBounds, newBounds));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isAspectRatioPreserved() {
@@ -206,16 +179,13 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setIsAspectRatioPreserved(boolean newIsAspectRatioPreserved) {
boolean oldIsAspectRatioPreserved = isAspectRatioPreserved;
isAspectRatioPreserved = newIsAspectRatioPreserved;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED,
- oldIsAspectRatioPreserved, isAspectRatioPreserved));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED, oldIsAspectRatioPreserved, isAspectRatioPreserved));
}
/**
@@ -233,121 +203,114 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean sourceCannotBeEmpty(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.IMAGE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.IMAGE___SOURCE_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP,
- SOURCE_CANNOT_BE_EMPTY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.IMAGE__SOURCE_CANNOT_BE_EMPTY);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.IMAGE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.IMAGE___SOURCE_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP,
+ SOURCE_CANNOT_BE_EMPTY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.IMAGE__SOURCE_CANNOT_BE_EMPTY);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.IMAGE__BOUNDS:
- return basicSetBounds(null, msgs);
+ case DGPackage.IMAGE__BOUNDS:
+ return basicSetBounds(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 DGPackage.IMAGE__SOURCE:
- return getSource();
- case DGPackage.IMAGE__BOUNDS:
- return getBounds();
- case DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED:
- return isAspectRatioPreserved();
+ case DGPackage.IMAGE__SOURCE:
+ return getSource();
+ case DGPackage.IMAGE__BOUNDS:
+ return getBounds();
+ case DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED:
+ return isAspectRatioPreserved();
}
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.IMAGE__SOURCE:
- setSource((String) newValue);
- return;
- case DGPackage.IMAGE__BOUNDS:
- setBounds((Bounds) newValue);
- return;
- case DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED:
- setIsAspectRatioPreserved((Boolean) newValue);
- return;
+ case DGPackage.IMAGE__SOURCE:
+ setSource((String)newValue);
+ return;
+ case DGPackage.IMAGE__BOUNDS:
+ setBounds((Bounds)newValue);
+ return;
+ case DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED:
+ setIsAspectRatioPreserved((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.IMAGE__SOURCE:
- setSource(SOURCE_EDEFAULT);
- return;
- case DGPackage.IMAGE__BOUNDS:
- setBounds((Bounds) null);
- return;
- case DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED:
- setIsAspectRatioPreserved(IS_ASPECT_RATIO_PRESERVED_EDEFAULT);
- return;
+ case DGPackage.IMAGE__SOURCE:
+ setSource(SOURCE_EDEFAULT);
+ return;
+ case DGPackage.IMAGE__BOUNDS:
+ setBounds((Bounds)null);
+ return;
+ case DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED:
+ setIsAspectRatioPreserved(IS_ASPECT_RATIO_PRESERVED_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.IMAGE__SOURCE:
- return SOURCE_EDEFAULT == null ? source != null : !SOURCE_EDEFAULT
- .equals(source);
- case DGPackage.IMAGE__BOUNDS:
- return bounds != null;
- case DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED:
- return isAspectRatioPreserved != IS_ASPECT_RATIO_PRESERVED_EDEFAULT;
+ case DGPackage.IMAGE__SOURCE:
+ return SOURCE_EDEFAULT == null ? source != null : !SOURCE_EDEFAULT.equals(source);
+ case DGPackage.IMAGE__BOUNDS:
+ return bounds != null;
+ case DGPackage.IMAGE__IS_ASPECT_RATIO_PRESERVED:
+ return isAspectRatioPreserved != IS_ASPECT_RATIO_PRESERVED_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -355,22 +318,19 @@ public class ImageImpl extends GraphicalElementImpl implements Image {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.IMAGE___SOURCE_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP:
- return sourceCannotBeEmpty((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.IMAGE___SOURCE_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP:
+ return sourceCannotBeEmpty((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (source: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineImpl.java
index 0f8931de7eb..229f39924a8 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineImpl.java
@@ -30,18 +30,17 @@ import org.eclipse.papyrus.dd.dg.Line;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.LineImpl#getStart <em>Start</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.LineImpl#getEnd <em>End</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.LineImpl#getStart <em>Start</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.LineImpl#getEnd <em>End</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class LineImpl extends MarkedElementImpl implements Line {
/**
- * The cached value of the '{@link #getStart() <em>Start</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStart() <em>Start</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStart()
* @generated
* @ordered
@@ -49,9 +48,8 @@ public class LineImpl extends MarkedElementImpl implements Line {
protected Point start;
/**
- * The cached value of the '{@link #getEnd() <em>End</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getEnd() <em>End</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getEnd()
* @generated
* @ordered
@@ -60,7 +58,6 @@ public class LineImpl extends MarkedElementImpl implements Line {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected LineImpl() {
@@ -69,7 +66,6 @@ public class LineImpl extends MarkedElementImpl implements Line {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -79,7 +75,6 @@ public class LineImpl extends MarkedElementImpl implements Line {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getStart() {
@@ -88,7 +83,6 @@ public class LineImpl extends MarkedElementImpl implements Line {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetStart(Point newStart,
@@ -96,43 +90,32 @@ public class LineImpl extends MarkedElementImpl implements Line {
Point oldStart = start;
start = newStart;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.LINE__START, oldStart, newStart);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.LINE__START, oldStart, newStart);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStart(Point newStart) {
if (newStart != start) {
NotificationChain msgs = null;
if (start != null)
- msgs = ((InternalEObject) start).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.LINE__START, null,
- msgs);
+ msgs = ((InternalEObject)start).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINE__START, null, msgs);
if (newStart != null)
- msgs = ((InternalEObject) newStart).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.LINE__START, null,
- msgs);
+ msgs = ((InternalEObject)newStart).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINE__START, null, msgs);
msgs = basicSetStart(newStart, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.LINE__START, newStart, newStart));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.LINE__START, newStart, newStart));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getEnd() {
@@ -141,128 +124,112 @@ public class LineImpl extends MarkedElementImpl implements Line {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetEnd(Point newEnd, NotificationChain msgs) {
Point oldEnd = end;
end = newEnd;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.LINE__END, oldEnd, newEnd);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.LINE__END, oldEnd, newEnd);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setEnd(Point newEnd) {
if (newEnd != end) {
NotificationChain msgs = null;
if (end != null)
- msgs = ((InternalEObject) end).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.LINE__END, null,
- msgs);
+ msgs = ((InternalEObject)end).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINE__END, null, msgs);
if (newEnd != null)
- msgs = ((InternalEObject) newEnd).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.LINE__END, null,
- msgs);
+ msgs = ((InternalEObject)newEnd).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINE__END, null, msgs);
msgs = basicSetEnd(newEnd, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.LINE__END, newEnd, newEnd));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.LINE__END, newEnd, newEnd));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.LINE__START:
- return basicSetStart(null, msgs);
- case DGPackage.LINE__END:
- return basicSetEnd(null, msgs);
+ case DGPackage.LINE__START:
+ return basicSetStart(null, msgs);
+ case DGPackage.LINE__END:
+ return basicSetEnd(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 DGPackage.LINE__START:
- return getStart();
- case DGPackage.LINE__END:
- return getEnd();
+ case DGPackage.LINE__START:
+ return getStart();
+ case DGPackage.LINE__END:
+ return getEnd();
}
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.LINE__START:
- setStart((Point) newValue);
- return;
- case DGPackage.LINE__END:
- setEnd((Point) newValue);
- return;
+ case DGPackage.LINE__START:
+ setStart((Point)newValue);
+ return;
+ case DGPackage.LINE__END:
+ setEnd((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.LINE__START:
- setStart((Point) null);
- return;
- case DGPackage.LINE__END:
- setEnd((Point) null);
- return;
+ case DGPackage.LINE__START:
+ setStart((Point)null);
+ return;
+ case DGPackage.LINE__END:
+ setEnd((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.LINE__START:
- return start != null;
- case DGPackage.LINE__END:
- return end != null;
+ case DGPackage.LINE__START:
+ return start != null;
+ case DGPackage.LINE__END:
+ return end != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineToImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineToImpl.java
index 21318835354..9194837e80d 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineToImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LineToImpl.java
@@ -30,18 +30,16 @@ import org.eclipse.papyrus.dd.dg.LineTo;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.LineToImpl#getPoint <em>Point</em>}
- * </li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.LineToImpl#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class LineToImpl extends PathCommandImpl implements LineTo {
/**
- * The cached value of the '{@link #getPoint() <em>Point</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPoint() <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPoint()
* @generated
* @ordered
@@ -50,7 +48,6 @@ public class LineToImpl extends PathCommandImpl implements LineTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected LineToImpl() {
@@ -59,7 +56,6 @@ public class LineToImpl extends PathCommandImpl implements LineTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -69,7 +65,6 @@ public class LineToImpl extends PathCommandImpl implements LineTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getPoint() {
@@ -78,7 +73,6 @@ public class LineToImpl extends PathCommandImpl implements LineTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetPoint(Point newPoint,
@@ -86,110 +80,94 @@ public class LineToImpl extends PathCommandImpl implements LineTo {
Point oldPoint = point;
point = newPoint;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.LINE_TO__POINT, oldPoint,
- newPoint);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.LINE_TO__POINT, oldPoint, newPoint);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setPoint(Point newPoint) {
if (newPoint != point) {
NotificationChain msgs = null;
if (point != null)
- msgs = ((InternalEObject) point).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.LINE_TO__POINT,
- null, msgs);
+ msgs = ((InternalEObject)point).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINE_TO__POINT, null, msgs);
if (newPoint != null)
- msgs = ((InternalEObject) newPoint).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.LINE_TO__POINT,
- null, msgs);
+ msgs = ((InternalEObject)newPoint).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINE_TO__POINT, null, msgs);
msgs = basicSetPoint(newPoint, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.LINE_TO__POINT, newPoint, newPoint));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.LINE_TO__POINT, newPoint, newPoint));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.LINE_TO__POINT:
- return basicSetPoint(null, msgs);
+ case DGPackage.LINE_TO__POINT:
+ return basicSetPoint(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 DGPackage.LINE_TO__POINT:
- return getPoint();
+ case DGPackage.LINE_TO__POINT:
+ return getPoint();
}
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.LINE_TO__POINT:
- setPoint((Point) newValue);
- return;
+ case DGPackage.LINE_TO__POINT:
+ setPoint((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.LINE_TO__POINT:
- setPoint((Point) null);
- return;
+ case DGPackage.LINE_TO__POINT:
+ setPoint((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.LINE_TO__POINT:
- return point != null;
+ case DGPackage.LINE_TO__POINT:
+ return point != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LinearGradientImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LinearGradientImpl.java
index c3cf95520c2..68c03105a5c 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LinearGradientImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/LinearGradientImpl.java
@@ -39,20 +39,17 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl#getStart <em>
- * Start</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl#getEnd <em>End
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl#getStart <em>Start</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.LinearGradientImpl#getEnd <em>End</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class LinearGradientImpl extends GradientImpl implements LinearGradient {
/**
- * The cached value of the '{@link #getStart() <em>Start</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStart() <em>Start</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStart()
* @generated
* @ordered
@@ -60,9 +57,8 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
protected Point start;
/**
- * The cached value of the '{@link #getEnd() <em>End</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getEnd() <em>End</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getEnd()
* @generated
* @ordered
@@ -71,7 +67,6 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected LinearGradientImpl() {
@@ -80,7 +75,6 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -90,7 +84,6 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getStart() {
@@ -99,7 +92,6 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetStart(Point newStart,
@@ -107,44 +99,32 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
Point oldStart = start;
start = newStart;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.LINEAR_GRADIENT__START,
- oldStart, newStart);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.LINEAR_GRADIENT__START, oldStart, newStart);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStart(Point newStart) {
if (newStart != start) {
NotificationChain msgs = null;
if (start != null)
- msgs = ((InternalEObject) start).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.LINEAR_GRADIENT__START, null, msgs);
+ msgs = ((InternalEObject)start).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINEAR_GRADIENT__START, null, msgs);
if (newStart != null)
- msgs = ((InternalEObject) newStart).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.LINEAR_GRADIENT__START, null, msgs);
+ msgs = ((InternalEObject)newStart).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINEAR_GRADIENT__START, null, msgs);
msgs = basicSetStart(newStart, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.LINEAR_GRADIENT__START, newStart, newStart));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.LINEAR_GRADIENT__START, newStart, newStart));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getEnd() {
@@ -153,56 +133,41 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetEnd(Point newEnd, NotificationChain msgs) {
Point oldEnd = end;
end = newEnd;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.LINEAR_GRADIENT__END, oldEnd,
- newEnd);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.LINEAR_GRADIENT__END, oldEnd, newEnd);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setEnd(Point newEnd) {
if (newEnd != end) {
NotificationChain msgs = null;
if (end != null)
- msgs = ((InternalEObject) end)
- .eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - DGPackage.LINEAR_GRADIENT__END, null, msgs);
+ msgs = ((InternalEObject)end).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINEAR_GRADIENT__END, null, msgs);
if (newEnd != null)
- msgs = ((InternalEObject) newEnd)
- .eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - DGPackage.LINEAR_GRADIENT__END, null, msgs);
+ msgs = ((InternalEObject)newEnd).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.LINEAR_GRADIENT__END, null, msgs);
msgs = basicSetEnd(newEnd, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.LINEAR_GRADIENT__END, newEnd, newEnd));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.LINEAR_GRADIENT__END, newEnd, newEnd));
}
/**
- * The cached validation expression for the '
- * {@link #validGradientVector(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Gradient Vector</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #validGradientVector(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Gradient Vector</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #validGradientVector(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validGradientVector(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -210,112 +175,106 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validGradientVector(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.LINEAR_GRADIENT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.LINEAR_GRADIENT___VALID_GRADIENT_VECTOR__DIAGNOSTICCHAIN_MAP,
- VALID_GRADIENT_VECTOR_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.LINEAR_GRADIENT__VALID_GRADIENT_VECTOR);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.LINEAR_GRADIENT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.LINEAR_GRADIENT___VALID_GRADIENT_VECTOR__DIAGNOSTICCHAIN_MAP,
+ VALID_GRADIENT_VECTOR_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.LINEAR_GRADIENT__VALID_GRADIENT_VECTOR);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.LINEAR_GRADIENT__START:
- return basicSetStart(null, msgs);
- case DGPackage.LINEAR_GRADIENT__END:
- return basicSetEnd(null, msgs);
+ case DGPackage.LINEAR_GRADIENT__START:
+ return basicSetStart(null, msgs);
+ case DGPackage.LINEAR_GRADIENT__END:
+ return basicSetEnd(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 DGPackage.LINEAR_GRADIENT__START:
- return getStart();
- case DGPackage.LINEAR_GRADIENT__END:
- return getEnd();
+ case DGPackage.LINEAR_GRADIENT__START:
+ return getStart();
+ case DGPackage.LINEAR_GRADIENT__END:
+ return getEnd();
}
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.LINEAR_GRADIENT__START:
- setStart((Point) newValue);
- return;
- case DGPackage.LINEAR_GRADIENT__END:
- setEnd((Point) newValue);
- return;
+ case DGPackage.LINEAR_GRADIENT__START:
+ setStart((Point)newValue);
+ return;
+ case DGPackage.LINEAR_GRADIENT__END:
+ setEnd((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.LINEAR_GRADIENT__START:
- setStart((Point) null);
- return;
- case DGPackage.LINEAR_GRADIENT__END:
- setEnd((Point) null);
- return;
+ case DGPackage.LINEAR_GRADIENT__START:
+ setStart((Point)null);
+ return;
+ case DGPackage.LINEAR_GRADIENT__END:
+ setEnd((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.LINEAR_GRADIENT__START:
- return start != null;
- case DGPackage.LINEAR_GRADIENT__END:
- return end != null;
+ case DGPackage.LINEAR_GRADIENT__START:
+ return start != null;
+ case DGPackage.LINEAR_GRADIENT__END:
+ return end != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -323,9 +282,8 @@ public class LinearGradientImpl extends GradientImpl implements LinearGradient {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.LINEAR_GRADIENT___VALID_GRADIENT_VECTOR__DIAGNOSTICCHAIN_MAP:
- return validGradientVector((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.LINEAR_GRADIENT___VALID_GRADIENT_VECTOR__DIAGNOSTICCHAIN_MAP:
+ return validGradientVector((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkedElementImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkedElementImpl.java
index c1a5ae3f588..ac595fdf9ab 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkedElementImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkedElementImpl.java
@@ -34,23 +34,19 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl#getEndMarker <em>
- * End Marker</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl#getMidMarker <em>
- * Mid Marker</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl#getStartMarker
- * <em>Start Marker</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl#getEndMarker <em>End Marker</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl#getMidMarker <em>Mid Marker</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkedElementImpl#getStartMarker <em>Start Marker</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class MarkedElementImpl extends GraphicalElementImpl implements
MarkedElement {
/**
- * The cached value of the '{@link #getEndMarker() <em>End Marker</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getEndMarker() <em>End Marker</em>}' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getEndMarker()
* @generated
* @ordered
@@ -58,9 +54,8 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
protected Marker endMarker;
/**
- * The cached value of the '{@link #getMidMarker() <em>Mid Marker</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getMidMarker() <em>Mid Marker</em>}' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getMidMarker()
* @generated
* @ordered
@@ -68,9 +63,8 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
protected Marker midMarker;
/**
- * The cached value of the '{@link #getStartMarker() <em>Start Marker</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStartMarker() <em>Start Marker</em>}' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStartMarker()
* @generated
* @ordered
@@ -79,7 +73,6 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected MarkedElementImpl() {
@@ -88,7 +81,6 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -98,18 +90,15 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Marker getEndMarker() {
if (endMarker != null && endMarker.eIsProxy()) {
- InternalEObject oldEndMarker = (InternalEObject) endMarker;
- endMarker = (Marker) eResolveProxy(oldEndMarker);
+ InternalEObject oldEndMarker = (InternalEObject)endMarker;
+ endMarker = (Marker)eResolveProxy(oldEndMarker);
if (endMarker != oldEndMarker) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DGPackage.MARKED_ELEMENT__END_MARKER, oldEndMarker,
- endMarker));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DGPackage.MARKED_ELEMENT__END_MARKER, oldEndMarker, endMarker));
}
}
return endMarker;
@@ -117,7 +106,6 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Marker basicGetEndMarker() {
@@ -126,32 +114,26 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setEndMarker(Marker newEndMarker) {
Marker oldEndMarker = endMarker;
endMarker = newEndMarker;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MARKED_ELEMENT__END_MARKER, oldEndMarker,
- endMarker));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MARKED_ELEMENT__END_MARKER, oldEndMarker, endMarker));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Marker getMidMarker() {
if (midMarker != null && midMarker.eIsProxy()) {
- InternalEObject oldMidMarker = (InternalEObject) midMarker;
- midMarker = (Marker) eResolveProxy(oldMidMarker);
+ InternalEObject oldMidMarker = (InternalEObject)midMarker;
+ midMarker = (Marker)eResolveProxy(oldMidMarker);
if (midMarker != oldMidMarker) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DGPackage.MARKED_ELEMENT__MID_MARKER, oldMidMarker,
- midMarker));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DGPackage.MARKED_ELEMENT__MID_MARKER, oldMidMarker, midMarker));
}
}
return midMarker;
@@ -159,7 +141,6 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Marker basicGetMidMarker() {
@@ -168,32 +149,26 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setMidMarker(Marker newMidMarker) {
Marker oldMidMarker = midMarker;
midMarker = newMidMarker;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MARKED_ELEMENT__MID_MARKER, oldMidMarker,
- midMarker));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MARKED_ELEMENT__MID_MARKER, oldMidMarker, midMarker));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Marker getStartMarker() {
if (startMarker != null && startMarker.eIsProxy()) {
- InternalEObject oldStartMarker = (InternalEObject) startMarker;
- startMarker = (Marker) eResolveProxy(oldStartMarker);
+ InternalEObject oldStartMarker = (InternalEObject)startMarker;
+ startMarker = (Marker)eResolveProxy(oldStartMarker);
if (startMarker != oldStartMarker) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DGPackage.MARKED_ELEMENT__START_MARKER,
- oldStartMarker, startMarker));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DGPackage.MARKED_ELEMENT__START_MARKER, oldStartMarker, startMarker));
}
}
return startMarker;
@@ -201,7 +176,6 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Marker basicGetStartMarker() {
@@ -210,16 +184,13 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStartMarker(Marker newStartMarker) {
Marker oldStartMarker = startMarker;
startMarker = newStartMarker;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MARKED_ELEMENT__START_MARKER, oldStartMarker,
- startMarker));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MARKED_ELEMENT__START_MARKER, oldStartMarker, startMarker));
}
/**
@@ -237,23 +208,22 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean referencedStartMarkerHasId(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.MARKED_ELEMENT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP,
- REFERENCED_START_MARKER_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR,
- DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.MARKED_ELEMENT__REFERENCED_START_MARKER_HAS_ID);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.MARKED_ELEMENT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP,
+ REFERENCED_START_MARKER_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.MARKED_ELEMENT__REFERENCED_START_MARKER_HAS_ID);
}
/**
@@ -271,23 +241,22 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean referencedMidMarkerHasId(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.MARKED_ELEMENT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP,
- REFERENCED_MID_MARKER_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR,
- DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.MARKED_ELEMENT__REFERENCED_MID_MARKER_HAS_ID);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.MARKED_ELEMENT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP,
+ REFERENCED_MID_MARKER_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.MARKED_ELEMENT__REFERENCED_MID_MARKER_HAS_ID);
}
/**
@@ -305,112 +274,103 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean referencedEndMarkerHasId(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.MARKED_ELEMENT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.MARKED_ELEMENT___REFERENCED_END_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP,
- REFERENCED_END_MARKER_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR,
- DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.MARKED_ELEMENT__REFERENCED_END_MARKER_HAS_ID);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.MARKED_ELEMENT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.MARKED_ELEMENT___REFERENCED_END_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP,
+ REFERENCED_END_MARKER_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.MARKED_ELEMENT__REFERENCED_END_MARKER_HAS_ID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.MARKED_ELEMENT__END_MARKER:
- if (resolve)
- return getEndMarker();
- return basicGetEndMarker();
- case DGPackage.MARKED_ELEMENT__MID_MARKER:
- if (resolve)
- return getMidMarker();
- return basicGetMidMarker();
- case DGPackage.MARKED_ELEMENT__START_MARKER:
- if (resolve)
- return getStartMarker();
- return basicGetStartMarker();
+ case DGPackage.MARKED_ELEMENT__END_MARKER:
+ if (resolve) return getEndMarker();
+ return basicGetEndMarker();
+ case DGPackage.MARKED_ELEMENT__MID_MARKER:
+ if (resolve) return getMidMarker();
+ return basicGetMidMarker();
+ case DGPackage.MARKED_ELEMENT__START_MARKER:
+ if (resolve) return getStartMarker();
+ return basicGetStartMarker();
}
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.MARKED_ELEMENT__END_MARKER:
- setEndMarker((Marker) newValue);
- return;
- case DGPackage.MARKED_ELEMENT__MID_MARKER:
- setMidMarker((Marker) newValue);
- return;
- case DGPackage.MARKED_ELEMENT__START_MARKER:
- setStartMarker((Marker) newValue);
- return;
+ case DGPackage.MARKED_ELEMENT__END_MARKER:
+ setEndMarker((Marker)newValue);
+ return;
+ case DGPackage.MARKED_ELEMENT__MID_MARKER:
+ setMidMarker((Marker)newValue);
+ return;
+ case DGPackage.MARKED_ELEMENT__START_MARKER:
+ setStartMarker((Marker)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.MARKED_ELEMENT__END_MARKER:
- setEndMarker((Marker) null);
- return;
- case DGPackage.MARKED_ELEMENT__MID_MARKER:
- setMidMarker((Marker) null);
- return;
- case DGPackage.MARKED_ELEMENT__START_MARKER:
- setStartMarker((Marker) null);
- return;
+ case DGPackage.MARKED_ELEMENT__END_MARKER:
+ setEndMarker((Marker)null);
+ return;
+ case DGPackage.MARKED_ELEMENT__MID_MARKER:
+ setMidMarker((Marker)null);
+ return;
+ case DGPackage.MARKED_ELEMENT__START_MARKER:
+ setStartMarker((Marker)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.MARKED_ELEMENT__END_MARKER:
- return endMarker != null;
- case DGPackage.MARKED_ELEMENT__MID_MARKER:
- return midMarker != null;
- case DGPackage.MARKED_ELEMENT__START_MARKER:
- return startMarker != null;
+ case DGPackage.MARKED_ELEMENT__END_MARKER:
+ return endMarker != null;
+ case DGPackage.MARKED_ELEMENT__MID_MARKER:
+ return midMarker != null;
+ case DGPackage.MARKED_ELEMENT__START_MARKER:
+ return startMarker != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -418,16 +378,12 @@ public abstract class MarkedElementImpl extends GraphicalElementImpl implements
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP:
- return referencedStartMarkerHasId(
- (DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP:
- return referencedMidMarkerHasId((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.MARKED_ELEMENT___REFERENCED_END_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP:
- return referencedEndMarkerHasId((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.MARKED_ELEMENT___REFERENCED_START_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP:
+ return referencedStartMarkerHasId((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.MARKED_ELEMENT___REFERENCED_MID_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP:
+ return referencedMidMarkerHasId((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.MARKED_ELEMENT___REFERENCED_END_MARKER_HAS_ID__DIAGNOSTICCHAIN_MAP:
+ return referencedEndMarkerHasId((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkerImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkerImpl.java
index fa7148fc24f..8f99c1e14dc 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkerImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MarkerImpl.java
@@ -31,19 +31,17 @@ import org.eclipse.papyrus.dd.dg.Marker;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkerImpl#getSize <em>Size</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkerImpl#getReference <em>
- * Reference</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkerImpl#getSize <em>Size</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MarkerImpl#getReference <em>Reference</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class MarkerImpl extends GroupImpl implements Marker {
/**
- * The cached value of the '{@link #getSize() <em>Size</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getSize() <em>Size</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getSize()
* @generated
* @ordered
@@ -51,9 +49,8 @@ public class MarkerImpl extends GroupImpl implements Marker {
protected Dimension size;
/**
- * The cached value of the '{@link #getReference() <em>Reference</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getReference() <em>Reference</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getReference()
* @generated
* @ordered
@@ -62,7 +59,6 @@ public class MarkerImpl extends GroupImpl implements Marker {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected MarkerImpl() {
@@ -71,7 +67,6 @@ public class MarkerImpl extends GroupImpl implements Marker {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -81,7 +76,6 @@ public class MarkerImpl extends GroupImpl implements Marker {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Dimension getSize() {
@@ -90,7 +84,6 @@ public class MarkerImpl extends GroupImpl implements Marker {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetSize(Dimension newSize,
@@ -98,43 +91,32 @@ public class MarkerImpl extends GroupImpl implements Marker {
Dimension oldSize = size;
size = newSize;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.MARKER__SIZE, oldSize, newSize);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.MARKER__SIZE, oldSize, newSize);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setSize(Dimension newSize) {
if (newSize != size) {
NotificationChain msgs = null;
if (size != null)
- msgs = ((InternalEObject) size).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.MARKER__SIZE, null,
- msgs);
+ msgs = ((InternalEObject)size).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.MARKER__SIZE, null, msgs);
if (newSize != null)
- msgs = ((InternalEObject) newSize).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.MARKER__SIZE, null,
- msgs);
+ msgs = ((InternalEObject)newSize).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.MARKER__SIZE, null, msgs);
msgs = basicSetSize(newSize, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MARKER__SIZE, newSize, newSize));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MARKER__SIZE, newSize, newSize));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getReference() {
@@ -143,7 +125,6 @@ public class MarkerImpl extends GroupImpl implements Marker {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetReference(Point newReference,
@@ -151,122 +132,106 @@ public class MarkerImpl extends GroupImpl implements Marker {
Point oldReference = reference;
reference = newReference;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.MARKER__REFERENCE,
- oldReference, newReference);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.MARKER__REFERENCE, oldReference, newReference);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setReference(Point newReference) {
if (newReference != reference) {
NotificationChain msgs = null;
if (reference != null)
- msgs = ((InternalEObject) reference).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.MARKER__REFERENCE,
- null, msgs);
+ msgs = ((InternalEObject)reference).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.MARKER__REFERENCE, null, msgs);
if (newReference != null)
- msgs = ((InternalEObject) newReference).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.MARKER__REFERENCE,
- null, msgs);
+ msgs = ((InternalEObject)newReference).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.MARKER__REFERENCE, null, msgs);
msgs = basicSetReference(newReference, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MARKER__REFERENCE, newReference, newReference));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MARKER__REFERENCE, newReference, newReference));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.MARKER__SIZE:
- return basicSetSize(null, msgs);
- case DGPackage.MARKER__REFERENCE:
- return basicSetReference(null, msgs);
+ case DGPackage.MARKER__SIZE:
+ return basicSetSize(null, msgs);
+ case DGPackage.MARKER__REFERENCE:
+ return basicSetReference(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 DGPackage.MARKER__SIZE:
- return getSize();
- case DGPackage.MARKER__REFERENCE:
- return getReference();
+ case DGPackage.MARKER__SIZE:
+ return getSize();
+ case DGPackage.MARKER__REFERENCE:
+ return getReference();
}
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.MARKER__SIZE:
- setSize((Dimension) newValue);
- return;
- case DGPackage.MARKER__REFERENCE:
- setReference((Point) newValue);
- return;
+ case DGPackage.MARKER__SIZE:
+ setSize((Dimension)newValue);
+ return;
+ case DGPackage.MARKER__REFERENCE:
+ setReference((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.MARKER__SIZE:
- setSize((Dimension) null);
- return;
- case DGPackage.MARKER__REFERENCE:
- setReference((Point) null);
- return;
+ case DGPackage.MARKER__SIZE:
+ setSize((Dimension)null);
+ return;
+ case DGPackage.MARKER__REFERENCE:
+ setReference((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.MARKER__SIZE:
- return size != null;
- case DGPackage.MARKER__REFERENCE:
- return reference != null;
+ case DGPackage.MARKER__SIZE:
+ return size != null;
+ case DGPackage.MARKER__REFERENCE:
+ return reference != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MatrixImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MatrixImpl.java
index 900a78c99bd..ea01fdcb707 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MatrixImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MatrixImpl.java
@@ -26,15 +26,15 @@ import org.eclipse.papyrus.dd.dg.Matrix;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getA <em>A</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getB <em>B</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getC <em>C</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getD <em>D</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getE <em>E</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getF <em>F</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getA <em>A</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getB <em>B</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getC <em>C</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getD <em>D</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getE <em>E</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MatrixImpl#getF <em>F</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class MatrixImpl extends TransformImpl implements Matrix {
@@ -160,7 +160,6 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected MatrixImpl() {
@@ -169,7 +168,6 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -179,7 +177,6 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getA() {
@@ -188,20 +185,17 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setA(double newA) {
double oldA = a;
a = newA;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MATRIX__A, oldA, a));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MATRIX__A, oldA, a));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getB() {
@@ -210,20 +204,17 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setB(double newB) {
double oldB = b;
b = newB;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MATRIX__B, oldB, b));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MATRIX__B, oldB, b));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getC() {
@@ -232,20 +223,17 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setC(double newC) {
double oldC = c;
c = newC;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MATRIX__C, oldC, c));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MATRIX__C, oldC, c));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getD() {
@@ -254,20 +242,17 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setD(double newD) {
double oldD = d;
d = newD;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MATRIX__D, oldD, d));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MATRIX__D, oldD, d));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getE() {
@@ -276,20 +261,17 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setE(double newE) {
double oldE = e;
e = newE;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MATRIX__E, oldE, e));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MATRIX__E, oldE, e));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getF() {
@@ -298,134 +280,126 @@ public class MatrixImpl extends TransformImpl implements Matrix {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setF(double newF) {
double oldF = f;
f = newF;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MATRIX__F, oldF, f));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MATRIX__F, oldF, f));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.MATRIX__A:
- return getA();
- case DGPackage.MATRIX__B:
- return getB();
- case DGPackage.MATRIX__C:
- return getC();
- case DGPackage.MATRIX__D:
- return getD();
- case DGPackage.MATRIX__E:
- return getE();
- case DGPackage.MATRIX__F:
- return getF();
+ case DGPackage.MATRIX__A:
+ return getA();
+ case DGPackage.MATRIX__B:
+ return getB();
+ case DGPackage.MATRIX__C:
+ return getC();
+ case DGPackage.MATRIX__D:
+ return getD();
+ case DGPackage.MATRIX__E:
+ return getE();
+ case DGPackage.MATRIX__F:
+ return getF();
}
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.MATRIX__A:
- setA((Double) newValue);
- return;
- case DGPackage.MATRIX__B:
- setB((Double) newValue);
- return;
- case DGPackage.MATRIX__C:
- setC((Double) newValue);
- return;
- case DGPackage.MATRIX__D:
- setD((Double) newValue);
- return;
- case DGPackage.MATRIX__E:
- setE((Double) newValue);
- return;
- case DGPackage.MATRIX__F:
- setF((Double) newValue);
- return;
+ case DGPackage.MATRIX__A:
+ setA((Double)newValue);
+ return;
+ case DGPackage.MATRIX__B:
+ setB((Double)newValue);
+ return;
+ case DGPackage.MATRIX__C:
+ setC((Double)newValue);
+ return;
+ case DGPackage.MATRIX__D:
+ setD((Double)newValue);
+ return;
+ case DGPackage.MATRIX__E:
+ setE((Double)newValue);
+ return;
+ case DGPackage.MATRIX__F:
+ setF((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.MATRIX__A:
- setA(A_EDEFAULT);
- return;
- case DGPackage.MATRIX__B:
- setB(B_EDEFAULT);
- return;
- case DGPackage.MATRIX__C:
- setC(C_EDEFAULT);
- return;
- case DGPackage.MATRIX__D:
- setD(D_EDEFAULT);
- return;
- case DGPackage.MATRIX__E:
- setE(E_EDEFAULT);
- return;
- case DGPackage.MATRIX__F:
- setF(F_EDEFAULT);
- return;
+ case DGPackage.MATRIX__A:
+ setA(A_EDEFAULT);
+ return;
+ case DGPackage.MATRIX__B:
+ setB(B_EDEFAULT);
+ return;
+ case DGPackage.MATRIX__C:
+ setC(C_EDEFAULT);
+ return;
+ case DGPackage.MATRIX__D:
+ setD(D_EDEFAULT);
+ return;
+ case DGPackage.MATRIX__E:
+ setE(E_EDEFAULT);
+ return;
+ case DGPackage.MATRIX__F:
+ setF(F_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.MATRIX__A:
- return a != A_EDEFAULT;
- case DGPackage.MATRIX__B:
- return b != B_EDEFAULT;
- case DGPackage.MATRIX__C:
- return c != C_EDEFAULT;
- case DGPackage.MATRIX__D:
- return d != D_EDEFAULT;
- case DGPackage.MATRIX__E:
- return e != E_EDEFAULT;
- case DGPackage.MATRIX__F:
- return f != F_EDEFAULT;
+ case DGPackage.MATRIX__A:
+ return a != A_EDEFAULT;
+ case DGPackage.MATRIX__B:
+ return b != B_EDEFAULT;
+ case DGPackage.MATRIX__C:
+ return c != C_EDEFAULT;
+ case DGPackage.MATRIX__D:
+ return d != D_EDEFAULT;
+ case DGPackage.MATRIX__E:
+ return e != E_EDEFAULT;
+ case DGPackage.MATRIX__F:
+ return f != F_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(" (a: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MoveToImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MoveToImpl.java
index 3205cf0362c..8f37118cc3f 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MoveToImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/MoveToImpl.java
@@ -30,18 +30,16 @@ import org.eclipse.papyrus.dd.dg.MoveTo;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.MoveToImpl#getPoint <em>Point</em>}
- * </li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.MoveToImpl#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class MoveToImpl extends PathCommandImpl implements MoveTo {
/**
- * The cached value of the '{@link #getPoint() <em>Point</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPoint() <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPoint()
* @generated
* @ordered
@@ -50,7 +48,6 @@ public class MoveToImpl extends PathCommandImpl implements MoveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected MoveToImpl() {
@@ -59,7 +56,6 @@ public class MoveToImpl extends PathCommandImpl implements MoveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -69,7 +65,6 @@ public class MoveToImpl extends PathCommandImpl implements MoveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getPoint() {
@@ -78,7 +73,6 @@ public class MoveToImpl extends PathCommandImpl implements MoveTo {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetPoint(Point newPoint,
@@ -86,110 +80,94 @@ public class MoveToImpl extends PathCommandImpl implements MoveTo {
Point oldPoint = point;
point = newPoint;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.MOVE_TO__POINT, oldPoint,
- newPoint);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.MOVE_TO__POINT, oldPoint, newPoint);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setPoint(Point newPoint) {
if (newPoint != point) {
NotificationChain msgs = null;
if (point != null)
- msgs = ((InternalEObject) point).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.MOVE_TO__POINT,
- null, msgs);
+ msgs = ((InternalEObject)point).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.MOVE_TO__POINT, null, msgs);
if (newPoint != null)
- msgs = ((InternalEObject) newPoint).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.MOVE_TO__POINT,
- null, msgs);
+ msgs = ((InternalEObject)newPoint).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.MOVE_TO__POINT, null, msgs);
msgs = basicSetPoint(newPoint, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.MOVE_TO__POINT, newPoint, newPoint));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.MOVE_TO__POINT, newPoint, newPoint));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.MOVE_TO__POINT:
- return basicSetPoint(null, msgs);
+ case DGPackage.MOVE_TO__POINT:
+ return basicSetPoint(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 DGPackage.MOVE_TO__POINT:
- return getPoint();
+ case DGPackage.MOVE_TO__POINT:
+ return getPoint();
}
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.MOVE_TO__POINT:
- setPoint((Point) newValue);
- return;
+ case DGPackage.MOVE_TO__POINT:
+ setPoint((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.MOVE_TO__POINT:
- setPoint((Point) null);
- return;
+ case DGPackage.MOVE_TO__POINT:
+ setPoint((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.MOVE_TO__POINT:
- return point != null;
+ case DGPackage.MOVE_TO__POINT:
+ return point != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintImpl.java
index 6cb0c90062a..d39d471fac8 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintImpl.java
@@ -37,19 +37,17 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PaintImpl#getColor <em>Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PaintImpl#getPaintServer <em>Paint
- * Server</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PaintImpl#getColor <em>Color</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PaintImpl#getPaintServer <em>Paint Server</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* The default value of the '{@link #getColor() <em>Color</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getColor()
* @generated
* @ordered
@@ -59,7 +57,6 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* The cached value of the '{@link #getColor() <em>Color</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getColor()
* @generated
* @ordered
@@ -67,9 +64,8 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
protected Color color = COLOR_EDEFAULT;
/**
- * The cached value of the '{@link #getPaintServer() <em>Paint Server</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPaintServer() <em>Paint Server</em>}' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPaintServer()
* @generated
* @ordered
@@ -78,7 +74,6 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected PaintImpl() {
@@ -87,7 +82,6 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -97,7 +91,6 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Color getColor() {
@@ -106,31 +99,26 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setColor(Color newColor) {
Color oldColor = color;
color = newColor;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.PAINT__COLOR, oldColor, color));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.PAINT__COLOR, oldColor, color));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public PaintServer getPaintServer() {
if (paintServer != null && paintServer.eIsProxy()) {
- InternalEObject oldPaintServer = (InternalEObject) paintServer;
- paintServer = (PaintServer) eResolveProxy(oldPaintServer);
+ InternalEObject oldPaintServer = (InternalEObject)paintServer;
+ paintServer = (PaintServer)eResolveProxy(oldPaintServer);
if (paintServer != oldPaintServer) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DGPackage.PAINT__PAINT_SERVER, oldPaintServer,
- paintServer));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DGPackage.PAINT__PAINT_SERVER, oldPaintServer, paintServer));
}
}
return paintServer;
@@ -138,7 +126,6 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public PaintServer basicGetPaintServer() {
@@ -147,15 +134,13 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setPaintServer(PaintServer newPaintServer) {
PaintServer oldPaintServer = paintServer;
paintServer = newPaintServer;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.PAINT__PAINT_SERVER, oldPaintServer, paintServer));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.PAINT__PAINT_SERVER, oldPaintServer, paintServer));
}
/**
@@ -173,98 +158,91 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean referencedPaintServerHasId(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.PAINT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.PAINT___REFERENCED_PAINT_SERVER_HAS_ID__DIAGNOSTICCHAIN_MAP,
- REFERENCED_PAINT_SERVER_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.PAINT__REFERENCED_PAINT_SERVER_HAS_ID);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.PAINT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.PAINT___REFERENCED_PAINT_SERVER_HAS_ID__DIAGNOSTICCHAIN_MAP,
+ REFERENCED_PAINT_SERVER_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.PAINT__REFERENCED_PAINT_SERVER_HAS_ID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.PAINT__COLOR:
- return getColor();
- case DGPackage.PAINT__PAINT_SERVER:
- if (resolve)
- return getPaintServer();
- return basicGetPaintServer();
+ case DGPackage.PAINT__COLOR:
+ return getColor();
+ case DGPackage.PAINT__PAINT_SERVER:
+ if (resolve) return getPaintServer();
+ return basicGetPaintServer();
}
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.PAINT__COLOR:
- setColor((Color) newValue);
- return;
- case DGPackage.PAINT__PAINT_SERVER:
- setPaintServer((PaintServer) newValue);
- return;
+ case DGPackage.PAINT__COLOR:
+ setColor((Color)newValue);
+ return;
+ case DGPackage.PAINT__PAINT_SERVER:
+ setPaintServer((PaintServer)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.PAINT__COLOR:
- setColor(COLOR_EDEFAULT);
- return;
- case DGPackage.PAINT__PAINT_SERVER:
- setPaintServer((PaintServer) null);
- return;
+ case DGPackage.PAINT__COLOR:
+ setColor(COLOR_EDEFAULT);
+ return;
+ case DGPackage.PAINT__PAINT_SERVER:
+ setPaintServer((PaintServer)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.PAINT__COLOR:
- return COLOR_EDEFAULT == null ? color != null : !COLOR_EDEFAULT
- .equals(color);
- case DGPackage.PAINT__PAINT_SERVER:
- return paintServer != null;
+ case DGPackage.PAINT__COLOR:
+ return COLOR_EDEFAULT == null ? color != null : !COLOR_EDEFAULT.equals(color);
+ case DGPackage.PAINT__PAINT_SERVER:
+ return paintServer != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -272,23 +250,19 @@ public class PaintImpl extends MinimalEObjectImpl.Container implements Paint {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.PAINT___REFERENCED_PAINT_SERVER_HAS_ID__DIAGNOSTICCHAIN_MAP:
- return referencedPaintServerHasId(
- (DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.PAINT___REFERENCED_PAINT_SERVER_HAS_ID__DIAGNOSTICCHAIN_MAP:
+ return referencedPaintServerHasId((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (color: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintServerImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintServerImpl.java
index 6d5b9cfabdc..3c4af5ba7f1 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintServerImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PaintServerImpl.java
@@ -33,19 +33,17 @@ import org.eclipse.papyrus.dd.dg.Transform;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PaintServerImpl#getTransforms <em>
- * Transform</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PaintServerImpl#getTransforms <em>Transform</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class PaintServerImpl extends DefinitionImpl implements
PaintServer {
/**
- * The cached value of the '{@link #getTransforms() <em>Transform</em>}'
- * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getTransforms() <em>Transform</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getTransforms()
* @generated
* @ordered
@@ -54,7 +52,6 @@ public abstract class PaintServerImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected PaintServerImpl() {
@@ -63,7 +60,6 @@ public abstract class PaintServerImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -73,89 +69,81 @@ public abstract class PaintServerImpl extends DefinitionImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<Transform> getTransforms() {
if (transforms == null) {
- transforms = new EObjectContainmentEList<Transform>(
- Transform.class, this, DGPackage.PAINT_SERVER__TRANSFORM);
+ transforms = new EObjectContainmentEList<Transform>(Transform.class, this, DGPackage.PAINT_SERVER__TRANSFORM);
}
return transforms;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.PAINT_SERVER__TRANSFORM:
- return ((InternalEList<?>) getTransforms()).basicRemove(otherEnd,
- msgs);
+ case DGPackage.PAINT_SERVER__TRANSFORM:
+ return ((InternalEList<?>)getTransforms()).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 DGPackage.PAINT_SERVER__TRANSFORM:
- return getTransforms();
+ case DGPackage.PAINT_SERVER__TRANSFORM:
+ return getTransforms();
}
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 DGPackage.PAINT_SERVER__TRANSFORM:
- getTransforms().clear();
- getTransforms().addAll((Collection<? extends Transform>) newValue);
- return;
+ case DGPackage.PAINT_SERVER__TRANSFORM:
+ getTransforms().clear();
+ getTransforms().addAll((Collection<? extends Transform>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.PAINT_SERVER__TRANSFORM:
- getTransforms().clear();
- return;
+ case DGPackage.PAINT_SERVER__TRANSFORM:
+ getTransforms().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.PAINT_SERVER__TRANSFORM:
- return transforms != null && !transforms.isEmpty();
+ case DGPackage.PAINT_SERVER__TRANSFORM:
+ return transforms != null && !transforms.isEmpty();
}
return super.eIsSet(featureID);
}
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 59dea1b0308..9486a5a582c 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
@@ -27,19 +27,17 @@ import org.eclipse.papyrus.dd.dg.PathCommand;
* <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 {
/**
- * The default value of the '{@link #isRelative() <em>Is Relative</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #isRelative() <em>Is Relative</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isRelative()
* @generated
* @ordered
@@ -47,9 +45,8 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
protected static final boolean IS_RELATIVE_EDEFAULT = false;
/**
- * The cached value of the '{@link #isRelative() <em>Is Relative</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #isRelative() <em>Is Relative</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isRelative()
* @generated
* @ordered
@@ -58,7 +55,6 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected PathCommandImpl() {
@@ -67,7 +63,6 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -77,7 +72,6 @@ public abstract class PathCommandImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isRelative() {
@@ -86,85 +80,76 @@ 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())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.PATH_COMMAND__IS_RELATIVE, oldIsRelative,
- isRelative));
+ 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();
+ 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;
+ 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;
+ 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;
+ 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: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathImpl.java
index e7cfcabf7fb..ab4eb4d1583 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PathImpl.java
@@ -38,18 +38,16 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PathImpl#getCommands <em>Command
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PathImpl#getCommands <em>Command</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PathImpl extends MarkedElementImpl implements Path {
/**
- * The cached value of the '{@link #getCommands() <em>Command</em>}'
- * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getCommands() <em>Command</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getCommands()
* @generated
* @ordered
@@ -58,7 +56,6 @@ public class PathImpl extends MarkedElementImpl implements Path {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected PathImpl() {
@@ -67,7 +64,6 @@ public class PathImpl extends MarkedElementImpl implements Path {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -77,13 +73,11 @@ public class PathImpl extends MarkedElementImpl implements Path {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<PathCommand> getCommands() {
if (commands == null) {
- commands = new EObjectContainmentEList<PathCommand>(
- PathCommand.class, this, DGPackage.PATH__COMMAND);
+ commands = new EObjectContainmentEList<PathCommand>(PathCommand.class, this, DGPackage.PATH__COMMAND);
}
return commands;
}
@@ -103,103 +97,96 @@ public class PathImpl extends MarkedElementImpl implements Path {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean firstCommandMustBeMove(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.PATH,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.PATH___FIRST_COMMAND_MUST_BE_MOVE__DIAGNOSTICCHAIN_MAP,
- FIRST_COMMAND_MUST_BE_MOVE_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.PATH__FIRST_COMMAND_MUST_BE_MOVE);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.PATH,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.PATH___FIRST_COMMAND_MUST_BE_MOVE__DIAGNOSTICCHAIN_MAP,
+ FIRST_COMMAND_MUST_BE_MOVE_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.PATH__FIRST_COMMAND_MUST_BE_MOVE);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.PATH__COMMAND:
- return ((InternalEList<?>) getCommands()).basicRemove(otherEnd,
- msgs);
+ case DGPackage.PATH__COMMAND:
+ return ((InternalEList<?>)getCommands()).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 DGPackage.PATH__COMMAND:
- return getCommands();
+ case DGPackage.PATH__COMMAND:
+ return getCommands();
}
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 DGPackage.PATH__COMMAND:
- getCommands().clear();
- getCommands().addAll((Collection<? extends PathCommand>) newValue);
- return;
+ case DGPackage.PATH__COMMAND:
+ getCommands().clear();
+ getCommands().addAll((Collection<? extends PathCommand>)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:
- getCommands().clear();
- return;
+ case DGPackage.PATH__COMMAND:
+ getCommands().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.PATH__COMMAND:
- return commands != null && !commands.isEmpty();
+ case DGPackage.PATH__COMMAND:
+ return commands != null && !commands.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -207,9 +194,8 @@ public class PathImpl extends MarkedElementImpl implements Path {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.PATH___FIRST_COMMAND_MUST_BE_MOVE__DIAGNOSTICCHAIN_MAP:
- return firstCommandMustBeMove((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.PATH___FIRST_COMMAND_MUST_BE_MOVE__DIAGNOSTICCHAIN_MAP:
+ return firstCommandMustBeMove((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PatternImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PatternImpl.java
index d1d7ed040ee..5c5ce1126c7 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PatternImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PatternImpl.java
@@ -31,19 +31,17 @@ import org.eclipse.papyrus.dd.dg.Pattern;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PatternImpl#getBounds <em>Bounds
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PatternImpl#getTile <em>Tile</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PatternImpl#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PatternImpl#getTile <em>Tile</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PatternImpl extends PaintServerImpl implements Pattern {
/**
- * The cached value of the '{@link #getBounds() <em>Bounds</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getBounds()
* @generated
* @ordered
@@ -51,9 +49,8 @@ public class PatternImpl extends PaintServerImpl implements Pattern {
protected Bounds bounds;
/**
- * The cached value of the '{@link #getTile() <em>Tile</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getTile() <em>Tile</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getTile()
* @generated
* @ordered
@@ -62,7 +59,6 @@ public class PatternImpl extends PaintServerImpl implements Pattern {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected PatternImpl() {
@@ -71,7 +67,6 @@ public class PatternImpl extends PaintServerImpl implements Pattern {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -81,7 +76,6 @@ public class PatternImpl extends PaintServerImpl implements Pattern {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Bounds getBounds() {
@@ -90,7 +84,6 @@ public class PatternImpl extends PaintServerImpl implements Pattern {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetBounds(Bounds newBounds,
@@ -98,44 +91,32 @@ public class PatternImpl extends PaintServerImpl implements Pattern {
Bounds oldBounds = bounds;
bounds = newBounds;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.PATTERN__BOUNDS, oldBounds,
- newBounds);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.PATTERN__BOUNDS, oldBounds, newBounds);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setBounds(Bounds newBounds) {
if (newBounds != bounds) {
NotificationChain msgs = null;
if (bounds != null)
- msgs = ((InternalEObject) bounds).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.PATTERN__BOUNDS,
- null, msgs);
+ msgs = ((InternalEObject)bounds).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.PATTERN__BOUNDS, null, msgs);
if (newBounds != null)
- msgs = ((InternalEObject) newBounds).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.PATTERN__BOUNDS,
- null, msgs);
+ msgs = ((InternalEObject)newBounds).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.PATTERN__BOUNDS, null, msgs);
msgs = basicSetBounds(newBounds, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.PATTERN__BOUNDS, newBounds, newBounds));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.PATTERN__BOUNDS, newBounds, newBounds));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public GraphicalElement getTile() {
@@ -144,7 +125,6 @@ public class PatternImpl extends PaintServerImpl implements Pattern {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetTile(GraphicalElement newTile,
@@ -152,121 +132,106 @@ public class PatternImpl extends PaintServerImpl implements Pattern {
GraphicalElement oldTile = tile;
tile = newTile;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.PATTERN__TILE, oldTile, newTile);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.PATTERN__TILE, oldTile, newTile);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setTile(GraphicalElement newTile) {
if (newTile != tile) {
NotificationChain msgs = null;
if (tile != null)
- msgs = ((InternalEObject) tile).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.PATTERN__TILE, null,
- msgs);
+ msgs = ((InternalEObject)tile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.PATTERN__TILE, null, msgs);
if (newTile != null)
- msgs = ((InternalEObject) newTile).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.PATTERN__TILE, null,
- msgs);
+ msgs = ((InternalEObject)newTile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.PATTERN__TILE, null, msgs);
msgs = basicSetTile(newTile, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.PATTERN__TILE, newTile, newTile));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.PATTERN__TILE, newTile, newTile));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.PATTERN__BOUNDS:
- return basicSetBounds(null, msgs);
- case DGPackage.PATTERN__TILE:
- return basicSetTile(null, msgs);
+ case DGPackage.PATTERN__BOUNDS:
+ return basicSetBounds(null, msgs);
+ case DGPackage.PATTERN__TILE:
+ return basicSetTile(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 DGPackage.PATTERN__BOUNDS:
- return getBounds();
- case DGPackage.PATTERN__TILE:
- return getTile();
+ case DGPackage.PATTERN__BOUNDS:
+ return getBounds();
+ case DGPackage.PATTERN__TILE:
+ return getTile();
}
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.PATTERN__BOUNDS:
- setBounds((Bounds) newValue);
- return;
- case DGPackage.PATTERN__TILE:
- setTile((GraphicalElement) newValue);
- return;
+ case DGPackage.PATTERN__BOUNDS:
+ setBounds((Bounds)newValue);
+ return;
+ case DGPackage.PATTERN__TILE:
+ setTile((GraphicalElement)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.PATTERN__BOUNDS:
- setBounds((Bounds) null);
- return;
- case DGPackage.PATTERN__TILE:
- setTile((GraphicalElement) null);
- return;
+ case DGPackage.PATTERN__BOUNDS:
+ setBounds((Bounds)null);
+ return;
+ case DGPackage.PATTERN__TILE:
+ setTile((GraphicalElement)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.PATTERN__BOUNDS:
- return bounds != null;
- case DGPackage.PATTERN__TILE:
- return tile != null;
+ case DGPackage.PATTERN__BOUNDS:
+ return bounds != null;
+ case DGPackage.PATTERN__TILE:
+ return tile != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolygonImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolygonImpl.java
index 6d57c528441..0074d113279 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolygonImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolygonImpl.java
@@ -34,18 +34,16 @@ import org.eclipse.papyrus.dd.dg.Polygon;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PolygonImpl#getPoints <em>Point
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PolygonImpl#getPoints <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PolygonImpl extends MarkedElementImpl implements Polygon {
/**
- * The cached value of the '{@link #getPoints() <em>Point</em>}' containment
- * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPoints() <em>Point</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPoints()
* @generated
* @ordered
@@ -54,7 +52,6 @@ public class PolygonImpl extends MarkedElementImpl implements Polygon {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected PolygonImpl() {
@@ -63,7 +60,6 @@ public class PolygonImpl extends MarkedElementImpl implements Polygon {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -73,88 +69,81 @@ public class PolygonImpl extends MarkedElementImpl implements Polygon {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<Point> getPoints() {
if (points == null) {
- points = new EObjectContainmentEList<Point>(Point.class, this,
- DGPackage.POLYGON__POINT);
+ points = new EObjectContainmentEList<Point>(Point.class, this, DGPackage.POLYGON__POINT);
}
return points;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.POLYGON__POINT:
- return ((InternalEList<?>) getPoints()).basicRemove(otherEnd, msgs);
+ case DGPackage.POLYGON__POINT:
+ return ((InternalEList<?>)getPoints()).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 DGPackage.POLYGON__POINT:
- return getPoints();
+ case DGPackage.POLYGON__POINT:
+ return getPoints();
}
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 DGPackage.POLYGON__POINT:
- getPoints().clear();
- getPoints().addAll((Collection<? extends Point>) newValue);
- return;
+ case DGPackage.POLYGON__POINT:
+ getPoints().clear();
+ getPoints().addAll((Collection<? extends Point>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.POLYGON__POINT:
- getPoints().clear();
- return;
+ case DGPackage.POLYGON__POINT:
+ getPoints().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.POLYGON__POINT:
- return points != null && !points.isEmpty();
+ case DGPackage.POLYGON__POINT:
+ return points != null && !points.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolylineImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolylineImpl.java
index cce07850fcd..090c4835bed 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolylineImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/PolylineImpl.java
@@ -34,18 +34,16 @@ import org.eclipse.papyrus.dd.dg.Polyline;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.PolylineImpl#getPoints <em>Point
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.PolylineImpl#getPoints <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PolylineImpl extends MarkedElementImpl implements Polyline {
/**
- * The cached value of the '{@link #getPoints() <em>Point</em>}' containment
- * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPoints() <em>Point</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPoints()
* @generated
* @ordered
@@ -54,7 +52,6 @@ public class PolylineImpl extends MarkedElementImpl implements Polyline {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected PolylineImpl() {
@@ -63,7 +60,6 @@ public class PolylineImpl extends MarkedElementImpl implements Polyline {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -73,88 +69,81 @@ public class PolylineImpl extends MarkedElementImpl implements Polyline {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<Point> getPoints() {
if (points == null) {
- points = new EObjectContainmentEList<Point>(Point.class, this,
- DGPackage.POLYLINE__POINT);
+ points = new EObjectContainmentEList<Point>(Point.class, this, DGPackage.POLYLINE__POINT);
}
return points;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.POLYLINE__POINT:
- return ((InternalEList<?>) getPoints()).basicRemove(otherEnd, msgs);
+ case DGPackage.POLYLINE__POINT:
+ return ((InternalEList<?>)getPoints()).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 DGPackage.POLYLINE__POINT:
- return getPoints();
+ case DGPackage.POLYLINE__POINT:
+ return getPoints();
}
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 DGPackage.POLYLINE__POINT:
- getPoints().clear();
- getPoints().addAll((Collection<? extends Point>) newValue);
- return;
+ case DGPackage.POLYLINE__POINT:
+ getPoints().clear();
+ getPoints().addAll((Collection<? extends Point>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.POLYLINE__POINT:
- getPoints().clear();
- return;
+ case DGPackage.POLYLINE__POINT:
+ getPoints().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.POLYLINE__POINT:
- return points != null && !points.isEmpty();
+ case DGPackage.POLYLINE__POINT:
+ return points != null && !points.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/QuadraticCurveToImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/QuadraticCurveToImpl.java
index 3d6d6b93a2a..83b7784bf49 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/QuadraticCurveToImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/QuadraticCurveToImpl.java
@@ -30,21 +30,18 @@ import org.eclipse.papyrus.dd.dg.QuadraticCurveTo;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl#getControl
- * <em>Control</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl#getPoint <em>
- * Point</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl#getControl <em>Control</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.QuadraticCurveToImpl#getPoint <em>Point</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class QuadraticCurveToImpl extends PathCommandImpl implements
QuadraticCurveTo {
/**
- * The cached value of the '{@link #getControl() <em>Control</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getControl() <em>Control</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getControl()
* @generated
* @ordered
@@ -52,9 +49,8 @@ public class QuadraticCurveToImpl extends PathCommandImpl implements
protected Point control;
/**
- * The cached value of the '{@link #getPoint() <em>Point</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPoint() <em>Point</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPoint()
* @generated
* @ordered
@@ -63,7 +59,6 @@ public class QuadraticCurveToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected QuadraticCurveToImpl() {
@@ -72,7 +67,6 @@ public class QuadraticCurveToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -82,7 +76,6 @@ public class QuadraticCurveToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getPoint() {
@@ -91,7 +84,6 @@ public class QuadraticCurveToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetPoint(Point newPoint,
@@ -99,46 +91,32 @@ public class QuadraticCurveToImpl extends PathCommandImpl implements
Point oldPoint = point;
point = newPoint;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.QUADRATIC_CURVE_TO__POINT,
- oldPoint, newPoint);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.QUADRATIC_CURVE_TO__POINT, oldPoint, newPoint);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setPoint(Point newPoint) {
if (newPoint != point) {
NotificationChain msgs = null;
if (point != null)
- msgs = ((InternalEObject) point).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.QUADRATIC_CURVE_TO__POINT, null,
- msgs);
+ msgs = ((InternalEObject)point).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.QUADRATIC_CURVE_TO__POINT, null, msgs);
if (newPoint != null)
- msgs = ((InternalEObject) newPoint).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.QUADRATIC_CURVE_TO__POINT, null,
- msgs);
+ msgs = ((InternalEObject)newPoint).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.QUADRATIC_CURVE_TO__POINT, null, msgs);
msgs = basicSetPoint(newPoint, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.QUADRATIC_CURVE_TO__POINT, newPoint, newPoint));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.QUADRATIC_CURVE_TO__POINT, newPoint, newPoint));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getControl() {
@@ -147,7 +125,6 @@ public class QuadraticCurveToImpl extends PathCommandImpl implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetControl(Point newControl,
@@ -155,125 +132,106 @@ public class QuadraticCurveToImpl extends PathCommandImpl implements
Point oldControl = control;
control = newControl;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.QUADRATIC_CURVE_TO__CONTROL,
- oldControl, newControl);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.QUADRATIC_CURVE_TO__CONTROL, oldControl, newControl);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setControl(Point newControl) {
if (newControl != control) {
NotificationChain msgs = null;
if (control != null)
- msgs = ((InternalEObject) control).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.QUADRATIC_CURVE_TO__CONTROL, null,
- msgs);
+ msgs = ((InternalEObject)control).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.QUADRATIC_CURVE_TO__CONTROL, null, msgs);
if (newControl != null)
- msgs = ((InternalEObject) newControl).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.QUADRATIC_CURVE_TO__CONTROL, null,
- msgs);
+ msgs = ((InternalEObject)newControl).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.QUADRATIC_CURVE_TO__CONTROL, null, msgs);
msgs = basicSetControl(newControl, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.QUADRATIC_CURVE_TO__CONTROL, newControl,
- newControl));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.QUADRATIC_CURVE_TO__CONTROL, newControl, newControl));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.QUADRATIC_CURVE_TO__CONTROL:
- return basicSetControl(null, msgs);
- case DGPackage.QUADRATIC_CURVE_TO__POINT:
- return basicSetPoint(null, msgs);
+ case DGPackage.QUADRATIC_CURVE_TO__CONTROL:
+ return basicSetControl(null, msgs);
+ case DGPackage.QUADRATIC_CURVE_TO__POINT:
+ return basicSetPoint(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 DGPackage.QUADRATIC_CURVE_TO__CONTROL:
- return getControl();
- case DGPackage.QUADRATIC_CURVE_TO__POINT:
- return getPoint();
+ case DGPackage.QUADRATIC_CURVE_TO__CONTROL:
+ return getControl();
+ case DGPackage.QUADRATIC_CURVE_TO__POINT:
+ return getPoint();
}
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.QUADRATIC_CURVE_TO__CONTROL:
- setControl((Point) newValue);
- return;
- case DGPackage.QUADRATIC_CURVE_TO__POINT:
- setPoint((Point) newValue);
- return;
+ case DGPackage.QUADRATIC_CURVE_TO__CONTROL:
+ setControl((Point)newValue);
+ return;
+ case DGPackage.QUADRATIC_CURVE_TO__POINT:
+ setPoint((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.QUADRATIC_CURVE_TO__CONTROL:
- setControl((Point) null);
- return;
- case DGPackage.QUADRATIC_CURVE_TO__POINT:
- setPoint((Point) null);
- return;
+ case DGPackage.QUADRATIC_CURVE_TO__CONTROL:
+ setControl((Point)null);
+ return;
+ case DGPackage.QUADRATIC_CURVE_TO__POINT:
+ setPoint((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.QUADRATIC_CURVE_TO__CONTROL:
- return control != null;
- case DGPackage.QUADRATIC_CURVE_TO__POINT:
- return point != null;
+ case DGPackage.QUADRATIC_CURVE_TO__CONTROL:
+ return control != null;
+ case DGPackage.QUADRATIC_CURVE_TO__POINT:
+ return point != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RadialGradientImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RadialGradientImpl.java
index bd9bf377c45..cbce0df2967 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RadialGradientImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RadialGradientImpl.java
@@ -39,22 +39,18 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl#getCenter <em>
- * Center</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl#getFocus <em>
- * Focus</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl#getRadius <em>
- * Radius</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl#getCenter <em>Center</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl#getFocus <em>Focus</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RadialGradientImpl#getRadius <em>Radius</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
- * The cached value of the '{@link #getCenter() <em>Center</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getCenter() <em>Center</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getCenter()
* @generated
* @ordered
@@ -62,9 +58,8 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
protected Point center;
/**
- * The cached value of the '{@link #getFocus() <em>Focus</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getFocus() <em>Focus</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFocus()
* @generated
* @ordered
@@ -72,9 +67,8 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
protected Point focus;
/**
- * The default value of the '{@link #getRadius() <em>Radius</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getRadius() <em>Radius</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getRadius()
* @generated
* @ordered
@@ -84,7 +78,6 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* The cached value of the '{@link #getRadius() <em>Radius</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getRadius()
* @generated
* @ordered
@@ -93,7 +86,6 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected RadialGradientImpl() {
@@ -102,7 +94,6 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -112,7 +103,6 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getCenter() {
@@ -121,7 +111,6 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetCenter(Point newCenter,
@@ -129,44 +118,32 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
Point oldCenter = center;
center = newCenter;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.RADIAL_GRADIENT__CENTER,
- oldCenter, newCenter);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.RADIAL_GRADIENT__CENTER, oldCenter, newCenter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setCenter(Point newCenter) {
if (newCenter != center) {
NotificationChain msgs = null;
if (center != null)
- msgs = ((InternalEObject) center)
- .eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - DGPackage.RADIAL_GRADIENT__CENTER, null, msgs);
+ msgs = ((InternalEObject)center).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.RADIAL_GRADIENT__CENTER, null, msgs);
if (newCenter != null)
- msgs = ((InternalEObject) newCenter)
- .eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - DGPackage.RADIAL_GRADIENT__CENTER, null, msgs);
+ msgs = ((InternalEObject)newCenter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.RADIAL_GRADIENT__CENTER, null, msgs);
msgs = basicSetCenter(newCenter, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.RADIAL_GRADIENT__CENTER, newCenter, newCenter));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.RADIAL_GRADIENT__CENTER, newCenter, newCenter));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getFocus() {
@@ -175,7 +152,6 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetFocus(Point newFocus,
@@ -183,44 +159,32 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
Point oldFocus = focus;
focus = newFocus;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.RADIAL_GRADIENT__FOCUS,
- oldFocus, newFocus);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.RADIAL_GRADIENT__FOCUS, oldFocus, newFocus);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFocus(Point newFocus) {
if (newFocus != focus) {
NotificationChain msgs = null;
if (focus != null)
- msgs = ((InternalEObject) focus).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.RADIAL_GRADIENT__FOCUS, null, msgs);
+ msgs = ((InternalEObject)focus).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.RADIAL_GRADIENT__FOCUS, null, msgs);
if (newFocus != null)
- msgs = ((InternalEObject) newFocus).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.RADIAL_GRADIENT__FOCUS, null, msgs);
+ msgs = ((InternalEObject)newFocus).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.RADIAL_GRADIENT__FOCUS, null, msgs);
msgs = basicSetFocus(newFocus, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.RADIAL_GRADIENT__FOCUS, newFocus, newFocus));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.RADIAL_GRADIENT__FOCUS, newFocus, newFocus));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getRadius() {
@@ -229,25 +193,20 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setRadius(double newRadius) {
double oldRadius = radius;
radius = newRadius;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.RADIAL_GRADIENT__RADIUS, oldRadius, radius));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.RADIAL_GRADIENT__RADIUS, oldRadius, radius));
}
/**
- * The cached validation expression for the '
- * {@link #validCenterPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Center Point</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #validCenterPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Center Point</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #validCenterPoint(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validCenterPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -255,32 +214,29 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validCenterPoint(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.RADIAL_GRADIENT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.RADIAL_GRADIENT___VALID_CENTER_POINT__DIAGNOSTICCHAIN_MAP,
- VALID_CENTER_POINT_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.RADIAL_GRADIENT__VALID_CENTER_POINT);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.RADIAL_GRADIENT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.RADIAL_GRADIENT___VALID_CENTER_POINT__DIAGNOSTICCHAIN_MAP,
+ VALID_CENTER_POINT_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.RADIAL_GRADIENT__VALID_CENTER_POINT);
}
/**
- * The cached validation expression for the '
- * {@link #validFocusPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Focus Point</em>}' invariant operation. <!-- begin-user-doc -->
+ * The cached validation expression for the '{@link #validFocusPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Focus Point</em>}' invariant operation.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #validFocusPoint(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validFocusPoint(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -288,32 +244,29 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validFocusPoint(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.RADIAL_GRADIENT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.RADIAL_GRADIENT___VALID_FOCUS_POINT__DIAGNOSTICCHAIN_MAP,
- VALID_FOCUS_POINT_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.RADIAL_GRADIENT__VALID_FOCUS_POINT);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.RADIAL_GRADIENT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.RADIAL_GRADIENT___VALID_FOCUS_POINT__DIAGNOSTICCHAIN_MAP,
+ VALID_FOCUS_POINT_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.RADIAL_GRADIENT__VALID_FOCUS_POINT);
}
/**
- * The cached validation expression for the '
- * {@link #validRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Radius</em>}' invariant operation. <!-- begin-user-doc --> <!--
+ * The cached validation expression for the '{@link #validRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Radius</em>}' invariant operation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #validRadius(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validRadius(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -321,122 +274,116 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validRadius(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.RADIAL_GRADIENT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.RADIAL_GRADIENT___VALID_RADIUS__DIAGNOSTICCHAIN_MAP,
- VALID_RADIUS_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.RADIAL_GRADIENT__VALID_RADIUS);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.RADIAL_GRADIENT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.RADIAL_GRADIENT___VALID_RADIUS__DIAGNOSTICCHAIN_MAP,
+ VALID_RADIUS_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.RADIAL_GRADIENT__VALID_RADIUS);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.RADIAL_GRADIENT__CENTER:
- return basicSetCenter(null, msgs);
- case DGPackage.RADIAL_GRADIENT__FOCUS:
- return basicSetFocus(null, msgs);
+ case DGPackage.RADIAL_GRADIENT__CENTER:
+ return basicSetCenter(null, msgs);
+ case DGPackage.RADIAL_GRADIENT__FOCUS:
+ return basicSetFocus(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 DGPackage.RADIAL_GRADIENT__CENTER:
- return getCenter();
- case DGPackage.RADIAL_GRADIENT__FOCUS:
- return getFocus();
- case DGPackage.RADIAL_GRADIENT__RADIUS:
- return getRadius();
+ case DGPackage.RADIAL_GRADIENT__CENTER:
+ return getCenter();
+ case DGPackage.RADIAL_GRADIENT__FOCUS:
+ return getFocus();
+ case DGPackage.RADIAL_GRADIENT__RADIUS:
+ return getRadius();
}
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.RADIAL_GRADIENT__CENTER:
- setCenter((Point) newValue);
- return;
- case DGPackage.RADIAL_GRADIENT__FOCUS:
- setFocus((Point) newValue);
- return;
- case DGPackage.RADIAL_GRADIENT__RADIUS:
- setRadius((Double) newValue);
- return;
+ case DGPackage.RADIAL_GRADIENT__CENTER:
+ setCenter((Point)newValue);
+ return;
+ case DGPackage.RADIAL_GRADIENT__FOCUS:
+ setFocus((Point)newValue);
+ return;
+ case DGPackage.RADIAL_GRADIENT__RADIUS:
+ setRadius((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.RADIAL_GRADIENT__CENTER:
- setCenter((Point) null);
- return;
- case DGPackage.RADIAL_GRADIENT__FOCUS:
- setFocus((Point) null);
- return;
- case DGPackage.RADIAL_GRADIENT__RADIUS:
- setRadius(RADIUS_EDEFAULT);
- return;
+ case DGPackage.RADIAL_GRADIENT__CENTER:
+ setCenter((Point)null);
+ return;
+ case DGPackage.RADIAL_GRADIENT__FOCUS:
+ setFocus((Point)null);
+ return;
+ case DGPackage.RADIAL_GRADIENT__RADIUS:
+ setRadius(RADIUS_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.RADIAL_GRADIENT__CENTER:
- return center != null;
- case DGPackage.RADIAL_GRADIENT__FOCUS:
- return focus != null;
- case DGPackage.RADIAL_GRADIENT__RADIUS:
- return radius != RADIUS_EDEFAULT;
+ case DGPackage.RADIAL_GRADIENT__CENTER:
+ return center != null;
+ case DGPackage.RADIAL_GRADIENT__FOCUS:
+ return focus != null;
+ case DGPackage.RADIAL_GRADIENT__RADIUS:
+ return radius != RADIUS_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -444,28 +391,23 @@ public class RadialGradientImpl extends GradientImpl implements RadialGradient {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.RADIAL_GRADIENT___VALID_CENTER_POINT__DIAGNOSTICCHAIN_MAP:
- return validCenterPoint((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.RADIAL_GRADIENT___VALID_FOCUS_POINT__DIAGNOSTICCHAIN_MAP:
- return validFocusPoint((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.RADIAL_GRADIENT___VALID_RADIUS__DIAGNOSTICCHAIN_MAP:
- return validRadius((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.RADIAL_GRADIENT___VALID_CENTER_POINT__DIAGNOSTICCHAIN_MAP:
+ return validCenterPoint((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.RADIAL_GRADIENT___VALID_FOCUS_POINT__DIAGNOSTICCHAIN_MAP:
+ return validFocusPoint((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.RADIAL_GRADIENT___VALID_RADIUS__DIAGNOSTICCHAIN_MAP:
+ return validRadius((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (radius: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RectangleImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RectangleImpl.java
index c8862f61bca..bee3afab487 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RectangleImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RectangleImpl.java
@@ -36,20 +36,17 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RectangleImpl#getBounds <em>Bounds
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RectangleImpl#getCornerRadius <em>
- * Corner Radius</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RectangleImpl#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RectangleImpl#getCornerRadius <em>Corner Radius</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
/**
- * The cached value of the '{@link #getBounds() <em>Bounds</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getBounds()
* @generated
* @ordered
@@ -57,10 +54,9 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
protected Bounds bounds;
/**
- * The default value of the '{@link #getCornerRadius()
- * <em>Corner Radius</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getCornerRadius() <em>Corner Radius</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getCornerRadius()
* @generated
* @ordered
@@ -68,10 +64,9 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
protected static final double CORNER_RADIUS_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getCornerRadius()
- * <em>Corner Radius</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getCornerRadius() <em>Corner Radius</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getCornerRadius()
* @generated
* @ordered
@@ -89,7 +84,6 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected RectangleImpl() {
@@ -98,7 +92,6 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -108,7 +101,6 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Bounds getBounds() {
@@ -117,7 +109,6 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetBounds(Bounds newBounds,
@@ -125,44 +116,32 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
Bounds oldBounds = bounds;
bounds = newBounds;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.RECTANGLE__BOUNDS, oldBounds,
- newBounds);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.RECTANGLE__BOUNDS, oldBounds, newBounds);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setBounds(Bounds newBounds) {
if (newBounds != bounds) {
NotificationChain msgs = null;
if (bounds != null)
- msgs = ((InternalEObject) bounds).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.RECTANGLE__BOUNDS,
- null, msgs);
+ msgs = ((InternalEObject)bounds).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.RECTANGLE__BOUNDS, null, msgs);
if (newBounds != null)
- msgs = ((InternalEObject) newBounds).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.RECTANGLE__BOUNDS,
- null, msgs);
+ msgs = ((InternalEObject)newBounds).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.RECTANGLE__BOUNDS, null, msgs);
msgs = basicSetBounds(newBounds, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.RECTANGLE__BOUNDS, newBounds, newBounds));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.RECTANGLE__BOUNDS, newBounds, newBounds));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getCornerRadius() {
@@ -171,7 +150,6 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setCornerRadius(double newCornerRadius) {
@@ -180,14 +158,11 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
boolean oldCornerRadiusESet = cornerRadiusESet;
cornerRadiusESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.RECTANGLE__CORNER_RADIUS, oldCornerRadius,
- cornerRadius, !oldCornerRadiusESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.RECTANGLE__CORNER_RADIUS, oldCornerRadius, cornerRadius, !oldCornerRadiusESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetCornerRadius() {
@@ -196,14 +171,11 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
cornerRadius = CORNER_RADIUS_EDEFAULT;
cornerRadiusESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.RECTANGLE__CORNER_RADIUS, oldCornerRadius,
- CORNER_RADIUS_EDEFAULT, oldCornerRadiusESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.RECTANGLE__CORNER_RADIUS, oldCornerRadius, CORNER_RADIUS_EDEFAULT, oldCornerRadiusESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetCornerRadius() {
@@ -225,110 +197,104 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean nonNegativeCornerRadius(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.RECTANGLE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.RECTANGLE___NON_NEGATIVE_CORNER_RADIUS__DIAGNOSTICCHAIN_MAP,
- NON_NEGATIVE_CORNER_RADIUS_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.RECTANGLE__NON_NEGATIVE_CORNER_RADIUS);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.RECTANGLE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.RECTANGLE___NON_NEGATIVE_CORNER_RADIUS__DIAGNOSTICCHAIN_MAP,
+ NON_NEGATIVE_CORNER_RADIUS_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.RECTANGLE__NON_NEGATIVE_CORNER_RADIUS);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.RECTANGLE__BOUNDS:
- return basicSetBounds(null, msgs);
+ case DGPackage.RECTANGLE__BOUNDS:
+ return basicSetBounds(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 DGPackage.RECTANGLE__BOUNDS:
- return getBounds();
- case DGPackage.RECTANGLE__CORNER_RADIUS:
- return getCornerRadius();
+ case DGPackage.RECTANGLE__BOUNDS:
+ return getBounds();
+ case DGPackage.RECTANGLE__CORNER_RADIUS:
+ return getCornerRadius();
}
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.RECTANGLE__BOUNDS:
- setBounds((Bounds) newValue);
- return;
- case DGPackage.RECTANGLE__CORNER_RADIUS:
- setCornerRadius((Double) newValue);
- return;
+ case DGPackage.RECTANGLE__BOUNDS:
+ setBounds((Bounds)newValue);
+ return;
+ case DGPackage.RECTANGLE__CORNER_RADIUS:
+ setCornerRadius((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.RECTANGLE__BOUNDS:
- setBounds((Bounds) null);
- return;
- case DGPackage.RECTANGLE__CORNER_RADIUS:
- unsetCornerRadius();
- return;
+ case DGPackage.RECTANGLE__BOUNDS:
+ setBounds((Bounds)null);
+ return;
+ case DGPackage.RECTANGLE__CORNER_RADIUS:
+ unsetCornerRadius();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.RECTANGLE__BOUNDS:
- return bounds != null;
- case DGPackage.RECTANGLE__CORNER_RADIUS:
- return isSetCornerRadius();
+ case DGPackage.RECTANGLE__BOUNDS:
+ return bounds != null;
+ case DGPackage.RECTANGLE__CORNER_RADIUS:
+ return isSetCornerRadius();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -336,29 +302,23 @@ public class RectangleImpl extends GraphicalElementImpl implements Rectangle {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.RECTANGLE___NON_NEGATIVE_CORNER_RADIUS__DIAGNOSTICCHAIN_MAP:
- return nonNegativeCornerRadius((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.RECTANGLE___NON_NEGATIVE_CORNER_RADIUS__DIAGNOSTICCHAIN_MAP:
+ return nonNegativeCornerRadius((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (cornerRadius: ");
- if (cornerRadiusESet)
- result.append(cornerRadius);
- else
- result.append("<unset>");
+ if (cornerRadiusESet) result.append(cornerRadius); else result.append("<unset>");
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RootCanvasImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RootCanvasImpl.java
index 8ec85ae09ae..7919199c12a 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RootCanvasImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RootCanvasImpl.java
@@ -25,6 +25,7 @@ import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.papyrus.dd.dg.DGPackage;
@@ -38,24 +39,20 @@ import org.eclipse.papyrus.dd.dg.StyleSheet;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl#getBackgroundColor
- * <em>Background Color</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl#getDefinitions <em>
- * Definitions</em>}</li>
- * <li>
- * {@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl#getExternalStyleSheets
- * <em>External Style Sheet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl#getBackgroundColor <em>Background Color</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl#getDefinitions <em>Definitions</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl#getExternalStyleSheets <em>External Style Sheet</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RootCanvasImpl#getScripts <em>Script</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
/**
- * The default value of the '{@link #getBackgroundColor()
- * <em>Background Color</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getBackgroundColor() <em>Background Color</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getBackgroundColor()
* @generated
* @ordered
@@ -63,10 +60,9 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
protected static final Color BACKGROUND_COLOR_EDEFAULT = null;
/**
- * The cached value of the '{@link #getBackgroundColor()
- * <em>Background Color</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getBackgroundColor() <em>Background Color</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getBackgroundColor()
* @generated
* @ordered
@@ -83,9 +79,8 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
protected boolean backgroundColorESet;
/**
- * The cached value of the '{@link #getDefinitions() <em>Definitions</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getDefinitions() <em>Definitions</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getDefinitions()
* @generated
* @ordered
@@ -93,10 +88,9 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
protected Definitions definitions;
/**
- * The cached value of the '{@link #getExternalStyleSheets()
- * <em>External Style Sheet</em>}' reference list. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getExternalStyleSheets() <em>External Style Sheet</em>}' reference list.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getExternalStyleSheets()
* @generated
* @ordered
@@ -104,8 +98,17 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
protected EList<StyleSheet> externalStyleSheets;
/**
+ * The cached value of the '{@link #getScripts() <em>Script</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScripts()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> scripts;
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected RootCanvasImpl() {
@@ -114,7 +117,6 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -124,7 +126,6 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Color getBackgroundColor() {
@@ -133,7 +134,6 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setBackgroundColor(Color newBackgroundColor) {
@@ -142,15 +142,11 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
boolean oldBackgroundColorESet = backgroundColorESet;
backgroundColorESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ROOT_CANVAS__BACKGROUND_COLOR,
- oldBackgroundColor, backgroundColor,
- !oldBackgroundColorESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ROOT_CANVAS__BACKGROUND_COLOR, oldBackgroundColor, backgroundColor, !oldBackgroundColorESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetBackgroundColor() {
@@ -159,15 +155,11 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
backgroundColor = BACKGROUND_COLOR_EDEFAULT;
backgroundColorESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.ROOT_CANVAS__BACKGROUND_COLOR,
- oldBackgroundColor, BACKGROUND_COLOR_EDEFAULT,
- oldBackgroundColorESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.ROOT_CANVAS__BACKGROUND_COLOR, oldBackgroundColor, BACKGROUND_COLOR_EDEFAULT, oldBackgroundColorESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetBackgroundColor() {
@@ -176,7 +168,6 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Definitions getDefinitions() {
@@ -185,7 +176,6 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetDefinitions(Definitions newDefinitions,
@@ -193,171 +183,167 @@ public class RootCanvasImpl extends CanvasImpl implements RootCanvas {
Definitions oldDefinitions = definitions;
definitions = newDefinitions;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.ROOT_CANVAS__DEFINITIONS,
- oldDefinitions, newDefinitions);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.ROOT_CANVAS__DEFINITIONS, oldDefinitions, newDefinitions);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setDefinitions(Definitions newDefinitions) {
if (newDefinitions != definitions) {
NotificationChain msgs = null;
if (definitions != null)
- msgs = ((InternalEObject) definitions).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.ROOT_CANVAS__DEFINITIONS, null,
- msgs);
+ msgs = ((InternalEObject)definitions).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.ROOT_CANVAS__DEFINITIONS, null, msgs);
if (newDefinitions != null)
- msgs = ((InternalEObject) newDefinitions).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DGPackage.ROOT_CANVAS__DEFINITIONS, null,
- msgs);
+ msgs = ((InternalEObject)newDefinitions).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.ROOT_CANVAS__DEFINITIONS, null, msgs);
msgs = basicSetDefinitions(newDefinitions, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ROOT_CANVAS__DEFINITIONS, newDefinitions,
- newDefinitions));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ROOT_CANVAS__DEFINITIONS, newDefinitions, newDefinitions));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<StyleSheet> getExternalStyleSheets() {
if (externalStyleSheets == null) {
- externalStyleSheets = new EObjectResolvingEList<StyleSheet>(
- StyleSheet.class, this,
- DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET);
+ externalStyleSheets = new EObjectResolvingEList<StyleSheet>(StyleSheet.class, this, DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET);
}
return externalStyleSheets;
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getScripts() {
+ if (scripts == null) {
+ scripts = new EDataTypeUniqueEList<String>(String.class, this, DGPackage.ROOT_CANVAS__SCRIPT);
+ }
+ return scripts;
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.ROOT_CANVAS__DEFINITIONS:
- return basicSetDefinitions(null, msgs);
+ case DGPackage.ROOT_CANVAS__DEFINITIONS:
+ return basicSetDefinitions(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 DGPackage.ROOT_CANVAS__BACKGROUND_COLOR:
- return getBackgroundColor();
- case DGPackage.ROOT_CANVAS__DEFINITIONS:
- return getDefinitions();
- case DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET:
- return getExternalStyleSheets();
+ case DGPackage.ROOT_CANVAS__BACKGROUND_COLOR:
+ return getBackgroundColor();
+ case DGPackage.ROOT_CANVAS__DEFINITIONS:
+ return getDefinitions();
+ case DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET:
+ return getExternalStyleSheets();
+ case DGPackage.ROOT_CANVAS__SCRIPT:
+ return getScripts();
}
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 DGPackage.ROOT_CANVAS__BACKGROUND_COLOR:
- setBackgroundColor((Color) newValue);
- return;
- case DGPackage.ROOT_CANVAS__DEFINITIONS:
- setDefinitions((Definitions) newValue);
- return;
- case DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET:
- getExternalStyleSheets().clear();
- getExternalStyleSheets().addAll(
- (Collection<? extends StyleSheet>) newValue);
- return;
+ case DGPackage.ROOT_CANVAS__BACKGROUND_COLOR:
+ setBackgroundColor((Color)newValue);
+ return;
+ case DGPackage.ROOT_CANVAS__DEFINITIONS:
+ setDefinitions((Definitions)newValue);
+ return;
+ case DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET:
+ getExternalStyleSheets().clear();
+ getExternalStyleSheets().addAll((Collection<? extends StyleSheet>)newValue);
+ return;
+ case DGPackage.ROOT_CANVAS__SCRIPT:
+ getScripts().clear();
+ getScripts().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 DGPackage.ROOT_CANVAS__BACKGROUND_COLOR:
- unsetBackgroundColor();
- return;
- case DGPackage.ROOT_CANVAS__DEFINITIONS:
- setDefinitions((Definitions) null);
- return;
- case DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET:
- getExternalStyleSheets().clear();
- return;
+ case DGPackage.ROOT_CANVAS__BACKGROUND_COLOR:
+ unsetBackgroundColor();
+ return;
+ case DGPackage.ROOT_CANVAS__DEFINITIONS:
+ setDefinitions((Definitions)null);
+ return;
+ case DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET:
+ getExternalStyleSheets().clear();
+ return;
+ case DGPackage.ROOT_CANVAS__SCRIPT:
+ getScripts().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.ROOT_CANVAS__BACKGROUND_COLOR:
- return isSetBackgroundColor();
- case DGPackage.ROOT_CANVAS__DEFINITIONS:
- return definitions != null;
- case DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET:
- return externalStyleSheets != null
- && !externalStyleSheets.isEmpty();
+ case DGPackage.ROOT_CANVAS__BACKGROUND_COLOR:
+ return isSetBackgroundColor();
+ case DGPackage.ROOT_CANVAS__DEFINITIONS:
+ return definitions != null;
+ case DGPackage.ROOT_CANVAS__EXTERNAL_STYLE_SHEET:
+ return externalStyleSheets != null && !externalStyleSheets.isEmpty();
+ case DGPackage.ROOT_CANVAS__SCRIPT:
+ return scripts != null && !scripts.isEmpty();
}
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(" (backgroundColor: ");
- if (backgroundColorESet)
- result.append(backgroundColor);
- else
- result.append("<unset>");
+ if (backgroundColorESet) result.append(backgroundColor); else result.append("<unset>");
+ result.append(", script: ");
+ result.append(scripts);
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RotateImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RotateImpl.java
index 946a3c273a0..efced33cc57 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RotateImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/RotateImpl.java
@@ -30,20 +30,17 @@ import org.eclipse.papyrus.dd.dg.Rotate;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RotateImpl#getAngle <em>Angle</em>}
- * </li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.RotateImpl#getCenter <em>Center
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RotateImpl#getAngle <em>Angle</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.RotateImpl#getCenter <em>Center</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class RotateImpl extends TransformImpl implements Rotate {
/**
* The default value of the '{@link #getAngle() <em>Angle</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getAngle()
* @generated
* @ordered
@@ -53,7 +50,6 @@ public class RotateImpl extends TransformImpl implements Rotate {
/**
* The cached value of the '{@link #getAngle() <em>Angle</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getAngle()
* @generated
* @ordered
@@ -61,9 +57,8 @@ public class RotateImpl extends TransformImpl implements Rotate {
protected double angle = ANGLE_EDEFAULT;
/**
- * The cached value of the '{@link #getCenter() <em>Center</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getCenter() <em>Center</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getCenter()
* @generated
* @ordered
@@ -72,7 +67,6 @@ public class RotateImpl extends TransformImpl implements Rotate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected RotateImpl() {
@@ -81,7 +75,6 @@ public class RotateImpl extends TransformImpl implements Rotate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -91,7 +84,6 @@ public class RotateImpl extends TransformImpl implements Rotate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getAngle() {
@@ -100,20 +92,17 @@ public class RotateImpl extends TransformImpl implements Rotate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setAngle(double newAngle) {
double oldAngle = angle;
angle = newAngle;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ROTATE__ANGLE, oldAngle, angle));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ROTATE__ANGLE, oldAngle, angle));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getCenter() {
@@ -122,7 +111,6 @@ public class RotateImpl extends TransformImpl implements Rotate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetCenter(Point newCenter,
@@ -130,133 +118,115 @@ public class RotateImpl extends TransformImpl implements Rotate {
Point oldCenter = center;
center = newCenter;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.ROTATE__CENTER, oldCenter,
- newCenter);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.ROTATE__CENTER, oldCenter, newCenter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setCenter(Point newCenter) {
if (newCenter != center) {
NotificationChain msgs = null;
if (center != null)
- msgs = ((InternalEObject) center).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.ROTATE__CENTER,
- null, msgs);
+ msgs = ((InternalEObject)center).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.ROTATE__CENTER, null, msgs);
if (newCenter != null)
- msgs = ((InternalEObject) newCenter).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.ROTATE__CENTER,
- null, msgs);
+ msgs = ((InternalEObject)newCenter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.ROTATE__CENTER, null, msgs);
msgs = basicSetCenter(newCenter, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.ROTATE__CENTER, newCenter, newCenter));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.ROTATE__CENTER, newCenter, newCenter));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.ROTATE__CENTER:
- return basicSetCenter(null, msgs);
+ case DGPackage.ROTATE__CENTER:
+ return basicSetCenter(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 DGPackage.ROTATE__ANGLE:
- return getAngle();
- case DGPackage.ROTATE__CENTER:
- return getCenter();
+ case DGPackage.ROTATE__ANGLE:
+ return getAngle();
+ case DGPackage.ROTATE__CENTER:
+ return getCenter();
}
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.ROTATE__ANGLE:
- setAngle((Double) newValue);
- return;
- case DGPackage.ROTATE__CENTER:
- setCenter((Point) newValue);
- return;
+ case DGPackage.ROTATE__ANGLE:
+ setAngle((Double)newValue);
+ return;
+ case DGPackage.ROTATE__CENTER:
+ setCenter((Point)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.ROTATE__ANGLE:
- setAngle(ANGLE_EDEFAULT);
- return;
- case DGPackage.ROTATE__CENTER:
- setCenter((Point) null);
- return;
+ case DGPackage.ROTATE__ANGLE:
+ setAngle(ANGLE_EDEFAULT);
+ return;
+ case DGPackage.ROTATE__CENTER:
+ setCenter((Point)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.ROTATE__ANGLE:
- return angle != ANGLE_EDEFAULT;
- case DGPackage.ROTATE__CENTER:
- return center != null;
+ case DGPackage.ROTATE__ANGLE:
+ return angle != ANGLE_EDEFAULT;
+ case DGPackage.ROTATE__CENTER:
+ return center != null;
}
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(" (angle: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ScaleImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ScaleImpl.java
index 44e4068ef11..fdfb690e5b5 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ScaleImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/ScaleImpl.java
@@ -36,20 +36,17 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.ScaleImpl#getFactorX <em>Factor X
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.ScaleImpl#getFactorY <em>Factor Y
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.ScaleImpl#getFactorX <em>Factor X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.ScaleImpl#getFactorY <em>Factor Y</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ScaleImpl extends TransformImpl implements Scale {
/**
- * The default value of the '{@link #getFactorX() <em>Factor X</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getFactorX() <em>Factor X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFactorX()
* @generated
* @ordered
@@ -57,9 +54,8 @@ public class ScaleImpl extends TransformImpl implements Scale {
protected static final double FACTOR_X_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getFactorX() <em>Factor X</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getFactorX() <em>Factor X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFactorX()
* @generated
* @ordered
@@ -67,9 +63,8 @@ public class ScaleImpl extends TransformImpl implements Scale {
protected double factorX = FACTOR_X_EDEFAULT;
/**
- * The default value of the '{@link #getFactorY() <em>Factor Y</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getFactorY() <em>Factor Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFactorY()
* @generated
* @ordered
@@ -77,9 +72,8 @@ public class ScaleImpl extends TransformImpl implements Scale {
protected static final double FACTOR_Y_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getFactorY() <em>Factor Y</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getFactorY() <em>Factor Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFactorY()
* @generated
* @ordered
@@ -88,7 +82,6 @@ public class ScaleImpl extends TransformImpl implements Scale {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected ScaleImpl() {
@@ -97,7 +90,6 @@ public class ScaleImpl extends TransformImpl implements Scale {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -107,7 +99,6 @@ public class ScaleImpl extends TransformImpl implements Scale {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getFactorX() {
@@ -116,20 +107,17 @@ public class ScaleImpl extends TransformImpl implements Scale {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFactorX(double newFactorX) {
double oldFactorX = factorX;
factorX = newFactorX;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.SCALE__FACTOR_X, oldFactorX, factorX));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.SCALE__FACTOR_X, oldFactorX, factorX));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getFactorY() {
@@ -138,25 +126,20 @@ public class ScaleImpl extends TransformImpl implements Scale {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFactorY(double newFactorY) {
double oldFactorY = factorY;
factorY = newFactorY;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.SCALE__FACTOR_Y, oldFactorY, factorY));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.SCALE__FACTOR_Y, oldFactorY, factorY));
}
/**
- * The cached validation expression for the '
- * {@link #nonnegativescale(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Nonnegativescale</em>}' invariant operation. <!-- begin-user-doc -->
+ * The cached validation expression for the '{@link #nonnegativescale(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Nonnegativescale</em>}' invariant operation.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #nonnegativescale(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #nonnegativescale(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -164,95 +147,90 @@ public class ScaleImpl extends TransformImpl implements Scale {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean nonnegativescale(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.SCALE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.SCALE___NONNEGATIVESCALE__DIAGNOSTICCHAIN_MAP,
- NONNEGATIVESCALE_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.SCALE__NONNEGATIVESCALE);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.SCALE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.SCALE___NONNEGATIVESCALE__DIAGNOSTICCHAIN_MAP,
+ NONNEGATIVESCALE_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.SCALE__NONNEGATIVESCALE);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.SCALE__FACTOR_X:
- return getFactorX();
- case DGPackage.SCALE__FACTOR_Y:
- return getFactorY();
+ case DGPackage.SCALE__FACTOR_X:
+ return getFactorX();
+ case DGPackage.SCALE__FACTOR_Y:
+ return getFactorY();
}
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.SCALE__FACTOR_X:
- setFactorX((Double) newValue);
- return;
- case DGPackage.SCALE__FACTOR_Y:
- setFactorY((Double) newValue);
- return;
+ case DGPackage.SCALE__FACTOR_X:
+ setFactorX((Double)newValue);
+ return;
+ case DGPackage.SCALE__FACTOR_Y:
+ setFactorY((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.SCALE__FACTOR_X:
- setFactorX(FACTOR_X_EDEFAULT);
- return;
- case DGPackage.SCALE__FACTOR_Y:
- setFactorY(FACTOR_Y_EDEFAULT);
- return;
+ case DGPackage.SCALE__FACTOR_X:
+ setFactorX(FACTOR_X_EDEFAULT);
+ return;
+ case DGPackage.SCALE__FACTOR_Y:
+ setFactorY(FACTOR_Y_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.SCALE__FACTOR_X:
- return factorX != FACTOR_X_EDEFAULT;
- case DGPackage.SCALE__FACTOR_Y:
- return factorY != FACTOR_Y_EDEFAULT;
+ case DGPackage.SCALE__FACTOR_X:
+ return factorX != FACTOR_X_EDEFAULT;
+ case DGPackage.SCALE__FACTOR_Y:
+ return factorY != FACTOR_Y_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -260,22 +238,19 @@ public class ScaleImpl extends TransformImpl implements Scale {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.SCALE___NONNEGATIVESCALE__DIAGNOSTICCHAIN_MAP:
- return nonnegativescale((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.SCALE___NONNEGATIVESCALE__DIAGNOSTICCHAIN_MAP:
+ return nonnegativescale((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (factorX: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/SkewImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/SkewImpl.java
index 7d7dd9ad90c..08eeb65152b 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/SkewImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/SkewImpl.java
@@ -26,20 +26,17 @@ import org.eclipse.papyrus.dd.dg.Skew;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.SkewImpl#getAngleX <em>Angle X
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.SkewImpl#getAngleY <em>Angle Y
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.SkewImpl#getAngleX <em>Angle X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.SkewImpl#getAngleY <em>Angle Y</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class SkewImpl extends TransformImpl implements Skew {
/**
- * The default value of the '{@link #getAngleX() <em>Angle X</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getAngleX() <em>Angle X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getAngleX()
* @generated
* @ordered
@@ -47,9 +44,8 @@ public class SkewImpl extends TransformImpl implements Skew {
protected static final double ANGLE_X_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getAngleX() <em>Angle X</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getAngleX() <em>Angle X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getAngleX()
* @generated
* @ordered
@@ -57,9 +53,8 @@ public class SkewImpl extends TransformImpl implements Skew {
protected double angleX = ANGLE_X_EDEFAULT;
/**
- * The default value of the '{@link #getAngleY() <em>Angle Y</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getAngleY() <em>Angle Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getAngleY()
* @generated
* @ordered
@@ -67,9 +62,8 @@ public class SkewImpl extends TransformImpl implements Skew {
protected static final double ANGLE_Y_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getAngleY() <em>Angle Y</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getAngleY() <em>Angle Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getAngleY()
* @generated
* @ordered
@@ -78,7 +72,6 @@ public class SkewImpl extends TransformImpl implements Skew {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected SkewImpl() {
@@ -87,7 +80,6 @@ public class SkewImpl extends TransformImpl implements Skew {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -97,7 +89,6 @@ public class SkewImpl extends TransformImpl implements Skew {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getAngleX() {
@@ -106,20 +97,17 @@ public class SkewImpl extends TransformImpl implements Skew {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setAngleX(double newAngleX) {
double oldAngleX = angleX;
angleX = newAngleX;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.SKEW__ANGLE_X, oldAngleX, angleX));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.SKEW__ANGLE_X, oldAngleX, angleX));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getAngleY() {
@@ -128,94 +116,86 @@ public class SkewImpl extends TransformImpl implements Skew {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setAngleY(double newAngleY) {
double oldAngleY = angleY;
angleY = newAngleY;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.SKEW__ANGLE_Y, oldAngleY, angleY));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.SKEW__ANGLE_Y, oldAngleY, angleY));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.SKEW__ANGLE_X:
- return getAngleX();
- case DGPackage.SKEW__ANGLE_Y:
- return getAngleY();
+ case DGPackage.SKEW__ANGLE_X:
+ return getAngleX();
+ case DGPackage.SKEW__ANGLE_Y:
+ return getAngleY();
}
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.SKEW__ANGLE_X:
- setAngleX((Double) newValue);
- return;
- case DGPackage.SKEW__ANGLE_Y:
- setAngleY((Double) newValue);
- return;
+ case DGPackage.SKEW__ANGLE_X:
+ setAngleX((Double)newValue);
+ return;
+ case DGPackage.SKEW__ANGLE_Y:
+ setAngleY((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.SKEW__ANGLE_X:
- setAngleX(ANGLE_X_EDEFAULT);
- return;
- case DGPackage.SKEW__ANGLE_Y:
- setAngleY(ANGLE_Y_EDEFAULT);
- return;
+ case DGPackage.SKEW__ANGLE_X:
+ setAngleX(ANGLE_X_EDEFAULT);
+ return;
+ case DGPackage.SKEW__ANGLE_Y:
+ setAngleY(ANGLE_Y_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.SKEW__ANGLE_X:
- return angleX != ANGLE_X_EDEFAULT;
- case DGPackage.SKEW__ANGLE_Y:
- return angleY != ANGLE_Y_EDEFAULT;
+ case DGPackage.SKEW__ANGLE_X:
+ return angleX != ANGLE_X_EDEFAULT;
+ case DGPackage.SKEW__ANGLE_Y:
+ return angleY != ANGLE_Y_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(" (angleX: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleImpl.java
index 8dcf529962d..022c74814bf 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleImpl.java
@@ -45,37 +45,26 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFill <em>Fill</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFillOpacity <em>Fill
- * Opacity</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getStroke <em>Stroke
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getStrokeWidth <em>Stroke
- * Width</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getStrokeOpacity <em>
- * Stroke Opacity</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getStrokeDashLengths <em>
- * Stroke Dash Length</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFontSize <em>Font Size
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFontName <em>Font Name
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#isFontItalic <em>Font
- * Italic</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#isFontBold <em>Font Bold
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFontDecoration <em>
- * Font Decoration</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFill <em>Fill</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFillOpacity <em>Fill Opacity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getStroke <em>Stroke</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getStrokeWidth <em>Stroke Width</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getStrokeOpacity <em>Stroke Opacity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getStrokeDashLengths <em>Stroke Dash Length</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFontSize <em>Font Size</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFontName <em>Font Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#isFontItalic <em>Font Italic</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#isFontBold <em>Font Bold</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleImpl#getFontDecoration <em>Font Decoration</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
- * The cached value of the '{@link #getFill() <em>Fill</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getFill() <em>Fill</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFill()
* @generated
* @ordered
@@ -92,9 +81,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected boolean fillESet;
/**
- * The default value of the '{@link #getFillOpacity() <em>Fill Opacity</em>}
- * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getFillOpacity() <em>Fill Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFillOpacity()
* @generated
* @ordered
@@ -102,9 +90,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected static final double FILL_OPACITY_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getFillOpacity() <em>Fill Opacity</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getFillOpacity() <em>Fill Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFillOpacity()
* @generated
* @ordered
@@ -121,9 +108,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected boolean fillOpacityESet;
/**
- * The cached value of the '{@link #getStroke() <em>Stroke</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStroke() <em>Stroke</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStroke()
* @generated
* @ordered
@@ -140,9 +126,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected boolean strokeESet;
/**
- * The default value of the '{@link #getStrokeWidth() <em>Stroke Width</em>}
- * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getStrokeWidth() <em>Stroke Width</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStrokeWidth()
* @generated
* @ordered
@@ -150,9 +135,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected static final double STROKE_WIDTH_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getStrokeWidth() <em>Stroke Width</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStrokeWidth() <em>Stroke Width</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStrokeWidth()
* @generated
* @ordered
@@ -169,10 +153,9 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected boolean strokeWidthESet;
/**
- * The default value of the '{@link #getStrokeOpacity()
- * <em>Stroke Opacity</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getStrokeOpacity() <em>Stroke Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getStrokeOpacity()
* @generated
* @ordered
@@ -180,10 +163,9 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected static final double STROKE_OPACITY_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getStrokeOpacity()
- * <em>Stroke Opacity</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getStrokeOpacity() <em>Stroke Opacity</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getStrokeOpacity()
* @generated
* @ordered
@@ -200,10 +182,9 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected boolean strokeOpacityESet;
/**
- * The cached value of the '{@link #getStrokeDashLengths()
- * <em>Stroke Dash Length</em>}' attribute list. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getStrokeDashLengths() <em>Stroke Dash Length</em>}' attribute list.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getStrokeDashLengths()
* @generated
* @ordered
@@ -211,9 +192,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected EList<Double> strokeDashLengths;
/**
- * The default value of the '{@link #getFontSize() <em>Font Size</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getFontSize() <em>Font Size</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFontSize()
* @generated
* @ordered
@@ -221,9 +201,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected static final double FONT_SIZE_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getFontSize() <em>Font Size</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getFontSize() <em>Font Size</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFontSize()
* @generated
* @ordered
@@ -231,18 +210,17 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected double fontSize = FONT_SIZE_EDEFAULT;
/**
- * This is true if the Font Size attribute has been set. <!-- begin-user-doc
+ * This is true if the Font Size attribute has been set.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
protected boolean fontSizeESet;
/**
- * The default value of the '{@link #getFontName() <em>Font Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getFontName() <em>Font Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFontName()
* @generated
* @ordered
@@ -250,9 +228,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected static final String FONT_NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getFontName() <em>Font Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getFontName() <em>Font Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getFontName()
* @generated
* @ordered
@@ -260,18 +237,17 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected String fontName = FONT_NAME_EDEFAULT;
/**
- * This is true if the Font Name attribute has been set. <!-- begin-user-doc
+ * This is true if the Font Name attribute has been set.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
protected boolean fontNameESet;
/**
- * The default value of the '{@link #isFontItalic() <em>Font Italic</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #isFontItalic() <em>Font Italic</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isFontItalic()
* @generated
* @ordered
@@ -279,9 +255,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected static final boolean FONT_ITALIC_EDEFAULT = false;
/**
- * The cached value of the '{@link #isFontItalic() <em>Font Italic</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #isFontItalic() <em>Font Italic</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isFontItalic()
* @generated
* @ordered
@@ -298,9 +273,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected boolean fontItalicESet;
/**
- * The default value of the '{@link #isFontBold() <em>Font Bold</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #isFontBold() <em>Font Bold</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isFontBold()
* @generated
* @ordered
@@ -308,9 +282,8 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected static final boolean FONT_BOLD_EDEFAULT = false;
/**
- * The cached value of the '{@link #isFontBold() <em>Font Bold</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #isFontBold() <em>Font Bold</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #isFontBold()
* @generated
* @ordered
@@ -318,19 +291,18 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected boolean fontBold = FONT_BOLD_EDEFAULT;
/**
- * This is true if the Font Bold attribute has been set. <!-- begin-user-doc
+ * This is true if the Font Bold attribute has been set.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
protected boolean fontBoldESet;
/**
- * The default value of the '{@link #getFontDecoration()
- * <em>Font Decoration</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getFontDecoration() <em>Font Decoration</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getFontDecoration()
* @generated
* @ordered
@@ -338,10 +310,9 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
protected static final FontDecoration FONT_DECORATION_EDEFAULT = FontDecoration.UNDERLINE;
/**
- * The cached value of the '{@link #getFontDecoration()
- * <em>Font Decoration</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getFontDecoration() <em>Font Decoration</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getFontDecoration()
* @generated
* @ordered
@@ -359,7 +330,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected StyleImpl() {
@@ -368,7 +338,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -378,7 +347,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Paint getFill() {
@@ -387,7 +355,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetFill(Paint newFill, NotificationChain msgs) {
@@ -396,48 +363,36 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldFillESet = fillESet;
fillESet = true;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.STYLE__FILL, oldFill, newFill,
- !oldFillESet);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__FILL, oldFill, newFill, !oldFillESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFill(Paint newFill) {
if (newFill != fill) {
NotificationChain msgs = null;
if (fill != null)
- msgs = ((InternalEObject) fill).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__FILL, null,
- msgs);
+ msgs = ((InternalEObject)fill).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__FILL, null, msgs);
if (newFill != null)
- msgs = ((InternalEObject) newFill).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__FILL, null,
- msgs);
+ msgs = ((InternalEObject)newFill).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__FILL, null, msgs);
msgs = basicSetFill(newFill, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else {
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
boolean oldFillESet = fillESet;
fillESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__FILL, newFill, newFill, !oldFillESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__FILL, newFill, newFill, !oldFillESet));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicUnsetFill(NotificationChain msgs) {
@@ -446,42 +401,33 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldFillESet = fillESet;
fillESet = false;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.UNSET, DGPackage.STYLE__FILL, oldFill, null,
- oldFillESet);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__FILL, oldFill, null, oldFillESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetFill() {
if (fill != null) {
NotificationChain msgs = null;
- msgs = ((InternalEObject) fill).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__FILL, null, msgs);
+ msgs = ((InternalEObject)fill).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__FILL, null, msgs);
msgs = basicUnsetFill(msgs);
- if (msgs != null)
- msgs.dispatch();
- } else {
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
boolean oldFillESet = fillESet;
fillESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__FILL, null, null, oldFillESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__FILL, null, null, oldFillESet));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetFill() {
@@ -490,7 +436,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getFillOpacity() {
@@ -499,7 +444,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFillOpacity(double newFillOpacity) {
@@ -508,14 +452,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldFillOpacityESet = fillOpacityESet;
fillOpacityESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__FILL_OPACITY, oldFillOpacity, fillOpacity,
- !oldFillOpacityESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__FILL_OPACITY, oldFillOpacity, fillOpacity, !oldFillOpacityESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetFillOpacity() {
@@ -524,14 +465,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
fillOpacity = FILL_OPACITY_EDEFAULT;
fillOpacityESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__FILL_OPACITY, oldFillOpacity,
- FILL_OPACITY_EDEFAULT, oldFillOpacityESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__FILL_OPACITY, oldFillOpacity, FILL_OPACITY_EDEFAULT, oldFillOpacityESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetFillOpacity() {
@@ -540,7 +478,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Paint getStroke() {
@@ -549,7 +486,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetStroke(Paint newStroke,
@@ -559,49 +495,36 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldStrokeESet = strokeESet;
strokeESet = true;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.STYLE__STROKE, oldStroke,
- newStroke, !oldStrokeESet);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__STROKE, oldStroke, newStroke, !oldStrokeESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStroke(Paint newStroke) {
if (newStroke != stroke) {
NotificationChain msgs = null;
if (stroke != null)
- msgs = ((InternalEObject) stroke).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__STROKE, null,
- msgs);
+ msgs = ((InternalEObject)stroke).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__STROKE, null, msgs);
if (newStroke != null)
- msgs = ((InternalEObject) newStroke).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__STROKE, null,
- msgs);
+ msgs = ((InternalEObject)newStroke).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__STROKE, null, msgs);
msgs = basicSetStroke(newStroke, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else {
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
boolean oldStrokeESet = strokeESet;
strokeESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__STROKE, newStroke, newStroke,
- !oldStrokeESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__STROKE, newStroke, newStroke, !oldStrokeESet));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicUnsetStroke(NotificationChain msgs) {
@@ -610,43 +533,33 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldStrokeESet = strokeESet;
strokeESet = false;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.UNSET, DGPackage.STYLE__STROKE, oldStroke,
- null, oldStrokeESet);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__STROKE, oldStroke, null, oldStrokeESet);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetStroke() {
if (stroke != null) {
NotificationChain msgs = null;
- msgs = ((InternalEObject) stroke).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__STROKE, null,
- msgs);
+ msgs = ((InternalEObject)stroke).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.STYLE__STROKE, null, msgs);
msgs = basicUnsetStroke(msgs);
- if (msgs != null)
- msgs.dispatch();
- } else {
+ if (msgs != null) msgs.dispatch();
+ }
+ else {
boolean oldStrokeESet = strokeESet;
strokeESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__STROKE, null, null, oldStrokeESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__STROKE, null, null, oldStrokeESet));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetStroke() {
@@ -655,7 +568,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getStrokeWidth() {
@@ -664,7 +576,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStrokeWidth(double newStrokeWidth) {
@@ -673,14 +584,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldStrokeWidthESet = strokeWidthESet;
strokeWidthESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__STROKE_WIDTH, oldStrokeWidth, strokeWidth,
- !oldStrokeWidthESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__STROKE_WIDTH, oldStrokeWidth, strokeWidth, !oldStrokeWidthESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetStrokeWidth() {
@@ -689,14 +597,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
strokeWidth = STROKE_WIDTH_EDEFAULT;
strokeWidthESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__STROKE_WIDTH, oldStrokeWidth,
- STROKE_WIDTH_EDEFAULT, oldStrokeWidthESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__STROKE_WIDTH, oldStrokeWidth, STROKE_WIDTH_EDEFAULT, oldStrokeWidthESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetStrokeWidth() {
@@ -705,7 +610,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getStrokeOpacity() {
@@ -714,7 +618,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStrokeOpacity(double newStrokeOpacity) {
@@ -723,14 +626,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldStrokeOpacityESet = strokeOpacityESet;
strokeOpacityESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__STROKE_OPACITY, oldStrokeOpacity,
- strokeOpacity, !oldStrokeOpacityESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__STROKE_OPACITY, oldStrokeOpacity, strokeOpacity, !oldStrokeOpacityESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetStrokeOpacity() {
@@ -739,14 +639,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
strokeOpacity = STROKE_OPACITY_EDEFAULT;
strokeOpacityESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__STROKE_OPACITY, oldStrokeOpacity,
- STROKE_OPACITY_EDEFAULT, oldStrokeOpacityESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__STROKE_OPACITY, oldStrokeOpacity, STROKE_OPACITY_EDEFAULT, oldStrokeOpacityESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetStrokeOpacity() {
@@ -755,40 +652,33 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<Double> getStrokeDashLengths() {
if (strokeDashLengths == null) {
- strokeDashLengths = new EDataTypeEList.Unsettable<Double>(
- Double.class, this, DGPackage.STYLE__STROKE_DASH_LENGTH);
+ strokeDashLengths = new EDataTypeEList.Unsettable<Double>(Double.class, this, DGPackage.STYLE__STROKE_DASH_LENGTH);
}
return strokeDashLengths;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetStrokeDashLengths() {
- if (strokeDashLengths != null)
- ((InternalEList.Unsettable<?>) strokeDashLengths).unset();
+ if (strokeDashLengths != null) ((InternalEList.Unsettable<?>)strokeDashLengths).unset();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetStrokeDashLengths() {
- return strokeDashLengths != null
- && ((InternalEList.Unsettable<?>) strokeDashLengths).isSet();
+ return strokeDashLengths != null && ((InternalEList.Unsettable<?>)strokeDashLengths).isSet();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getFontSize() {
@@ -797,7 +687,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFontSize(double newFontSize) {
@@ -806,14 +695,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldFontSizeESet = fontSizeESet;
fontSizeESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__FONT_SIZE, oldFontSize, fontSize,
- !oldFontSizeESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__FONT_SIZE, oldFontSize, fontSize, !oldFontSizeESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetFontSize() {
@@ -822,14 +708,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
fontSize = FONT_SIZE_EDEFAULT;
fontSizeESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__FONT_SIZE, oldFontSize,
- FONT_SIZE_EDEFAULT, oldFontSizeESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__FONT_SIZE, oldFontSize, FONT_SIZE_EDEFAULT, oldFontSizeESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetFontSize() {
@@ -838,7 +721,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getFontName() {
@@ -847,7 +729,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFontName(String newFontName) {
@@ -856,14 +737,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldFontNameESet = fontNameESet;
fontNameESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__FONT_NAME, oldFontName, fontName,
- !oldFontNameESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__FONT_NAME, oldFontName, fontName, !oldFontNameESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetFontName() {
@@ -872,14 +750,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
fontName = FONT_NAME_EDEFAULT;
fontNameESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__FONT_NAME, oldFontName,
- FONT_NAME_EDEFAULT, oldFontNameESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__FONT_NAME, oldFontName, FONT_NAME_EDEFAULT, oldFontNameESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetFontName() {
@@ -888,7 +763,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isFontItalic() {
@@ -897,7 +771,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFontItalic(boolean newFontItalic) {
@@ -906,14 +779,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldFontItalicESet = fontItalicESet;
fontItalicESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__FONT_ITALIC, oldFontItalic, fontItalic,
- !oldFontItalicESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__FONT_ITALIC, oldFontItalic, fontItalic, !oldFontItalicESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetFontItalic() {
@@ -922,14 +792,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
fontItalic = FONT_ITALIC_EDEFAULT;
fontItalicESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__FONT_ITALIC, oldFontItalic,
- FONT_ITALIC_EDEFAULT, oldFontItalicESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__FONT_ITALIC, oldFontItalic, FONT_ITALIC_EDEFAULT, oldFontItalicESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetFontItalic() {
@@ -938,7 +805,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isFontBold() {
@@ -947,7 +813,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFontBold(boolean newFontBold) {
@@ -956,14 +821,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
boolean oldFontBoldESet = fontBoldESet;
fontBoldESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__FONT_BOLD, oldFontBold, fontBold,
- !oldFontBoldESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__FONT_BOLD, oldFontBold, fontBold, !oldFontBoldESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetFontBold() {
@@ -972,14 +834,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
fontBold = FONT_BOLD_EDEFAULT;
fontBoldESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__FONT_BOLD, oldFontBold,
- FONT_BOLD_EDEFAULT, oldFontBoldESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__FONT_BOLD, oldFontBold, FONT_BOLD_EDEFAULT, oldFontBoldESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetFontBold() {
@@ -988,7 +847,6 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public FontDecoration getFontDecoration() {
@@ -997,24 +855,19 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setFontDecoration(FontDecoration newFontDecoration) {
FontDecoration oldFontDecoration = fontDecoration;
- fontDecoration = newFontDecoration == null ? FONT_DECORATION_EDEFAULT
- : newFontDecoration;
+ fontDecoration = newFontDecoration == null ? FONT_DECORATION_EDEFAULT : newFontDecoration;
boolean oldFontDecorationESet = fontDecorationESet;
fontDecorationESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE__FONT_DECORATION, oldFontDecoration,
- fontDecoration, !oldFontDecorationESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE__FONT_DECORATION, oldFontDecoration, fontDecoration, !oldFontDecorationESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetFontDecoration() {
@@ -1023,14 +876,11 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
fontDecoration = FONT_DECORATION_EDEFAULT;
fontDecorationESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE__FONT_DECORATION, oldFontDecoration,
- FONT_DECORATION_EDEFAULT, oldFontDecorationESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE__FONT_DECORATION, oldFontDecoration, FONT_DECORATION_EDEFAULT, oldFontDecorationESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetFontDecoration() {
@@ -1038,13 +888,10 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
}
/**
- * The cached validation expression for the '
- * {@link #validFontSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Font Size</em>}' invariant operation. <!-- begin-user-doc -->
+ * The cached validation expression for the '{@link #validFontSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Font Size</em>}' invariant operation.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #validFontSize(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validFontSize(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -1052,32 +899,29 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validFontSize(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.STYLE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.STYLE___VALID_FONT_SIZE__DIAGNOSTICCHAIN_MAP,
- VALID_FONT_SIZE_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.STYLE__VALID_FONT_SIZE);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.STYLE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.STYLE___VALID_FONT_SIZE__DIAGNOSTICCHAIN_MAP,
+ VALID_FONT_SIZE_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.STYLE__VALID_FONT_SIZE);
}
/**
- * The cached validation expression for the '
- * {@link #validFillOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Fill Opacity</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #validFillOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Fill Opacity</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #validFillOpacity(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validFillOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -1085,32 +929,29 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validFillOpacity(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.STYLE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.STYLE___VALID_FILL_OPACITY__DIAGNOSTICCHAIN_MAP,
- VALID_FILL_OPACITY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.STYLE__VALID_FILL_OPACITY);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.STYLE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.STYLE___VALID_FILL_OPACITY__DIAGNOSTICCHAIN_MAP,
+ VALID_FILL_OPACITY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.STYLE__VALID_FILL_OPACITY);
}
/**
- * The cached validation expression for the '
- * {@link #validStrokeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Stroke Width</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #validStrokeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Stroke Width</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #validStrokeWidth(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validStrokeWidth(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -1118,22 +959,22 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validStrokeWidth(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.STYLE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.STYLE___VALID_STROKE_WIDTH__DIAGNOSTICCHAIN_MAP,
- VALID_STROKE_WIDTH_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.STYLE__VALID_STROKE_WIDTH);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.STYLE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.STYLE___VALID_STROKE_WIDTH__DIAGNOSTICCHAIN_MAP,
+ VALID_STROKE_WIDTH_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.STYLE__VALID_STROKE_WIDTH);
}
/**
@@ -1151,32 +992,29 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validDashLengthSize(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.STYLE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.STYLE___VALID_DASH_LENGTH_SIZE__DIAGNOSTICCHAIN_MAP,
- VALID_DASH_LENGTH_SIZE_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.STYLE__VALID_DASH_LENGTH_SIZE);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.STYLE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.STYLE___VALID_DASH_LENGTH_SIZE__DIAGNOSTICCHAIN_MAP,
+ VALID_DASH_LENGTH_SIZE_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.STYLE__VALID_DASH_LENGTH_SIZE);
}
/**
- * The cached validation expression for the '
- * {@link #validStrokeOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Valid Stroke Opacity</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #validStrokeOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Valid Stroke Opacity</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #validStrokeOpacity(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #validStrokeOpacity(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -1184,205 +1022,198 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validStrokeOpacity(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.STYLE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.STYLE___VALID_STROKE_OPACITY__DIAGNOSTICCHAIN_MAP,
- VALID_STROKE_OPACITY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.STYLE__VALID_STROKE_OPACITY);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.STYLE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.STYLE___VALID_STROKE_OPACITY__DIAGNOSTICCHAIN_MAP,
+ VALID_STROKE_OPACITY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.STYLE__VALID_STROKE_OPACITY);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.STYLE__FILL:
- return basicUnsetFill(msgs);
- case DGPackage.STYLE__STROKE:
- return basicUnsetStroke(msgs);
+ case DGPackage.STYLE__FILL:
+ return basicUnsetFill(msgs);
+ case DGPackage.STYLE__STROKE:
+ return basicUnsetStroke(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 DGPackage.STYLE__FILL:
- return getFill();
- case DGPackage.STYLE__FILL_OPACITY:
- return getFillOpacity();
- case DGPackage.STYLE__STROKE:
- return getStroke();
- case DGPackage.STYLE__STROKE_WIDTH:
- return getStrokeWidth();
- case DGPackage.STYLE__STROKE_OPACITY:
- return getStrokeOpacity();
- case DGPackage.STYLE__STROKE_DASH_LENGTH:
- return getStrokeDashLengths();
- case DGPackage.STYLE__FONT_SIZE:
- return getFontSize();
- case DGPackage.STYLE__FONT_NAME:
- return getFontName();
- case DGPackage.STYLE__FONT_ITALIC:
- return isFontItalic();
- case DGPackage.STYLE__FONT_BOLD:
- return isFontBold();
- case DGPackage.STYLE__FONT_DECORATION:
- return getFontDecoration();
+ case DGPackage.STYLE__FILL:
+ return getFill();
+ case DGPackage.STYLE__FILL_OPACITY:
+ return getFillOpacity();
+ case DGPackage.STYLE__STROKE:
+ return getStroke();
+ case DGPackage.STYLE__STROKE_WIDTH:
+ return getStrokeWidth();
+ case DGPackage.STYLE__STROKE_OPACITY:
+ return getStrokeOpacity();
+ case DGPackage.STYLE__STROKE_DASH_LENGTH:
+ return getStrokeDashLengths();
+ case DGPackage.STYLE__FONT_SIZE:
+ return getFontSize();
+ case DGPackage.STYLE__FONT_NAME:
+ return getFontName();
+ case DGPackage.STYLE__FONT_ITALIC:
+ return isFontItalic();
+ case DGPackage.STYLE__FONT_BOLD:
+ return isFontBold();
+ case DGPackage.STYLE__FONT_DECORATION:
+ return getFontDecoration();
}
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 DGPackage.STYLE__FILL:
- setFill((Paint) newValue);
- return;
- case DGPackage.STYLE__FILL_OPACITY:
- setFillOpacity((Double) newValue);
- return;
- case DGPackage.STYLE__STROKE:
- setStroke((Paint) newValue);
- return;
- case DGPackage.STYLE__STROKE_WIDTH:
- setStrokeWidth((Double) newValue);
- return;
- case DGPackage.STYLE__STROKE_OPACITY:
- setStrokeOpacity((Double) newValue);
- return;
- case DGPackage.STYLE__STROKE_DASH_LENGTH:
- getStrokeDashLengths().clear();
- getStrokeDashLengths().addAll(
- (Collection<? extends Double>) newValue);
- return;
- case DGPackage.STYLE__FONT_SIZE:
- setFontSize((Double) newValue);
- return;
- case DGPackage.STYLE__FONT_NAME:
- setFontName((String) newValue);
- return;
- case DGPackage.STYLE__FONT_ITALIC:
- setFontItalic((Boolean) newValue);
- return;
- case DGPackage.STYLE__FONT_BOLD:
- setFontBold((Boolean) newValue);
- return;
- case DGPackage.STYLE__FONT_DECORATION:
- setFontDecoration((FontDecoration) newValue);
- return;
+ case DGPackage.STYLE__FILL:
+ setFill((Paint)newValue);
+ return;
+ case DGPackage.STYLE__FILL_OPACITY:
+ setFillOpacity((Double)newValue);
+ return;
+ case DGPackage.STYLE__STROKE:
+ setStroke((Paint)newValue);
+ return;
+ case DGPackage.STYLE__STROKE_WIDTH:
+ setStrokeWidth((Double)newValue);
+ return;
+ case DGPackage.STYLE__STROKE_OPACITY:
+ setStrokeOpacity((Double)newValue);
+ return;
+ case DGPackage.STYLE__STROKE_DASH_LENGTH:
+ getStrokeDashLengths().clear();
+ getStrokeDashLengths().addAll((Collection<? extends Double>)newValue);
+ return;
+ case DGPackage.STYLE__FONT_SIZE:
+ setFontSize((Double)newValue);
+ return;
+ case DGPackage.STYLE__FONT_NAME:
+ setFontName((String)newValue);
+ return;
+ case DGPackage.STYLE__FONT_ITALIC:
+ setFontItalic((Boolean)newValue);
+ return;
+ case DGPackage.STYLE__FONT_BOLD:
+ setFontBold((Boolean)newValue);
+ return;
+ case DGPackage.STYLE__FONT_DECORATION:
+ setFontDecoration((FontDecoration)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.STYLE__FILL:
- unsetFill();
- return;
- case DGPackage.STYLE__FILL_OPACITY:
- unsetFillOpacity();
- return;
- case DGPackage.STYLE__STROKE:
- unsetStroke();
- return;
- case DGPackage.STYLE__STROKE_WIDTH:
- unsetStrokeWidth();
- return;
- case DGPackage.STYLE__STROKE_OPACITY:
- unsetStrokeOpacity();
- return;
- case DGPackage.STYLE__STROKE_DASH_LENGTH:
- unsetStrokeDashLengths();
- return;
- case DGPackage.STYLE__FONT_SIZE:
- unsetFontSize();
- return;
- case DGPackage.STYLE__FONT_NAME:
- unsetFontName();
- return;
- case DGPackage.STYLE__FONT_ITALIC:
- unsetFontItalic();
- return;
- case DGPackage.STYLE__FONT_BOLD:
- unsetFontBold();
- return;
- case DGPackage.STYLE__FONT_DECORATION:
- unsetFontDecoration();
- return;
+ case DGPackage.STYLE__FILL:
+ unsetFill();
+ return;
+ case DGPackage.STYLE__FILL_OPACITY:
+ unsetFillOpacity();
+ return;
+ case DGPackage.STYLE__STROKE:
+ unsetStroke();
+ return;
+ case DGPackage.STYLE__STROKE_WIDTH:
+ unsetStrokeWidth();
+ return;
+ case DGPackage.STYLE__STROKE_OPACITY:
+ unsetStrokeOpacity();
+ return;
+ case DGPackage.STYLE__STROKE_DASH_LENGTH:
+ unsetStrokeDashLengths();
+ return;
+ case DGPackage.STYLE__FONT_SIZE:
+ unsetFontSize();
+ return;
+ case DGPackage.STYLE__FONT_NAME:
+ unsetFontName();
+ return;
+ case DGPackage.STYLE__FONT_ITALIC:
+ unsetFontItalic();
+ return;
+ case DGPackage.STYLE__FONT_BOLD:
+ unsetFontBold();
+ return;
+ case DGPackage.STYLE__FONT_DECORATION:
+ unsetFontDecoration();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.STYLE__FILL:
- return isSetFill();
- case DGPackage.STYLE__FILL_OPACITY:
- return isSetFillOpacity();
- case DGPackage.STYLE__STROKE:
- return isSetStroke();
- case DGPackage.STYLE__STROKE_WIDTH:
- return isSetStrokeWidth();
- case DGPackage.STYLE__STROKE_OPACITY:
- return isSetStrokeOpacity();
- case DGPackage.STYLE__STROKE_DASH_LENGTH:
- return isSetStrokeDashLengths();
- case DGPackage.STYLE__FONT_SIZE:
- return isSetFontSize();
- case DGPackage.STYLE__FONT_NAME:
- return isSetFontName();
- case DGPackage.STYLE__FONT_ITALIC:
- return isSetFontItalic();
- case DGPackage.STYLE__FONT_BOLD:
- return isSetFontBold();
- case DGPackage.STYLE__FONT_DECORATION:
- return isSetFontDecoration();
+ case DGPackage.STYLE__FILL:
+ return isSetFill();
+ case DGPackage.STYLE__FILL_OPACITY:
+ return isSetFillOpacity();
+ case DGPackage.STYLE__STROKE:
+ return isSetStroke();
+ case DGPackage.STYLE__STROKE_WIDTH:
+ return isSetStrokeWidth();
+ case DGPackage.STYLE__STROKE_OPACITY:
+ return isSetStrokeOpacity();
+ case DGPackage.STYLE__STROKE_DASH_LENGTH:
+ return isSetStrokeDashLengths();
+ case DGPackage.STYLE__FONT_SIZE:
+ return isSetFontSize();
+ case DGPackage.STYLE__FONT_NAME:
+ return isSetFontName();
+ case DGPackage.STYLE__FONT_ITALIC:
+ return isSetFontItalic();
+ case DGPackage.STYLE__FONT_BOLD:
+ return isSetFontBold();
+ case DGPackage.STYLE__FONT_DECORATION:
+ return isSetFontDecoration();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -1390,78 +1221,47 @@ public class StyleImpl extends MinimalEObjectImpl.Container implements Style {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.STYLE___VALID_FONT_SIZE__DIAGNOSTICCHAIN_MAP:
- return validFontSize((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.STYLE___VALID_FILL_OPACITY__DIAGNOSTICCHAIN_MAP:
- return validFillOpacity((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.STYLE___VALID_STROKE_WIDTH__DIAGNOSTICCHAIN_MAP:
- return validStrokeWidth((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.STYLE___VALID_DASH_LENGTH_SIZE__DIAGNOSTICCHAIN_MAP:
- return validDashLengthSize((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
- case DGPackage.STYLE___VALID_STROKE_OPACITY__DIAGNOSTICCHAIN_MAP:
- return validStrokeOpacity((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.STYLE___VALID_FONT_SIZE__DIAGNOSTICCHAIN_MAP:
+ return validFontSize((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.STYLE___VALID_FILL_OPACITY__DIAGNOSTICCHAIN_MAP:
+ return validFillOpacity((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.STYLE___VALID_STROKE_WIDTH__DIAGNOSTICCHAIN_MAP:
+ return validStrokeWidth((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.STYLE___VALID_DASH_LENGTH_SIZE__DIAGNOSTICCHAIN_MAP:
+ return validDashLengthSize((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
+ case DGPackage.STYLE___VALID_STROKE_OPACITY__DIAGNOSTICCHAIN_MAP:
+ return validStrokeOpacity((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (fillOpacity: ");
- if (fillOpacityESet)
- result.append(fillOpacity);
- else
- result.append("<unset>");
+ if (fillOpacityESet) result.append(fillOpacity); else result.append("<unset>");
result.append(", strokeWidth: ");
- if (strokeWidthESet)
- result.append(strokeWidth);
- else
- result.append("<unset>");
+ if (strokeWidthESet) result.append(strokeWidth); else result.append("<unset>");
result.append(", strokeOpacity: ");
- if (strokeOpacityESet)
- result.append(strokeOpacity);
- else
- result.append("<unset>");
+ if (strokeOpacityESet) result.append(strokeOpacity); else result.append("<unset>");
result.append(", strokeDashLength: ");
result.append(strokeDashLengths);
result.append(", fontSize: ");
- if (fontSizeESet)
- result.append(fontSize);
- else
- result.append("<unset>");
+ if (fontSizeESet) result.append(fontSize); else result.append("<unset>");
result.append(", fontName: ");
- if (fontNameESet)
- result.append(fontName);
- else
- result.append("<unset>");
+ if (fontNameESet) result.append(fontName); else result.append("<unset>");
result.append(", fontItalic: ");
- if (fontItalicESet)
- result.append(fontItalic);
- else
- result.append("<unset>");
+ if (fontItalicESet) result.append(fontItalic); else result.append("<unset>");
result.append(", fontBold: ");
- if (fontBoldESet)
- result.append(fontBold);
- else
- result.append("<unset>");
+ if (fontBoldESet) result.append(fontBold); else result.append("<unset>");
result.append(", fontDecoration: ");
- if (fontDecorationESet)
- result.append(fontDecoration);
- else
- result.append("<unset>");
+ if (fontDecorationESet) result.append(fontDecoration); else result.append("<unset>");
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleRuleImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleRuleImpl.java
index e4f001d0a71..0f091e8875d 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleRuleImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleRuleImpl.java
@@ -38,21 +38,18 @@ import org.eclipse.papyrus.dd.dg.StyleSelector;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl#getSelectors <em>
- * Selector</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl#getStyle <em>Style
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl#getSelectors <em>Selector</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleRuleImpl#getStyle <em>Style</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class StyleRuleImpl extends MinimalEObjectImpl.Container implements
StyleRule {
/**
- * The cached value of the '{@link #getSelectors() <em>Selector</em>}'
- * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getSelectors() <em>Selector</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getSelectors()
* @generated
* @ordered
@@ -60,9 +57,8 @@ public class StyleRuleImpl extends MinimalEObjectImpl.Container implements
protected EList<StyleSelector> selectors;
/**
- * The cached value of the '{@link #getStyle() <em>Style</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getStyle() <em>Style</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getStyle()
* @generated
* @ordered
@@ -71,7 +67,6 @@ public class StyleRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected StyleRuleImpl() {
@@ -80,7 +75,6 @@ public class StyleRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -90,20 +84,17 @@ public class StyleRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<StyleSelector> getSelectors() {
if (selectors == null) {
- selectors = new EObjectContainmentEList<StyleSelector>(
- StyleSelector.class, this, DGPackage.STYLE_RULE__SELECTOR);
+ selectors = new EObjectContainmentEList<StyleSelector>(StyleSelector.class, this, DGPackage.STYLE_RULE__SELECTOR);
}
return selectors;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Style getStyle() {
@@ -112,7 +103,6 @@ public class StyleRuleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetStyle(Style newStyle,
@@ -120,126 +110,108 @@ public class StyleRuleImpl extends MinimalEObjectImpl.Container implements
Style oldStyle = style;
style = newStyle;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.STYLE_RULE__STYLE, oldStyle,
- newStyle);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.STYLE_RULE__STYLE, oldStyle, newStyle);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setStyle(Style newStyle) {
if (newStyle != style) {
NotificationChain msgs = null;
if (style != null)
- msgs = ((InternalEObject) style).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.STYLE_RULE__STYLE,
- null, msgs);
+ msgs = ((InternalEObject)style).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.STYLE_RULE__STYLE, null, msgs);
if (newStyle != null)
- msgs = ((InternalEObject) newStyle).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.STYLE_RULE__STYLE,
- null, msgs);
+ msgs = ((InternalEObject)newStyle).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.STYLE_RULE__STYLE, null, msgs);
msgs = basicSetStyle(newStyle, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE_RULE__STYLE, newStyle, newStyle));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE_RULE__STYLE, newStyle, newStyle));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.STYLE_RULE__SELECTOR:
- return ((InternalEList<?>) getSelectors()).basicRemove(otherEnd,
- msgs);
- case DGPackage.STYLE_RULE__STYLE:
- return basicSetStyle(null, msgs);
+ case DGPackage.STYLE_RULE__SELECTOR:
+ return ((InternalEList<?>)getSelectors()).basicRemove(otherEnd, msgs);
+ case DGPackage.STYLE_RULE__STYLE:
+ return basicSetStyle(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 DGPackage.STYLE_RULE__SELECTOR:
- return getSelectors();
- case DGPackage.STYLE_RULE__STYLE:
- return getStyle();
+ case DGPackage.STYLE_RULE__SELECTOR:
+ return getSelectors();
+ case DGPackage.STYLE_RULE__STYLE:
+ return getStyle();
}
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 DGPackage.STYLE_RULE__SELECTOR:
- getSelectors().clear();
- getSelectors().addAll(
- (Collection<? extends StyleSelector>) newValue);
- return;
- case DGPackage.STYLE_RULE__STYLE:
- setStyle((Style) newValue);
- return;
+ case DGPackage.STYLE_RULE__SELECTOR:
+ getSelectors().clear();
+ getSelectors().addAll((Collection<? extends StyleSelector>)newValue);
+ return;
+ case DGPackage.STYLE_RULE__STYLE:
+ setStyle((Style)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.STYLE_RULE__SELECTOR:
- getSelectors().clear();
- return;
- case DGPackage.STYLE_RULE__STYLE:
- setStyle((Style) null);
- return;
+ case DGPackage.STYLE_RULE__SELECTOR:
+ getSelectors().clear();
+ return;
+ case DGPackage.STYLE_RULE__STYLE:
+ setStyle((Style)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.STYLE_RULE__SELECTOR:
- return selectors != null && !selectors.isEmpty();
- case DGPackage.STYLE_RULE__STYLE:
- return style != null;
+ case DGPackage.STYLE_RULE__SELECTOR:
+ return selectors != null && !selectors.isEmpty();
+ case DGPackage.STYLE_RULE__STYLE:
+ return style != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSelectorImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSelectorImpl.java
index d78ddca3598..598e6a0ede6 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSelectorImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSelectorImpl.java
@@ -28,13 +28,11 @@ import org.eclipse.papyrus.dd.dg.StyleSelector;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl#getKind <em>Kind
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl#getClasses <em>
- * Class</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl#getKind <em>Kind</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleSelectorImpl#getClasses <em>Class</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
@@ -42,7 +40,6 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
/**
* The default value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getKind()
* @generated
* @ordered
@@ -52,7 +49,6 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
/**
* The cached value of the '{@link #getKind() <em>Kind</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getKind()
* @generated
* @ordered
@@ -60,18 +56,17 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
protected ElementKind kind = KIND_EDEFAULT;
/**
- * This is true if the Kind attribute has been set. <!-- begin-user-doc -->
+ * This is true if the Kind attribute has been set.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
protected boolean kindESet;
/**
- * The cached value of the '{@link #getClasses() <em>Class</em>}' attribute
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getClasses() <em>Class</em>}' attribute list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getClasses()
* @generated
* @ordered
@@ -80,7 +75,6 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected StyleSelectorImpl() {
@@ -89,7 +83,6 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -99,7 +92,6 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public ElementKind getKind() {
@@ -108,7 +100,6 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setKind(ElementKind newKind) {
@@ -117,13 +108,11 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
boolean oldKindESet = kindESet;
kindESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.STYLE_SELECTOR__KIND, oldKind, kind, !oldKindESet));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.STYLE_SELECTOR__KIND, oldKind, kind, !oldKindESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void unsetKind() {
@@ -132,14 +121,11 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
kind = KIND_EDEFAULT;
kindESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- DGPackage.STYLE_SELECTOR__KIND, oldKind, KIND_EDEFAULT,
- oldKindESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DGPackage.STYLE_SELECTOR__KIND, oldKind, KIND_EDEFAULT, oldKindESet));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean isSetKind() {
@@ -148,103 +134,92 @@ public class StyleSelectorImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<String> getClasses() {
if (classes == null) {
- classes = new EDataTypeUniqueEList<String>(String.class, this,
- DGPackage.STYLE_SELECTOR__CLASS);
+ classes = new EDataTypeUniqueEList<String>(String.class, this, DGPackage.STYLE_SELECTOR__CLASS);
}
return classes;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.STYLE_SELECTOR__KIND:
- return getKind();
- case DGPackage.STYLE_SELECTOR__CLASS:
- return getClasses();
+ case DGPackage.STYLE_SELECTOR__KIND:
+ return getKind();
+ case DGPackage.STYLE_SELECTOR__CLASS:
+ return getClasses();
}
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 DGPackage.STYLE_SELECTOR__KIND:
- setKind((ElementKind) newValue);
- return;
- case DGPackage.STYLE_SELECTOR__CLASS:
- getClasses().clear();
- getClasses().addAll((Collection<? extends String>) newValue);
- return;
+ case DGPackage.STYLE_SELECTOR__KIND:
+ setKind((ElementKind)newValue);
+ return;
+ case DGPackage.STYLE_SELECTOR__CLASS:
+ getClasses().clear();
+ getClasses().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 DGPackage.STYLE_SELECTOR__KIND:
- unsetKind();
- return;
- case DGPackage.STYLE_SELECTOR__CLASS:
- getClasses().clear();
- return;
+ case DGPackage.STYLE_SELECTOR__KIND:
+ unsetKind();
+ return;
+ case DGPackage.STYLE_SELECTOR__CLASS:
+ getClasses().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.STYLE_SELECTOR__KIND:
- return isSetKind();
- case DGPackage.STYLE_SELECTOR__CLASS:
- return classes != null && !classes.isEmpty();
+ case DGPackage.STYLE_SELECTOR__KIND:
+ return isSetKind();
+ case DGPackage.STYLE_SELECTOR__CLASS:
+ return classes != null && !classes.isEmpty();
}
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(" (kind: ");
- if (kindESet)
- result.append(kind);
- else
- result.append("<unset>");
+ if (kindESet) result.append(kind); else result.append("<unset>");
result.append(", class: ");
result.append(classes);
result.append(')');
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSheetImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSheetImpl.java
index 102ea2f86b4..ecf34924eca 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSheetImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/StyleSheetImpl.java
@@ -35,19 +35,17 @@ import org.eclipse.papyrus.dd.dg.StyleSheet;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleSheetImpl#getRules <em>Rule
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.StyleSheetImpl#getRules <em>Rule</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class StyleSheetImpl extends MinimalEObjectImpl.Container implements
StyleSheet {
/**
- * The cached value of the '{@link #getRules() <em>Rule</em>}' containment
- * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getRules() <em>Rule</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getRules()
* @generated
* @ordered
@@ -56,7 +54,6 @@ public class StyleSheetImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected StyleSheetImpl() {
@@ -65,7 +62,6 @@ public class StyleSheetImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -75,88 +71,81 @@ public class StyleSheetImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<StyleRule> getRules() {
if (rules == null) {
- rules = new EObjectContainmentEList<StyleRule>(StyleRule.class,
- this, DGPackage.STYLE_SHEET__RULE);
+ rules = new EObjectContainmentEList<StyleRule>(StyleRule.class, this, DGPackage.STYLE_SHEET__RULE);
}
return rules;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.STYLE_SHEET__RULE:
- return ((InternalEList<?>) getRules()).basicRemove(otherEnd, msgs);
+ case DGPackage.STYLE_SHEET__RULE:
+ return ((InternalEList<?>)getRules()).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 DGPackage.STYLE_SHEET__RULE:
- return getRules();
+ case DGPackage.STYLE_SHEET__RULE:
+ return getRules();
}
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 DGPackage.STYLE_SHEET__RULE:
- getRules().clear();
- getRules().addAll((Collection<? extends StyleRule>) newValue);
- return;
+ case DGPackage.STYLE_SHEET__RULE:
+ getRules().clear();
+ getRules().addAll((Collection<? extends StyleRule>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.STYLE_SHEET__RULE:
- getRules().clear();
- return;
+ case DGPackage.STYLE_SHEET__RULE:
+ getRules().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.STYLE_SHEET__RULE:
- return rules != null && !rules.isEmpty();
+ case DGPackage.STYLE_SHEET__RULE:
+ return rules != null && !rules.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TextImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TextImpl.java
index 7d9569050f0..8a71bf61ec6 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TextImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TextImpl.java
@@ -28,6 +28,7 @@ import org.eclipse.papyrus.dd.dc.Point;
import org.eclipse.papyrus.dd.dg.DGPackage;
import org.eclipse.papyrus.dd.dg.Text;
+import org.eclipse.papyrus.dd.dg.TextAnchor;
import org.eclipse.papyrus.dd.dg.util.DGValidator;
/**
@@ -36,19 +37,18 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.TextImpl#getData <em>Data</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.TextImpl#getPosition <em>Position
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.TextImpl#getData <em>Data</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.TextImpl#getPosition <em>Position</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.TextImpl#getAnchor <em>Anchor</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class TextImpl extends GraphicalElementImpl implements Text {
/**
* The default value of the '{@link #getData() <em>Data</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getData()
* @generated
* @ordered
@@ -58,7 +58,6 @@ public class TextImpl extends GraphicalElementImpl implements Text {
/**
* The cached value of the '{@link #getData() <em>Data</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getData()
* @generated
* @ordered
@@ -66,9 +65,8 @@ public class TextImpl extends GraphicalElementImpl implements Text {
protected String data = DATA_EDEFAULT;
/**
- * The cached value of the '{@link #getPosition() <em>Position</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getPosition() <em>Position</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getPosition()
* @generated
* @ordered
@@ -76,8 +74,27 @@ public class TextImpl extends GraphicalElementImpl implements Text {
protected Point position;
/**
+ * The default value of the '{@link #getAnchor() <em>Anchor</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnchor()
+ * @generated
+ * @ordered
+ */
+ protected static final TextAnchor ANCHOR_EDEFAULT = TextAnchor.START;
+
+ /**
+ * The cached value of the '{@link #getAnchor() <em>Anchor</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnchor()
+ * @generated
+ * @ordered
+ */
+ protected TextAnchor anchor = ANCHOR_EDEFAULT;
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected TextImpl() {
@@ -86,7 +103,6 @@ public class TextImpl extends GraphicalElementImpl implements Text {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -96,7 +112,6 @@ public class TextImpl extends GraphicalElementImpl implements Text {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getData() {
@@ -105,20 +120,17 @@ public class TextImpl extends GraphicalElementImpl implements Text {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setData(String newData) {
String oldData = data;
data = newData;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.TEXT__DATA, oldData, data));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.TEXT__DATA, oldData, data));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Point getPosition() {
@@ -127,7 +139,6 @@ public class TextImpl extends GraphicalElementImpl implements Text {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetPosition(Point newPosition,
@@ -135,49 +146,56 @@ public class TextImpl extends GraphicalElementImpl implements Text {
Point oldPosition = position;
position = newPosition;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.TEXT__POSITION, oldPosition,
- newPosition);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.TEXT__POSITION, oldPosition, newPosition);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setPosition(Point newPosition) {
if (newPosition != position) {
NotificationChain msgs = null;
if (position != null)
- msgs = ((InternalEObject) position).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.TEXT__POSITION,
- null, msgs);
+ msgs = ((InternalEObject)position).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.TEXT__POSITION, null, msgs);
if (newPosition != null)
- msgs = ((InternalEObject) newPosition).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.TEXT__POSITION,
- null, msgs);
+ msgs = ((InternalEObject)newPosition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.TEXT__POSITION, null, msgs);
msgs = basicSetPosition(newPosition, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.TEXT__POSITION, newPosition, newPosition));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.TEXT__POSITION, newPosition, newPosition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TextAnchor getAnchor() {
+ return anchor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAnchor(TextAnchor newAnchor) {
+ TextAnchor oldAnchor = anchor;
+ anchor = newAnchor == null ? ANCHOR_EDEFAULT : newAnchor;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.TEXT__ANCHOR, oldAnchor, anchor));
}
/**
- * The cached validation expression for the '
- * {@link #dataCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
- * <em>Data Cannot Be Empty</em>}' invariant operation. <!-- begin-user-doc
+ * The cached validation expression for the '{@link #dataCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Data Cannot Be Empty</em>}' invariant operation.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #dataCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain,
- * java.util.Map)
+ * @see #dataCannotBeEmpty(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
* @generated
* @ordered
*/
@@ -185,111 +203,114 @@ public class TextImpl extends GraphicalElementImpl implements Text {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean dataCannotBeEmpty(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.TEXT,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.TEXT___DATA_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP,
- DATA_CANNOT_BE_EMPTY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.TEXT__DATA_CANNOT_BE_EMPTY);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.TEXT,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.TEXT___DATA_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP,
+ DATA_CANNOT_BE_EMPTY_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.TEXT__DATA_CANNOT_BE_EMPTY);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.TEXT__POSITION:
- return basicSetPosition(null, msgs);
+ case DGPackage.TEXT__POSITION:
+ return basicSetPosition(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 DGPackage.TEXT__DATA:
- return getData();
- case DGPackage.TEXT__POSITION:
- return getPosition();
+ case DGPackage.TEXT__DATA:
+ return getData();
+ case DGPackage.TEXT__POSITION:
+ return getPosition();
+ case DGPackage.TEXT__ANCHOR:
+ return getAnchor();
}
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.TEXT__DATA:
- setData((String) newValue);
- return;
- case DGPackage.TEXT__POSITION:
- setPosition((Point) newValue);
- return;
+ case DGPackage.TEXT__DATA:
+ setData((String)newValue);
+ return;
+ case DGPackage.TEXT__POSITION:
+ setPosition((Point)newValue);
+ return;
+ case DGPackage.TEXT__ANCHOR:
+ setAnchor((TextAnchor)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.TEXT__DATA:
- setData(DATA_EDEFAULT);
- return;
- case DGPackage.TEXT__POSITION:
- setPosition((Point) null);
- return;
+ case DGPackage.TEXT__DATA:
+ setData(DATA_EDEFAULT);
+ return;
+ case DGPackage.TEXT__POSITION:
+ setPosition((Point)null);
+ return;
+ case DGPackage.TEXT__ANCHOR:
+ setAnchor(ANCHOR_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.TEXT__DATA:
- return DATA_EDEFAULT == null ? data != null : !DATA_EDEFAULT
- .equals(data);
- case DGPackage.TEXT__POSITION:
- return position != null;
+ case DGPackage.TEXT__DATA:
+ return DATA_EDEFAULT == null ? data != null : !DATA_EDEFAULT.equals(data);
+ case DGPackage.TEXT__POSITION:
+ return position != null;
+ case DGPackage.TEXT__ANCHOR:
+ return anchor != ANCHOR_EDEFAULT;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -297,26 +318,25 @@ public class TextImpl extends GraphicalElementImpl implements Text {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.TEXT___DATA_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP:
- return dataCannotBeEmpty((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.TEXT___DATA_CANNOT_BE_EMPTY__DIAGNOSTICCHAIN_MAP:
+ return dataCannotBeEmpty((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
/**
* <!-- 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(" (data: ");
result.append(data);
+ result.append(", anchor: ");
+ result.append(anchor);
result.append(')');
return result.toString();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TransformImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TransformImpl.java
index ee27b09e03d..5612d490ba0 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TransformImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TransformImpl.java
@@ -23,14 +23,13 @@ import org.eclipse.papyrus.dd.dg.Transform;
* <em><b>Transform</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public abstract class TransformImpl extends MinimalEObjectImpl.Container
implements Transform {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected TransformImpl() {
@@ -39,7 +38,6 @@ public abstract class TransformImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TranslateImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TranslateImpl.java
index 92a35de6b0f..78b0b9af6e8 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TranslateImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/TranslateImpl.java
@@ -26,20 +26,17 @@ import org.eclipse.papyrus.dd.dg.Translate;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.TranslateImpl#getDeltaX <em>Delta X
- * </em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.TranslateImpl#getDeltaY <em>Delta Y
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.TranslateImpl#getDeltaX <em>Delta X</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.TranslateImpl#getDeltaY <em>Delta Y</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class TranslateImpl extends TransformImpl implements Translate {
/**
- * The default value of the '{@link #getDeltaX() <em>Delta X</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getDeltaX() <em>Delta X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getDeltaX()
* @generated
* @ordered
@@ -47,9 +44,8 @@ public class TranslateImpl extends TransformImpl implements Translate {
protected static final double DELTA_X_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getDeltaX() <em>Delta X</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getDeltaX() <em>Delta X</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getDeltaX()
* @generated
* @ordered
@@ -57,9 +53,8 @@ public class TranslateImpl extends TransformImpl implements Translate {
protected double deltaX = DELTA_X_EDEFAULT;
/**
- * The default value of the '{@link #getDeltaY() <em>Delta Y</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getDeltaY() <em>Delta Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getDeltaY()
* @generated
* @ordered
@@ -67,9 +62,8 @@ public class TranslateImpl extends TransformImpl implements Translate {
protected static final double DELTA_Y_EDEFAULT = 0.0;
/**
- * The cached value of the '{@link #getDeltaY() <em>Delta Y</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getDeltaY() <em>Delta Y</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getDeltaY()
* @generated
* @ordered
@@ -78,7 +72,6 @@ public class TranslateImpl extends TransformImpl implements Translate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected TranslateImpl() {
@@ -87,7 +80,6 @@ public class TranslateImpl extends TransformImpl implements Translate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -97,7 +89,6 @@ public class TranslateImpl extends TransformImpl implements Translate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getDeltaX() {
@@ -106,20 +97,17 @@ public class TranslateImpl extends TransformImpl implements Translate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setDeltaX(double newDeltaX) {
double oldDeltaX = deltaX;
deltaX = newDeltaX;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.TRANSLATE__DELTA_X, oldDeltaX, deltaX));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.TRANSLATE__DELTA_X, oldDeltaX, deltaX));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getDeltaY() {
@@ -128,94 +116,86 @@ public class TranslateImpl extends TransformImpl implements Translate {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setDeltaY(double newDeltaY) {
double oldDeltaY = deltaY;
deltaY = newDeltaY;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.TRANSLATE__DELTA_Y, oldDeltaY, deltaY));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.TRANSLATE__DELTA_Y, oldDeltaY, deltaY));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DGPackage.TRANSLATE__DELTA_X:
- return getDeltaX();
- case DGPackage.TRANSLATE__DELTA_Y:
- return getDeltaY();
+ case DGPackage.TRANSLATE__DELTA_X:
+ return getDeltaX();
+ case DGPackage.TRANSLATE__DELTA_Y:
+ return getDeltaY();
}
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.TRANSLATE__DELTA_X:
- setDeltaX((Double) newValue);
- return;
- case DGPackage.TRANSLATE__DELTA_Y:
- setDeltaY((Double) newValue);
- return;
+ case DGPackage.TRANSLATE__DELTA_X:
+ setDeltaX((Double)newValue);
+ return;
+ case DGPackage.TRANSLATE__DELTA_Y:
+ setDeltaY((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.TRANSLATE__DELTA_X:
- setDeltaX(DELTA_X_EDEFAULT);
- return;
- case DGPackage.TRANSLATE__DELTA_Y:
- setDeltaY(DELTA_Y_EDEFAULT);
- return;
+ case DGPackage.TRANSLATE__DELTA_X:
+ setDeltaX(DELTA_X_EDEFAULT);
+ return;
+ case DGPackage.TRANSLATE__DELTA_Y:
+ setDeltaY(DELTA_Y_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.TRANSLATE__DELTA_X:
- return deltaX != DELTA_X_EDEFAULT;
- case DGPackage.TRANSLATE__DELTA_Y:
- return deltaY != DELTA_Y_EDEFAULT;
+ case DGPackage.TRANSLATE__DELTA_X:
+ return deltaX != DELTA_X_EDEFAULT;
+ case DGPackage.TRANSLATE__DELTA_Y:
+ return deltaY != DELTA_Y_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(" (deltaX: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/UseImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/UseImpl.java
index 43c1a875ec6..96ace814158 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/UseImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/impl/UseImpl.java
@@ -37,19 +37,17 @@ import org.eclipse.papyrus.dd.dg.util.DGValidator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.UseImpl#getBounds <em>Bounds</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.dg.impl.UseImpl#getReferencedElement <em>
- * Referenced Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.UseImpl#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.dg.impl.UseImpl#getReferencedElement <em>Referenced Element</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class UseImpl extends GraphicalElementImpl implements Use {
/**
- * The cached value of the '{@link #getBounds() <em>Bounds</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getBounds()
* @generated
* @ordered
@@ -57,10 +55,9 @@ public class UseImpl extends GraphicalElementImpl implements Use {
protected Bounds bounds;
/**
- * The cached value of the '{@link #getReferencedElement()
- * <em>Referenced Element</em>}' reference. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getReferencedElement() <em>Referenced Element</em>}' reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getReferencedElement()
* @generated
* @ordered
@@ -69,7 +66,6 @@ public class UseImpl extends GraphicalElementImpl implements Use {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected UseImpl() {
@@ -78,7 +74,6 @@ public class UseImpl extends GraphicalElementImpl implements Use {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -88,7 +83,6 @@ public class UseImpl extends GraphicalElementImpl implements Use {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Bounds getBounds() {
@@ -97,7 +91,6 @@ public class UseImpl extends GraphicalElementImpl implements Use {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetBounds(Bounds newBounds,
@@ -105,55 +98,41 @@ public class UseImpl extends GraphicalElementImpl implements Use {
Bounds oldBounds = bounds;
bounds = newBounds;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DGPackage.USE__BOUNDS, oldBounds,
- newBounds);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DGPackage.USE__BOUNDS, oldBounds, newBounds);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setBounds(Bounds newBounds) {
if (newBounds != bounds) {
NotificationChain msgs = null;
if (bounds != null)
- msgs = ((InternalEObject) bounds).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.USE__BOUNDS, null,
- msgs);
+ msgs = ((InternalEObject)bounds).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DGPackage.USE__BOUNDS, null, msgs);
if (newBounds != null)
- msgs = ((InternalEObject) newBounds).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DGPackage.USE__BOUNDS, null,
- msgs);
+ msgs = ((InternalEObject)newBounds).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DGPackage.USE__BOUNDS, null, msgs);
msgs = basicSetBounds(newBounds, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.USE__BOUNDS, newBounds, newBounds));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.USE__BOUNDS, newBounds, newBounds));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public GraphicalElement getReferencedElement() {
if (referencedElement != null && referencedElement.eIsProxy()) {
- InternalEObject oldReferencedElement = (InternalEObject) referencedElement;
- referencedElement = (GraphicalElement) eResolveProxy(oldReferencedElement);
+ InternalEObject oldReferencedElement = (InternalEObject)referencedElement;
+ referencedElement = (GraphicalElement)eResolveProxy(oldReferencedElement);
if (referencedElement != oldReferencedElement) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DGPackage.USE__REFERENCED_ELEMENT,
- oldReferencedElement, referencedElement));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, DGPackage.USE__REFERENCED_ELEMENT, oldReferencedElement, referencedElement));
}
}
return referencedElement;
@@ -161,7 +140,6 @@ public class UseImpl extends GraphicalElementImpl implements Use {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public GraphicalElement basicGetReferencedElement() {
@@ -170,16 +148,13 @@ public class UseImpl extends GraphicalElementImpl implements Use {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setReferencedElement(GraphicalElement newReferencedElement) {
GraphicalElement oldReferencedElement = referencedElement;
referencedElement = newReferencedElement;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DGPackage.USE__REFERENCED_ELEMENT, oldReferencedElement,
- referencedElement));
+ eNotify(new ENotificationImpl(this, Notification.SET, DGPackage.USE__REFERENCED_ELEMENT, oldReferencedElement, referencedElement));
}
/**
@@ -197,112 +172,105 @@ public class UseImpl extends GraphicalElementImpl implements Use {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean referencedElementHasId(DiagnosticChain diagnostics,
Map<Object, Object> context) {
- return DGValidator
- .validate(
- DGPackage.Literals.USE,
- this,
- diagnostics,
- context,
- "http://www.eclipse.org/emf/2002/Ecore/OCL",
- DGPackage.Literals.USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP,
- REFERENCED_ELEMENT_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
- Diagnostic.ERROR, DGValidator.DIAGNOSTIC_SOURCE,
- DGValidator.USE__REFERENCED_ELEMENT_HAS_ID);
+ return
+ DGValidator.validate
+ (DGPackage.Literals.USE,
+ this,
+ diagnostics,
+ context,
+ "http://www.eclipse.org/emf/2002/Ecore/OCL",
+ DGPackage.Literals.USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP,
+ REFERENCED_ELEMENT_HAS_ID_DIAGNOSTIC_CHAIN_MAP__EEXPRESSION,
+ Diagnostic.ERROR,
+ DGValidator.DIAGNOSTIC_SOURCE,
+ DGValidator.USE__REFERENCED_ELEMENT_HAS_ID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DGPackage.USE__BOUNDS:
- return basicSetBounds(null, msgs);
+ case DGPackage.USE__BOUNDS:
+ return basicSetBounds(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 DGPackage.USE__BOUNDS:
- return getBounds();
- case DGPackage.USE__REFERENCED_ELEMENT:
- if (resolve)
- return getReferencedElement();
- return basicGetReferencedElement();
+ case DGPackage.USE__BOUNDS:
+ return getBounds();
+ case DGPackage.USE__REFERENCED_ELEMENT:
+ if (resolve) return getReferencedElement();
+ return basicGetReferencedElement();
}
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.USE__BOUNDS:
- setBounds((Bounds) newValue);
- return;
- case DGPackage.USE__REFERENCED_ELEMENT:
- setReferencedElement((GraphicalElement) newValue);
- return;
+ case DGPackage.USE__BOUNDS:
+ setBounds((Bounds)newValue);
+ return;
+ case DGPackage.USE__REFERENCED_ELEMENT:
+ setReferencedElement((GraphicalElement)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DGPackage.USE__BOUNDS:
- setBounds((Bounds) null);
- return;
- case DGPackage.USE__REFERENCED_ELEMENT:
- setReferencedElement((GraphicalElement) null);
- return;
+ case DGPackage.USE__BOUNDS:
+ setBounds((Bounds)null);
+ return;
+ case DGPackage.USE__REFERENCED_ELEMENT:
+ setReferencedElement((GraphicalElement)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DGPackage.USE__BOUNDS:
- return bounds != null;
- case DGPackage.USE__REFERENCED_ELEMENT:
- return referencedElement != null;
+ case DGPackage.USE__BOUNDS:
+ return bounds != null;
+ case DGPackage.USE__REFERENCED_ELEMENT:
+ return referencedElement != null;
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -310,9 +278,8 @@ public class UseImpl extends GraphicalElementImpl implements Use {
public Object eInvoke(int operationID, EList<?> arguments)
throws InvocationTargetException {
switch (operationID) {
- case DGPackage.USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP:
- return referencedElementHasId((DiagnosticChain) arguments.get(0),
- (Map<Object, Object>) arguments.get(1));
+ case DGPackage.USE___REFERENCED_ELEMENT_HAS_ID__DIAGNOSTICCHAIN_MAP:
+ return referencedElementHasId((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1));
}
return super.eInvoke(operationID, arguments);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGAdapterFactory.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGAdapterFactory.java
index 8c7830a6820..956c257a9fc 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGAdapterFactory.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGAdapterFactory.java
@@ -24,23 +24,22 @@ import org.eclipse.papyrus.dd.dg.*;
* <!-- 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.dd.dg.DGPackage
* @generated
*/
public class DGAdapterFactory extends AdapterFactoryImpl {
/**
- * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static DGPackage modelPackage;
/**
- * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DGAdapterFactory() {
@@ -54,7 +53,6 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
* <!-- 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
*/
@@ -64,7 +62,7 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -76,239 +74,195 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
* @generated
*/
protected DGSwitch<Adapter> modelSwitch = new DGSwitch<Adapter>() {
- @Override
- public Adapter caseCanvas(Canvas object) {
- return createCanvasAdapter();
- }
-
- @Override
- public Adapter caseGroup(Group object) {
- return createGroupAdapter();
- }
-
- @Override
- public Adapter caseGraphicalElement(GraphicalElement object) {
- return createGraphicalElementAdapter();
- }
-
- @Override
- public Adapter caseDefinition(Definition object) {
- return createDefinitionAdapter();
- }
-
- @Override
- public Adapter caseMoveTo(MoveTo object) {
- return createMoveToAdapter();
- }
-
- @Override
- public Adapter casePathCommand(PathCommand object) {
- return createPathCommandAdapter();
- }
-
- @Override
- public Adapter caseClipPath(ClipPath object) {
- return createClipPathAdapter();
- }
-
- @Override
- public Adapter caseStyle(Style object) {
- return createStyleAdapter();
- }
-
- @Override
- public Adapter casePaint(Paint object) {
- return createPaintAdapter();
- }
-
- @Override
- public Adapter casePaintServer(PaintServer object) {
- return createPaintServerAdapter();
- }
-
- @Override
- public Adapter caseTransform(Transform object) {
- return createTransformAdapter();
- }
-
- @Override
- public Adapter caseCircle(Circle object) {
- return createCircleAdapter();
- }
-
- @Override
- public Adapter caseClosePath(ClosePath object) {
- return createClosePathAdapter();
- }
-
- @Override
- public Adapter caseCubicCurveTo(CubicCurveTo object) {
- return createCubicCurveToAdapter();
- }
-
- @Override
- public Adapter caseDefinitions(Definitions object) {
- return createDefinitionsAdapter();
- }
-
- @Override
- public Adapter caseStyleSheet(StyleSheet object) {
- return createStyleSheetAdapter();
- }
-
- @Override
- public Adapter caseStyleRule(StyleRule object) {
- return createStyleRuleAdapter();
- }
-
- @Override
- public Adapter caseStyleSelector(StyleSelector object) {
- return createStyleSelectorAdapter();
- }
-
- @Override
- public Adapter caseEllipse(Ellipse object) {
- return createEllipseAdapter();
- }
-
- @Override
- public Adapter caseEllipticalArcTo(EllipticalArcTo object) {
- return createEllipticalArcToAdapter();
- }
-
- @Override
- public Adapter caseQuadraticCurveTo(QuadraticCurveTo object) {
- return createQuadraticCurveToAdapter();
- }
-
- @Override
- public Adapter caseGradient(Gradient object) {
- return createGradientAdapter();
- }
-
- @Override
- public Adapter caseGradientStop(GradientStop object) {
- return createGradientStopAdapter();
- }
-
- @Override
- public Adapter caseImage(Image object) {
- return createImageAdapter();
- }
-
- @Override
- public Adapter caseLine(Line object) {
- return createLineAdapter();
- }
-
- @Override
- public Adapter caseMarkedElement(MarkedElement object) {
- return createMarkedElementAdapter();
- }
-
- @Override
- public Adapter caseMarker(Marker object) {
- return createMarkerAdapter();
- }
-
- @Override
- public Adapter caseLinearGradient(LinearGradient object) {
- return createLinearGradientAdapter();
- }
-
- @Override
- public Adapter caseLineTo(LineTo object) {
- return createLineToAdapter();
- }
-
- @Override
- public Adapter caseMatrix(Matrix object) {
- return createMatrixAdapter();
- }
-
- @Override
- public Adapter casePath(Path object) {
- return createPathAdapter();
- }
-
- @Override
- public Adapter casePattern(Pattern object) {
- return createPatternAdapter();
- }
-
- @Override
- public Adapter casePolygon(Polygon object) {
- return createPolygonAdapter();
- }
-
- @Override
- public Adapter casePolyline(Polyline object) {
- return createPolylineAdapter();
- }
-
- @Override
- public Adapter caseRadialGradient(RadialGradient object) {
- return createRadialGradientAdapter();
- }
-
- @Override
- public Adapter caseRectangle(Rectangle object) {
- return createRectangleAdapter();
- }
-
- @Override
- public Adapter caseRootCanvas(RootCanvas object) {
- return createRootCanvasAdapter();
- }
-
- @Override
- public Adapter caseRotate(Rotate object) {
- return createRotateAdapter();
- }
-
- @Override
- public Adapter caseScale(Scale object) {
- return createScaleAdapter();
- }
-
- @Override
- public Adapter caseSkew(Skew object) {
- return createSkewAdapter();
- }
-
- @Override
- public Adapter caseText(Text object) {
- return createTextAdapter();
- }
-
- @Override
- public Adapter caseTranslate(Translate object) {
- return createTranslateAdapter();
- }
-
- @Override
- public Adapter caseUse(Use object) {
- return createUseAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>. <!-- begin-user-doc -->
+ @Override
+ public Adapter caseCanvas(Canvas object) {
+ return createCanvasAdapter();
+ }
+ @Override
+ public Adapter caseGroup(Group object) {
+ return createGroupAdapter();
+ }
+ @Override
+ public Adapter caseGraphicalElement(GraphicalElement object) {
+ return createGraphicalElementAdapter();
+ }
+ @Override
+ public Adapter caseDefinition(Definition object) {
+ return createDefinitionAdapter();
+ }
+ @Override
+ public Adapter caseMoveTo(MoveTo object) {
+ return createMoveToAdapter();
+ }
+ @Override
+ public Adapter casePathCommand(PathCommand object) {
+ return createPathCommandAdapter();
+ }
+ @Override
+ public Adapter caseClipPath(ClipPath object) {
+ return createClipPathAdapter();
+ }
+ @Override
+ public Adapter caseStyle(Style object) {
+ return createStyleAdapter();
+ }
+ @Override
+ public Adapter casePaint(Paint object) {
+ return createPaintAdapter();
+ }
+ @Override
+ public Adapter casePaintServer(PaintServer object) {
+ return createPaintServerAdapter();
+ }
+ @Override
+ public Adapter caseTransform(Transform object) {
+ return createTransformAdapter();
+ }
+ @Override
+ public Adapter caseCircle(Circle object) {
+ return createCircleAdapter();
+ }
+ @Override
+ public Adapter caseClosePath(ClosePath object) {
+ return createClosePathAdapter();
+ }
+ @Override
+ public Adapter caseCubicCurveTo(CubicCurveTo object) {
+ return createCubicCurveToAdapter();
+ }
+ @Override
+ public Adapter caseDefinitions(Definitions object) {
+ return createDefinitionsAdapter();
+ }
+ @Override
+ public Adapter caseStyleSheet(StyleSheet object) {
+ return createStyleSheetAdapter();
+ }
+ @Override
+ public Adapter caseStyleRule(StyleRule object) {
+ return createStyleRuleAdapter();
+ }
+ @Override
+ public Adapter caseStyleSelector(StyleSelector object) {
+ return createStyleSelectorAdapter();
+ }
+ @Override
+ public Adapter caseEllipse(Ellipse object) {
+ return createEllipseAdapter();
+ }
+ @Override
+ public Adapter caseEllipticalArcTo(EllipticalArcTo object) {
+ return createEllipticalArcToAdapter();
+ }
+ @Override
+ public Adapter caseQuadraticCurveTo(QuadraticCurveTo object) {
+ return createQuadraticCurveToAdapter();
+ }
+ @Override
+ public Adapter caseGradient(Gradient object) {
+ return createGradientAdapter();
+ }
+ @Override
+ public Adapter caseGradientStop(GradientStop object) {
+ return createGradientStopAdapter();
+ }
+ @Override
+ public Adapter caseImage(Image object) {
+ return createImageAdapter();
+ }
+ @Override
+ public Adapter caseLine(Line object) {
+ return createLineAdapter();
+ }
+ @Override
+ public Adapter caseMarkedElement(MarkedElement object) {
+ return createMarkedElementAdapter();
+ }
+ @Override
+ public Adapter caseMarker(Marker object) {
+ return createMarkerAdapter();
+ }
+ @Override
+ public Adapter caseLinearGradient(LinearGradient object) {
+ return createLinearGradientAdapter();
+ }
+ @Override
+ public Adapter caseLineTo(LineTo object) {
+ return createLineToAdapter();
+ }
+ @Override
+ public Adapter caseMatrix(Matrix object) {
+ return createMatrixAdapter();
+ }
+ @Override
+ public Adapter casePath(Path object) {
+ return createPathAdapter();
+ }
+ @Override
+ public Adapter casePattern(Pattern object) {
+ return createPatternAdapter();
+ }
+ @Override
+ public Adapter casePolygon(Polygon object) {
+ return createPolygonAdapter();
+ }
+ @Override
+ public Adapter casePolyline(Polyline object) {
+ return createPolylineAdapter();
+ }
+ @Override
+ public Adapter caseRadialGradient(RadialGradient object) {
+ return createRadialGradientAdapter();
+ }
+ @Override
+ public Adapter caseRectangle(Rectangle object) {
+ return createRectangleAdapter();
+ }
+ @Override
+ public Adapter caseRootCanvas(RootCanvas object) {
+ return createRootCanvasAdapter();
+ }
+ @Override
+ public Adapter caseRotate(Rotate object) {
+ return createRotateAdapter();
+ }
+ @Override
+ public Adapter caseScale(Scale object) {
+ return createScaleAdapter();
+ }
+ @Override
+ public Adapter caseSkew(Skew object) {
+ return createSkewAdapter();
+ }
+ @Override
+ public Adapter caseText(Text object) {
+ return createTextAdapter();
+ }
+ @Override
+ public Adapter caseTranslate(Translate object) {
+ return createTranslateAdapter();
+ }
+ @Override
+ public Adapter caseUse(Use object) {
+ return createUseAdapter();
+ }
+ @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.
+ * @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);
+ return modelSwitch.doSwitch((EObject)target);
}
/**
@@ -342,13 +296,11 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.GraphicalElement
- * <em>Graphical Element</em>}'. <!-- begin-user-doc --> This default
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.GraphicalElement <em>Graphical 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.dd.dg.GraphicalElement
* @generated
@@ -418,12 +370,10 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.PaintServer <em>Paint Server</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.PaintServer <em>Paint Server</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.dd.dg.PaintServer
* @generated
@@ -463,12 +413,10 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.CubicCurveTo <em>Cubic Curve To</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.CubicCurveTo <em>Cubic Curve To</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.dd.dg.CubicCurveTo
* @generated
@@ -478,12 +426,10 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.PathCommand <em>Path Command</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.PathCommand <em>Path Command</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.dd.dg.PathCommand
* @generated
@@ -538,12 +484,10 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.StyleSelector <em>Style Selector</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.StyleSelector <em>Style Selector</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.dd.dg.StyleSelector
* @generated
@@ -598,13 +542,11 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.EllipticalArcTo
- * <em>Elliptical Arc To</em>}'. <!-- begin-user-doc --> This default
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.EllipticalArcTo <em>Elliptical Arc To</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.dd.dg.EllipticalArcTo
* @generated
@@ -614,13 +556,11 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo
- * <em>Quadratic Curve To</em>}'. <!-- begin-user-doc --> This default
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.QuadraticCurveTo <em>Quadratic Curve To</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.dd.dg.QuadraticCurveTo
* @generated
@@ -645,12 +585,10 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.GradientStop <em>Gradient Stop</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.GradientStop <em>Gradient Stop</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.dd.dg.GradientStop
* @generated
@@ -690,12 +628,10 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.MarkedElement <em>Marked Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.MarkedElement <em>Marked 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.dd.dg.MarkedElement
* @generated
@@ -705,12 +641,10 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.LinearGradient <em>Linear Gradient</em>}
- * '. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.LinearGradient <em>Linear Gradient</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.dd.dg.LinearGradient
* @generated
@@ -825,12 +759,10 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.RadialGradient <em>Radial Gradient</em>}
- * '. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.RadialGradient <em>Radial Gradient</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.dd.dg.RadialGradient
* @generated
@@ -945,12 +877,11 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.dg.Use <em>Use</em>}'. <!-- begin-user-doc
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.dg.Use <em>Use</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.dd.dg.Use
* @generated
@@ -960,9 +891,9 @@ public class DGAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for the default case. <!-- begin-user-doc --> This
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGSwitch.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGSwitch.java
index 1416204f031..b65156813cc 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGSwitch.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGSwitch.java
@@ -25,23 +25,22 @@ import org.eclipse.papyrus.dd.dg.*;
* 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.dd.dg.DGPackage
* @generated
*/
public class DGSwitch<T> extends Switch<T> {
/**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static DGPackage modelPackage;
/**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!--
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DGSwitch() {
@@ -64,461 +63,348 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns
- * a non null result; it yields that result. <!-- begin-user-doc --> <!--
+ * 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.
+ * @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 DGPackage.CANVAS: {
- Canvas canvas = (Canvas) theEObject;
- T result = caseCanvas(canvas);
- if (result == null)
- result = caseGroup(canvas);
- if (result == null)
- result = caseGraphicalElement(canvas);
- if (result == null)
- result = caseDefinition(canvas);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.GROUP: {
- Group group = (Group) theEObject;
- T result = caseGroup(group);
- if (result == null)
- result = caseGraphicalElement(group);
- if (result == null)
- result = caseDefinition(group);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.GRAPHICAL_ELEMENT: {
- GraphicalElement graphicalElement = (GraphicalElement) theEObject;
- T result = caseGraphicalElement(graphicalElement);
- if (result == null)
- result = caseDefinition(graphicalElement);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.DEFINITION: {
- Definition definition = (Definition) theEObject;
- T result = caseDefinition(definition);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.MOVE_TO: {
- MoveTo moveTo = (MoveTo) theEObject;
- T result = caseMoveTo(moveTo);
- if (result == null)
- result = casePathCommand(moveTo);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.PATH_COMMAND: {
- PathCommand pathCommand = (PathCommand) theEObject;
- T result = casePathCommand(pathCommand);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.CLIP_PATH: {
- ClipPath clipPath = (ClipPath) theEObject;
- T result = caseClipPath(clipPath);
- if (result == null)
- result = caseGroup(clipPath);
- if (result == null)
- result = caseGraphicalElement(clipPath);
- if (result == null)
- result = caseDefinition(clipPath);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.STYLE: {
- Style style = (Style) theEObject;
- T result = caseStyle(style);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.PAINT: {
- Paint paint = (Paint) theEObject;
- T result = casePaint(paint);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.PAINT_SERVER: {
- PaintServer paintServer = (PaintServer) theEObject;
- T result = casePaintServer(paintServer);
- if (result == null)
- result = caseDefinition(paintServer);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.TRANSFORM: {
- Transform transform = (Transform) theEObject;
- T result = caseTransform(transform);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.CIRCLE: {
- Circle circle = (Circle) theEObject;
- T result = caseCircle(circle);
- if (result == null)
- result = caseGraphicalElement(circle);
- if (result == null)
- result = caseDefinition(circle);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.CLOSE_PATH: {
- ClosePath closePath = (ClosePath) theEObject;
- T result = caseClosePath(closePath);
- if (result == null)
- result = casePathCommand(closePath);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.CUBIC_CURVE_TO: {
- CubicCurveTo cubicCurveTo = (CubicCurveTo) theEObject;
- T result = caseCubicCurveTo(cubicCurveTo);
- if (result == null)
- result = casePathCommand(cubicCurveTo);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.DEFINITIONS: {
- Definitions definitions = (Definitions) theEObject;
- T result = caseDefinitions(definitions);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.STYLE_SHEET: {
- StyleSheet styleSheet = (StyleSheet) theEObject;
- T result = caseStyleSheet(styleSheet);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.STYLE_RULE: {
- StyleRule styleRule = (StyleRule) theEObject;
- T result = caseStyleRule(styleRule);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.STYLE_SELECTOR: {
- StyleSelector styleSelector = (StyleSelector) theEObject;
- T result = caseStyleSelector(styleSelector);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.ELLIPSE: {
- Ellipse ellipse = (Ellipse) theEObject;
- T result = caseEllipse(ellipse);
- if (result == null)
- result = caseGraphicalElement(ellipse);
- if (result == null)
- result = caseDefinition(ellipse);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.ELLIPTICAL_ARC_TO: {
- EllipticalArcTo ellipticalArcTo = (EllipticalArcTo) theEObject;
- T result = caseEllipticalArcTo(ellipticalArcTo);
- if (result == null)
- result = casePathCommand(ellipticalArcTo);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.QUADRATIC_CURVE_TO: {
- QuadraticCurveTo quadraticCurveTo = (QuadraticCurveTo) theEObject;
- T result = caseQuadraticCurveTo(quadraticCurveTo);
- if (result == null)
- result = casePathCommand(quadraticCurveTo);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.GRADIENT: {
- Gradient gradient = (Gradient) theEObject;
- T result = caseGradient(gradient);
- if (result == null)
- result = casePaintServer(gradient);
- if (result == null)
- result = caseDefinition(gradient);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.GRADIENT_STOP: {
- GradientStop gradientStop = (GradientStop) theEObject;
- T result = caseGradientStop(gradientStop);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.IMAGE: {
- Image image = (Image) theEObject;
- T result = caseImage(image);
- if (result == null)
- result = caseGraphicalElement(image);
- if (result == null)
- result = caseDefinition(image);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.LINE: {
- Line line = (Line) theEObject;
- T result = caseLine(line);
- if (result == null)
- result = caseMarkedElement(line);
- if (result == null)
- result = caseGraphicalElement(line);
- if (result == null)
- result = caseDefinition(line);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.MARKED_ELEMENT: {
- MarkedElement markedElement = (MarkedElement) theEObject;
- T result = caseMarkedElement(markedElement);
- if (result == null)
- result = caseGraphicalElement(markedElement);
- if (result == null)
- result = caseDefinition(markedElement);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.MARKER: {
- Marker marker = (Marker) theEObject;
- T result = caseMarker(marker);
- if (result == null)
- result = caseGroup(marker);
- if (result == null)
- result = caseGraphicalElement(marker);
- if (result == null)
- result = caseDefinition(marker);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.LINEAR_GRADIENT: {
- LinearGradient linearGradient = (LinearGradient) theEObject;
- T result = caseLinearGradient(linearGradient);
- if (result == null)
- result = caseGradient(linearGradient);
- if (result == null)
- result = casePaintServer(linearGradient);
- if (result == null)
- result = caseDefinition(linearGradient);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.LINE_TO: {
- LineTo lineTo = (LineTo) theEObject;
- T result = caseLineTo(lineTo);
- if (result == null)
- result = casePathCommand(lineTo);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.MATRIX: {
- Matrix matrix = (Matrix) theEObject;
- T result = caseMatrix(matrix);
- if (result == null)
- result = caseTransform(matrix);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.PATH: {
- Path path = (Path) theEObject;
- T result = casePath(path);
- if (result == null)
- result = caseMarkedElement(path);
- if (result == null)
- result = caseGraphicalElement(path);
- if (result == null)
- result = caseDefinition(path);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.PATTERN: {
- Pattern pattern = (Pattern) theEObject;
- T result = casePattern(pattern);
- if (result == null)
- result = casePaintServer(pattern);
- if (result == null)
- result = caseDefinition(pattern);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.POLYGON: {
- Polygon polygon = (Polygon) theEObject;
- T result = casePolygon(polygon);
- if (result == null)
- result = caseMarkedElement(polygon);
- if (result == null)
- result = caseGraphicalElement(polygon);
- if (result == null)
- result = caseDefinition(polygon);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.POLYLINE: {
- Polyline polyline = (Polyline) theEObject;
- T result = casePolyline(polyline);
- if (result == null)
- result = caseMarkedElement(polyline);
- if (result == null)
- result = caseGraphicalElement(polyline);
- if (result == null)
- result = caseDefinition(polyline);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.RADIAL_GRADIENT: {
- RadialGradient radialGradient = (RadialGradient) theEObject;
- T result = caseRadialGradient(radialGradient);
- if (result == null)
- result = caseGradient(radialGradient);
- if (result == null)
- result = casePaintServer(radialGradient);
- if (result == null)
- result = caseDefinition(radialGradient);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.RECTANGLE: {
- Rectangle rectangle = (Rectangle) theEObject;
- T result = caseRectangle(rectangle);
- if (result == null)
- result = caseGraphicalElement(rectangle);
- if (result == null)
- result = caseDefinition(rectangle);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.ROOT_CANVAS: {
- RootCanvas rootCanvas = (RootCanvas) theEObject;
- T result = caseRootCanvas(rootCanvas);
- if (result == null)
- result = caseCanvas(rootCanvas);
- if (result == null)
- result = caseGroup(rootCanvas);
- if (result == null)
- result = caseGraphicalElement(rootCanvas);
- if (result == null)
- result = caseDefinition(rootCanvas);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.ROTATE: {
- Rotate rotate = (Rotate) theEObject;
- T result = caseRotate(rotate);
- if (result == null)
- result = caseTransform(rotate);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.SCALE: {
- Scale scale = (Scale) theEObject;
- T result = caseScale(scale);
- if (result == null)
- result = caseTransform(scale);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.SKEW: {
- Skew skew = (Skew) theEObject;
- T result = caseSkew(skew);
- if (result == null)
- result = caseTransform(skew);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.TEXT: {
- Text text = (Text) theEObject;
- T result = caseText(text);
- if (result == null)
- result = caseGraphicalElement(text);
- if (result == null)
- result = caseDefinition(text);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.TRANSLATE: {
- Translate translate = (Translate) theEObject;
- T result = caseTranslate(translate);
- if (result == null)
- result = caseTransform(translate);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DGPackage.USE: {
- Use use = (Use) theEObject;
- T result = caseUse(use);
- if (result == null)
- result = caseGraphicalElement(use);
- if (result == null)
- result = caseDefinition(use);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
+ case DGPackage.CANVAS: {
+ Canvas canvas = (Canvas)theEObject;
+ T result = caseCanvas(canvas);
+ if (result == null) result = caseGroup(canvas);
+ if (result == null) result = caseGraphicalElement(canvas);
+ if (result == null) result = caseDefinition(canvas);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.GROUP: {
+ Group group = (Group)theEObject;
+ T result = caseGroup(group);
+ if (result == null) result = caseGraphicalElement(group);
+ if (result == null) result = caseDefinition(group);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.GRAPHICAL_ELEMENT: {
+ GraphicalElement graphicalElement = (GraphicalElement)theEObject;
+ T result = caseGraphicalElement(graphicalElement);
+ if (result == null) result = caseDefinition(graphicalElement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.DEFINITION: {
+ Definition definition = (Definition)theEObject;
+ T result = caseDefinition(definition);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.MOVE_TO: {
+ MoveTo moveTo = (MoveTo)theEObject;
+ T result = caseMoveTo(moveTo);
+ if (result == null) result = casePathCommand(moveTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.PATH_COMMAND: {
+ PathCommand pathCommand = (PathCommand)theEObject;
+ T result = casePathCommand(pathCommand);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.CLIP_PATH: {
+ ClipPath clipPath = (ClipPath)theEObject;
+ T result = caseClipPath(clipPath);
+ if (result == null) result = caseGroup(clipPath);
+ if (result == null) result = caseGraphicalElement(clipPath);
+ if (result == null) result = caseDefinition(clipPath);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.STYLE: {
+ Style style = (Style)theEObject;
+ T result = caseStyle(style);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.PAINT: {
+ Paint paint = (Paint)theEObject;
+ T result = casePaint(paint);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.PAINT_SERVER: {
+ PaintServer paintServer = (PaintServer)theEObject;
+ T result = casePaintServer(paintServer);
+ if (result == null) result = caseDefinition(paintServer);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.TRANSFORM: {
+ Transform transform = (Transform)theEObject;
+ T result = caseTransform(transform);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.CIRCLE: {
+ Circle circle = (Circle)theEObject;
+ T result = caseCircle(circle);
+ if (result == null) result = caseGraphicalElement(circle);
+ if (result == null) result = caseDefinition(circle);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.CLOSE_PATH: {
+ ClosePath closePath = (ClosePath)theEObject;
+ T result = caseClosePath(closePath);
+ if (result == null) result = casePathCommand(closePath);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.CUBIC_CURVE_TO: {
+ CubicCurveTo cubicCurveTo = (CubicCurveTo)theEObject;
+ T result = caseCubicCurveTo(cubicCurveTo);
+ if (result == null) result = casePathCommand(cubicCurveTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.DEFINITIONS: {
+ Definitions definitions = (Definitions)theEObject;
+ T result = caseDefinitions(definitions);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.STYLE_SHEET: {
+ StyleSheet styleSheet = (StyleSheet)theEObject;
+ T result = caseStyleSheet(styleSheet);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.STYLE_RULE: {
+ StyleRule styleRule = (StyleRule)theEObject;
+ T result = caseStyleRule(styleRule);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.STYLE_SELECTOR: {
+ StyleSelector styleSelector = (StyleSelector)theEObject;
+ T result = caseStyleSelector(styleSelector);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.ELLIPSE: {
+ Ellipse ellipse = (Ellipse)theEObject;
+ T result = caseEllipse(ellipse);
+ if (result == null) result = caseGraphicalElement(ellipse);
+ if (result == null) result = caseDefinition(ellipse);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.ELLIPTICAL_ARC_TO: {
+ EllipticalArcTo ellipticalArcTo = (EllipticalArcTo)theEObject;
+ T result = caseEllipticalArcTo(ellipticalArcTo);
+ if (result == null) result = casePathCommand(ellipticalArcTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.QUADRATIC_CURVE_TO: {
+ QuadraticCurveTo quadraticCurveTo = (QuadraticCurveTo)theEObject;
+ T result = caseQuadraticCurveTo(quadraticCurveTo);
+ if (result == null) result = casePathCommand(quadraticCurveTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.GRADIENT: {
+ Gradient gradient = (Gradient)theEObject;
+ T result = caseGradient(gradient);
+ if (result == null) result = casePaintServer(gradient);
+ if (result == null) result = caseDefinition(gradient);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.GRADIENT_STOP: {
+ GradientStop gradientStop = (GradientStop)theEObject;
+ T result = caseGradientStop(gradientStop);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.IMAGE: {
+ Image image = (Image)theEObject;
+ T result = caseImage(image);
+ if (result == null) result = caseGraphicalElement(image);
+ if (result == null) result = caseDefinition(image);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.LINE: {
+ Line line = (Line)theEObject;
+ T result = caseLine(line);
+ if (result == null) result = caseMarkedElement(line);
+ if (result == null) result = caseGraphicalElement(line);
+ if (result == null) result = caseDefinition(line);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.MARKED_ELEMENT: {
+ MarkedElement markedElement = (MarkedElement)theEObject;
+ T result = caseMarkedElement(markedElement);
+ if (result == null) result = caseGraphicalElement(markedElement);
+ if (result == null) result = caseDefinition(markedElement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.MARKER: {
+ Marker marker = (Marker)theEObject;
+ T result = caseMarker(marker);
+ if (result == null) result = caseGroup(marker);
+ if (result == null) result = caseGraphicalElement(marker);
+ if (result == null) result = caseDefinition(marker);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.LINEAR_GRADIENT: {
+ LinearGradient linearGradient = (LinearGradient)theEObject;
+ T result = caseLinearGradient(linearGradient);
+ if (result == null) result = caseGradient(linearGradient);
+ if (result == null) result = casePaintServer(linearGradient);
+ if (result == null) result = caseDefinition(linearGradient);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.LINE_TO: {
+ LineTo lineTo = (LineTo)theEObject;
+ T result = caseLineTo(lineTo);
+ if (result == null) result = casePathCommand(lineTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.MATRIX: {
+ Matrix matrix = (Matrix)theEObject;
+ T result = caseMatrix(matrix);
+ if (result == null) result = caseTransform(matrix);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.PATH: {
+ Path path = (Path)theEObject;
+ T result = casePath(path);
+ if (result == null) result = caseMarkedElement(path);
+ if (result == null) result = caseGraphicalElement(path);
+ if (result == null) result = caseDefinition(path);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.PATTERN: {
+ Pattern pattern = (Pattern)theEObject;
+ T result = casePattern(pattern);
+ if (result == null) result = casePaintServer(pattern);
+ if (result == null) result = caseDefinition(pattern);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.POLYGON: {
+ Polygon polygon = (Polygon)theEObject;
+ T result = casePolygon(polygon);
+ if (result == null) result = caseMarkedElement(polygon);
+ if (result == null) result = caseGraphicalElement(polygon);
+ if (result == null) result = caseDefinition(polygon);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.POLYLINE: {
+ Polyline polyline = (Polyline)theEObject;
+ T result = casePolyline(polyline);
+ if (result == null) result = caseMarkedElement(polyline);
+ if (result == null) result = caseGraphicalElement(polyline);
+ if (result == null) result = caseDefinition(polyline);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.RADIAL_GRADIENT: {
+ RadialGradient radialGradient = (RadialGradient)theEObject;
+ T result = caseRadialGradient(radialGradient);
+ if (result == null) result = caseGradient(radialGradient);
+ if (result == null) result = casePaintServer(radialGradient);
+ if (result == null) result = caseDefinition(radialGradient);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.RECTANGLE: {
+ Rectangle rectangle = (Rectangle)theEObject;
+ T result = caseRectangle(rectangle);
+ if (result == null) result = caseGraphicalElement(rectangle);
+ if (result == null) result = caseDefinition(rectangle);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.ROOT_CANVAS: {
+ RootCanvas rootCanvas = (RootCanvas)theEObject;
+ T result = caseRootCanvas(rootCanvas);
+ if (result == null) result = caseCanvas(rootCanvas);
+ if (result == null) result = caseGroup(rootCanvas);
+ if (result == null) result = caseGraphicalElement(rootCanvas);
+ if (result == null) result = caseDefinition(rootCanvas);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.ROTATE: {
+ Rotate rotate = (Rotate)theEObject;
+ T result = caseRotate(rotate);
+ if (result == null) result = caseTransform(rotate);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.SCALE: {
+ Scale scale = (Scale)theEObject;
+ T result = caseScale(scale);
+ if (result == null) result = caseTransform(scale);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.SKEW: {
+ Skew skew = (Skew)theEObject;
+ T result = caseSkew(skew);
+ if (result == null) result = caseTransform(skew);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.TEXT: {
+ Text text = (Text)theEObject;
+ T result = caseText(text);
+ if (result == null) result = caseGraphicalElement(text);
+ if (result == null) result = caseDefinition(text);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.TRANSLATE: {
+ Translate translate = (Translate)theEObject;
+ T result = caseTranslate(translate);
+ if (result == null) result = caseTransform(translate);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DGPackage.USE: {
+ Use use = (Use)theEObject;
+ T result = caseUse(use);
+ if (result == null) result = caseGraphicalElement(use);
+ if (result == null) result = caseDefinition(use);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Canvas</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Canvas</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>Canvas</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Canvas</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -527,15 +413,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Group</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Group</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>Group</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Group</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -544,15 +427,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Graphical Element</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Graphical 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>Graphical Element</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Graphical Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -561,15 +441,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Definition</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Definition</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>Definition</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Definition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -578,15 +455,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Clip Path</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Clip Path</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>Clip Path</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Clip Path</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -595,15 +469,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Style</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Style</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>Style</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Style</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -612,15 +483,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Paint</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Paint</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>Paint</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Paint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -629,15 +497,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Paint Server</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Paint Server</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>Paint Server</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Paint Server</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -646,15 +511,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Transform</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Transform</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>Transform</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Transform</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -663,15 +525,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Definitions</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Definitions</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>Definitions</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Definitions</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -680,15 +539,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Cubic Curve To</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Cubic Curve To</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>Cubic Curve To</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Cubic Curve To</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -697,15 +553,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Path Command</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Path Command</em>'.
+ * <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Path Command</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Path Command</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -714,15 +567,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Marker</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Marker</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>Marker</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Marker</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -731,15 +581,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Style Sheet</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Style Sheet</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>Style Sheet</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Style Sheet</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -748,15 +595,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Style Rule</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Style Rule</em>'.
+ * <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Style Rule</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Style Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -765,15 +609,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Style Selector</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Style Selector</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>Style Selector</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Style Selector</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -782,15 +623,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Circle</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Circle</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>Circle</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Circle</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -799,15 +637,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Close Path</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Close Path</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>Close Path</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Close Path</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -816,15 +651,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Ellipse</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Ellipse</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>Ellipse</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Ellipse</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -833,15 +665,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Elliptical Arc To</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Elliptical Arc To</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>Elliptical Arc To</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Elliptical Arc To</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -850,15 +679,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Quadratic Curve To</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Quadratic Curve To</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>Quadratic Curve To</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Quadratic Curve To</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -867,15 +693,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Gradient</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Gradient</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>Gradient</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Gradient</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -884,15 +707,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Gradient Stop</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Gradient Stop</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>Gradient Stop</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Gradient Stop</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -901,15 +721,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Image</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Image</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>Image</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Image</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -935,15 +752,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Marked Element</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Marked 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>Marked Element</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Marked Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -952,15 +766,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Linear Gradient</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Linear Gradient</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>Linear Gradient</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Linear Gradient</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -969,15 +780,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Line To</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Line To</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>Line To</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Line To</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -986,15 +794,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Matrix</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Matrix</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>Matrix</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Matrix</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1003,15 +808,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Move To</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Move To</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>Move To</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Move To</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1037,15 +839,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Pattern</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Pattern</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>Pattern</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Pattern</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1054,15 +853,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Polygon</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Polygon</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>Polygon</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Polygon</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1071,15 +867,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Polyline</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Polyline</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>Polyline</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Polyline</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1088,15 +881,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Radial Gradient</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Radial Gradient</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>Radial Gradient</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Radial Gradient</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1105,15 +895,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Rectangle</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Rectangle</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>Rectangle</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Rectangle</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1122,15 +909,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Root Canvas</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Root Canvas</em>'.
+ * <!-- begin-user-doc --> This implementation
* returns null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Root Canvas</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Root Canvas</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1139,15 +923,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Rotate</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Rotate</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>Rotate</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Rotate</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1156,15 +937,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Scale</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Scale</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>Scale</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Scale</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1207,15 +985,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Translate</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Translate</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>Translate</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Translate</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -1241,15 +1016,12 @@ public class DGSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>EObject</em>'. <!-- begin-user-doc --> This implementation returns
+ * 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>'.
+ * @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
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGValidator.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGValidator.java
index 00f2e36fae2..33929df30f4 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGValidator.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGValidator.java
@@ -35,18 +35,15 @@ import org.eclipse.papyrus.dd.dg.*;
public class DGValidator extends EObjectValidator {
/**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static final DGValidator INSTANCE = new DGValidator();
/**
- * A constant for the
- * {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of
- * diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes}
- * from this package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.emf.common.util.Diagnostic#getSource()
* @see org.eclipse.emf.common.util.Diagnostic#getCode()
* @generated
@@ -72,55 +69,49 @@ public class DGValidator extends EObjectValidator {
public static final int GRAPHICAL_ELEMENT__REFERENCED_CLIPPATH_HAS_ID = 2;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Id Cannot Be Empty' of 'Definition'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Id Cannot Be Empty' of 'Definition'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int DEFINITION__ID_CANNOT_BE_EMPTY = 3;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Font Size' of 'Style'. <!-- begin-user-doc --> <!--
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Font Size' of 'Style'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static final int STYLE__VALID_FONT_SIZE = 4;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Fill Opacity' of 'Style'. <!-- begin-user-doc --> <!--
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Fill Opacity' of 'Style'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static final int STYLE__VALID_FILL_OPACITY = 5;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Stroke Width' of 'Style'. <!-- begin-user-doc --> <!--
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Stroke Width' of 'Style'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static final int STYLE__VALID_STROKE_WIDTH = 6;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Dash Length Size' of 'Style'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Dash Length Size' of 'Style'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int STYLE__VALID_DASH_LENGTH_SIZE = 7;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Stroke Opacity' of 'Style'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Stroke Opacity' of 'Style'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int STYLE__VALID_STROKE_OPACITY = 8;
@@ -135,37 +126,33 @@ public class DGValidator extends EObjectValidator {
public static final int PAINT__REFERENCED_PAINT_SERVER_HAS_ID = 9;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Non Negative Radius' of 'Circle'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Non Negative Radius' of 'Circle'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int CIRCLE__NON_NEGATIVE_RADIUS = 10;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Offset' of 'Gradient Stop'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Offset' of 'Gradient Stop'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int GRADIENT_STOP__VALID_OFFSET = 11;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Opacity' of 'Gradient Stop'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Opacity' of 'Gradient Stop'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int GRADIENT_STOP__VALID_OPACITY = 12;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Source Cannot Be Empty' of 'Image'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Source Cannot Be Empty' of 'Image'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int IMAGE__SOURCE_CANNOT_BE_EMPTY = 13;
@@ -207,37 +194,33 @@ public class DGValidator extends EObjectValidator {
public static final int LINEAR_GRADIENT__VALID_GRADIENT_VECTOR = 17;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'First Command Must Be Move' of 'Path'. <!-- begin-user-doc
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'First Command Must Be Move' of 'Path'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
public static final int PATH__FIRST_COMMAND_MUST_BE_MOVE = 18;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Center Point' of 'Radial Gradient'. <!-- begin-user-doc
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Center Point' of 'Radial Gradient'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
public static final int RADIAL_GRADIENT__VALID_CENTER_POINT = 19;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Focus Point' of 'Radial Gradient'. <!-- begin-user-doc
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Focus Point' of 'Radial Gradient'.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
public static final int RADIAL_GRADIENT__VALID_FOCUS_POINT = 20;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Valid Radius' of 'Radial Gradient'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Valid Radius' of 'Radial Gradient'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int RADIAL_GRADIENT__VALID_RADIUS = 21;
@@ -252,69 +235,61 @@ public class DGValidator extends EObjectValidator {
public static final int RECTANGLE__NON_NEGATIVE_CORNER_RADIUS = 22;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Nonnegativescale' of 'Scale'. <!-- begin-user-doc --> <!--
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Nonnegativescale' of 'Scale'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static final int SCALE__NONNEGATIVESCALE = 23;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Data Cannot Be Empty' of 'Text'. <!-- begin-user-doc --> <!--
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Data Cannot Be Empty' of 'Text'.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static final int TEXT__DATA_CANNOT_BE_EMPTY = 24;
/**
- * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for
- * constraint 'Referenced Element Has Id' of 'Use'. <!-- begin-user-doc -->
+ * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Referenced Element Has Id' of 'Use'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static final int USE__REFERENCED_ELEMENT_HAS_ID = 25;
/**
- * A constant with a fixed name that can be used as the base value for
- * additional hand written constants. <!-- begin-user-doc --> <!--
+ * A constant with a fixed name that can be used as the base value for additional hand written constants.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 25;
/**
- * A constant with a fixed name that can be used as the base value for
- * additional hand written constants in a derived class. <!-- begin-user-doc
+ * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
* @generated
*/
protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT;
/**
- * Delegates evaluation of the given invariant expression against the object
- * in the given context. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Delegates evaluation of the given invariant expression against the object in the given context.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public static boolean validate(EClass eClass, EObject eObject,
DiagnosticChain diagnostics, Map<Object, Object> context,
String validationDelegate, EOperation invariant, String expression,
int severity, String source, int code) {
- return EObjectValidator.validate(eClass, eObject, diagnostics, context,
- validationDelegate, invariant, expression, severity, source,
- code);
+ return EObjectValidator.validate(eClass, eObject, diagnostics, context, validationDelegate, invariant, expression, severity, source, code);
}
/**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!--
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DGValidator() {
@@ -322,179 +297,146 @@ public class DGValidator extends EObjectValidator {
}
/**
- * Returns the package of this validator switch. <!-- begin-user-doc -->
+ * Returns the package of this validator switch.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
protected EPackage getEPackage() {
- return DGPackage.eINSTANCE;
+ return DGPackage.eINSTANCE;
}
/**
- * Calls <code>validateXXX</code> for the corresponding classifier of the
- * model. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Calls <code>validateXXX</code> for the corresponding classifier of the model.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
protected boolean validate(int classifierID, Object value,
DiagnosticChain diagnostics, Map<Object, Object> context) {
switch (classifierID) {
- case DGPackage.CANVAS:
- return validateCanvas((Canvas) value, diagnostics, context);
- case DGPackage.GROUP:
- return validateGroup((Group) value, diagnostics, context);
- case DGPackage.GRAPHICAL_ELEMENT:
- return validateGraphicalElement((GraphicalElement) value,
- diagnostics, context);
- case DGPackage.DEFINITION:
- return validateDefinition((Definition) value, diagnostics, context);
- case DGPackage.MOVE_TO:
- return validateMoveTo((MoveTo) value, diagnostics, context);
- case DGPackage.PATH_COMMAND:
- return validatePathCommand((PathCommand) value, diagnostics,
- context);
- case DGPackage.CLIP_PATH:
- return validateClipPath((ClipPath) value, diagnostics, context);
- case DGPackage.STYLE:
- return validateStyle((Style) value, diagnostics, context);
- case DGPackage.PAINT:
- return validatePaint((Paint) value, diagnostics, context);
- case DGPackage.PAINT_SERVER:
- return validatePaintServer((PaintServer) value, diagnostics,
- context);
- case DGPackage.TRANSFORM:
- return validateTransform((Transform) value, diagnostics, context);
- case DGPackage.CIRCLE:
- return validateCircle((Circle) value, diagnostics, context);
- case DGPackage.CLOSE_PATH:
- return validateClosePath((ClosePath) value, diagnostics, context);
- case DGPackage.CUBIC_CURVE_TO:
- return validateCubicCurveTo((CubicCurveTo) value, diagnostics,
- context);
- case DGPackage.DEFINITIONS:
- return validateDefinitions((Definitions) value, diagnostics,
- context);
- case DGPackage.STYLE_SHEET:
- return validateStyleSheet((StyleSheet) value, diagnostics, context);
- case DGPackage.STYLE_RULE:
- return validateStyleRule((StyleRule) value, diagnostics, context);
- case DGPackage.STYLE_SELECTOR:
- return validateStyleSelector((StyleSelector) value, diagnostics,
- context);
- case DGPackage.ELLIPSE:
- return validateEllipse((Ellipse) value, diagnostics, context);
- case DGPackage.ELLIPTICAL_ARC_TO:
- return validateEllipticalArcTo((EllipticalArcTo) value,
- diagnostics, context);
- case DGPackage.QUADRATIC_CURVE_TO:
- return validateQuadraticCurveTo((QuadraticCurveTo) value,
- diagnostics, context);
- case DGPackage.GRADIENT:
- return validateGradient((Gradient) value, diagnostics, context);
- case DGPackage.GRADIENT_STOP:
- return validateGradientStop((GradientStop) value, diagnostics,
- context);
- case DGPackage.IMAGE:
- return validateImage((Image) value, diagnostics, context);
- case DGPackage.LINE:
- return validateLine((Line) value, diagnostics, context);
- case DGPackage.MARKED_ELEMENT:
- return validateMarkedElement((MarkedElement) value, diagnostics,
- context);
- case DGPackage.MARKER:
- return validateMarker((Marker) value, diagnostics, context);
- case DGPackage.LINEAR_GRADIENT:
- return validateLinearGradient((LinearGradient) value, diagnostics,
- context);
- case DGPackage.LINE_TO:
- return validateLineTo((LineTo) value, diagnostics, context);
- case DGPackage.MATRIX:
- return validateMatrix((Matrix) value, diagnostics, context);
- case DGPackage.PATH:
- return validatePath((Path) value, diagnostics, context);
- case DGPackage.PATTERN:
- return validatePattern((Pattern) value, diagnostics, context);
- case DGPackage.POLYGON:
- return validatePolygon((Polygon) value, diagnostics, context);
- case DGPackage.POLYLINE:
- return validatePolyline((Polyline) value, diagnostics, context);
- case DGPackage.RADIAL_GRADIENT:
- return validateRadialGradient((RadialGradient) value, diagnostics,
- context);
- case DGPackage.RECTANGLE:
- return validateRectangle((Rectangle) value, diagnostics, context);
- case DGPackage.ROOT_CANVAS:
- return validateRootCanvas((RootCanvas) value, diagnostics, context);
- case DGPackage.ROTATE:
- return validateRotate((Rotate) value, diagnostics, context);
- case DGPackage.SCALE:
- return validateScale((Scale) value, diagnostics, context);
- case DGPackage.SKEW:
- return validateSkew((Skew) value, diagnostics, context);
- case DGPackage.TEXT:
- return validateText((Text) value, diagnostics, context);
- case DGPackage.TRANSLATE:
- return validateTranslate((Translate) value, diagnostics, context);
- case DGPackage.USE:
- return validateUse((Use) value, diagnostics, context);
- case DGPackage.FONT_DECORATION:
- return validateFontDecoration((FontDecoration) value, diagnostics,
- context);
- case DGPackage.ELEMENT_KIND:
- return validateElementKind((ElementKind) value, diagnostics,
- context);
- default:
- return true;
+ case DGPackage.CANVAS:
+ return validateCanvas((Canvas)value, diagnostics, context);
+ case DGPackage.GROUP:
+ return validateGroup((Group)value, diagnostics, context);
+ case DGPackage.GRAPHICAL_ELEMENT:
+ return validateGraphicalElement((GraphicalElement)value, diagnostics, context);
+ case DGPackage.DEFINITION:
+ return validateDefinition((Definition)value, diagnostics, context);
+ case DGPackage.MOVE_TO:
+ return validateMoveTo((MoveTo)value, diagnostics, context);
+ case DGPackage.PATH_COMMAND:
+ return validatePathCommand((PathCommand)value, diagnostics, context);
+ case DGPackage.CLIP_PATH:
+ return validateClipPath((ClipPath)value, diagnostics, context);
+ case DGPackage.STYLE:
+ return validateStyle((Style)value, diagnostics, context);
+ case DGPackage.PAINT:
+ return validatePaint((Paint)value, diagnostics, context);
+ case DGPackage.PAINT_SERVER:
+ return validatePaintServer((PaintServer)value, diagnostics, context);
+ case DGPackage.TRANSFORM:
+ return validateTransform((Transform)value, diagnostics, context);
+ case DGPackage.CIRCLE:
+ return validateCircle((Circle)value, diagnostics, context);
+ case DGPackage.CLOSE_PATH:
+ return validateClosePath((ClosePath)value, diagnostics, context);
+ case DGPackage.CUBIC_CURVE_TO:
+ return validateCubicCurveTo((CubicCurveTo)value, diagnostics, context);
+ case DGPackage.DEFINITIONS:
+ return validateDefinitions((Definitions)value, diagnostics, context);
+ case DGPackage.STYLE_SHEET:
+ return validateStyleSheet((StyleSheet)value, diagnostics, context);
+ case DGPackage.STYLE_RULE:
+ return validateStyleRule((StyleRule)value, diagnostics, context);
+ case DGPackage.STYLE_SELECTOR:
+ return validateStyleSelector((StyleSelector)value, diagnostics, context);
+ case DGPackage.ELLIPSE:
+ return validateEllipse((Ellipse)value, diagnostics, context);
+ case DGPackage.ELLIPTICAL_ARC_TO:
+ return validateEllipticalArcTo((EllipticalArcTo)value, diagnostics, context);
+ case DGPackage.QUADRATIC_CURVE_TO:
+ return validateQuadraticCurveTo((QuadraticCurveTo)value, diagnostics, context);
+ case DGPackage.GRADIENT:
+ return validateGradient((Gradient)value, diagnostics, context);
+ case DGPackage.GRADIENT_STOP:
+ return validateGradientStop((GradientStop)value, diagnostics, context);
+ case DGPackage.IMAGE:
+ return validateImage((Image)value, diagnostics, context);
+ case DGPackage.LINE:
+ return validateLine((Line)value, diagnostics, context);
+ case DGPackage.MARKED_ELEMENT:
+ return validateMarkedElement((MarkedElement)value, diagnostics, context);
+ case DGPackage.MARKER:
+ return validateMarker((Marker)value, diagnostics, context);
+ case DGPackage.LINEAR_GRADIENT:
+ return validateLinearGradient((LinearGradient)value, diagnostics, context);
+ case DGPackage.LINE_TO:
+ return validateLineTo((LineTo)value, diagnostics, context);
+ case DGPackage.MATRIX:
+ return validateMatrix((Matrix)value, diagnostics, context);
+ case DGPackage.PATH:
+ return validatePath((Path)value, diagnostics, context);
+ case DGPackage.PATTERN:
+ return validatePattern((Pattern)value, diagnostics, context);
+ case DGPackage.POLYGON:
+ return validatePolygon((Polygon)value, diagnostics, context);
+ case DGPackage.POLYLINE:
+ return validatePolyline((Polyline)value, diagnostics, context);
+ case DGPackage.RADIAL_GRADIENT:
+ return validateRadialGradient((RadialGradient)value, diagnostics, context);
+ case DGPackage.RECTANGLE:
+ return validateRectangle((Rectangle)value, diagnostics, context);
+ case DGPackage.ROOT_CANVAS:
+ return validateRootCanvas((RootCanvas)value, diagnostics, context);
+ case DGPackage.ROTATE:
+ return validateRotate((Rotate)value, diagnostics, context);
+ case DGPackage.SCALE:
+ return validateScale((Scale)value, diagnostics, context);
+ case DGPackage.SKEW:
+ return validateSkew((Skew)value, diagnostics, context);
+ case DGPackage.TEXT:
+ return validateText((Text)value, diagnostics, context);
+ case DGPackage.TRANSLATE:
+ return validateTranslate((Translate)value, diagnostics, context);
+ case DGPackage.USE:
+ return validateUse((Use)value, diagnostics, context);
+ case DGPackage.FONT_DECORATION:
+ return validateFontDecoration((FontDecoration)value, diagnostics, context);
+ case DGPackage.ELEMENT_KIND:
+ return validateElementKind((ElementKind)value, diagnostics, context);
+ case DGPackage.TEXT_ANCHOR:
+ return validateTextAnchor((TextAnchor)value, diagnostics, context);
+ default:
+ return true;
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateCanvas(Canvas canvas, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(canvas, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(canvas,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(canvas, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(canvas, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(canvas,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(canvas, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(canvas, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(canvas, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(canvas, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(canvas, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(canvas,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateCanvas_canvasCannotHaveTransforms(canvas,
- diagnostics, context);
+ if (!validate_NoCircularContainment(canvas, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(canvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validateCanvas_canvasCannotHaveTransforms(canvas, diagnostics, context);
return result;
}
/**
* Validates the canvasCannotHaveTransforms constraint of '<em>Canvas</em>'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateCanvas_canvasCannotHaveTransforms(Canvas canvas,
@@ -504,79 +446,41 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateGroup(Group group, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(group, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(group, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(group, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(group, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(group,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(group, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(group, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(group, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(group, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(group, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(group,
- diagnostics, context);
+ if (!validate_NoCircularContainment(group, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(group, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(group, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateGraphicalElement(GraphicalElement graphicalElement,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(graphicalElement, diagnostics,
- context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(graphicalElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(graphicalElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(graphicalElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(
- graphicalElement, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(graphicalElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(graphicalElement, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(graphicalElement, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(graphicalElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(graphicalElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(
- graphicalElement, diagnostics, context);
+ if (!validate_NoCircularContainment(graphicalElement, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(graphicalElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(graphicalElement, diagnostics, context);
return result;
}
@@ -595,37 +499,20 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateDefinition(Definition definition,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(definition, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(definition,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(definition, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(definition,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(definition,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(definition, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(definition, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(definition, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(definition, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(definition,
- diagnostics, context);
+ if (!validate_NoCircularContainment(definition, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(definition, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(definition, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(definition, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(definition, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(definition, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(definition, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(definition, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(definition, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(definition, diagnostics, context);
return result;
}
@@ -642,85 +529,44 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateClipPath(ClipPath clipPath,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(clipPath, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(clipPath,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(clipPath, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(clipPath, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(clipPath,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(clipPath, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(clipPath, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(clipPath, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(clipPath, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(clipPath, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(
- clipPath, diagnostics, context);
+ if (!validate_NoCircularContainment(clipPath, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(clipPath, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(clipPath, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateStyle(Style style, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(style, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(style, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(style, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(style, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(style,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(style, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(style, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(style, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(style, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateStyle_validFontSize(style, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateStyle_validFillOpacity(style, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateStyle_validStrokeWidth(style, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateStyle_validDashLengthSize(style, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateStyle_validStrokeOpacity(style, diagnostics,
- context);
+ if (!validate_NoCircularContainment(style, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validateStyle_validFontSize(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validateStyle_validFillOpacity(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validateStyle_validStrokeWidth(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validateStyle_validDashLengthSize(style, diagnostics, context);
+ if (result || diagnostics != null) result &= validateStyle_validStrokeOpacity(style, diagnostics, context);
return result;
}
@@ -781,42 +627,26 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePaint(Paint paint, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(paint, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(paint, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(paint, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(paint, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(paint,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(paint, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(paint, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(paint, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(paint, diagnostics, context);
- if (result || diagnostics != null)
- result &= validatePaint_referencedPaintServerHasId(paint,
- diagnostics, context);
+ if (!validate_NoCircularContainment(paint, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(paint, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(paint, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(paint, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(paint, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(paint, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(paint, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(paint, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(paint, diagnostics, context);
+ if (result || diagnostics != null) result &= validatePaint_referencedPaintServerHasId(paint, diagnostics, context);
return result;
}
/**
* Validates the referencedPaintServerHasId constraint of '<em>Paint</em>'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePaint_referencedPaintServerHasId(Paint paint,
@@ -826,43 +656,25 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePaintServer(PaintServer paintServer,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(paintServer, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(paintServer,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(paintServer, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(paintServer,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(paintServer,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(paintServer, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(paintServer, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(paintServer, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(paintServer, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(paintServer,
- diagnostics, context);
+ if (!validate_NoCircularContainment(paintServer, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(paintServer, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(paintServer, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(paintServer, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(paintServer, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(paintServer, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(paintServer, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(paintServer, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(paintServer, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(paintServer, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateTransform(Transform transform,
@@ -872,77 +684,53 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateDefinitions(Definitions definitions,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(definitions, diagnostics,
- context);
+ return validate_EveryDefaultConstraint(definitions, diagnostics, context);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateCubicCurveTo(CubicCurveTo cubicCurveTo,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(cubicCurveTo, diagnostics,
- context);
+ return validate_EveryDefaultConstraint(cubicCurveTo, diagnostics, context);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePathCommand(PathCommand pathCommand,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(pathCommand, diagnostics,
- context);
+ return validate_EveryDefaultConstraint(pathCommand, diagnostics, context);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateMarker(Marker marker, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(marker, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(marker,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(marker, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(marker, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(marker,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(marker, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(marker, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(marker, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(marker, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(marker, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(marker,
- diagnostics, context);
+ if (!validate_NoCircularContainment(marker, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(marker, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(marker, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateStyleSheet(StyleSheet styleSheet,
@@ -952,7 +740,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateStyleRule(StyleRule styleRule,
@@ -962,52 +749,31 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateStyleSelector(StyleSelector styleSelector,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(styleSelector, diagnostics,
- context);
+ return validate_EveryDefaultConstraint(styleSelector, diagnostics, context);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateCircle(Circle circle, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(circle, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(circle,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(circle, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(circle, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(circle,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(circle, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(circle, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(circle, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(circle, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(circle, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(circle,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateCircle_nonNegativeRadius(circle, diagnostics,
- context);
+ if (!validate_NoCircularContainment(circle, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(circle, diagnostics, context);
+ if (result || diagnostics != null) result &= validateCircle_nonNegativeRadius(circle, diagnostics, context);
return result;
}
@@ -1024,7 +790,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateClosePath(ClosePath closePath,
@@ -1034,137 +799,78 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateEllipse(Ellipse ellipse,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(ellipse, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(ellipse,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(ellipse, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(ellipse, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(ellipse,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(ellipse, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(ellipse, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(ellipse, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(ellipse, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(ellipse, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(ellipse,
- diagnostics, context);
+ if (!validate_NoCircularContainment(ellipse, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(ellipse, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(ellipse, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateEllipticalArcTo(EllipticalArcTo ellipticalArcTo,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(ellipticalArcTo, diagnostics,
- context);
+ return validate_EveryDefaultConstraint(ellipticalArcTo, diagnostics, context);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateQuadraticCurveTo(QuadraticCurveTo quadraticCurveTo,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- return validate_EveryDefaultConstraint(quadraticCurveTo, diagnostics,
- context);
+ return validate_EveryDefaultConstraint(quadraticCurveTo, diagnostics, context);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateGradient(Gradient gradient,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(gradient, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(gradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(gradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(gradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(gradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(gradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(gradient, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(gradient, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(gradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(gradient, diagnostics,
- context);
+ if (!validate_NoCircularContainment(gradient, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(gradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(gradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(gradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(gradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(gradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(gradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(gradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(gradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(gradient, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateGradientStop(GradientStop gradientStop,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(gradientStop, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(gradientStop,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(gradientStop,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(gradientStop,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(
- gradientStop, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(gradientStop, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(gradientStop, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(gradientStop, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(gradientStop, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGradientStop_validOffset(gradientStop,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateGradientStop_validOpacity(gradientStop,
- diagnostics, context);
+ if (!validate_NoCircularContainment(gradientStop, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGradientStop_validOffset(gradientStop, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGradientStop_validOpacity(gradientStop, diagnostics, context);
return result;
}
@@ -1192,41 +898,22 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateImage(Image image, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(image, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(image, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(image, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(image, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(image,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(image, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(image, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(image, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(image, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(image, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(image,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateImage_sourceCannotBeEmpty(image, diagnostics,
- context);
+ if (!validate_NoCircularContainment(image, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(image, diagnostics, context);
+ if (result || diagnostics != null) result &= validateImage_sourceCannotBeEmpty(image, diagnostics, context);
return result;
}
@@ -1243,103 +930,53 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateLine(Line line, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(line, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(line, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(line, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(line, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(line,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(line, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(line, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(line, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(line, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(line, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(line,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedStartMarkerHasId(line,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedMidMarkerHasId(line,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedEndMarkerHasId(line,
- diagnostics, context);
+ if (!validate_NoCircularContainment(line, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedStartMarkerHasId(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedMidMarkerHasId(line, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedEndMarkerHasId(line, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateMarkedElement(MarkedElement markedElement,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(markedElement, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(markedElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(markedElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(markedElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(
- markedElement, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(markedElement, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(markedElement, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(markedElement, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(markedElement, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(markedElement,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(
- markedElement, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedStartMarkerHasId(
- markedElement, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedMidMarkerHasId(
- markedElement, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedEndMarkerHasId(
- markedElement, diagnostics, context);
+ if (!validate_NoCircularContainment(markedElement, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedStartMarkerHasId(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedMidMarkerHasId(markedElement, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedEndMarkerHasId(markedElement, diagnostics, context);
return result;
}
/**
- * Validates the referencedStartMarkerHasId constraint of '
- * <em>Marked Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Validates the referencedStartMarkerHasId constraint of '<em>Marked Element</em>'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public boolean validateMarkedElement_referencedStartMarkerHasId(
@@ -1349,9 +986,8 @@ public class DGValidator extends EObjectValidator {
}
/**
- * Validates the referencedMidMarkerHasId constraint of '
- * <em>Marked Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Validates the referencedMidMarkerHasId constraint of '<em>Marked Element</em>'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public boolean validateMarkedElement_referencedMidMarkerHasId(
@@ -1361,9 +997,8 @@ public class DGValidator extends EObjectValidator {
}
/**
- * Validates the referencedEndMarkerHasId constraint of '
- * <em>Marked Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Validates the referencedEndMarkerHasId constraint of '<em>Marked Element</em>'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public boolean validateMarkedElement_referencedEndMarkerHasId(
@@ -1374,49 +1009,27 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateLinearGradient(LinearGradient linearGradient,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(linearGradient, diagnostics,
- context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(linearGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(linearGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(linearGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(
- linearGradient, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(linearGradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(linearGradient, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(linearGradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(linearGradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(linearGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateLinearGradient_validGradientVector(
- linearGradient, diagnostics, context);
+ if (!validate_NoCircularContainment(linearGradient, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(linearGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validateLinearGradient_validGradientVector(linearGradient, diagnostics, context);
return result;
}
/**
- * Validates the validGradientVector constraint of '<em>Linear Gradient</em>
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Validates the validGradientVector constraint of '<em>Linear Gradient</em>'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public boolean validateLinearGradient_validGradientVector(
@@ -1427,7 +1040,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateLineTo(LineTo lineTo, DiagnosticChain diagnostics,
@@ -1437,7 +1049,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateMatrix(Matrix matrix, DiagnosticChain diagnostics,
@@ -1447,7 +1058,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateMoveTo(MoveTo moveTo, DiagnosticChain diagnostics,
@@ -1457,50 +1067,25 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePath(Path path, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(path, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(path, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(path, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(path, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(path,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(path, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(path, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(path, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(path, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(path, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(path,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedStartMarkerHasId(path,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedMidMarkerHasId(path,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedEndMarkerHasId(path,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validatePath_firstCommandMustBeMove(path, diagnostics,
- context);
+ if (!validate_NoCircularContainment(path, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedStartMarkerHasId(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedMidMarkerHasId(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedEndMarkerHasId(path, diagnostics, context);
+ if (result || diagnostics != null) result &= validatePath_firstCommandMustBeMove(path, diagnostics, context);
return result;
}
@@ -1517,185 +1102,94 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePattern(Pattern pattern,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(pattern, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(pattern,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(pattern, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(pattern, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(pattern,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(pattern, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(pattern, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(pattern, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(pattern, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(pattern, diagnostics,
- context);
+ if (!validate_NoCircularContainment(pattern, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(pattern, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(pattern, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(pattern, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(pattern, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(pattern, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(pattern, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(pattern, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(pattern, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(pattern, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePolygon(Polygon polygon,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(polygon, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(polygon,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(polygon, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(polygon, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(polygon,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(polygon, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(polygon, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(polygon, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(polygon, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(polygon, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(polygon,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedStartMarkerHasId(polygon,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedMidMarkerHasId(polygon,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedEndMarkerHasId(polygon,
- diagnostics, context);
+ if (!validate_NoCircularContainment(polygon, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedStartMarkerHasId(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedMidMarkerHasId(polygon, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedEndMarkerHasId(polygon, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validatePolyline(Polyline polyline,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(polyline, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(polyline,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(polyline, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(polyline, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(polyline,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(polyline, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(polyline, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(polyline, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(polyline, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(polyline, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(
- polyline, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedStartMarkerHasId(
- polyline, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedMidMarkerHasId(polyline,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateMarkedElement_referencedEndMarkerHasId(polyline,
- diagnostics, context);
+ if (!validate_NoCircularContainment(polyline, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedStartMarkerHasId(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedMidMarkerHasId(polyline, diagnostics, context);
+ if (result || diagnostics != null) result &= validateMarkedElement_referencedEndMarkerHasId(polyline, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateRadialGradient(RadialGradient radialGradient,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(radialGradient, diagnostics,
- context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(radialGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(radialGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(radialGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(
- radialGradient, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(radialGradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(radialGradient, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(radialGradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(radialGradient, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(radialGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateRadialGradient_validCenterPoint(radialGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateRadialGradient_validFocusPoint(radialGradient,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateRadialGradient_validRadius(radialGradient,
- diagnostics, context);
+ if (!validate_NoCircularContainment(radialGradient, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validateRadialGradient_validCenterPoint(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validateRadialGradient_validFocusPoint(radialGradient, diagnostics, context);
+ if (result || diagnostics != null) result &= validateRadialGradient_validRadius(radialGradient, diagnostics, context);
return result;
}
/**
* Validates the validCenterPoint constraint of '<em>Radial Gradient</em>'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateRadialGradient_validCenterPoint(
@@ -1707,7 +1201,6 @@ public class DGValidator extends EObjectValidator {
/**
* Validates the validFocusPoint constraint of '<em>Radial Gradient</em>'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateRadialGradient_validFocusPoint(
@@ -1730,50 +1223,28 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateRectangle(Rectangle rectangle,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(rectangle, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(rectangle,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(rectangle, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(rectangle,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(rectangle,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(rectangle, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(rectangle, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(rectangle, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(rectangle, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(rectangle,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(
- rectangle, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateRectangle_nonNegativeCornerRadius(rectangle,
- diagnostics, context);
+ if (!validate_NoCircularContainment(rectangle, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(rectangle, diagnostics, context);
+ if (result || diagnostics != null) result &= validateRectangle_nonNegativeCornerRadius(rectangle, diagnostics, context);
return result;
}
/**
* Validates the nonNegativeCornerRadius constraint of '<em>Rectangle</em>'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateRectangle_nonNegativeCornerRadius(
@@ -1784,49 +1255,27 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateRootCanvas(RootCanvas rootCanvas,
DiagnosticChain diagnostics, Map<Object, Object> context) {
- if (!validate_NoCircularContainment(rootCanvas, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(rootCanvas,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(rootCanvas, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(rootCanvas,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(rootCanvas,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(rootCanvas, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(rootCanvas, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(rootCanvas, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(rootCanvas, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(rootCanvas,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(
- rootCanvas, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateCanvas_canvasCannotHaveTransforms(rootCanvas,
- diagnostics, context);
+ if (!validate_NoCircularContainment(rootCanvas, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(rootCanvas, diagnostics, context);
+ if (result || diagnostics != null) result &= validateCanvas_canvasCannotHaveTransforms(rootCanvas, diagnostics, context);
return result;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateRotate(Rotate rotate, DiagnosticChain diagnostics,
@@ -1836,35 +1285,20 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateScale(Scale scale, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(scale, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(scale, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(scale, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(scale, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(scale,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(scale, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(scale, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(scale, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(scale, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateScale_nonnegativescale(scale, diagnostics,
- context);
+ if (!validate_NoCircularContainment(scale, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(scale, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(scale, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(scale, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(scale, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(scale, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(scale, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(scale, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(scale, diagnostics, context);
+ if (result || diagnostics != null) result &= validateScale_nonnegativescale(scale, diagnostics, context);
return result;
}
@@ -1881,7 +1315,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateSkew(Skew skew, DiagnosticChain diagnostics,
@@ -1891,40 +1324,22 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateText(Text text, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(text, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(text, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(text, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(text, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(text,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(text, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(text, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(text, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(text, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(text, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(text,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateText_dataCannotBeEmpty(text, diagnostics, context);
+ if (!validate_NoCircularContainment(text, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(text, diagnostics, context);
+ if (result || diagnostics != null) result &= validateText_dataCannotBeEmpty(text, diagnostics, context);
return result;
}
@@ -1941,7 +1356,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateTranslate(Translate translate,
@@ -1951,40 +1365,22 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateUse(Use use, DiagnosticChain diagnostics,
Map<Object, Object> context) {
- if (!validate_NoCircularContainment(use, diagnostics, context))
- return false;
- boolean result = validate_EveryMultiplicityConforms(use, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryDataValueConforms(use, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryReferenceIsContained(use, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validate_EveryBidirectionalReferenceIsPaired(use,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryProxyResolves(use, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_UniqueID(use, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryKeyUnique(use, diagnostics, context);
- if (result || diagnostics != null)
- result &= validate_EveryMapEntryUnique(use, diagnostics, context);
- if (result || diagnostics != null)
- result &= validateDefinition_idCannotBeEmpty(use, diagnostics,
- context);
- if (result || diagnostics != null)
- result &= validateGraphicalElement_referencedClippathHasId(use,
- diagnostics, context);
- if (result || diagnostics != null)
- result &= validateUse_referencedElementHasId(use, diagnostics,
- context);
+ if (!validate_NoCircularContainment(use, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validateDefinition_idCannotBeEmpty(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validateGraphicalElement_referencedClippathHasId(use, diagnostics, context);
+ if (result || diagnostics != null) result &= validateUse_referencedElementHasId(use, diagnostics, context);
return result;
}
@@ -2001,7 +1397,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateFontDecoration(FontDecoration fontDecoration,
@@ -2011,7 +1406,6 @@ public class DGValidator extends EObjectValidator {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public boolean validateElementKind(ElementKind elementKind,
@@ -2020,16 +1414,23 @@ public class DGValidator extends EObjectValidator {
}
/**
- * Returns the resource locator that will be used to fetch messages for this
- * validator's diagnostics. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean validateTextAnchor(TextAnchor textAnchor, DiagnosticChain diagnostics, Map<Object, Object> context) {
+ return true;
+ }
+
+ /**
+ * Returns the resource locator that will be used to fetch messages for this validator's diagnostics.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
public ResourceLocator getResourceLocator() {
// TODO
- // Specialize this to return a resource locator for messages specific to
- // this validator.
+ // Specialize this to return a resource locator for messages specific to this validator.
// Ensure that you remove @generated or mark it @generated NOT
return super.getResourceLocator();
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIFactory.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIFactory.java
index 0341b5f5509..9cfa5003a92 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIFactory.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIFactory.java
@@ -16,24 +16,23 @@ 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.dd.di.DIPackage
* @generated
*/
public interface DIFactory extends EFactory {
/**
- * The singleton instance of the factory. <!-- begin-user-doc --> <!--
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
DIFactory eINSTANCE = org.eclipse.papyrus.dd.di.impl.DIFactoryImpl.init();
/**
- * Returns the package supported by this factory. <!-- begin-user-doc -->
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIPackage.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIPackage.java
index 1951c997361..898647d85e8 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIPackage.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DIPackage.java
@@ -39,40 +39,38 @@ import org.eclipse.emf.ecore.EReference;
public interface DIPackage extends EPackage {
/**
- * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNAME = "di";
/**
- * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package namespace URI.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNS_URI = "http://www.omg.org/spec/DD/20110901/DI";
/**
- * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The package namespace name.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
String eNS_PREFIX = "di";
/**
- * The singleton instance of the package. <!-- begin-user-doc --> <!--
+ * The singleton instance of the package.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
DIPackage eINSTANCE = org.eclipse.papyrus.dd.di.impl.DIPackageImpl.init();
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl
- * <em>Diagram Element</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl <em>Diagram Element</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.di.impl.DiagramElementImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getDiagramElement()
* @generated
@@ -89,27 +87,26 @@ public interface DIPackage extends EPackage {
int DIAGRAM_ELEMENT__MODEL_ELEMENT = 0;
/**
- * The feature id for the '<em><b>Owning Element</b></em>' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Owning Diagram Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DIAGRAM_ELEMENT__OWNING_ELEMENT = 1;
+ int DIAGRAM_ELEMENT__OWNING_DIAGRAM_ELEMENT = 1;
/**
- * The feature id for the '<em><b>Owned Element</b></em>' reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Owned Diagram Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DIAGRAM_ELEMENT__OWNED_ELEMENT = 2;
+ int DIAGRAM_ELEMENT__OWNED_DIAGRAM_ELEMENT = 2;
/**
- * The feature id for the '<em><b>Local Style</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Local Style</b></em>' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -125,13 +122,30 @@ public interface DIPackage extends EPackage {
int DIAGRAM_ELEMENT__SHARED_STYLE = 4;
/**
- * The number of structural features of the '<em>Diagram Element</em>'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Target Edge</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT__TARGET_EDGE = 5;
+
+ /**
+ * The feature id for the '<em><b>Source Edge</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DIAGRAM_ELEMENT_FEATURE_COUNT = 5;
+ int DIAGRAM_ELEMENT__SOURCE_EDGE = 6;
+
+ /**
+ * The number of structural features of the '<em>Diagram Element</em>' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM_ELEMENT_FEATURE_COUNT = 7;
/**
* The number of operations of the '<em>Diagram Element</em>' class. <!--
@@ -143,10 +157,8 @@ public interface DIPackage extends EPackage {
int DIAGRAM_ELEMENT_OPERATION_COUNT = 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.di.impl.StyleImpl <em>Style</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.di.impl.StyleImpl <em>Style</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.di.impl.StyleImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getStyle()
* @generated
@@ -172,10 +184,8 @@ public interface DIPackage extends EPackage {
int STYLE_OPERATION_COUNT = 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.di.impl.EdgeImpl <em>Edge</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.di.impl.EdgeImpl <em>Edge</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.di.impl.EdgeImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getEdge()
* @generated
@@ -192,27 +202,26 @@ public interface DIPackage extends EPackage {
int EDGE__MODEL_ELEMENT = DIAGRAM_ELEMENT__MODEL_ELEMENT;
/**
- * The feature id for the '<em><b>Owning Element</b></em>' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Owning Diagram Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EDGE__OWNING_ELEMENT = DIAGRAM_ELEMENT__OWNING_ELEMENT;
+ int EDGE__OWNING_DIAGRAM_ELEMENT = DIAGRAM_ELEMENT__OWNING_DIAGRAM_ELEMENT;
/**
- * The feature id for the '<em><b>Owned Element</b></em>' reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Owned Diagram Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EDGE__OWNED_ELEMENT = DIAGRAM_ELEMENT__OWNED_ELEMENT;
+ int EDGE__OWNED_DIAGRAM_ELEMENT = DIAGRAM_ELEMENT__OWNED_DIAGRAM_ELEMENT;
/**
- * The feature id for the '<em><b>Local Style</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Local Style</b></em>' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -228,31 +237,48 @@ public interface DIPackage extends EPackage {
int EDGE__SHARED_STYLE = DIAGRAM_ELEMENT__SHARED_STYLE;
/**
- * The feature id for the '<em><b>Source</b></em>' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Target Edge</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EDGE__SOURCE = DIAGRAM_ELEMENT_FEATURE_COUNT + 0;
+ int EDGE__TARGET_EDGE = DIAGRAM_ELEMENT__TARGET_EDGE;
/**
- * The feature id for the '<em><b>Target</b></em>' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Source Edge</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EDGE__TARGET = DIAGRAM_ELEMENT_FEATURE_COUNT + 1;
+ int EDGE__SOURCE_EDGE = DIAGRAM_ELEMENT__SOURCE_EDGE;
/**
- * The feature id for the '<em><b>Waypoint</b></em>' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Source Diagram Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__SOURCE_DIAGRAM_ELEMENT = DIAGRAM_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Waypoint</b></em>' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDGE__WAYPOINT = DIAGRAM_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Target Diagram Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int EDGE__WAYPOINT = DIAGRAM_ELEMENT_FEATURE_COUNT + 2;
+ int EDGE__TARGET_DIAGRAM_ELEMENT = DIAGRAM_ELEMENT_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>Edge</em>' class. <!--
@@ -273,10 +299,8 @@ public interface DIPackage extends EPackage {
int EDGE_OPERATION_COUNT = DIAGRAM_ELEMENT_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.di.impl.ShapeImpl <em>Shape</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.di.impl.ShapeImpl <em>Shape</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.di.impl.ShapeImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getShape()
* @generated
@@ -293,27 +317,26 @@ public interface DIPackage extends EPackage {
int SHAPE__MODEL_ELEMENT = DIAGRAM_ELEMENT__MODEL_ELEMENT;
/**
- * The feature id for the '<em><b>Owning Element</b></em>' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Owning Diagram Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SHAPE__OWNING_ELEMENT = DIAGRAM_ELEMENT__OWNING_ELEMENT;
+ int SHAPE__OWNING_DIAGRAM_ELEMENT = DIAGRAM_ELEMENT__OWNING_DIAGRAM_ELEMENT;
/**
- * The feature id for the '<em><b>Owned Element</b></em>' reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Owned Diagram Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int SHAPE__OWNED_ELEMENT = DIAGRAM_ELEMENT__OWNED_ELEMENT;
+ int SHAPE__OWNED_DIAGRAM_ELEMENT = DIAGRAM_ELEMENT__OWNED_DIAGRAM_ELEMENT;
/**
- * The feature id for the '<em><b>Local Style</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Local Style</b></em>' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -329,9 +352,26 @@ public interface DIPackage extends EPackage {
int SHAPE__SHARED_STYLE = DIAGRAM_ELEMENT__SHARED_STYLE;
/**
+ * The feature id for the '<em><b>Target Edge</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__TARGET_EDGE = DIAGRAM_ELEMENT__TARGET_EDGE;
+
+ /**
+ * The feature id for the '<em><b>Source Edge</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SHAPE__SOURCE_EDGE = DIAGRAM_ELEMENT__SOURCE_EDGE;
+
+ /**
* The feature id for the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -356,10 +396,8 @@ public interface DIPackage extends EPackage {
int SHAPE_OPERATION_COUNT = DIAGRAM_ELEMENT_OPERATION_COUNT + 0;
/**
- * The meta object id for the '
- * {@link org.eclipse.papyrus.dd.di.impl.DiagramImpl <em>Diagram</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object id for the '{@link org.eclipse.papyrus.dd.di.impl.DiagramImpl <em>Diagram</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.di.impl.DiagramImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getDiagram()
* @generated
@@ -376,27 +414,26 @@ public interface DIPackage extends EPackage {
int DIAGRAM__MODEL_ELEMENT = SHAPE__MODEL_ELEMENT;
/**
- * The feature id for the '<em><b>Owning Element</b></em>' reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Owning Diagram Element</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DIAGRAM__OWNING_ELEMENT = SHAPE__OWNING_ELEMENT;
+ int DIAGRAM__OWNING_DIAGRAM_ELEMENT = SHAPE__OWNING_DIAGRAM_ELEMENT;
/**
- * The feature id for the '<em><b>Owned Element</b></em>' reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Owned Diagram Element</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DIAGRAM__OWNED_ELEMENT = SHAPE__OWNED_ELEMENT;
+ int DIAGRAM__OWNED_DIAGRAM_ELEMENT = SHAPE__OWNED_DIAGRAM_ELEMENT;
/**
- * The feature id for the '<em><b>Local Style</b></em>' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The feature id for the '<em><b>Local Style</b></em>' reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -412,9 +449,26 @@ public interface DIPackage extends EPackage {
int DIAGRAM__SHARED_STYLE = SHAPE__SHARED_STYLE;
/**
+ * The feature id for the '<em><b>Target Edge</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM__TARGET_EDGE = SHAPE__TARGET_EDGE;
+
+ /**
+ * The feature id for the '<em><b>Source Edge</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIAGRAM__SOURCE_EDGE = SHAPE__SOURCE_EDGE;
+
+ /**
* The feature id for the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -466,10 +520,8 @@ public interface DIPackage extends EPackage {
int DIAGRAM_OPERATION_COUNT = SHAPE_OPERATION_COUNT + 0;
/**
- * Returns the meta object for class '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement <em>Diagram Element</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.di.DiagramElement <em>Diagram Element</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Diagram Element</em>'.
* @see org.eclipse.papyrus.dd.di.DiagramElement
* @generated
@@ -477,11 +529,9 @@ public interface DIPackage extends EPackage {
EClass getDiagramElement();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getModelElement
- * <em>Model Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Model Element</em>'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.dd.di.DiagramElement#getModelElement <em>Model Element</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Model Element</em>'.
* @see org.eclipse.papyrus.dd.di.DiagramElement#getModelElement()
* @see #getDiagramElement()
* @generated
@@ -489,36 +539,31 @@ public interface DIPackage extends EPackage {
EReference getDiagramElement_ModelElement();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getOwningElement
- * <em>Owning Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Owning Element</em>'.
- * @see org.eclipse.papyrus.dd.di.DiagramElement#getOwningElement()
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.di.DiagramElement#getOwningDiagramElement <em>Owning Diagram Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Owning Diagram Element</em>'.
+ * @see org.eclipse.papyrus.dd.di.DiagramElement#getOwningDiagramElement()
* @see #getDiagramElement()
* @generated
*/
- EReference getDiagramElement_OwningElement();
+ EReference getDiagramElement_OwningDiagramElement();
/**
- * Returns the meta object for the reference list '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getOwnedElement
- * <em>Owned Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the reference list '<em>Owned Element</em>'.
- * @see org.eclipse.papyrus.dd.di.DiagramElement#getOwnedElement()
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.dd.di.DiagramElement#getOwnedDiagramElement <em>Owned Diagram Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Owned Diagram Element</em>'.
+ * @see org.eclipse.papyrus.dd.di.DiagramElement#getOwnedDiagramElement()
* @see #getDiagramElement()
* @generated
*/
- EReference getDiagramElement_OwnedElement();
+ EReference getDiagramElement_OwnedDiagramElement();
/**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getLocalStyle
- * <em>Local Style</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '
- * <em>Local Style</em>'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.di.DiagramElement#getLocalStyle <em>Local Style</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Local Style</em>'.
* @see org.eclipse.papyrus.dd.di.DiagramElement#getLocalStyle()
* @see #getDiagramElement()
* @generated
@@ -526,10 +571,8 @@ public interface DIPackage extends EPackage {
EReference getDiagramElement_LocalStyle();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getSharedStyle
- * <em>Shared Style</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.di.DiagramElement#getSharedStyle <em>Shared Style</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>Shared Style</em>'.
* @see org.eclipse.papyrus.dd.di.DiagramElement#getSharedStyle()
* @see #getDiagramElement()
@@ -538,6 +581,28 @@ public interface DIPackage extends EPackage {
EReference getDiagramElement_SharedStyle();
/**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.dd.di.DiagramElement#getTargetEdge <em>Target Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Target Edge</em>'.
+ * @see org.eclipse.papyrus.dd.di.DiagramElement#getTargetEdge()
+ * @see #getDiagramElement()
+ * @generated
+ */
+ EReference getDiagramElement_TargetEdge();
+
+ /**
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.dd.di.DiagramElement#getSourceEdge <em>Source Edge</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Source Edge</em>'.
+ * @see org.eclipse.papyrus.dd.di.DiagramElement#getSourceEdge()
+ * @see #getDiagramElement()
+ * @generated
+ */
+ EReference getDiagramElement_SourceEdge();
+
+ /**
* Returns the meta object for class '
* {@link org.eclipse.papyrus.dd.di.Style <em>Style</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
@@ -549,9 +614,8 @@ public interface DIPackage extends EPackage {
EClass getStyle();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.dd.di.Edge
- * <em>Edge</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for class '{@link org.eclipse.papyrus.dd.di.Edge <em>Edge</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Edge</em>'.
* @see org.eclipse.papyrus.dd.di.Edge
* @generated
@@ -559,41 +623,36 @@ public interface DIPackage extends EPackage {
EClass getEdge();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.di.Edge#getSource <em>Source</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Source</em>'.
- * @see org.eclipse.papyrus.dd.di.Edge#getSource()
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.di.Edge#getSourceDiagramElement <em>Source Diagram Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Source Diagram Element</em>'.
+ * @see org.eclipse.papyrus.dd.di.Edge#getSourceDiagramElement()
* @see #getEdge()
* @generated
*/
- EReference getEdge_Source();
+ EReference getEdge_SourceDiagramElement();
/**
- * Returns the meta object for the reference '
- * {@link org.eclipse.papyrus.dd.di.Edge#getTarget <em>Target</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Target</em>'.
- * @see org.eclipse.papyrus.dd.di.Edge#getTarget()
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.dd.di.Edge#getWaypoint <em>Waypoint</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Waypoint</em>'.
+ * @see org.eclipse.papyrus.dd.di.Edge#getWaypoint()
* @see #getEdge()
* @generated
*/
- EReference getEdge_Target();
+ EReference getEdge_Waypoint();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.dd.di.Edge#getWaypoint <em>Waypoint</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '
- * <em>Waypoint</em>'.
- * @see org.eclipse.papyrus.dd.di.Edge#getWaypoint()
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.dd.di.Edge#getTargetDiagramElement <em>Target Diagram Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Target Diagram Element</em>'.
+ * @see org.eclipse.papyrus.dd.di.Edge#getTargetDiagramElement()
* @see #getEdge()
* @generated
*/
- EReference getEdge_Waypoint();
+ EReference getEdge_TargetDiagramElement();
/**
* Returns the meta object for class '
@@ -619,10 +678,8 @@ public interface DIPackage extends EPackage {
EAttribute getDiagram_Name();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.di.Diagram#getDocumentation
- * <em>Documentation</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.di.Diagram#getDocumentation <em>Documentation</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Documentation</em>'.
* @see org.eclipse.papyrus.dd.di.Diagram#getDocumentation()
* @see #getDiagram()
@@ -631,10 +688,8 @@ public interface DIPackage extends EPackage {
EAttribute getDiagram_Documentation();
/**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.papyrus.dd.di.Diagram#getResolution
- * <em>Resolution</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.dd.di.Diagram#getResolution <em>Resolution</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Resolution</em>'.
* @see org.eclipse.papyrus.dd.di.Diagram#getResolution()
* @see #getDiagram()
@@ -685,17 +740,14 @@ public interface DIPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @generated
*/
interface Literals {
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl
- * <em>Diagram Element</em>}' class. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl <em>Diagram Element</em>}' class.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.di.impl.DiagramElementImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getDiagramElement()
* @generated
@@ -703,56 +755,62 @@ public interface DIPackage extends EPackage {
EClass DIAGRAM_ELEMENT = eINSTANCE.getDiagramElement();
/**
- * The meta object literal for the '<em><b>Model Element</b></em>'
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Model Element</b></em>' reference list feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EReference DIAGRAM_ELEMENT__MODEL_ELEMENT = eINSTANCE
- .getDiagramElement_ModelElement();
+ EReference DIAGRAM_ELEMENT__MODEL_ELEMENT = eINSTANCE.getDiagramElement_ModelElement();
/**
- * The meta object literal for the '<em><b>Owning Element</b></em>'
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Owning Diagram Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- EReference DIAGRAM_ELEMENT__OWNING_ELEMENT = eINSTANCE
- .getDiagramElement_OwningElement();
+ EReference DIAGRAM_ELEMENT__OWNING_DIAGRAM_ELEMENT = eINSTANCE.getDiagramElement_OwningDiagramElement();
/**
- * The meta object literal for the '<em><b>Owned Element</b></em>'
- * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Owned Diagram Element</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- EReference DIAGRAM_ELEMENT__OWNED_ELEMENT = eINSTANCE
- .getDiagramElement_OwnedElement();
+ EReference DIAGRAM_ELEMENT__OWNED_DIAGRAM_ELEMENT = eINSTANCE.getDiagramElement_OwnedDiagramElement();
/**
- * The meta object literal for the '<em><b>Local Style</b></em>'
- * containment reference feature. <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Local Style</b></em>' reference feature.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
- EReference DIAGRAM_ELEMENT__LOCAL_STYLE = eINSTANCE
- .getDiagramElement_LocalStyle();
+ EReference DIAGRAM_ELEMENT__LOCAL_STYLE = eINSTANCE.getDiagramElement_LocalStyle();
+
+ /**
+ * The meta object literal for the '<em><b>Shared Style</b></em>' reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM_ELEMENT__SHARED_STYLE = eINSTANCE.getDiagramElement_SharedStyle();
/**
- * The meta object literal for the '<em><b>Shared Style</b></em>'
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Target Edge</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- EReference DIAGRAM_ELEMENT__SHARED_STYLE = eINSTANCE
- .getDiagramElement_SharedStyle();
+ EReference DIAGRAM_ELEMENT__TARGET_EDGE = eINSTANCE.getDiagramElement_TargetEdge();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.di.impl.StyleImpl <em>Style</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Source Edge</b></em>' reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DIAGRAM_ELEMENT__SOURCE_EDGE = eINSTANCE.getDiagramElement_SourceEdge();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.di.impl.StyleImpl <em>Style</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.di.impl.StyleImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getStyle()
* @generated
@@ -760,10 +818,8 @@ public interface DIPackage extends EPackage {
EClass STYLE = eINSTANCE.getStyle();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.di.impl.EdgeImpl <em>Edge</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.di.impl.EdgeImpl <em>Edge</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.dd.di.impl.EdgeImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getEdge()
* @generated
@@ -771,35 +827,32 @@ public interface DIPackage extends EPackage {
EClass EDGE = eINSTANCE.getEdge();
/**
- * The meta object literal for the '<em><b>Source</b></em>' reference
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Source Diagram Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- EReference EDGE__SOURCE = eINSTANCE.getEdge_Source();
+ EReference EDGE__SOURCE_DIAGRAM_ELEMENT = eINSTANCE.getEdge_SourceDiagramElement();
/**
- * The meta object literal for the '<em><b>Target</b></em>' reference
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Waypoint</b></em>' containment reference list feature.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
* @generated
*/
- EReference EDGE__TARGET = eINSTANCE.getEdge_Target();
+ EReference EDGE__WAYPOINT = eINSTANCE.getEdge_Waypoint();
/**
- * The meta object literal for the '<em><b>Waypoint</b></em>'
- * containment reference list feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Target Diagram Element</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- EReference EDGE__WAYPOINT = eINSTANCE.getEdge_Waypoint();
+ EReference EDGE__TARGET_DIAGRAM_ELEMENT = eINSTANCE.getEdge_TargetDiagramElement();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.di.impl.DiagramImpl <em>Diagram</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.di.impl.DiagramImpl <em>Diagram</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.di.impl.DiagramImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getDiagram()
* @generated
@@ -807,35 +860,29 @@ public interface DIPackage extends EPackage {
EClass DIAGRAM = eINSTANCE.getDiagram();
/**
- * The meta object literal for the '<em><b>Name</b></em>' attribute
- * feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute DIAGRAM__NAME = eINSTANCE.getDiagram_Name();
/**
- * The meta object literal for the '<em><b>Documentation</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Documentation</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- EAttribute DIAGRAM__DOCUMENTATION = eINSTANCE
- .getDiagram_Documentation();
+ EAttribute DIAGRAM__DOCUMENTATION = eINSTANCE.getDiagram_Documentation();
/**
- * The meta object literal for the '<em><b>Resolution</b></em>'
- * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Resolution</b></em>' attribute feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EAttribute DIAGRAM__RESOLUTION = eINSTANCE.getDiagram_Resolution();
/**
- * The meta object literal for the '
- * {@link org.eclipse.papyrus.dd.di.impl.ShapeImpl <em>Shape</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '{@link org.eclipse.papyrus.dd.di.impl.ShapeImpl <em>Shape</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.papyrus.dd.di.impl.ShapeImpl
* @see org.eclipse.papyrus.dd.di.impl.DIPackageImpl#getShape()
* @generated
@@ -843,9 +890,8 @@ public interface DIPackage extends EPackage {
EClass SHAPE = eINSTANCE.getShape();
/**
- * The meta object literal for the '<em><b>Bounds</b></em>' containment
- * reference feature. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The meta object literal for the '<em><b>Bounds</b></em>' containment reference feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
EReference SHAPE__BOUNDS = eINSTANCE.getShape_Bounds();
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Diagram.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Diagram.java
index b689fe7bf6d..753a5b5f421 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Diagram.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Diagram.java
@@ -14,23 +14,20 @@ package org.eclipse.papyrus.dd.di;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Diagram</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Diagram is an abstract container of a graph of
- * diagram elements. Diagrams are diagram elements with an origin point in the
- * x-y coordinate system. Their elements are laid out relative to their origin
- * point. <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Diagram is an abstract container of a graph of diagram elements. Diagrams are diagram elements with an origin point in the x-y coordinate system. Their elements are laid out relative to their origin point.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.di.Diagram#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.Diagram#getDocumentation <em>
- * Documentation</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.Diagram#getResolution <em>Resolution
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.Diagram#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.Diagram#getDocumentation <em>Documentation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.Diagram#getResolution <em>Resolution</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.di.DIPackage#getDiagram()
* @model abstract="true"
* @generated
@@ -38,25 +35,24 @@ package org.eclipse.papyrus.dd.di;
public interface Diagram extends Shape {
/**
- * Returns the value of the '<em><b>Name</b></em>' attribute. The default
- * value is <code>""</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
- * <!-- begin-model-doc --> the name of the diagram. <!-- end-model-doc -->
- *
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * The default value is <code>""</code>.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * the name of the diagram.
+ * <!-- end-model-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.dd.di.DIPackage#getDiagram_Name()
- * @model default="" dataType="org.eclipse.papyrus.dd.dc.String"
- * required="true" ordered="false"
+ * @model default="" dataType="org.eclipse.papyrus.dd.dc.String" required="true" ordered="false"
* @generated
*/
String getName();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.di.Diagram#getName
- * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.di.Diagram#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
*/
@@ -78,13 +74,10 @@ public interface Diagram extends Shape {
String getDocumentation();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.di.Diagram#getDocumentation
- * <em>Documentation</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.di.Diagram#getDocumentation <em>Documentation</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Documentation</em>' attribute.
+ * @param value the new value of the '<em>Documentation</em>' attribute.
* @see #getDocumentation()
* @generated
*/
@@ -106,13 +99,10 @@ public interface Diagram extends Shape {
double getResolution();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.di.Diagram#getResolution
- * <em>Resolution</em>}' attribute. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.di.Diagram#getResolution <em>Resolution</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Resolution</em>' attribute.
+ * @param value the new value of the '<em>Resolution</em>' attribute.
* @see #getResolution()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DiagramElement.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DiagramElement.java
index 3be8491d81f..86b80e696ff 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DiagramElement.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/DiagramElement.java
@@ -18,28 +18,24 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Diagram Element</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> DiagramElement is the abstract super type of all
- * elements in diagrams, including diagrams themselves. When contained in a
- * diagram, diagram elements are laid out relative to the diagram?s origin. <!--
- * end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * DiagramElement is the abstract super type of all elements in diagrams, including diagrams themselves. When contained in a diagram, diagram elements are laid out relative to the diagram?s origin.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getModelElement <em>Model
- * Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getOwningElement <em>
- * Owning Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getOwnedElement <em>Owned
- * Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getLocalStyle <em>Local
- * Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getSharedStyle <em>Shared
- * Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getModelElement <em>Model Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getOwningDiagramElement <em>Owning Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getOwnedDiagramElement <em>Owned Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getLocalStyle <em>Local Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getSharedStyle <em>Shared Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getTargetEdge <em>Target Edge</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.DiagramElement#getSourceEdge <em>Source Edge</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.di.DIPackage#getDiagramElement()
* @model abstract="true"
* @generated
@@ -47,56 +43,54 @@ import org.eclipse.emf.ecore.EObject;
public interface DiagramElement extends EObject {
/**
- * Returns the value of the '<em><b>Model Element</b></em>' reference. This
- * feature is a derived union. <!-- begin-user-doc --> <!-- end-user-doc -->
- * <!-- begin-model-doc --> a reference to a depicted model element, which
- * can be any MOF-based element <!-- end-model-doc -->
- *
- * @return the value of the '<em>Model Element</em>' reference.
+ * Returns the value of the '<em><b>Model Element</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
+ * This feature is a derived union.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * a reference to a depicted model element, which can be any MOF-based element
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Model Element</em>' reference list.
* @see org.eclipse.papyrus.dd.di.DIPackage#getDiagramElement_ModelElement()
* @model transient="true" changeable="false" volatile="true" derived="true"
- * ordered="false"
* @generated
*/
- EObject getModelElement();
+ EList<EObject> getModelElement();
/**
- * Returns the value of the '<em><b>Owning Element</b></em>' reference. It
- * is bidirectional and its opposite is '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getOwnedElement
- * <em>Owned Element</em>}'. This feature is a derived union. <!--
- * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> a
- * reference to the diagram element that directly owns this diagram element.
+ * Returns the value of the '<em><b>Owning Diagram Element</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.dd.di.DiagramElement#getOwnedDiagramElement <em>Owned Diagram Element</em>}'.
+ * This feature is a derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * a reference to the diagram element that directly owns this diagram element.
* <!-- end-model-doc -->
- *
- * @return the value of the '<em>Owning Element</em>' reference.
- * @see org.eclipse.papyrus.dd.di.DIPackage#getDiagramElement_OwningElement()
- * @see org.eclipse.papyrus.dd.di.DiagramElement#getOwnedElement
- * @model opposite="ownedElement" transient="true" changeable="false"
- * volatile="true" derived="true" ordered="false"
+ * @return the value of the '<em>Owning Diagram Element</em>' reference.
+ * @see org.eclipse.papyrus.dd.di.DIPackage#getDiagramElement_OwningDiagramElement()
+ * @see org.eclipse.papyrus.dd.di.DiagramElement#getOwnedDiagramElement
+ * @model opposite="ownedDiagramElement" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
* @generated
*/
- DiagramElement getOwningElement();
+ DiagramElement getOwningDiagramElement();
/**
- * Returns the value of the '<em><b>Owned Element</b></em>' reference list.
- * The list contents are of type
- * {@link org.eclipse.papyrus.dd.di.DiagramElement}. It is bidirectional and
- * its opposite is '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getOwningElement
- * <em>Owning Element</em>}'. This feature is a derived union. <!--
- * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> a
- * collection of diagram elements that are directly owned by this diagram
- * element. <!-- end-model-doc -->
- *
- * @return the value of the '<em>Owned Element</em>' reference list.
- * @see org.eclipse.papyrus.dd.di.DIPackage#getDiagramElement_OwnedElement()
- * @see org.eclipse.papyrus.dd.di.DiagramElement#getOwningElement
- * @model opposite="owningElement" transient="true" changeable="false"
- * volatile="true" derived="true" ordered="false"
+ * Returns the value of the '<em><b>Owned Diagram Element</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.dd.di.DiagramElement}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.dd.di.DiagramElement#getOwningDiagramElement <em>Owning Diagram Element</em>}'.
+ * This feature is a derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * a collection of diagram elements that are directly owned by this diagram element.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Owned Diagram Element</em>' reference list.
+ * @see org.eclipse.papyrus.dd.di.DIPackage#getDiagramElement_OwnedDiagramElement()
+ * @see org.eclipse.papyrus.dd.di.DiagramElement#getOwningDiagramElement
+ * @model opposite="owningDiagramElement" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
- EList<DiagramElement> getOwnedElement();
+ EList<DiagramElement> getOwnedDiagramElement();
/**
* Returns the value of the '<em><b>Local Style</b></em>' containment
@@ -113,20 +107,6 @@ public interface DiagramElement extends EObject {
Style getLocalStyle();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getLocalStyle
- * <em>Local Style</em>}' containment reference. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Local Style</em>' containment
- * reference.
- * @see #getLocalStyle()
- * @generated
- */
- void setLocalStyle(Style value);
-
- /**
* Returns the value of the '<em><b>Shared Style</b></em>' reference. <!--
* begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> a
* reference to an optional shared style element for this diagram element.
@@ -141,16 +121,39 @@ public interface DiagramElement extends EObject {
Style getSharedStyle();
/**
- * Sets the value of the '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement#getSharedStyle
- * <em>Shared Style</em>}' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Shared Style</em>' reference.
- * @see #getSharedStyle()
+ * Returns the value of the '<em><b>Target Edge</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.dd.di.Edge}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.dd.di.Edge#getTargetDiagramElement <em>Target Diagram Element</em>}'.
+ * This feature is a derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * a collection of edges that reference this diagram element as a target.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Target Edge</em>' reference list.
+ * @see org.eclipse.papyrus.dd.di.DIPackage#getDiagramElement_TargetEdge()
+ * @see org.eclipse.papyrus.dd.di.Edge#getTargetDiagramElement
+ * @model opposite="targetDiagramElement" transient="true" changeable="false" volatile="true" derived="true"
+ * @generated
+ */
+ EList<Edge> getTargetEdge();
+
+ /**
+ * Returns the value of the '<em><b>Source Edge</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.dd.di.Edge}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.dd.di.Edge#getSourceDiagramElement <em>Source Diagram Element</em>}'.
+ * This feature is a derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * a collection of edges that reference this diagram element as a source.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Source Edge</em>' reference list.
+ * @see org.eclipse.papyrus.dd.di.DIPackage#getDiagramElement_SourceEdge()
+ * @see org.eclipse.papyrus.dd.di.Edge#getSourceDiagramElement
+ * @model opposite="sourceDiagramElement" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
- void setSharedStyle(Style value);
+ EList<Edge> getSourceEdge();
} // DiagramElement
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Edge.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Edge.java
index f766b5a43c5..81e284afb7e 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Edge.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Edge.java
@@ -18,21 +18,20 @@ import org.eclipse.papyrus.dd.dc.Point;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Edge</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Edge is a diagram element that renders as a
- * polyline, connecting a source diagram element to a target diagram element,
- * and is positioned relative to the origin of the diagram. <!-- end-model-doc
- * -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Edge is a diagram element that renders as a polyline, connecting a source diagram element to a target diagram element, and is positioned relative to the origin of the diagram.
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.di.Edge#getSource <em>Source</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.Edge#getTarget <em>Target</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.Edge#getWaypoint <em>Waypoint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.Edge#getSourceDiagramElement <em>Source Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.Edge#getWaypoint <em>Waypoint</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.Edge#getTargetDiagramElement <em>Target Diagram Element</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.di.DIPackage#getEdge()
* @model abstract="true"
* @generated
@@ -40,32 +39,21 @@ import org.eclipse.papyrus.dd.dc.Point;
public interface Edge extends DiagramElement {
/**
- * Returns the value of the '<em><b>Source</b></em>' reference. This feature
- * is a derived union. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
- * begin-model-doc --> the edge's source diagram element, i.e. where the
- * edge starts from. <!-- end-model-doc -->
- *
- * @return the value of the '<em>Source</em>' reference.
- * @see org.eclipse.papyrus.dd.di.DIPackage#getEdge_Source()
- * @model required="true" transient="true" changeable="false"
- * volatile="true" derived="true" ordered="false"
- * @generated
- */
- DiagramElement getSource();
-
- /**
- * Returns the value of the '<em><b>Target</b></em>' reference. This feature
- * is a derived union. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
- * begin-model-doc --> the edge's target diagram element, i.e. where the
- * edge ends at. <!-- end-model-doc -->
- *
- * @return the value of the '<em>Target</em>' reference.
- * @see org.eclipse.papyrus.dd.di.DIPackage#getEdge_Target()
- * @model required="true" transient="true" changeable="false"
- * volatile="true" derived="true" ordered="false"
+ * Returns the value of the '<em><b>Source Diagram Element</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.dd.di.DiagramElement#getSourceEdge <em>Source Edge</em>}'.
+ * This feature is a derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * the edge's source diagram element, i.e. where the edge starts from.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Source Diagram Element</em>' reference.
+ * @see org.eclipse.papyrus.dd.di.DIPackage#getEdge_SourceDiagramElement()
+ * @see org.eclipse.papyrus.dd.di.DiagramElement#getSourceEdge
+ * @model opposite="sourceEdge" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
* @generated
*/
- DiagramElement getTarget();
+ DiagramElement getSourceDiagramElement();
/**
* Returns the value of the '<em><b>Waypoint</b></em>' containment reference
@@ -82,4 +70,21 @@ public interface Edge extends DiagramElement {
*/
EList<Point> getWaypoint();
+ /**
+ * Returns the value of the '<em><b>Target Diagram Element</b></em>' reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.dd.di.DiagramElement#getTargetEdge <em>Target Edge</em>}'.
+ * This feature is a derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * the edge's target diagram element, i.e. where the edge ends at.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Target Diagram Element</em>' reference.
+ * @see org.eclipse.papyrus.dd.di.DIPackage#getEdge_TargetDiagramElement()
+ * @see org.eclipse.papyrus.dd.di.DiagramElement#getTargetEdge
+ * @model opposite="targetEdge" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
+ * @generated
+ */
+ DiagramElement getTargetDiagramElement();
+
} // Edge
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Shape.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Shape.java
index c056f0b2d66..a5d90b9746a 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Shape.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Shape.java
@@ -16,17 +16,18 @@ import org.eclipse.papyrus.dd.dc.Bounds;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Shape</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Shape is a diagram element with given bounds that is
- * laid out relative to the origin of the diagram <!-- end-model-doc -->
- *
+ *
+ * <!-- begin-model-doc -->
+ * Shape is a diagram element with given bounds that is laid out relative to the origin of the diagram
+ * <!-- end-model-doc -->
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.di.Shape#getBounds <em>Bounds</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.Shape#getBounds <em>Bounds</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.dd.di.DIPackage#getShape()
* @model abstract="true"
* @generated
@@ -48,12 +49,10 @@ public interface Shape extends DiagramElement {
Bounds getBounds();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.dd.di.Shape#getBounds
- * <em>Bounds</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * Sets the value of the '{@link org.eclipse.papyrus.dd.di.Shape#getBounds <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Bounds</em>' containment reference.
+ * @param value the new value of the '<em>Bounds</em>' containment reference.
* @see #getBounds()
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Style.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Style.java
index 7e96a1944f6..efc722356e6 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Style.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/Style.java
@@ -16,12 +16,12 @@ import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Style</b></em>'. <!-- end-user-doc -->
- *
- * <!-- begin-model-doc --> Style contains formatting properties that affect the
- * appearance or style of diagram elements, including diagram themselves. <!--
- * end-model-doc -->
- *
- *
+ *
+ * <!-- begin-model-doc -->
+ * Style contains formatting properties that affect the appearance or style of diagram elements, including diagram themselves.
+ * <!-- end-model-doc -->
+ *
+ *
* @see org.eclipse.papyrus.dd.di.DIPackage#getStyle()
* @model abstract="true"
* @generated
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIFactoryImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIFactoryImpl.java
index efbffda162e..0f630896c72 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIFactoryImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIFactoryImpl.java
@@ -24,34 +24,33 @@ import org.eclipse.papyrus.dd.di.*;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
* @generated
*/
public class DIFactoryImpl extends EFactoryImpl implements DIFactory {
/**
- * Creates the default factory implementation. <!-- begin-user-doc --> <!--
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public static DIFactory init() {
try {
- DIFactory theDIFactory = (DIFactory) EPackage.Registry.INSTANCE
- .getEFactory(DIPackage.eNS_URI);
+ DIFactory theDIFactory = (DIFactory)EPackage.Registry.INSTANCE.getEFactory(DIPackage.eNS_URI);
if (theDIFactory != null) {
return theDIFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new DIFactoryImpl();
}
/**
- * Creates an instance of the factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DIFactoryImpl() {
@@ -60,30 +59,26 @@ public class DIFactoryImpl extends EFactoryImpl implements DIFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName()
- + "' is not a valid classifier");
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DIPackage getDIPackage() {
- return (DIPackage) getEPackage();
+ return (DIPackage)getEPackage();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIPackageImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIPackageImpl.java
index a8d4cdc3124..2d4258b812b 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIPackageImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DIPackageImpl.java
@@ -32,42 +32,36 @@ import org.eclipse.papyrus.dd.di.Style;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
* end-user-doc -->
- *
* @generated
*/
public class DIPackageImpl extends EPackageImpl implements DIPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass diagramElementEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass styleEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass edgeEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass diagramEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private EClass shapeEClass = null;
@@ -93,7 +87,6 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -114,14 +107,10 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
* @generated
*/
public static DIPackage init() {
- if (isInited)
- return (DIPackage) EPackage.Registry.INSTANCE
- .getEPackage(DIPackage.eNS_URI);
+ if (isInited) return (DIPackage)EPackage.Registry.INSTANCE.getEPackage(DIPackage.eNS_URI);
// Obtain or create and register package
- DIPackageImpl theDIPackage = (DIPackageImpl) (EPackage.Registry.INSTANCE
- .get(eNS_URI) instanceof DIPackageImpl ? EPackage.Registry.INSTANCE
- .get(eNS_URI) : new DIPackageImpl());
+ DIPackageImpl theDIPackage = (DIPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DIPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DIPackageImpl());
isInited = true;
@@ -138,6 +127,7 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
// Mark meta-data to indicate it can't be changed
theDIPackage.freeze();
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(DIPackage.eNS_URI, theDIPackage);
return theDIPackage;
@@ -145,7 +135,6 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getDiagramElement() {
@@ -154,57 +143,66 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getDiagramElement_ModelElement() {
- return (EReference) diagramElementEClass.getEStructuralFeatures()
- .get(0);
+ return (EReference)diagramElementEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public EReference getDiagramElement_OwningElement() {
- return (EReference) diagramElementEClass.getEStructuralFeatures()
- .get(1);
+ public EReference getDiagramElement_OwningDiagramElement() {
+ return (EReference)diagramElementEClass.getEStructuralFeatures().get(1);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public EReference getDiagramElement_OwnedElement() {
- return (EReference) diagramElementEClass.getEStructuralFeatures()
- .get(2);
+ public EReference getDiagramElement_OwnedDiagramElement() {
+ return (EReference)diagramElementEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getDiagramElement_LocalStyle() {
- return (EReference) diagramElementEClass.getEStructuralFeatures()
- .get(3);
+ return (EReference)diagramElementEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getDiagramElement_SharedStyle() {
- return (EReference) diagramElementEClass.getEStructuralFeatures()
- .get(4);
+ return (EReference)diagramElementEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagramElement_TargetEdge() {
+ return (EReference)diagramElementEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDiagramElement_SourceEdge() {
+ return (EReference)diagramElementEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getStyle() {
@@ -213,7 +211,6 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getEdge() {
@@ -221,35 +218,33 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public EReference getEdge_Source() {
- return (EReference) edgeEClass.getEStructuralFeatures().get(0);
+ public EReference getEdge_SourceDiagramElement() {
+ return (EReference)edgeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
- public EReference getEdge_Target() {
- return (EReference) edgeEClass.getEStructuralFeatures().get(1);
+ public EReference getEdge_Waypoint() {
+ return (EReference)edgeEClass.getEStructuralFeatures().get(1);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public EReference getEdge_Waypoint() {
- return (EReference) edgeEClass.getEStructuralFeatures().get(2);
+ public EReference getEdge_TargetDiagramElement() {
+ return (EReference)edgeEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getDiagram() {
@@ -258,34 +253,30 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getDiagram_Name() {
- return (EAttribute) diagramEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)diagramEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getDiagram_Documentation() {
- return (EAttribute) diagramEClass.getEStructuralFeatures().get(1);
+ return (EAttribute)diagramEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getDiagram_Resolution() {
- return (EAttribute) diagramEClass.getEStructuralFeatures().get(2);
+ return (EAttribute)diagramEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EClass getShape() {
@@ -294,55 +285,53 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EReference getShape_Bounds() {
- return (EReference) shapeEClass.getEStructuralFeatures().get(0);
+ return (EReference)shapeEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public DIFactory getDIFactory() {
- return (DIFactory) getEFactoryInstance();
+ return (DIFactory)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 -->
+ * 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;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
diagramElementEClass = createEClass(DIAGRAM_ELEMENT);
createEReference(diagramElementEClass, DIAGRAM_ELEMENT__MODEL_ELEMENT);
- createEReference(diagramElementEClass, DIAGRAM_ELEMENT__OWNING_ELEMENT);
- createEReference(diagramElementEClass, DIAGRAM_ELEMENT__OWNED_ELEMENT);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__OWNING_DIAGRAM_ELEMENT);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__OWNED_DIAGRAM_ELEMENT);
createEReference(diagramElementEClass, DIAGRAM_ELEMENT__LOCAL_STYLE);
createEReference(diagramElementEClass, DIAGRAM_ELEMENT__SHARED_STYLE);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__TARGET_EDGE);
+ createEReference(diagramElementEClass, DIAGRAM_ELEMENT__SOURCE_EDGE);
styleEClass = createEClass(STYLE);
edgeEClass = createEClass(EDGE);
- createEReference(edgeEClass, EDGE__SOURCE);
- createEReference(edgeEClass, EDGE__TARGET);
+ createEReference(edgeEClass, EDGE__SOURCE_DIAGRAM_ELEMENT);
createEReference(edgeEClass, EDGE__WAYPOINT);
+ createEReference(edgeEClass, EDGE__TARGET_DIAGRAM_ELEMENT);
diagramEClass = createEClass(DIAGRAM);
createEAttribute(diagramEClass, DIAGRAM__NAME);
@@ -355,7 +344,6 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
@@ -368,8 +356,7 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
* @generated
*/
public void initializePackageContents() {
- if (isInitialized)
- return;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -378,10 +365,8 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
setNsURI(eNS_URI);
// Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE
- .getEPackage(EcorePackage.eNS_URI);
- DCPackage theDCPackage = (DCPackage) EPackage.Registry.INSTANCE
- .getEPackage(DCPackage.eNS_URI);
+ EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ DCPackage theDCPackage = (DCPackage)EPackage.Registry.INSTANCE.getEPackage(DCPackage.eNS_URI);
// Create type parameters
@@ -393,74 +378,29 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
shapeEClass.getESuperTypes().add(this.getDiagramElement());
// Initialize classes, features, and operations; add parameters
- initEClass(diagramElementEClass, DiagramElement.class,
- "DiagramElement", IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDiagramElement_ModelElement(),
- theEcorePackage.getEObject(), null, "modelElement", null, 0, 1,
- DiagramElement.class, IS_TRANSIENT, IS_VOLATILE,
- !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getDiagramElement_OwningElement(),
- this.getDiagramElement(),
- this.getDiagramElement_OwnedElement(), "owningElement", null,
- 0, 1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE,
- !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getDiagramElement_OwnedElement(),
- this.getDiagramElement(),
- this.getDiagramElement_OwningElement(), "ownedElement", null,
- 0, -1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE,
- !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getDiagramElement_LocalStyle(), this.getStyle(), null,
- "localStyle", null, 0, 1, DiagramElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
- initEReference(getDiagramElement_SharedStyle(), this.getStyle(), null,
- "sharedStyle", null, 0, 1, DiagramElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
-
- initEClass(styleEClass, Style.class, "Style", IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(edgeEClass, Edge.class, "Edge", IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEdge_Source(), this.getDiagramElement(), null,
- "source", null, 1, 1, Edge.class, IS_TRANSIENT, IS_VOLATILE,
- !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getEdge_Target(), this.getDiagramElement(), null,
- "target", null, 1, 1, Edge.class, IS_TRANSIENT, IS_VOLATILE,
- !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
- initEReference(getEdge_Waypoint(), theDCPackage.getPoint(), null,
- "waypoint", null, 0, -1, Edge.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(diagramEClass, Diagram.class, "Diagram", IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDiagram_Name(), theDCPackage.getString(), "name", "",
- 1, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getDiagram_Documentation(), theDCPackage.getString(),
- "documentation", "", 1, 1, Diagram.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
- initEAttribute(getDiagram_Resolution(), theDCPackage.getReal(),
- "resolution", "300", 1, 1, Diagram.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, !IS_ORDERED);
-
- initEClass(shapeEClass, Shape.class, "Shape", IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getShape_Bounds(), theDCPackage.getBounds(), null,
- "bounds", null, 0, 1, Shape.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEClass(diagramElementEClass, DiagramElement.class, "DiagramElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getDiagramElement_ModelElement(), theEcorePackage.getEObject(), null, "modelElement", null, 0, -1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDiagramElement_OwningDiagramElement(), this.getDiagramElement(), this.getDiagramElement_OwnedDiagramElement(), "owningDiagramElement", null, 0, 1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDiagramElement_OwnedDiagramElement(), this.getDiagramElement(), this.getDiagramElement_OwningDiagramElement(), "ownedDiagramElement", null, 0, -1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDiagramElement_LocalStyle(), this.getStyle(), null, "localStyle", null, 0, 1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDiagramElement_SharedStyle(), this.getStyle(), null, "sharedStyle", null, 0, 1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getDiagramElement_TargetEdge(), this.getEdge(), this.getEdge_TargetDiagramElement(), "targetEdge", null, 0, -1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDiagramElement_SourceEdge(), this.getEdge(), this.getEdge_SourceDiagramElement(), "sourceEdge", null, 0, -1, DiagramElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(styleEClass, Style.class, "Style", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(edgeEClass, Edge.class, "Edge", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEdge_SourceDiagramElement(), this.getDiagramElement(), this.getDiagramElement_SourceEdge(), "sourceDiagramElement", null, 1, 1, Edge.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+ initEReference(getEdge_Waypoint(), theDCPackage.getPoint(), null, "waypoint", null, 0, -1, Edge.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEdge_TargetDiagramElement(), this.getDiagramElement(), this.getDiagramElement_TargetEdge(), "targetDiagramElement", null, 1, 1, Edge.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
+
+ initEClass(diagramEClass, Diagram.class, "Diagram", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDiagram_Name(), theDCPackage.getString(), "name", "", 1, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDiagram_Documentation(), theDCPackage.getString(), "documentation", "", 1, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+ initEAttribute(getDiagram_Resolution(), theDCPackage.getReal(), "resolution", "300", 1, 1, Diagram.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
+
+ initEClass(shapeEClass, Shape.class, "Shape", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getShape_Bounds(), theDCPackage.getBounds(), null, "bounds", null, 0, 1, Shape.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
// Create resource
createResource(eNS_URI);
@@ -471,19 +411,58 @@ public class DIPackageImpl extends EPackageImpl implements DIPackage {
}
/**
- * Initializes the annotations for <b>union</b>. <!-- begin-user-doc -->
+ * Initializes the annotations for <b>union</b>.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected void createUnionAnnotations() {
- String source = "union";
- addAnnotation(getDiagramElement_ModelElement(), source, new String[] {});
- addAnnotation(getDiagramElement_OwningElement(), source,
- new String[] {});
- addAnnotation(getDiagramElement_OwnedElement(), source, new String[] {});
- addAnnotation(getEdge_Source(), source, new String[] {});
- addAnnotation(getEdge_Target(), source, new String[] {});
+ String source = "union";
+ addAnnotation
+ (getDiagramElement_ModelElement(),
+ source,
+ new String[] {
+ });
+ addAnnotation
+ (getDiagramElement_OwningDiagramElement(),
+ source,
+ new String[] {
+ });
+ addAnnotation
+ (getDiagramElement_OwnedDiagramElement(),
+ source,
+ new String[] {
+ });
+ addAnnotation
+ (getDiagramElement_LocalStyle(),
+ source,
+ new String[] {
+ });
+ addAnnotation
+ (getDiagramElement_SharedStyle(),
+ source,
+ new String[] {
+ });
+ addAnnotation
+ (getDiagramElement_TargetEdge(),
+ source,
+ new String[] {
+ });
+ addAnnotation
+ (getDiagramElement_SourceEdge(),
+ source,
+ new String[] {
+ });
+ addAnnotation
+ (getEdge_SourceDiagramElement(),
+ source,
+ new String[] {
+ });
+ addAnnotation
+ (getEdge_TargetDiagramElement(),
+ source,
+ new String[] {
+ });
}
} // DIPackageImpl
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramElementImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramElementImpl.java
index e6e2f804f33..c5a0a799d57 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramElementImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramElementImpl.java
@@ -11,22 +11,15 @@
*/
package org.eclipse.papyrus.dd.di.impl;
-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.EObject;
import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
import org.eclipse.papyrus.dd.di.DIPackage;
import org.eclipse.papyrus.dd.di.DiagramElement;
+import org.eclipse.papyrus.dd.di.Edge;
import org.eclipse.papyrus.dd.di.Style;
-
import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
/**
@@ -35,48 +28,23 @@ import org.eclipse.uml2.common.util.DerivedUnionEObjectEList;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getModelElement
- * <em>Model Element</em>}</li>
- * <li>
- * {@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getOwningElement
- * <em>Owning Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getOwnedElement
- * <em>Owned Element</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getLocalStyle
- * <em>Local Style</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getSharedStyle
- * <em>Shared Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getModelElement <em>Model Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getOwningDiagramElement <em>Owning Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getOwnedDiagramElement <em>Owned Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getLocalStyle <em>Local Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getSharedStyle <em>Shared Style</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getTargetEdge <em>Target Edge</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramElementImpl#getSourceEdge <em>Source Edge</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class DiagramElementImpl extends MinimalEObjectImpl.Container
implements DiagramElement {
/**
- * The cached value of the '{@link #getLocalStyle() <em>Local Style</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getLocalStyle()
- * @generated
- * @ordered
- */
- protected Style localStyle;
-
- /**
- * The cached value of the '{@link #getSharedStyle() <em>Shared Style</em>}'
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getSharedStyle()
- * @generated
- * @ordered
- */
- protected Style sharedStyle;
-
- /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected DiagramElementImpl() {
@@ -85,7 +53,6 @@ public abstract class DiagramElementImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -95,279 +62,206 @@ public abstract class DiagramElementImpl extends MinimalEObjectImpl.Container
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
- public EObject getModelElement() {
- EObject modelElement = basicGetModelElement();
- return modelElement != null && modelElement.eIsProxy() ? eResolveProxy((InternalEObject) modelElement)
- : modelElement;
+ public EList<EObject> getModelElement() {
+ return new DerivedUnionEObjectEList<EObject>(EObject.class, this, DIPackage.DIAGRAM_ELEMENT__MODEL_ELEMENT, null);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public EObject basicGetModelElement() {
- return null;
+ public DiagramElement getOwningDiagramElement() {
+ DiagramElement owningDiagramElement = basicGetOwningDiagramElement();
+ return owningDiagramElement != null && owningDiagramElement.eIsProxy() ? (DiagramElement)eResolveProxy((InternalEObject)owningDiagramElement) : owningDiagramElement;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public DiagramElement getOwningElement() {
- DiagramElement owningElement = basicGetOwningElement();
- return owningElement != null && owningElement.eIsProxy() ? (DiagramElement) eResolveProxy((InternalEObject) owningElement)
- : owningElement;
+ public DiagramElement basicGetOwningDiagramElement() {
+ return null;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public DiagramElement basicGetOwningElement() {
- return null;
+ public EList<DiagramElement> getOwnedDiagramElement() {
+ return new DerivedUnionEObjectEList<DiagramElement>(DiagramElement.class, this, DIPackage.DIAGRAM_ELEMENT__OWNED_DIAGRAM_ELEMENT, null);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public EList<DiagramElement> getOwnedElement() {
- return new DerivedUnionEObjectEList<DiagramElement>(
- DiagramElement.class, this,
- DIPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT, null);
+ public EList<Edge> getTargetEdge() {
+ return new DerivedUnionEObjectEList<Edge>(Edge.class, this, DIPackage.DIAGRAM_ELEMENT__TARGET_EDGE, null);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public Style getLocalStyle() {
- return localStyle;
+ public EList<Edge> getSourceEdge() {
+ return new DerivedUnionEObjectEList<Edge>(Edge.class, this, DIPackage.DIAGRAM_ELEMENT__SOURCE_EDGE, null);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
- public NotificationChain basicSetLocalStyle(Style newLocalStyle,
- NotificationChain msgs) {
- Style oldLocalStyle = localStyle;
- localStyle = newLocalStyle;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE,
- oldLocalStyle, newLocalStyle);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
+ public Style getLocalStyle() {
+ Style localStyle = basicGetLocalStyle();
+ return localStyle != null && localStyle.eIsProxy() ? (Style)eResolveProxy((InternalEObject)localStyle) : localStyle;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public void setLocalStyle(Style newLocalStyle) {
- if (newLocalStyle != localStyle) {
- NotificationChain msgs = null;
- if (localStyle != null)
- msgs = ((InternalEObject) localStyle).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE
- - DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE, null,
- msgs);
- if (newLocalStyle != null)
- msgs = ((InternalEObject) newLocalStyle).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE
- - DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE, null,
- msgs);
- msgs = basicSetLocalStyle(newLocalStyle, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE, newLocalStyle,
- newLocalStyle));
+ public Style basicGetLocalStyle() {
+ return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Style getSharedStyle() {
- if (sharedStyle != null && sharedStyle.eIsProxy()) {
- InternalEObject oldSharedStyle = (InternalEObject) sharedStyle;
- sharedStyle = (Style) eResolveProxy(oldSharedStyle);
- if (sharedStyle != oldSharedStyle) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- DIPackage.DIAGRAM_ELEMENT__SHARED_STYLE,
- oldSharedStyle, sharedStyle));
- }
- }
- return sharedStyle;
+ Style sharedStyle = basicGetSharedStyle();
+ return sharedStyle != null && sharedStyle.eIsProxy() ? (Style)eResolveProxy((InternalEObject)sharedStyle) : sharedStyle;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Style basicGetSharedStyle() {
- return sharedStyle;
+ return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
- public void setSharedStyle(Style newSharedStyle) {
- Style oldSharedStyle = sharedStyle;
- sharedStyle = newSharedStyle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DIPackage.DIAGRAM_ELEMENT__SHARED_STYLE, oldSharedStyle,
- sharedStyle));
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DIPackage.DIAGRAM_ELEMENT__MODEL_ELEMENT:
+ return getModelElement();
+ case DIPackage.DIAGRAM_ELEMENT__OWNING_DIAGRAM_ELEMENT:
+ if (resolve) return getOwningDiagramElement();
+ return basicGetOwningDiagramElement();
+ case DIPackage.DIAGRAM_ELEMENT__OWNED_DIAGRAM_ELEMENT:
+ return getOwnedDiagramElement();
+ case DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE:
+ if (resolve) return getLocalStyle();
+ return basicGetLocalStyle();
+ case DIPackage.DIAGRAM_ELEMENT__SHARED_STYLE:
+ if (resolve) return getSharedStyle();
+ return basicGetSharedStyle();
+ case DIPackage.DIAGRAM_ELEMENT__TARGET_EDGE:
+ return getTargetEdge();
+ case DIPackage.DIAGRAM_ELEMENT__SOURCE_EDGE:
+ return getSourceEdge();
+ }
+ return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd,
- int featureID, NotificationChain msgs) {
+ public boolean eIsSet(int featureID) {
switch (featureID) {
- case DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE:
- return basicSetLocalStyle(null, msgs);
+ case DIPackage.DIAGRAM_ELEMENT__MODEL_ELEMENT:
+ return isSetModelElement();
+ case DIPackage.DIAGRAM_ELEMENT__OWNING_DIAGRAM_ELEMENT:
+ return isSetOwningDiagramElement();
+ case DIPackage.DIAGRAM_ELEMENT__OWNED_DIAGRAM_ELEMENT:
+ return isSetOwnedDiagramElement();
+ case DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE:
+ return isSetLocalStyle();
+ case DIPackage.DIAGRAM_ELEMENT__SHARED_STYLE:
+ return isSetSharedStyle();
+ case DIPackage.DIAGRAM_ELEMENT__TARGET_EDGE:
+ return isSetTargetEdge();
+ case DIPackage.DIAGRAM_ELEMENT__SOURCE_EDGE:
+ return isSetSourceEdge();
}
- return super.eInverseRemove(otherEnd, featureID, msgs);
+ return super.eIsSet(featureID);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case DIPackage.DIAGRAM_ELEMENT__MODEL_ELEMENT:
- if (resolve)
- return getModelElement();
- return basicGetModelElement();
- case DIPackage.DIAGRAM_ELEMENT__OWNING_ELEMENT:
- if (resolve)
- return getOwningElement();
- return basicGetOwningElement();
- case DIPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT:
- return getOwnedElement();
- case DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE:
- return getLocalStyle();
- case DIPackage.DIAGRAM_ELEMENT__SHARED_STYLE:
- if (resolve)
- return getSharedStyle();
- return basicGetSharedStyle();
- }
- return super.eGet(featureID, resolve, coreType);
+ public boolean isSetModelElement() {
+ return false;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE:
- setLocalStyle((Style) newValue);
- return;
- case DIPackage.DIAGRAM_ELEMENT__SHARED_STYLE:
- setSharedStyle((Style) newValue);
- return;
- }
- super.eSet(featureID, newValue);
+ public boolean isSetOwningDiagramElement() {
+ return false;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE:
- setLocalStyle((Style) null);
- return;
- case DIPackage.DIAGRAM_ELEMENT__SHARED_STYLE:
- setSharedStyle((Style) null);
- return;
- }
- super.eUnset(featureID);
+ public boolean isSetOwnedDiagramElement() {
+ return false;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case DIPackage.DIAGRAM_ELEMENT__MODEL_ELEMENT:
- return isSetModelElement();
- case DIPackage.DIAGRAM_ELEMENT__OWNING_ELEMENT:
- return isSetOwningElement();
- case DIPackage.DIAGRAM_ELEMENT__OWNED_ELEMENT:
- return isSetOwnedElement();
- case DIPackage.DIAGRAM_ELEMENT__LOCAL_STYLE:
- return localStyle != null;
- case DIPackage.DIAGRAM_ELEMENT__SHARED_STYLE:
- return sharedStyle != null;
- }
- return super.eIsSet(featureID);
+ public boolean isSetLocalStyle() {
+ return false;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public boolean isSetModelElement() {
+ public boolean isSetSharedStyle() {
return false;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public boolean isSetOwningElement() {
+ public boolean isSetTargetEdge() {
return false;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public boolean isSetOwnedElement() {
+ public boolean isSetSourceEdge() {
return false;
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramImpl.java
index 1dba0ed50c5..9660868647f 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/DiagramImpl.java
@@ -26,14 +26,12 @@ import org.eclipse.papyrus.dd.di.Diagram;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramImpl#getDocumentation <em>
- * Documentation</em>}</li>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramImpl#getResolution <em>
- * Resolution</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramImpl#getDocumentation <em>Documentation</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.DiagramImpl#getResolution <em>Resolution</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class DiagramImpl extends ShapeImpl implements Diagram {
@@ -41,7 +39,6 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -51,7 +48,6 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
/**
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -59,10 +55,9 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
protected String name = NAME_EDEFAULT;
/**
- * The default value of the '{@link #getDocumentation()
- * <em>Documentation</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getDocumentation() <em>Documentation</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getDocumentation()
* @generated
* @ordered
@@ -70,10 +65,9 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
protected static final String DOCUMENTATION_EDEFAULT = "";
/**
- * The cached value of the '{@link #getDocumentation()
- * <em>Documentation</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getDocumentation() <em>Documentation</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @see #getDocumentation()
* @generated
* @ordered
@@ -81,9 +75,8 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
protected String documentation = DOCUMENTATION_EDEFAULT;
/**
- * The default value of the '{@link #getResolution() <em>Resolution</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The default value of the '{@link #getResolution() <em>Resolution</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getResolution()
* @generated
* @ordered
@@ -91,9 +84,8 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
protected static final double RESOLUTION_EDEFAULT = 300.0;
/**
- * The cached value of the '{@link #getResolution() <em>Resolution</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getResolution() <em>Resolution</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getResolution()
* @generated
* @ordered
@@ -102,7 +94,6 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected DiagramImpl() {
@@ -111,7 +102,6 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -121,7 +111,6 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getName() {
@@ -130,20 +119,17 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
/**
* <!-- 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,
- DIPackage.DIAGRAM__NAME, oldName, name));
+ eNotify(new ENotificationImpl(this, Notification.SET, DIPackage.DIAGRAM__NAME, oldName, name));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public String getDocumentation() {
@@ -152,21 +138,17 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setDocumentation(String newDocumentation) {
String oldDocumentation = documentation;
documentation = newDocumentation;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DIPackage.DIAGRAM__DOCUMENTATION, oldDocumentation,
- documentation));
+ eNotify(new ENotificationImpl(this, Notification.SET, DIPackage.DIAGRAM__DOCUMENTATION, oldDocumentation, documentation));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public double getResolution() {
@@ -175,106 +157,96 @@ public abstract class DiagramImpl extends ShapeImpl implements Diagram {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setResolution(double newResolution) {
double oldResolution = resolution;
resolution = newResolution;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DIPackage.DIAGRAM__RESOLUTION, oldResolution, resolution));
+ eNotify(new ENotificationImpl(this, Notification.SET, DIPackage.DIAGRAM__RESOLUTION, oldResolution, resolution));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case DIPackage.DIAGRAM__NAME:
- return getName();
- case DIPackage.DIAGRAM__DOCUMENTATION:
- return getDocumentation();
- case DIPackage.DIAGRAM__RESOLUTION:
- return getResolution();
+ case DIPackage.DIAGRAM__NAME:
+ return getName();
+ case DIPackage.DIAGRAM__DOCUMENTATION:
+ return getDocumentation();
+ case DIPackage.DIAGRAM__RESOLUTION:
+ return getResolution();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DIPackage.DIAGRAM__NAME:
- setName((String) newValue);
- return;
- case DIPackage.DIAGRAM__DOCUMENTATION:
- setDocumentation((String) newValue);
- return;
- case DIPackage.DIAGRAM__RESOLUTION:
- setResolution((Double) newValue);
- return;
+ case DIPackage.DIAGRAM__NAME:
+ setName((String)newValue);
+ return;
+ case DIPackage.DIAGRAM__DOCUMENTATION:
+ setDocumentation((String)newValue);
+ return;
+ case DIPackage.DIAGRAM__RESOLUTION:
+ setResolution((Double)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DIPackage.DIAGRAM__NAME:
- setName(NAME_EDEFAULT);
- return;
- case DIPackage.DIAGRAM__DOCUMENTATION:
- setDocumentation(DOCUMENTATION_EDEFAULT);
- return;
- case DIPackage.DIAGRAM__RESOLUTION:
- setResolution(RESOLUTION_EDEFAULT);
- return;
+ case DIPackage.DIAGRAM__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case DIPackage.DIAGRAM__DOCUMENTATION:
+ setDocumentation(DOCUMENTATION_EDEFAULT);
+ return;
+ case DIPackage.DIAGRAM__RESOLUTION:
+ setResolution(RESOLUTION_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DIPackage.DIAGRAM__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
- .equals(name);
- case DIPackage.DIAGRAM__DOCUMENTATION:
- return DOCUMENTATION_EDEFAULT == null ? documentation != null
- : !DOCUMENTATION_EDEFAULT.equals(documentation);
- case DIPackage.DIAGRAM__RESOLUTION:
- return resolution != RESOLUTION_EDEFAULT;
+ case DIPackage.DIAGRAM__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case DIPackage.DIAGRAM__DOCUMENTATION:
+ return DOCUMENTATION_EDEFAULT == null ? documentation != null : !DOCUMENTATION_EDEFAULT.equals(documentation);
+ case DIPackage.DIAGRAM__RESOLUTION:
+ return resolution != RESOLUTION_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(" (name: ");
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/EdgeImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/EdgeImpl.java
index 31f9e1fdbae..569b1bdc2ed 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/EdgeImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/EdgeImpl.java
@@ -12,19 +12,13 @@
package org.eclipse.papyrus.dd.di.impl;
import java.util.Collection;
-
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.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
-
import org.eclipse.papyrus.dd.dc.Point;
-
import org.eclipse.papyrus.dd.di.DIPackage;
import org.eclipse.papyrus.dd.di.DiagramElement;
import org.eclipse.papyrus.dd.di.Edge;
@@ -35,23 +29,19 @@ import org.eclipse.papyrus.dd.di.Edge;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.EdgeImpl#getSource <em>Source</em>}
- * </li>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.EdgeImpl#getTarget <em>Target</em>}
- * </li>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.EdgeImpl#getWaypoint <em>Waypoint
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.EdgeImpl#getSourceDiagramElement <em>Source Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.EdgeImpl#getTargetDiagramElement <em>Target Diagram Element</em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.EdgeImpl#getWaypoint <em>Waypoint</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class EdgeImpl extends DiagramElementImpl implements Edge {
/**
- * The cached value of the '{@link #getWaypoint() <em>Waypoint</em>}'
- * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getWaypoint() <em>Waypoint</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getWaypoint()
* @generated
* @ordered
@@ -60,7 +50,6 @@ public abstract class EdgeImpl extends DiagramElementImpl implements Edge {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected EdgeImpl() {
@@ -69,7 +58,6 @@ public abstract class EdgeImpl extends DiagramElementImpl implements Edge {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -78,161 +66,149 @@ public abstract class EdgeImpl extends DiagramElementImpl implements Edge {
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public DiagramElement getSource() {
- DiagramElement source = basicGetSource();
- return source != null && source.eIsProxy() ? (DiagramElement) eResolveProxy((InternalEObject) source)
- : source;
+ public DiagramElement getSourceDiagramElement() {
+ DiagramElement sourceDiagramElement = basicGetSourceDiagramElement();
+ return sourceDiagramElement != null && sourceDiagramElement.eIsProxy() ? (DiagramElement)eResolveProxy((InternalEObject)sourceDiagramElement) : sourceDiagramElement;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public DiagramElement basicGetSource() {
+ public DiagramElement basicGetSourceDiagramElement() {
return null;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public DiagramElement getTarget() {
- DiagramElement target = basicGetTarget();
- return target != null && target.eIsProxy() ? (DiagramElement) eResolveProxy((InternalEObject) target)
- : target;
+ public DiagramElement getTargetDiagramElement() {
+ DiagramElement targetDiagramElement = basicGetTargetDiagramElement();
+ return targetDiagramElement != null && targetDiagramElement.eIsProxy() ? (DiagramElement)eResolveProxy((InternalEObject)targetDiagramElement) : targetDiagramElement;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public DiagramElement basicGetTarget() {
+ public DiagramElement basicGetTargetDiagramElement() {
return null;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public EList<Point> getWaypoint() {
if (waypoint == null) {
- waypoint = new EObjectContainmentEList<Point>(Point.class, this,
- DIPackage.EDGE__WAYPOINT);
+ waypoint = new EObjectContainmentEList<Point>(Point.class, this, DIPackage.EDGE__WAYPOINT);
}
return waypoint;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DIPackage.EDGE__WAYPOINT:
- return ((InternalEList<?>) getWaypoint()).basicRemove(otherEnd,
- msgs);
+ case DIPackage.EDGE__WAYPOINT:
+ return ((InternalEList<?>)getWaypoint()).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 DIPackage.EDGE__SOURCE:
- if (resolve)
- return getSource();
- return basicGetSource();
- case DIPackage.EDGE__TARGET:
- if (resolve)
- return getTarget();
- return basicGetTarget();
- case DIPackage.EDGE__WAYPOINT:
- return getWaypoint();
+ case DIPackage.EDGE__SOURCE_DIAGRAM_ELEMENT:
+ if (resolve) return getSourceDiagramElement();
+ return basicGetSourceDiagramElement();
+ case DIPackage.EDGE__TARGET_DIAGRAM_ELEMENT:
+ if (resolve) return getTargetDiagramElement();
+ return basicGetTargetDiagramElement();
+ case DIPackage.EDGE__WAYPOINT:
+ return getWaypoint();
}
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 DIPackage.EDGE__WAYPOINT:
- getWaypoint().clear();
- getWaypoint().addAll((Collection<? extends Point>) newValue);
- return;
+ case DIPackage.EDGE__WAYPOINT:
+ getWaypoint().clear();
+ getWaypoint().addAll((Collection<? extends Point>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DIPackage.EDGE__WAYPOINT:
- getWaypoint().clear();
- return;
+ case DIPackage.EDGE__WAYPOINT:
+ getWaypoint().clear();
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DIPackage.EDGE__SOURCE:
- return isSetSource();
- case DIPackage.EDGE__TARGET:
- return isSetTarget();
- case DIPackage.EDGE__WAYPOINT:
- return waypoint != null && !waypoint.isEmpty();
+ case DIPackage.EDGE__SOURCE_DIAGRAM_ELEMENT:
+ return isSetSourceDiagramElement();
+ case DIPackage.EDGE__TARGET_DIAGRAM_ELEMENT:
+ return isSetTargetDiagramElement();
+ case DIPackage.EDGE__WAYPOINT:
+ return waypoint != null && !waypoint.isEmpty();
}
return super.eIsSet(featureID);
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public boolean isSetSource() {
+ public boolean isSetSourceDiagramElement() {
return false;
}
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
- public boolean isSetTarget() {
+ public boolean isSetTargetDiagramElement() {
return false;
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/ShapeImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/ShapeImpl.java
index 9c4874c3379..bfa1d26e1ba 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/ShapeImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/ShapeImpl.java
@@ -30,19 +30,17 @@ import org.eclipse.papyrus.dd.di.Shape;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.dd.di.impl.ShapeImpl#getBounds <em>Bounds
- * </em>}</li>
+ * <li>{@link org.eclipse.papyrus.dd.di.impl.ShapeImpl#getBounds <em>Bounds</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public abstract class ShapeImpl extends DiagramElementImpl implements Shape {
/**
- * The cached value of the '{@link #getBounds() <em>Bounds</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached value of the '{@link #getBounds() <em>Bounds</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getBounds()
* @generated
* @ordered
@@ -51,7 +49,6 @@ public abstract class ShapeImpl extends DiagramElementImpl implements Shape {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected ShapeImpl() {
@@ -60,7 +57,6 @@ public abstract class ShapeImpl extends DiagramElementImpl implements Shape {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -70,7 +66,6 @@ public abstract class ShapeImpl extends DiagramElementImpl implements Shape {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public Bounds getBounds() {
@@ -79,7 +74,6 @@ public abstract class ShapeImpl extends DiagramElementImpl implements Shape {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public NotificationChain basicSetBounds(Bounds newBounds,
@@ -87,110 +81,94 @@ public abstract class ShapeImpl extends DiagramElementImpl implements Shape {
Bounds oldBounds = bounds;
bounds = newBounds;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET, DIPackage.SHAPE__BOUNDS, oldBounds,
- newBounds);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DIPackage.SHAPE__BOUNDS, oldBounds, newBounds);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
public void setBounds(Bounds newBounds) {
if (newBounds != bounds) {
NotificationChain msgs = null;
if (bounds != null)
- msgs = ((InternalEObject) bounds).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - DIPackage.SHAPE__BOUNDS, null,
- msgs);
+ msgs = ((InternalEObject)bounds).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - DIPackage.SHAPE__BOUNDS, null, msgs);
if (newBounds != null)
- msgs = ((InternalEObject) newBounds).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - DIPackage.SHAPE__BOUNDS, null,
- msgs);
+ msgs = ((InternalEObject)newBounds).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - DIPackage.SHAPE__BOUNDS, null, msgs);
msgs = basicSetBounds(newBounds, msgs);
- if (msgs != null)
- msgs.dispatch();
- } else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- DIPackage.SHAPE__BOUNDS, newBounds, newBounds));
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DIPackage.SHAPE__BOUNDS, newBounds, newBounds));
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
- case DIPackage.SHAPE__BOUNDS:
- return basicSetBounds(null, msgs);
+ case DIPackage.SHAPE__BOUNDS:
+ return basicSetBounds(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 DIPackage.SHAPE__BOUNDS:
- return getBounds();
+ case DIPackage.SHAPE__BOUNDS:
+ return getBounds();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case DIPackage.SHAPE__BOUNDS:
- setBounds((Bounds) newValue);
- return;
+ case DIPackage.SHAPE__BOUNDS:
+ setBounds((Bounds)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case DIPackage.SHAPE__BOUNDS:
- setBounds((Bounds) null);
- return;
+ case DIPackage.SHAPE__BOUNDS:
+ setBounds((Bounds)null);
+ return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case DIPackage.SHAPE__BOUNDS:
- return bounds != null;
+ case DIPackage.SHAPE__BOUNDS:
+ return bounds != null;
}
return super.eIsSet(featureID);
}
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/StyleImpl.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/StyleImpl.java
index 6c537dde9f8..dbd1caa2d7d 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/StyleImpl.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/impl/StyleImpl.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.dd.di.Style;
* <em><b>Style</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
- *
+ *
* @generated
*/
public abstract class StyleImpl extends MinimalEObjectImpl.Container implements
@@ -31,7 +31,6 @@ public abstract class StyleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
protected StyleImpl() {
@@ -40,7 +39,6 @@ public abstract class StyleImpl extends MinimalEObjectImpl.Container implements
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @generated
*/
@Override
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIAdapterFactory.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIAdapterFactory.java
index c7e774f81fe..6a8c2ae0756 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIAdapterFactory.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIAdapterFactory.java
@@ -24,23 +24,22 @@ import org.eclipse.papyrus.dd.di.*;
* <!-- 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.dd.di.DIPackage
* @generated
*/
public class DIAdapterFactory extends AdapterFactoryImpl {
/**
- * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static DIPackage modelPackage;
/**
- * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!--
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DIAdapterFactory() {
@@ -54,7 +53,6 @@ public class DIAdapterFactory extends AdapterFactoryImpl {
* <!-- 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
*/
@@ -64,7 +62,7 @@ public class DIAdapterFactory extends AdapterFactoryImpl {
return true;
}
if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
}
@@ -76,59 +74,50 @@ public class DIAdapterFactory extends AdapterFactoryImpl {
* @generated
*/
protected DISwitch<Adapter> modelSwitch = new DISwitch<Adapter>() {
-
- @Override
- public Adapter caseDiagramElement(DiagramElement object) {
- return createDiagramElementAdapter();
- }
-
- @Override
- public Adapter caseStyle(Style object) {
- return createStyleAdapter();
- }
-
- @Override
- public Adapter caseEdge(Edge object) {
- return createEdgeAdapter();
- }
-
- @Override
- public Adapter caseDiagram(Diagram object) {
- return createDiagramAdapter();
- }
-
- @Override
- public Adapter caseShape(Shape object) {
- return createShapeAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseDiagramElement(DiagramElement object) {
+ return createDiagramElementAdapter();
+ }
+ @Override
+ public Adapter caseStyle(Style object) {
+ return createStyleAdapter();
+ }
+ @Override
+ public Adapter caseEdge(Edge object) {
+ return createEdgeAdapter();
+ }
+ @Override
+ public Adapter caseDiagram(Diagram object) {
+ return createDiagramAdapter();
+ }
+ @Override
+ public Adapter caseShape(Shape object) {
+ return createShapeAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
- * Creates an adapter for the <code>target</code>. <!-- begin-user-doc -->
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
+ * @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);
+ return modelSwitch.doSwitch((EObject)target);
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.papyrus.dd.di.DiagramElement <em>Diagram Element</em>}
- * '. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.dd.di.DiagramElement <em>Diagram 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.dd.di.DiagramElement
* @generated
@@ -198,9 +187,9 @@ public class DIAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for the default case. <!-- begin-user-doc --> This
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc --> This
* default implementation returns null. <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIDerivedUnionAdapter.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIDerivedUnionAdapter.java
new file mode 100644
index 00000000000..3f108322941
--- /dev/null
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DIDerivedUnionAdapter.java
@@ -0,0 +1,146 @@
+/**
+ * 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.dd.di.util;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.notify.impl.AdapterImpl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.papyrus.dd.di.DIPackage;
+import org.eclipse.papyrus.dd.di.Diagram;
+import org.eclipse.papyrus.dd.di.Edge;
+import org.eclipse.papyrus.dd.di.Shape;
+
+/**
+ * <!-- begin-user-doc -->
+ * An adapter that propagates notifications for derived unions.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.dd.di.DIPackage
+ * @generated
+ */
+public class DIDerivedUnionAdapter extends AdapterImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DIPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DIDerivedUnionAdapter() {
+ if (modelPackage == null) {
+ modelPackage = DIPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>notifyChanged</code> with the appropriate model class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param notification a description of the change.
+ * @generated
+ */
+ public void notifyChanged(Notification notification) {
+ Object notifier = notification.getNotifier();
+ if (notifier instanceof EObject) {
+ EClass eClass = ((EObject)notifier).eClass();
+ if (eClass.eContainer() == modelPackage) {
+ notifyChanged(notification, eClass);
+ }
+ }
+ }
+
+ /**
+ * Calls <code>notifyXXXChanged</code> for the corresponding class of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param notification a description of the change.
+ * @param eClass the Ecore class of the notifier.
+ * @generated
+ */
+ protected void notifyChanged(Notification notification, EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case DIPackage.EDGE:
+ notifyEdgeChanged(notification, eClass);
+ break;
+ case DIPackage.DIAGRAM:
+ notifyDiagramChanged(notification, eClass);
+ break;
+ case DIPackage.SHAPE:
+ notifyShapeChanged(notification, eClass);
+ break;
+ }
+ }
+
+ /**
+ * Does nothing; clients may override so that it does something.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param notification a description of the change.
+ * @param eClass the Ecore class of the notifier.
+ * @param derivedUnion the derived union affected by the change.
+ * @generated
+ */
+ public void notifyChanged(Notification notification, EClass eClass, EStructuralFeature derivedUnion) {
+ // Do nothing.
+ }
+
+ /**
+ * Calls <code>notifyChanged</code> for each affected derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param notification a description of the change.
+ * @param eClass the Ecore class of the notifier.
+ * @generated
+ */
+ protected void notifyEdgeChanged(Notification notification, EClass eClass) {
+ switch (notification.getFeatureID(Edge.class)) {
+ }
+ }
+
+ /**
+ * Calls <code>notifyChanged</code> for each affected derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param notification a description of the change.
+ * @param eClass the Ecore class of the notifier.
+ * @generated
+ */
+ protected void notifyDiagramChanged(Notification notification, EClass eClass) {
+ switch (notification.getFeatureID(Diagram.class)) {
+ }
+ }
+
+ /**
+ * Calls <code>notifyChanged</code> for each affected derived union.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param notification a description of the change.
+ * @param eClass the Ecore class of the notifier.
+ * @generated
+ */
+ protected void notifyShapeChanged(Notification notification, EClass eClass) {
+ switch (notification.getFeatureID(Shape.class)) {
+ }
+ }
+
+} //DIDerivedUnionAdapter
diff --git a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DISwitch.java b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DISwitch.java
index 031d2bc919b..8f2e5e9f4f9 100644
--- a/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DISwitch.java
+++ b/extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/di/util/DISwitch.java
@@ -25,23 +25,22 @@ import org.eclipse.papyrus.dd.di.*;
* 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.dd.di.DIPackage
* @generated
*/
public class DISwitch<T> extends Switch<T> {
/**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static DIPackage modelPackage;
/**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!--
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
* @generated
*/
public DISwitch() {
@@ -64,75 +63,60 @@ public class DISwitch<T> extends Switch<T> {
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns
- * a non null result; it yields that result. <!-- begin-user-doc --> <!--
+ * 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.
+ * @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 DIPackage.DIAGRAM_ELEMENT: {
- DiagramElement diagramElement = (DiagramElement) theEObject;
- T result = caseDiagramElement(diagramElement);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DIPackage.STYLE: {
- Style style = (Style) theEObject;
- T result = caseStyle(style);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DIPackage.EDGE: {
- Edge edge = (Edge) theEObject;
- T result = caseEdge(edge);
- if (result == null)
- result = caseDiagramElement(edge);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DIPackage.DIAGRAM: {
- Diagram diagram = (Diagram) theEObject;
- T result = caseDiagram(diagram);
- if (result == null)
- result = caseShape(diagram);
- if (result == null)
- result = caseDiagramElement(diagram);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case DIPackage.SHAPE: {
- Shape shape = (Shape) theEObject;
- T result = caseShape(shape);
- if (result == null)
- result = caseDiagramElement(shape);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
+ case DIPackage.DIAGRAM_ELEMENT: {
+ DiagramElement diagramElement = (DiagramElement)theEObject;
+ T result = caseDiagramElement(diagramElement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DIPackage.STYLE: {
+ Style style = (Style)theEObject;
+ T result = caseStyle(style);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DIPackage.EDGE: {
+ Edge edge = (Edge)theEObject;
+ T result = caseEdge(edge);
+ if (result == null) result = caseDiagramElement(edge);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DIPackage.DIAGRAM: {
+ Diagram diagram = (Diagram)theEObject;
+ T result = caseDiagram(diagram);
+ if (result == null) result = caseShape(diagram);
+ if (result == null) result = caseDiagramElement(diagram);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DIPackage.SHAPE: {
+ Shape shape = (Shape)theEObject;
+ T result = caseShape(shape);
+ if (result == null) result = caseDiagramElement(shape);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Diagram Element</em>'. <!-- begin-user-doc --> This implementation
+ * Returns the result of interpreting the object as an instance of '<em>Diagram 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>Diagram Element</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Diagram Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -141,15 +125,12 @@ public class DISwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Style</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Style</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>Style</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Style</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -175,15 +156,12 @@ public class DISwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Diagram</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Diagram</em>'.
+ * <!-- begin-user-doc --> This implementation returns
* null; returning a non-null result will terminate the switch. <!--
* end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '
- * <em>Diagram</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Diagram</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -192,15 +170,12 @@ public class DISwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>Shape</em>'. <!-- begin-user-doc --> This implementation returns
+ * Returns the result of interpreting the object as an instance of '<em>Shape</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>Shape</em>'.
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Shape</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
@@ -209,15 +184,12 @@ public class DISwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '
- * <em>EObject</em>'. <!-- begin-user-doc --> This implementation returns
+ * 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>'.
+ * @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
*/

Back to the top