public class AdvancedSwitch<T1>
extends <any>
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.
AdvancedPackageImpl| Modifier and Type | Field and Description |
|---|---|
protected static AdvancedPackageImpl |
modelPackage
The cached model package
|
| Constructor and Description |
|---|
AdvancedSwitch()
Creates an instance of the switch
|
| Modifier and Type | Method and Description |
|---|---|
T1 |
caseApplicationElement(MApplicationElement object)
Returns the result of interpreting the object as an instance of 'Element'
|
T1 |
caseArea(MArea object)
Returns the result of interpreting the object as an instance of 'Area'
|
T1 |
caseBindings(MBindings object)
Returns the result of interpreting the object as an instance of 'Bindings'
|
T1 |
caseContext(MContext object)
Returns the result of interpreting the object as an instance of 'Context'
|
<T extends MUIElement> |
caseElementContainer(MElementContainer<T> object)
Returns the result of interpreting the object as an instance of 'Element Container'
|
<T extends MUIElement> |
caseGenericStack(MGenericStack<T> object)
Returns the result of interpreting the object as an instance of 'Generic Stack'
|
<T extends MUIElement> |
caseGenericTile(MGenericTile<T> object)
Returns the result of interpreting the object as an instance of 'Generic Tile'
|
T1 |
caseHandlerContainer(MHandlerContainer object)
Returns the result of interpreting the object as an instance of 'Handler Container'
|
T1 |
caseLocalizable(MLocalizable object)
Returns the result of interpreting the object as an instance of 'Localizable'
|
T1 |
casePartSashContainer(MPartSashContainer object)
Returns the result of interpreting the object as an instance of 'Part Sash Container'
|
T1 |
casePartSashContainerElement(MPartSashContainerElement object)
Returns the result of interpreting the object as an instance of 'Part Sash Container Element'
|
T1 |
casePerspective(MPerspective object)
Returns the result of interpreting the object as an instance of 'Perspective'
|
T1 |
casePerspectiveStack(MPerspectiveStack object)
Returns the result of interpreting the object as an instance of 'Perspective Stack'
|
T1 |
casePlaceholder(MPlaceholder object)
Returns the result of interpreting the object as an instance of 'Placeholder'
|
T1 |
caseStackElement(MStackElement object)
Returns the result of interpreting the object as an instance of 'Stack Element'
|
T1 |
caseUIElement(MUIElement object)
Returns the result of interpreting the object as an instance of 'UI Element'
|
T1 |
caseUILabel(MUILabel object)
Returns the result of interpreting the object as an instance of 'UI Label'
|
T1 |
caseWindowElement(MWindowElement object)
Returns the result of interpreting the object as an instance of 'Window Element'
|
T1 |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'
|
protected T1 |
doSwitch(int classifierID,
EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result |
protected boolean |
isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package
|
protected static AdvancedPackageImpl modelPackage
protected boolean isSwitchFor(EPackage ePackage)
ePackage - the package in question.protected T1 doSwitch(int classifierID, EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public T1 casePlaceholder(MPlaceholder object)
object - the target of the switch.doSwitch(EObject)public T1 casePerspective(MPerspective object)
object - the target of the switch.doSwitch(EObject)public T1 casePerspectiveStack(MPerspectiveStack object)
object - the target of the switch.doSwitch(EObject)public T1 caseArea(MArea object)
object - the target of the switch.doSwitch(EObject)public T1 caseApplicationElement(MApplicationElement object)
object - the target of the switch.doSwitch(EObject)public T1 caseUIElement(MUIElement object)
object - the target of the switch.doSwitch(EObject)public T1 casePartSashContainerElement(MPartSashContainerElement object)
object - the target of the switch.doSwitch(EObject)public T1 caseStackElement(MStackElement object)
object - the target of the switch.doSwitch(EObject)public <T extends MUIElement> T1 caseElementContainer(MElementContainer<T> object)
object - the target of the switch.doSwitch(EObject)public T1 caseLocalizable(MLocalizable object)
object - the target of the switch.doSwitch(EObject)public T1 caseUILabel(MUILabel object)
object - the target of the switch.doSwitch(EObject)public T1 caseContext(MContext object)
object - the target of the switch.doSwitch(EObject)public T1 caseHandlerContainer(MHandlerContainer object)
object - the target of the switch.doSwitch(EObject)public T1 caseBindings(MBindings object)
object - the target of the switch.doSwitch(EObject)public <T extends MUIElement> T1 caseGenericStack(MGenericStack<T> object)
object - the target of the switch.doSwitch(EObject)public T1 caseWindowElement(MWindowElement object)
object - the target of the switch.doSwitch(EObject)public <T extends MUIElement> T1 caseGenericTile(MGenericTile<T> object)
object - the target of the switch.doSwitch(EObject)public T1 casePartSashContainer(MPartSashContainer object)
object - the target of the switch.doSwitch(EObject)public T1 defaultCase(EObject object)
object - the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)