Class ChartSwitch<T>


  • public class ChartSwitch<T>
    extends org.eclipse.emf.ecore.util.Switch<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.
    See Also:
    ChartPackage
    • Field Detail

      • modelPackage

        protected static ChartPackage modelPackage
        The cached model package
    • Constructor Detail

      • ChartSwitch

        public ChartSwitch()
        Creates an instance of the switch.
    • Method Detail

      • isSwitchFor

        protected boolean isSwitchFor​(org.eclipse.emf.ecore.EPackage ePackage)
        Checks whether this is a switch for the given package.
        Specified by:
        isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
        Parameters:
        ePackage - the package in question.
        Returns:
        whether this is a switch for the given package.
      • doSwitch

        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.
        Overrides:
        doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
        Returns:
        the first non-null result returned by a caseXXX call.
      • caseChartLine

        public T caseChartLine​(ChartLine object)
        Returns the result of interpreting the object as an instance of 'Line'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Line'.
        See Also:
        doSwitch(EObject)
      • caseDoubleRect

        public T caseDoubleRect​(DoubleRect object)
        Returns the result of interpreting the object as an instance of 'Double Rect'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Double Rect'.
        See Also:
        doSwitch(EObject)
      • caseLabelArea

        public T caseLabelArea​(LabelArea object)
        Returns the result of interpreting the object as an instance of 'Label Area'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Label Area'.
        See Also:
        doSwitch(EObject)
      • caseChartScale

        public T caseChartScale​(ChartScale object)
        Returns the result of interpreting the object as an instance of 'Scale'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Scale'.
        See Also:
        doSwitch(EObject)
      • caseTrendlineArray

        public T caseTrendlineArray​(TrendlineArray object)
        Returns the result of interpreting the object as an instance of 'Trendline Array'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Trendline Array'.
        See Also:
        doSwitch(EObject)
      • caseTrendline

        public T caseTrendline​(Trendline object)
        Returns the result of interpreting the object as an instance of 'Trendline'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Trendline'.
        See Also:
        doSwitch(EObject)
      • caseAxisInterval

        public T caseAxisInterval​(AxisInterval object)
        Returns the result of interpreting the object as an instance of 'Axis Interval'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Axis Interval'.
        See Also:
        doSwitch(EObject)
      • caseChartAxis

        public T caseChartAxis​(ChartAxis object)
        Returns the result of interpreting the object as an instance of 'Axis'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Axis'.
        See Also:
        doSwitch(EObject)
      • caseSeriesCalcInfo

        public T caseSeriesCalcInfo​(SeriesCalcInfo object)
        Returns the result of interpreting the object as an instance of 'Series Calc Info'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Series Calc Info'.
        See Also:
        doSwitch(EObject)
      • caseRealDataItem

        public T caseRealDataItem​(RealDataItem object)
        Returns the result of interpreting the object as an instance of 'Real Data Item'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Real Data Item'.
        See Also:
        doSwitch(EObject)
      • caseSeriesProperties

        public T caseSeriesProperties​(SeriesProperties object)
        Returns the result of interpreting the object as an instance of 'Series Properties'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Series Properties'.
        See Also:
        doSwitch(EObject)
      • caseChartDataItem

        public T caseChartDataItem​(ChartDataItem object)
        Returns the result of interpreting the object as an instance of 'Data Item'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Data Item'.
        See Also:
        doSwitch(EObject)
      • caseChartSeriesItem

        public T caseChartSeriesItem​(ChartSeriesItem object)
        Returns the result of interpreting the object as an instance of 'Series Item'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Series Item'.
        See Also:
        doSwitch(EObject)
      • casePointProperties

        public T casePointProperties​(PointProperties object)
        Returns the result of interpreting the object as an instance of 'Point Properties'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Point Properties'.
        See Also:
        doSwitch(EObject)
      • caseGaugeChartQualityBand

        public T caseGaugeChartQualityBand​(GaugeChartQualityBand object)
        Returns the result of interpreting the object as an instance of 'Gauge Chart Quality Band'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Gauge Chart Quality Band'.
        See Also:
        doSwitch(EObject)
      • caseGaugeChartQualityBands

        public T caseGaugeChartQualityBands​(GaugeChartQualityBands object)
        Returns the result of interpreting the object as an instance of 'Gauge Chart Quality Bands'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Gauge Chart Quality Bands'.
        See Also:
        doSwitch(EObject)
      • caseChart

        public T caseChart​(Chart object)
        Returns the result of interpreting the object as an instance of 'Chart'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Chart'.
        See Also:
        doSwitch(EObject)
      • caseChartColorPaletteDescription

        public T caseChartColorPaletteDescription​(ChartColorPaletteDescription object)
        Returns the result of interpreting the object as an instance of 'Color Palette Description'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Color Palette Description'.
        See Also:
        doSwitch(EObject)
      • caseChartReferenceLine

        public T caseChartReferenceLine​(ChartReferenceLine object)
        Returns the result of interpreting the object as an instance of 'Reference Line'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Reference Line'.
        See Also:
        doSwitch(EObject)
      • caseChartReferenceBand

        public T caseChartReferenceBand​(ChartReferenceBand object)
        Returns the result of interpreting the object as an instance of 'Reference Band'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Reference Band'.
        See Also:
        doSwitch(EObject)
      • caseChartReferenceLines

        public T caseChartReferenceLines​(ChartReferenceLines object)
        Returns the result of interpreting the object as an instance of 'Reference Lines'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Reference Lines'.
        See Also:
        doSwitch(EObject)
      • caseChartReferenceBands

        public T caseChartReferenceBands​(ChartReferenceBands object)
        Returns the result of interpreting the object as an instance of 'Reference Bands'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Reference Bands'.
        See Also:
        doSwitch(EObject)
      • caseAbstractLine

        public T caseAbstractLine​(AbstractLine object)
        Returns the result of interpreting the object as an instance of 'Abstract Line'. This implementation returns null; returning a non-null result will terminate the switch.
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'Abstract Line'.
        See Also:
        doSwitch(EObject)
      • defaultCase

        public T defaultCase​(org.eclipse.emf.ecore.EObject object)
        Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.
        Overrides:
        defaultCase in class org.eclipse.emf.ecore.util.Switch<T>
        Parameters:
        object - the target of the switch.
        Returns:
        the result of interpreting the object as an instance of 'EObject'.
        See Also:
        Switch.doSwitch(org.eclipse.emf.ecore.EObject)