Class LayoutCalculationContextSwitch<T>


  • public class LayoutCalculationContextSwitch<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:
    LayoutCalculationContextPackage
    • Constructor Detail

      • LayoutCalculationContextSwitch

        public LayoutCalculationContextSwitch()
        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.
      • caseStringToElementTransformationContextMapEntry

        public T caseStringToElementTransformationContextMapEntry​(Map.Entry<String,​ElementBaseTransformationContext<?,​?>> object)
        Returns the result of interpreting the object as an instance of 'String To Element Transformation Context Map Entry'. 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 'String To Element Transformation Context Map Entry'.
        See Also:
        doSwitch(EObject)
      • caseRootBaseCalculationContext

        public T caseRootBaseCalculationContext​(RootBaseCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Root Base Calculation Context'. 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 'Root Base Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseIContainedElementCalculationContext

        public T caseIContainedElementCalculationContext​(IContainedElementCalculationContext object)
        Returns the result of interpreting the object as an instance of 'IContained Element Calculation Context'. 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 'IContained Element Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseElementBaseCalculationContext

        public T caseElementBaseCalculationContext​(ElementBaseCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Element Base Calculation Context'. 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 'Element Base Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseFormElementBaseCalculationContext

        public T caseFormElementBaseCalculationContext​(FormElementBaseCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Form Element Base Calculation Context'. 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 'Form Element Base Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseGroupBaseCalculationContext

        public T caseGroupBaseCalculationContext​(GroupBaseCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Group Base Calculation Context'. 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 'Group Base Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseElementWithLimitsBaseCalculationContext

        public T caseElementWithLimitsBaseCalculationContext​(ElementWithLimitsBaseCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Element With Limits Base Calculation Context'. 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 'Element With Limits Base Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseFormGroupBaseCalculationContext

        public T caseFormGroupBaseCalculationContext​(FormGroupBaseCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Form Group Base Calculation Context'. 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 'Form Group Base Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseFormCalculationContext

        public T caseFormCalculationContext​(FormCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Form Calculation Context'. 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 'Form Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseInputFieldCalculationContext

        public T caseInputFieldCalculationContext​(InputFieldCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Input Field Calculation Context'. 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 'Input Field Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseImageCalculationContext

        public T caseImageCalculationContext​(ImageCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Image Calculation Context'. 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 'Image Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseCheckBoxCalculationContext

        public T caseCheckBoxCalculationContext​(CheckBoxCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Check Box Calculation Context'. 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 'Check Box Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseSwitcherCalculationContext

        public T caseSwitcherCalculationContext​(SwitcherCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Switcher Calculation Context'. 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 'Switcher Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseProgressBarCalculationContext

        public T caseProgressBarCalculationContext​(ProgressBarCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Progress Bar Calculation Context'. 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 'Progress Bar Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseTrackBarCalculationContext

        public T caseTrackBarCalculationContext​(TrackBarCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Track Bar Calculation Context'. 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 'Track Bar Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseTextDocCalculationContext

        public T caseTextDocCalculationContext​(TextDocCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Text Doc Calculation Context'. 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 'Text Doc Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseFormButtonCalculationContext

        public T caseFormButtonCalculationContext​(FormButtonCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Form Button Calculation Context'. 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 'Form Button Calculation Context'.
        See Also:
        doSwitch(EObject)
      • casePanelCalculationContext

        public T casePanelCalculationContext​(PanelCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Panel Calculation Context'. 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 'Panel Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseSeparatePanelCalculationContext

        public T caseSeparatePanelCalculationContext​(SeparatePanelCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Separate Panel Calculation Context'. 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 'Separate Panel Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseFormattedAreaCalculationContext

        public T caseFormattedAreaCalculationContext​(FormattedAreaCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Formatted Area Calculation Context'. 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 'Formatted Area Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseExternalObjectCalculationContext

        public T caseExternalObjectCalculationContext​(ExternalObjectCalculationContext object)
        Returns the result of interpreting the object as an instance of 'External Object Calculation Context'. 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 'External Object Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseLogicGroupCalculationContext

        public T caseLogicGroupCalculationContext​(LogicGroupCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Logic Group Calculation Context'. 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 'Logic Group Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseTumblerCalculationContext

        public T caseTumblerCalculationContext​(TumblerCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Tumbler Calculation Context'. 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 'Tumbler Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseTableCalculationContext

        public T caseTableCalculationContext​(TableCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Table Calculation Context'. 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 'Table Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseTableColumnsGroupCalculationContext

        public T caseTableColumnsGroupCalculationContext​(TableColumnsGroupCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Table Columns Group Calculation Context'. 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 'Table Columns Group Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseTableColumnCalculationContext

        public T caseTableColumnCalculationContext​(TableColumnCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Table Column Calculation Context'. 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 'Table Column Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseViewStatusAdditionCalculationContext

        public T caseViewStatusAdditionCalculationContext​(ViewStatusAdditionCalculationContext object)
        Returns the result of interpreting the object as an instance of 'View Status Addition Calculation Context'. 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 'View Status Addition Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseStaticTextCalculationContext

        public T caseStaticTextCalculationContext​(StaticTextCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Static Text Calculation Context'. 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 'Static Text Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseRichElementCalculationContext

        public T caseRichElementCalculationContext​(RichElementCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Rich Element Calculation Context'. 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 'Rich Element Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseRadioGroupCalculationContext

        public T caseRadioGroupCalculationContext​(RadioGroupCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Radio Group Calculation Context'. 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 'Radio Group Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseRadioGroupMobileCalculationContext

        public T caseRadioGroupMobileCalculationContext​(RadioGroupMobileCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Radio Group Mobile Calculation Context'. 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 'Radio Group Mobile Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseMargins

        public T caseMargins​(Margins object)
        Returns the result of interpreting the object as an instance of 'Margins'. 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 'Margins'.
        See Also:
        doSwitch(EObject)
      • casePagesCalculationContext

        public T casePagesCalculationContext​(PagesCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Pages Calculation Context'. 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 'Pages Calculation Context'.
        See Also:
        doSwitch(EObject)
      • casePagePaddings

        public T casePagePaddings​(PagePaddings object)
        Returns the result of interpreting the object as an instance of 'Page Paddings'. 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 'Page Paddings'.
        See Also:
        doSwitch(EObject)
      • casePageCalculationContext

        public T casePageCalculationContext​(PageCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Page Calculation Context'. 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 'Page Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseCommandBarCalculationContext

        public T caseCommandBarCalculationContext​(CommandBarCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Command Bar Calculation Context'. 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 'Command Bar Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseFormPresElementBaseCalculationContext

        public T caseFormPresElementBaseCalculationContext​(FormPresElementBaseCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Form Pres Element Base Calculation Context'. 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 'Form Pres Element Base Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseMoxelCalculationContext

        public T caseMoxelCalculationContext​(MoxelCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Moxel Calculation Context'. 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 'Moxel Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseCalendarCalculationContext

        public T caseCalendarCalculationContext​(CalendarCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Calendar Calculation Context'. 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 'Calendar Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseHTMLCalculationContext

        public T caseHTMLCalculationContext​(HTMLCalculationContext object)
        Returns the result of interpreting the object as an instance of 'HTML Calculation Context'. 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 'HTML Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseFormattedDocCalculationContext

        public T caseFormattedDocCalculationContext​(FormattedDocCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Formatted Doc Calculation Context'. 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 'Formatted Doc Calculation Context'.
        See Also:
        doSwitch(EObject)
      • casePlannerCalculationContext

        public T casePlannerCalculationContext​(PlannerCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Planner Calculation Context'. 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 'Planner Calculation Context'.
        See Also:
        doSwitch(EObject)
      • casePeriodCalculationContext

        public T casePeriodCalculationContext​(PeriodCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Period Calculation Context'. 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 'Period Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseChartCalculationContext

        public T caseChartCalculationContext​(ChartCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Chart Calculation Context'. 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 Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseGanttChartCalculationContext

        public T caseGanttChartCalculationContext​(GanttChartCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Gantt Chart Calculation Context'. 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 'Gantt Chart Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseDendrogramCalculationContext

        public T caseDendrogramCalculationContext​(DendrogramCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Dendrogram Calculation Context'. 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 'Dendrogram Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseFlowchartCalculationContext

        public T caseFlowchartCalculationContext​(FlowchartCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Flowchart Calculation Context'. 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 'Flowchart Calculation Context'.
        See Also:
        doSwitch(EObject)
      • caseGeographicalMapCalculationContext

        public T caseGeographicalMapCalculationContext​(GeographicalMapCalculationContext object)
        Returns the result of interpreting the object as an instance of 'Geographical Map Calculation Context'. 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 'Geographical Map Calculation Context'.
        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)