public class AlgorithmsSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
doSwitch(object)
to invoke the caseXXX
method for each class of the model,
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.
AlgorithmsPackage
Constructor and Description |
---|
AlgorithmsSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAbstractStyle(AbstractStyle object)
Returns the result of interpreting the object as an instance of 'Abstract Style'.
|
T |
caseAbstractText(AbstractText object)
Returns the result of interpreting the object as an instance of 'Abstract Text'.
|
T |
caseEllipse(Ellipse object)
Returns the result of interpreting the object as an instance of 'Ellipse'.
|
T |
caseGraphicsAlgorithm(GraphicsAlgorithm object)
Returns the result of interpreting the object as an instance of 'Graphics Algorithm'.
|
T |
caseGraphicsAlgorithmContainer(GraphicsAlgorithmContainer object)
Returns the result of interpreting the object as an instance of 'Graphics Algorithm Container'.
|
T |
caseImage(Image object)
Returns the result of interpreting the object as an instance of 'Image'.
|
T |
caseMultiText(MultiText object)
Returns the result of interpreting the object as an instance of 'Multi Text'.
|
T |
casePlatformGraphicsAlgorithm(PlatformGraphicsAlgorithm object)
Returns the result of interpreting the object as an instance of 'Platform Graphics Algorithm'.
|
T |
casePolygon(Polygon object)
Returns the result of interpreting the object as an instance of 'Polygon'.
|
T |
casePolyline(Polyline object)
Returns the result of interpreting the object as an instance of 'Polyline'.
|
T |
casePropertyContainer(PropertyContainer object)
Returns the result of interpreting the object as an instance of 'Property Container'.
|
T |
caseRectangle(Rectangle object)
Returns the result of interpreting the object as an instance of 'Rectangle'.
|
T |
caseRoundedRectangle(RoundedRectangle object)
Returns the result of interpreting the object as an instance of 'Rounded Rectangle'.
|
T |
caseText(Text object)
Returns the result of interpreting the object as an instance of 'Text'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public T caseGraphicsAlgorithm(GraphicsAlgorithm object)
object
- the target of the switch.doSwitch(EObject)
public T casePolyline(Polyline object)
object
- the target of the switch.doSwitch(EObject)
public T caseEllipse(Ellipse object)
object
- the target of the switch.doSwitch(EObject)
public T caseText(Text object)
object
- the target of the switch.doSwitch(EObject)
public T casePolygon(Polygon object)
object
- the target of the switch.doSwitch(EObject)
public T caseRectangle(Rectangle object)
object
- the target of the switch.doSwitch(EObject)
public T caseRoundedRectangle(RoundedRectangle object)
object
- the target of the switch.doSwitch(EObject)
public T caseImage(Image object)
object
- the target of the switch.doSwitch(EObject)
public T casePlatformGraphicsAlgorithm(PlatformGraphicsAlgorithm object)
object
- the target of the switch.doSwitch(EObject)
public T caseAbstractText(AbstractText object)
object
- the target of the switch.doSwitch(EObject)
public T caseMultiText(MultiText object)
object
- the target of the switch.doSwitch(EObject)
public T casePropertyContainer(PropertyContainer object)
object
- the target of the switch.doSwitch(EObject)
public T caseGraphicsAlgorithmContainer(GraphicsAlgorithmContainer object)
object
- the target of the switch.doSwitch(EObject)
public T caseAbstractStyle(AbstractStyle object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)