public class ApplicationSwitch<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.
ApplicationPackageImpl| Modifier and Type | Field and Description |
|---|---|
protected static ApplicationPackageImpl |
modelPackage
The cached model package
|
| Constructor and Description |
|---|
ApplicationSwitch()
Creates an instance of the switch
|
| Modifier and Type | Method and Description |
|---|---|
T1 |
caseAddon(MAddon object)
Returns the result of interpreting the object as an instance of 'Addon'
|
T1 |
caseApplication(MApplication object)
Returns the result of interpreting the object as an instance of 'Application'
|
T1 |
caseApplicationElement(MApplicationElement object)
Returns the result of interpreting the object as an instance of 'Element'
|
T1 |
caseBindings(MBindings object)
Returns the result of interpreting the object as an instance of 'Bindings'
|
T1 |
caseBindingTableContainer(MBindingTableContainer object)
Returns the result of interpreting the object as an instance of 'Binding Table Container'
|
T1 |
caseContext(MContext object)
Returns the result of interpreting the object as an instance of 'Context'
|
T1 |
caseContribution(MContribution object)
Returns the result of interpreting the object as an instance of 'Contribution'
|
<T extends MUIElement> |
caseElementContainer(MElementContainer<T> object)
Returns the result of interpreting the object as an instance of 'Element Container'
|
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 |
caseMenuContributions(MMenuContributions object)
Returns the result of interpreting the object as an instance of 'Contributions'
|
T1 |
casePartDescriptorContainer(MPartDescriptorContainer object)
Returns the result of interpreting the object as an instance of 'Part Descriptor Container'
|
T1 |
caseSnippetContainer(MSnippetContainer object)
Returns the result of interpreting the object as an instance of 'Snippet Container'
|
T1 |
caseStringToObjectMap(java.util.Map.Entry<java.lang.String,java.lang.Object> object)
Returns the result of interpreting the object as an instance of 'String To Object Map'
|
T1 |
caseStringToStringMap(java.util.Map.Entry<java.lang.String,java.lang.String> object)
Returns the result of interpreting the object as an instance of 'String To String Map'
|
T1 |
caseToolBarContributions(MToolBarContributions object)
Returns the result of interpreting the object as an instance of 'Tool Bar Contributions'
|
T1 |
caseTrimContributions(MTrimContributions object)
Returns the result of interpreting the object as an instance of 'Trim Contributions'
|
T1 |
caseUIElement(MUIElement object)
Returns the result of interpreting the object as an instance of 'UI 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 ApplicationPackageImpl 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 caseStringToStringMap(java.util.Map.Entry<java.lang.String,java.lang.String> object)
object - the target of the switch.doSwitch(EObject)public T1 caseApplication(MApplication object)
object - the target of the switch.doSwitch(EObject)public T1 caseApplicationElement(MApplicationElement object)
object - the target of the switch.doSwitch(EObject)public T1 caseContribution(MContribution object)
object - the target of the switch.doSwitch(EObject)public T1 caseAddon(MAddon object)
object - the target of the switch.doSwitch(EObject)public T1 caseStringToObjectMap(java.util.Map.Entry<java.lang.String,java.lang.Object> object)
object - the target of the switch.doSwitch(EObject)public T1 caseLocalizable(MLocalizable object)
object - the target of the switch.doSwitch(EObject)public T1 caseUIElement(MUIElement 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 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 caseBindingTableContainer(MBindingTableContainer object)
object - the target of the switch.doSwitch(EObject)public T1 casePartDescriptorContainer(MPartDescriptorContainer object)
object - the target of the switch.doSwitch(EObject)public T1 caseBindings(MBindings object)
object - the target of the switch.doSwitch(EObject)public T1 caseMenuContributions(MMenuContributions object)
object - the target of the switch.doSwitch(EObject)public T1 caseToolBarContributions(MToolBarContributions object)
object - the target of the switch.doSwitch(EObject)public T1 caseTrimContributions(MTrimContributions object)
object - the target of the switch.doSwitch(EObject)public T1 caseSnippetContainer(MSnippetContainer 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)