public class DetailViewSwitch<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.
DetailViewPackage
Modifier and Type | Field and Description |
---|---|
protected static DetailViewPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
DetailViewSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAndTransformer(AndTransformer object)
Returns the result of interpreting the object as an instance of 'And Transformer'.
|
T |
caseBoolLEDComponent(BoolLEDComponent object)
Returns the result of interpreting the object as an instance of 'Bool LED Component'.
|
T |
caseBrowserComponent(BrowserComponent object)
Returns the result of interpreting the object as an instance of 'Browser Component'.
|
T |
caseButtonComponent(ButtonComponent object)
Returns the result of interpreting the object as an instance of 'Button Component'.
|
T |
caseCheckComponent(CheckComponent object)
Returns the result of interpreting the object as an instance of 'Check Component'.
|
T |
caseComponent(Component object)
Returns the result of interpreting the object as an instance of 'Component'.
|
T |
caseCompositeComponent(CompositeComponent object)
Returns the result of interpreting the object as an instance of 'Composite Component'.
|
T |
caseCompositeTransformer(CompositeTransformer object)
Returns the result of interpreting the object as an instance of 'Composite Transformer'.
|
T |
caseFillLayoutComponent(FillLayoutComponent object)
Returns the result of interpreting the object as an instance of 'Fill Layout Component'.
|
T |
caseGenericComponent(GenericComponent object)
Returns the result of interpreting the object as an instance of 'Generic Component'.
|
T |
caseGroupEntry(GroupEntry object)
Returns the result of interpreting the object as an instance of 'Group Entry'.
|
T |
caseGroupGridComponent(GroupGridComponent object)
Returns the result of interpreting the object as an instance of 'Group Grid Component'.
|
T |
caseGroupGridEntry(GroupGridEntry object)
Returns the result of interpreting the object as an instance of 'Group Grid Entry'.
|
T |
caseHiddenComponent(HiddenComponent object)
Returns the result of interpreting the object as an instance of 'Hidden Component'.
|
T |
caseInvisible(Invisible object)
Returns the result of interpreting the object as an instance of 'Invisible'.
|
T |
caseItemValueSource(ItemValueSource object)
Returns the result of interpreting the object as an instance of 'Item Value Source'.
|
T |
caseLabelComponent(LabelComponent object)
Returns the result of interpreting the object as an instance of 'Label Component'.
|
T |
caseLinkComponent(LinkComponent object)
Returns the result of interpreting the object as an instance of 'Link Component'.
|
T |
caseNotTransformer(NotTransformer object)
Returns the result of interpreting the object as an instance of 'Not Transformer'.
|
T |
caseOrTransformer(OrTransformer object)
Returns the result of interpreting the object as an instance of 'Or Transformer'.
|
T |
casePermissionVisibility(PermissionVisibility object)
Returns the result of interpreting the object as an instance of 'Permission Visibility'.
|
T |
caseProgressComponent(ProgressComponent object)
Returns the result of interpreting the object as an instance of 'Progress Component'.
|
T |
caseReadableComponent(ReadableComponent object)
Returns the result of interpreting the object as an instance of 'Readable Component'.
|
T |
caseRegistration(Registration object)
Returns the result of interpreting the object as an instance of 'Registration'.
|
T |
caseScriptModule(ScriptModule object)
Returns the result of interpreting the object as an instance of 'Script Module'.
|
T |
caseScriptVisibility(ScriptVisibility object)
Returns the result of interpreting the object as an instance of 'Script Visibility'.
|
T |
caseSimpleGridComponent(SimpleGridComponent object)
Returns the result of interpreting the object as an instance of 'Simple Grid Component'.
|
T |
caseTestVisibility(TestVisibility object)
Returns the result of interpreting the object as an instance of 'Test Visibility'.
|
T |
caseTextComponent(TextComponent object)
Returns the result of interpreting the object as an instance of 'Text Component'.
|
T |
caseTextInputComponent(TextInputComponent object)
Returns the result of interpreting the object as an instance of 'Text Input Component'.
|
T |
caseTextInputMultiComponent(TextInputMultiComponent object)
Returns the result of interpreting the object as an instance of 'Text Input Multi Component'.
|
T |
caseURLImageComponent(URLImageComponent object)
Returns the result of interpreting the object as an instance of 'URL Image Component'.
|
T |
caseValueComponent(ValueComponent object)
Returns the result of interpreting the object as an instance of 'Value Component'.
|
T |
caseValueSetComponent(ValueSetComponent object)
Returns the result of interpreting the object as an instance of 'Value Set Component'.
|
T |
caseValueSource(ValueSource object)
Returns the result of interpreting the object as an instance of 'Value Source'.
|
T |
caseView(View object)
Returns the result of interpreting the object as an instance of 'View'.
|
T |
caseVisibility(Visibility object)
Returns the result of interpreting the object as an instance of 'Visibility'.
|
T |
caseWriteableComponent(WriteableComponent object)
Returns the result of interpreting the object as an instance of 'Writeable Component'.
|
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 DetailViewPackage modelPackage
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 caseView(View object)
object
- the target of the switch.doSwitch(EObject)
public T caseComponent(Component object)
object
- the target of the switch.doSwitch(EObject)
public T caseGroupEntry(GroupEntry object)
object
- the target of the switch.doSwitch(EObject)
public T caseLabelComponent(LabelComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompositeComponent(CompositeComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseFillLayoutComponent(FillLayoutComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseButtonComponent(ButtonComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseBoolLEDComponent(BoolLEDComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseValueSource(ValueSource object)
object
- the target of the switch.doSwitch(EObject)
public T caseItemValueSource(ItemValueSource object)
object
- the target of the switch.doSwitch(EObject)
public T caseNotTransformer(NotTransformer object)
object
- the target of the switch.doSwitch(EObject)
public T caseGenericComponent(GenericComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseRegistration(Registration object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleGridComponent(SimpleGridComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseGroupGridComponent(GroupGridComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseGroupGridEntry(GroupGridEntry object)
object
- the target of the switch.doSwitch(EObject)
public T caseValueSetComponent(ValueSetComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseValueComponent(ValueComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompositeTransformer(CompositeTransformer object)
object
- the target of the switch.doSwitch(EObject)
public T caseAndTransformer(AndTransformer object)
object
- the target of the switch.doSwitch(EObject)
public T caseOrTransformer(OrTransformer object)
object
- the target of the switch.doSwitch(EObject)
public T caseTextInputComponent(TextInputComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseWriteableComponent(WriteableComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseReadableComponent(ReadableComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseTextComponent(TextComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseTextInputMultiComponent(TextInputMultiComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseCheckComponent(CheckComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseLinkComponent(LinkComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseURLImageComponent(URLImageComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseProgressComponent(ProgressComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseHiddenComponent(HiddenComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseVisibility(Visibility object)
object
- the target of the switch.doSwitch(EObject)
public T caseScriptVisibility(ScriptVisibility object)
object
- the target of the switch.doSwitch(EObject)
public T casePermissionVisibility(PermissionVisibility object)
object
- the target of the switch.doSwitch(EObject)
public T caseInvisible(Invisible object)
object
- the target of the switch.doSwitch(EObject)
public T caseTestVisibility(TestVisibility object)
object
- the target of the switch.doSwitch(EObject)
public T caseScriptModule(ScriptModule object)
object
- the target of the switch.doSwitch(EObject)
public T caseBrowserComponent(BrowserComponent 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.