public class ModelSwitch<T1>
extends org.eclipse.emf.ecore.util.Switch<T1>
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.
ModelPackage
Constructor and Description |
---|
ModelSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
<T> T1 |
caseColorOption(ColorOption<T> object)
Returns the result of interpreting the object as an instance of 'Color Option'.
|
T1 |
caseComboDisplayOptionData(ComboDisplayOptionData object)
Returns the result of interpreting the object as an instance of 'Combo Display Option Data'.
|
<T> T1 |
caseDisplayOption(DisplayOption<T> object)
Returns the result of interpreting the object as an instance of 'Display Option'.
|
T1 |
caseDoubleTextDisplayOptionData(DoubleTextDisplayOptionData object)
Returns the result of interpreting the object as an instance of 'Double Text Display Option Data'.
|
T1 |
caseIDisplayOptionData(IDisplayOptionData object)
Returns the result of interpreting the object as an instance of 'IDisplay Option Data'.
|
T1 |
caseIntegerTextDisplayOptionData(IntegerTextDisplayOptionData object)
Returns the result of interpreting the object as an instance of 'Integer Text Display Option Data'.
|
<T> T1 |
caseIRenderElement(IRenderElement<T> object)
Returns the result of interpreting the object as an instance of 'IRender Element'.
|
<T> T1 |
caseMeshCache(MeshCache<T> object)
Returns the result of interpreting the object as an instance of 'Mesh Cache'.
|
<T> T1 |
caseOpacityOption(OpacityOption<T> object)
Returns the result of interpreting the object as an instance of 'Opacity Option'.
|
<T> T1 |
caseRenderObject(RenderObject<T> object)
Returns the result of interpreting the object as an instance of 'Render Object'.
|
<T> T1 |
caseScaleOption(ScaleOption<T> object)
Returns the result of interpreting the object as an instance of 'Scale Option'.
|
<T> T1 |
caseWireframeOption(WireframeOption<T> object)
Returns the result of interpreting the object as an instance of 'Wireframe Option'.
|
T1 |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public <T> T1 caseMeshCache(MeshCache<T> object)
object
- the target of the switch.doSwitch(EObject)
public <T> T1 caseRenderObject(RenderObject<T> object)
object
- the target of the switch.doSwitch(EObject)
public <T> T1 caseIRenderElement(IRenderElement<T> object)
object
- the target of the switch.doSwitch(EObject)
public <T> T1 caseDisplayOption(DisplayOption<T> object)
object
- the target of the switch.doSwitch(EObject)
public <T> T1 caseOpacityOption(OpacityOption<T> object)
object
- the target of the switch.doSwitch(EObject)
public <T> T1 caseScaleOption(ScaleOption<T> object)
object
- the target of the switch.doSwitch(EObject)
public <T> T1 caseWireframeOption(WireframeOption<T> object)
object
- the target of the switch.doSwitch(EObject)
public <T> T1 caseColorOption(ColorOption<T> object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseIDisplayOptionData(IDisplayOptionData object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseComboDisplayOptionData(ComboDisplayOptionData object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseDoubleTextDisplayOptionData(DoubleTextDisplayOptionData object)
object
- the target of the switch.doSwitch(EObject)
public T1 caseIntegerTextDisplayOptionData(IntegerTextDisplayOptionData object)
object
- the target of the switch.doSwitch(EObject)
public T1 defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T1>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)