public class VisualInterfaceSwitch<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.
VisualInterfacePackage
Modifier and Type | Field and Description |
---|---|
protected static VisualInterfacePackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
VisualInterfaceSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseArc(Arc object)
Returns the result of interpreting the object as an instance of 'Arc'.
|
T |
caseBorderChild(BorderChild object)
Returns the result of interpreting the object as an instance of 'Border Child'.
|
T |
caseBorderContainer(BorderContainer object)
Returns the result of interpreting the object as an instance of 'Border Container'.
|
T |
caseChild(Child object)
Returns the result of interpreting the object as an instance of 'Child'.
|
T |
caseConnection(Connection object)
Returns the result of interpreting the object as an instance of 'Connection'.
|
T |
caseContainer(Container object)
Returns the result of interpreting the object as an instance of 'Container'.
|
T |
caseCursor(Cursor object)
Returns the result of interpreting the object as an instance of 'Cursor'.
|
T |
caseDimension(Dimension object)
Returns the result of interpreting the object as an instance of 'Dimension'.
|
T |
caseEllipse(Ellipse object)
Returns the result of interpreting the object as an instance of 'Ellipse'.
|
T |
caseFigure(Figure object)
Returns the result of interpreting the object as an instance of 'Figure'.
|
T |
caseFigureContainer(FigureContainer object)
Returns the result of interpreting the object as an instance of 'Figure Container'.
|
T |
caseGridChild(GridChild object)
Returns the result of interpreting the object as an instance of 'Grid Child'.
|
T |
caseGridContainer(GridContainer object)
Returns the result of interpreting the object as an instance of 'Grid Container'.
|
T |
caseImage(Image object)
Returns the result of interpreting the object as an instance of 'Image'.
|
T |
caseLine(Line object)
Returns the result of interpreting the object as an instance of 'Line'.
|
T |
casePolygon(Polygon object)
Returns the result of interpreting the object as an instance of 'Polygon'.
|
T |
casePosition(Position object)
Returns the result of interpreting the object as an instance of 'Position'.
|
T |
casePrimitive(Primitive object)
Returns the result of interpreting the object as an instance of 'Primitive'.
|
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 |
caseShape(Shape object)
Returns the result of interpreting the object as an instance of 'Shape'.
|
T |
caseStackContainer(StackContainer object)
Returns the result of interpreting the object as an instance of 'Stack Container'.
|
T |
caseStringToStringMap(Map.Entry<String,String> object)
Returns the result of interpreting the object as an instance of 'String To String Map'.
|
T |
caseSymbol(Symbol object)
Returns the result of interpreting the object as an instance of 'Symbol'.
|
T |
caseSymbolReference(SymbolReference object)
Returns the result of interpreting the object as an instance of 'Symbol Reference'.
|
T |
caseSystemCursor(SystemCursor object)
Returns the result of interpreting the object as an instance of 'System Cursor'.
|
T |
caseText(Text object)
Returns the result of interpreting the object as an instance of 'Text'.
|
T |
caseXYChild(XYChild object)
Returns the result of interpreting the object as an instance of 'XY Child'.
|
T |
caseXYContainer(XYContainer object)
Returns the result of interpreting the object as an instance of 'XY Container'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static VisualInterfacePackage modelPackage
public VisualInterfaceSwitch()
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T caseSymbol(Symbol object)
object
- the target of the switch.doSwitch(EObject)
public T casePrimitive(Primitive object)
object
- the target of the switch.doSwitch(EObject)
public T caseContainer(Container object)
object
- the target of the switch.doSwitch(EObject)
public T caseShape(Shape object)
object
- the target of the switch.doSwitch(EObject)
public T caseRectangle(Rectangle object)
object
- the target of the switch.doSwitch(EObject)
public T caseText(Text object)
object
- the target of the switch.doSwitch(EObject)
public T caseChild(Child object)
object
- the target of the switch.doSwitch(EObject)
public T caseXYChild(XYChild object)
object
- the target of the switch.doSwitch(EObject)
public T caseXYContainer(XYContainer object)
object
- the target of the switch.doSwitch(EObject)
public T casePosition(Position object)
object
- the target of the switch.doSwitch(EObject)
public T caseLine(Line object)
object
- the target of the switch.doSwitch(EObject)
public T caseFigure(Figure object)
object
- the target of the switch.doSwitch(EObject)
public T caseSymbolReference(SymbolReference object)
object
- the target of the switch.doSwitch(EObject)
public T caseStringToStringMap(Map.Entry<String,String> object)
object
- the target of the switch.doSwitch(EObject)
public T caseDimension(Dimension object)
object
- the target of the switch.doSwitch(EObject)
public T caseCursor(Cursor object)
object
- the target of the switch.doSwitch(EObject)
public T caseSystemCursor(SystemCursor object)
object
- the target of the switch.doSwitch(EObject)
public T caseGridContainer(GridContainer object)
object
- the target of the switch.doSwitch(EObject)
public T caseBorderContainer(BorderContainer object)
object
- the target of the switch.doSwitch(EObject)
public T caseBorderChild(BorderChild object)
object
- the target of the switch.doSwitch(EObject)
public T caseGridChild(GridChild object)
object
- the target of the switch.doSwitch(EObject)
public T caseFigureContainer(FigureContainer object)
object
- the target of the switch.doSwitch(EObject)
public T caseImage(Image object)
object
- the target of the switch.doSwitch(EObject)
public T caseEllipse(Ellipse object)
object
- the target of the switch.doSwitch(EObject)
public T caseArc(Arc object)
object
- the target of the switch.doSwitch(EObject)
public T caseConnection(Connection object)
object
- the target of the switch.doSwitch(EObject)
public T caseStackContainer(StackContainer object)
object
- the target of the switch.doSwitch(EObject)
public T casePolygon(Polygon object)
object
- the target of the switch.doSwitch(EObject)
public T caseRoundedRectangle(RoundedRectangle 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)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.