public class ChartSwitch<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.
ChartPackage
Modifier and Type | Field and Description |
---|---|
protected static ChartPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
ChartSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseArchiveChannel(ArchiveChannel object)
Returns the result of interpreting the object as an instance of 'Archive Channel'.
|
T |
caseArchiveSeries(ArchiveSeries object)
Returns the result of interpreting the object as an instance of 'Archive Series'.
|
T |
caseAxis(Axis object)
Returns the result of interpreting the object as an instance of 'Axis'.
|
T |
caseChart(Chart object)
Returns the result of interpreting the object as an instance of 'Chart'.
|
T |
caseCompositeArchiveQualitySeries(CompositeArchiveQualitySeries object)
Returns the result of interpreting the object as an instance of 'Composite Archive Quality Series'.
|
T |
caseController(Controller object)
Returns the result of interpreting the object as an instance of 'Controller'.
|
T |
caseCurrentTimeController(CurrentTimeController object)
Returns the result of interpreting the object as an instance of 'Current Time Controller'.
|
T |
caseDataItemSeries(DataItemSeries object)
Returns the result of interpreting the object as an instance of 'Data Item Series'.
|
T |
caseDataSeries(DataSeries object)
Returns the result of interpreting the object as an instance of 'Data Series'.
|
T |
caseIdItem(IdItem object)
Returns the result of interpreting the object as an instance of 'Id Item'.
|
T |
caseItem(Item object)
Returns the result of interpreting the object as an instance of 'Item'.
|
T |
caseItemDataSeries(ItemDataSeries object)
Returns the result of interpreting the object as an instance of 'Item Data Series'.
|
T |
caseLegendController(LegendController object)
Returns the result of interpreting the object as an instance of 'Legend Controller'.
|
T |
caseLineProperties(LineProperties object)
Returns the result of interpreting the object as an instance of 'Line Properties'.
|
T |
caseMouseController(MouseController object)
Returns the result of interpreting the object as an instance of 'Mouse Controller'.
|
T |
caseProfile(Profile object)
Returns the result of interpreting the object as an instance of 'Profile'.
|
T |
caseResetController(ResetController object)
Returns the result of interpreting the object as an instance of 'Reset Controller'.
|
T |
caseScaleAction(ScaleAction object)
Returns the result of interpreting the object as an instance of 'Scale Action'.
|
T |
caseScriptSeries(ScriptSeries object)
Returns the result of interpreting the object as an instance of 'Script Series'.
|
T |
caseSeparatorController(SeparatorController object)
Returns the result of interpreting the object as an instance of 'Separator Controller'.
|
T |
caseTimeNowAction(TimeNowAction object)
Returns the result of interpreting the object as an instance of 'Time Now Action'.
|
T |
caseTimeShiftAction(TimeShiftAction object)
Returns the result of interpreting the object as an instance of 'Time Shift Action'.
|
T |
caseUriItem(UriItem object)
Returns the result of interpreting the object as an instance of 'Uri Item'.
|
T |
caseXAxis(XAxis object)
Returns the result of interpreting the object as an instance of 'XAxis'.
|
T |
caseXAxisController(XAxisController object)
Returns the result of interpreting the object as an instance of 'XAxis Controller'.
|
T |
caseYAxis(YAxis object)
Returns the result of interpreting the object as an instance of 'YAxis'.
|
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 ChartPackage 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 caseChart(Chart object)
object
- the target of the switch.doSwitch(EObject)
public T caseXAxis(XAxis object)
object
- the target of the switch.doSwitch(EObject)
public T caseYAxis(YAxis object)
object
- the target of the switch.doSwitch(EObject)
public T caseAxis(Axis object)
object
- the target of the switch.doSwitch(EObject)
public T caseDataSeries(DataSeries object)
object
- the target of the switch.doSwitch(EObject)
public T caseDataItemSeries(DataItemSeries object)
object
- the target of the switch.doSwitch(EObject)
public T caseArchiveSeries(ArchiveSeries object)
object
- the target of the switch.doSwitch(EObject)
public T caseItem(Item object)
object
- the target of the switch.doSwitch(EObject)
public T caseUriItem(UriItem object)
object
- the target of the switch.doSwitch(EObject)
public T caseIdItem(IdItem object)
object
- the target of the switch.doSwitch(EObject)
public T caseItemDataSeries(ItemDataSeries object)
object
- the target of the switch.doSwitch(EObject)
public T caseArchiveChannel(ArchiveChannel object)
object
- the target of the switch.doSwitch(EObject)
public T caseLineProperties(LineProperties object)
object
- the target of the switch.doSwitch(EObject)
public T caseScriptSeries(ScriptSeries object)
object
- the target of the switch.doSwitch(EObject)
public T caseController(Controller object)
object
- the target of the switch.doSwitch(EObject)
public T caseCurrentTimeController(CurrentTimeController object)
object
- the target of the switch.doSwitch(EObject)
public T caseProfile(Profile object)
object
- the target of the switch.doSwitch(EObject)
public T caseTimeShiftAction(TimeShiftAction object)
object
- the target of the switch.doSwitch(EObject)
public T caseTimeNowAction(TimeNowAction object)
object
- the target of the switch.doSwitch(EObject)
public T caseXAxisController(XAxisController object)
object
- the target of the switch.doSwitch(EObject)
public T caseScaleAction(ScaleAction object)
object
- the target of the switch.doSwitch(EObject)
public T caseSeparatorController(SeparatorController object)
object
- the target of the switch.doSwitch(EObject)
public T caseMouseController(MouseController object)
object
- the target of the switch.doSwitch(EObject)
public T caseResetController(ResetController object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompositeArchiveQualitySeries(CompositeArchiveQualitySeries object)
object
- the target of the switch.doSwitch(EObject)
public T caseLegendController(LegendController 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.