Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGSwitch.java')
-rw-r--r--extraplugins/diagram-definition/org.eclipse.papyrus.dd/src/org/eclipse/papyrus/dd/dg/util/DGSwitch.java1200
1 files changed, 486 insertions, 714 deletions
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
*/

Back to the top