|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.modisco.omg.kdm.ui.util.UiSwitch<T>
public class UiSwitch<T>
The Switch for the model's inheritance hierarchy.
It supports the call 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.
UiPackage
Constructor Summary | |
---|---|
UiSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAbstractActionRelationship(AbstractActionRelationship object)
Returns the result of interpreting the object as an instance of 'Abstract Action Relationship'. |
T |
caseAbstractUIElement(AbstractUIElement object)
Returns the result of interpreting the object as an instance of 'Abstract UI Element'. |
T |
caseAbstractUIRelationship(AbstractUIRelationship object)
Returns the result of interpreting the object as an instance of 'Abstract UI Relationship'. |
T |
caseDisplays(Displays object)
Returns the result of interpreting the object as an instance of 'Displays'. |
T |
caseDisplaysImage(DisplaysImage object)
Returns the result of interpreting the object as an instance of 'Displays Image'. |
T |
caseElement(Element object)
Returns the result of interpreting the object as an instance of 'Element'. |
T |
caseKDMEntity(KDMEntity object)
Returns the result of interpreting the object as an instance of 'KDM Entity'. |
T |
caseKDMFramework(KDMFramework object)
Returns the result of interpreting the object as an instance of 'KDM Framework'. |
T |
caseKDMModel(KDMModel object)
Returns the result of interpreting the object as an instance of 'KDM Model'. |
T |
caseKDMRelationship(KDMRelationship object)
Returns the result of interpreting the object as an instance of 'KDM Relationship'. |
T |
caseManagesUI(ManagesUI object)
Returns the result of interpreting the object as an instance of 'Manages UI'. |
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'. |
T |
caseReadsUI(ReadsUI object)
Returns the result of interpreting the object as an instance of 'Reads UI'. |
T |
caseReport(Report object)
Returns the result of interpreting the object as an instance of 'Report'. |
T |
caseScreen(Screen object)
Returns the result of interpreting the object as an instance of 'Screen'. |
T |
caseUIAction(UIAction object)
Returns the result of interpreting the object as an instance of 'UI Action'. |
T |
caseUIDisplay(UIDisplay object)
Returns the result of interpreting the object as an instance of 'UI Display'. |
T |
caseUIElement(UIElement object)
Returns the result of interpreting the object as an instance of 'UI Element'. |
T |
caseUIEvent(UIEvent object)
Returns the result of interpreting the object as an instance of 'UI Event'. |
T |
caseUIField(UIField object)
Returns the result of interpreting the object as an instance of 'UI Field'. |
T |
caseUIFlow(UIFlow object)
Returns the result of interpreting the object as an instance of 'UI Flow'. |
T |
caseUILayout(UILayout object)
Returns the result of interpreting the object as an instance of 'UI Layout'. |
T |
caseUIModel(UIModel object)
Returns the result of interpreting the object as an instance of 'UI Model'. |
T |
caseUIRelationship(UIRelationship object)
Returns the result of interpreting the object as an instance of 'UI Relationship'. |
T |
caseUIResource(UIResource object)
Returns the result of interpreting the object as an instance of 'UI Resource'. |
T |
caseWritesUI(WritesUI object)
Returns the result of interpreting the object as an instance of 'Writes UI'. |
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
T |
doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UiSwitch()
Method Detail |
---|
public T doSwitch(EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public T caseAbstractUIElement(AbstractUIElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIResource(UIResource object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIDisplay(UIDisplay object)
object
- the target of the switch.
doSwitch(EObject)
public T caseScreen(Screen object)
object
- the target of the switch.
doSwitch(EObject)
public T caseReport(Report object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIModel(UIModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAbstractUIRelationship(AbstractUIRelationship object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUILayout(UILayout object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIField(UIField object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDisplaysImage(DisplaysImage object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDisplays(Displays object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIFlow(UIFlow object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIElement(UIElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIRelationship(UIRelationship object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIAction(UIAction object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUIEvent(UIEvent object)
object
- the target of the switch.
doSwitch(EObject)
public T caseReadsUI(ReadsUI object)
object
- the target of the switch.
doSwitch(EObject)
public T caseWritesUI(WritesUI object)
object
- the target of the switch.
doSwitch(EObject)
public T caseManagesUI(ManagesUI object)
object
- the target of the switch.
doSwitch(EObject)
public T caseElement(Element object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModelElement(ModelElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseKDMEntity(KDMEntity object)
object
- the target of the switch.
doSwitch(EObject)
public T caseKDMFramework(KDMFramework object)
object
- the target of the switch.
doSwitch(EObject)
public T caseKDMModel(KDMModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseKDMRelationship(KDMRelationship object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAbstractActionRelationship(AbstractActionRelationship object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(EObject object)
object
- the target of the switch.
#doSwitch(org.eclipse.emf.ecore.EObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |