Class ThemeSwitch<T>


  • public class ThemeSwitch<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:
    ThemePackage
    • Field Detail

      • modelPackage

        protected static ThemePackage modelPackage
        The cached model package
    • Constructor Detail

      • ThemeSwitch

        public ThemeSwitch()
        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.
      • caseThemeSize

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

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

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

        public T caseHippoTheme​(HippoTheme object)
        Returns the result of interpreting the object as an instance of 'Hippo Theme'. 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 'Hippo Theme'.
        See Also:
        doSwitch(EObject)
      • caseThemeSkin

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

        public T caseSkinForm​(SkinForm object)
        Returns the result of interpreting the object as an instance of 'Skin Form'. 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 'Skin Form'.
        See Also:
        doSwitch(EObject)
      • caseISkinElementWithFont

        public T caseISkinElementWithFont​(ISkinElementWithFont object)
        Returns the result of interpreting the object as an instance of 'ISkin Element With Font'. 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 'ISkin Element With Font'.
        See Also:
        doSwitch(EObject)
      • caseISkinElementWithBackColor

        public T caseISkinElementWithBackColor​(ISkinElementWithBackColor object)
        Returns the result of interpreting the object as an instance of 'ISkin Element With Back Color'. 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 'ISkin Element With Back Color'.
        See Also:
        doSwitch(EObject)
      • caseISkinElementWithTextColor

        public T caseISkinElementWithTextColor​(ISkinElementWithTextColor object)
        Returns the result of interpreting the object as an instance of 'ISkin Element With Text Color'. 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 'ISkin Element With Text Color'.
        See Also:
        doSwitch(EObject)
      • caseISkinElementWithBorderColor

        public T caseISkinElementWithBorderColor​(ISkinElementWithBorderColor object)
        Returns the result of interpreting the object as an instance of 'ISkin Element With Border Color'. 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 'ISkin Element With Border Color'.
        See Also:
        doSwitch(EObject)
      • caseISkinElementWithShadow

        public T caseISkinElementWithShadow​(ISkinElementWithShadow object)
        Returns the result of interpreting the object as an instance of 'ISkin Element With Shadow'. 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 'ISkin Element With Shadow'.
        See Also:
        doSwitch(EObject)
      • caseSkinElementWithCustomization

        public T caseSkinElementWithCustomization​(SkinElementWithCustomization object)
        Returns the result of interpreting the object as an instance of 'Skin Element With Customization'. 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 'Skin Element With Customization'.
        See Also:
        doSwitch(EObject)
      • caseSkinPage

        public T caseSkinPage​(SkinPage object)
        Returns the result of interpreting the object as an instance of 'Skin Page'. 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 'Skin Page'.
        See Also:
        doSwitch(EObject)
      • caseSkinPanel

        public T caseSkinPanel​(SkinPanel object)
        Returns the result of interpreting the object as an instance of 'Skin Panel'. 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 'Skin Panel'.
        See Also:
        doSwitch(EObject)
      • caseSkinTableColumnsGroup

        public T caseSkinTableColumnsGroup​(SkinTableColumnsGroup object)
        Returns the result of interpreting the object as an instance of 'Skin Table Columns Group'. 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 'Skin Table Columns Group'.
        See Also:
        doSwitch(EObject)
      • caseSkinTableColumn

        public T caseSkinTableColumn​(SkinTableColumn object)
        Returns the result of interpreting the object as an instance of 'Skin Table Column'. 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 'Skin Table Column'.
        See Also:
        doSwitch(EObject)
      • caseSkinEdit

        public T caseSkinEdit​(SkinEdit object)
        Returns the result of interpreting the object as an instance of 'Skin Edit'. 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 'Skin Edit'.
        See Also:
        doSwitch(EObject)
      • caseSkinSubMenu

        public T caseSkinSubMenu​(SkinSubMenu object)
        Returns the result of interpreting the object as an instance of 'Skin Sub Menu'. 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 'Skin Sub Menu'.
        See Also:
        doSwitch(EObject)
      • caseSkinCommand

        public T caseSkinCommand​(SkinCommand object)
        Returns the result of interpreting the object as an instance of 'Skin Command'. 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 'Skin Command'.
        See Also:
        doSwitch(EObject)
      • caseSkinCommandBar

        public T caseSkinCommandBar​(SkinCommandBar object)
        Returns the result of interpreting the object as an instance of 'Skin Command Bar'. 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 'Skin Command Bar'.
        See Also:
        doSwitch(EObject)
      • caseSkinLogicGroup

        public T caseSkinLogicGroup​(SkinLogicGroup object)
        Returns the result of interpreting the object as an instance of 'Skin Logic Group'. 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 'Skin Logic Group'.
        See Also:
        doSwitch(EObject)
      • caseSkinPages

        public T caseSkinPages​(SkinPages object)
        Returns the result of interpreting the object as an instance of 'Skin Pages'. 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 'Skin Pages'.
        See Also:
        doSwitch(EObject)
      • caseSkinTable

        public T caseSkinTable​(SkinTable object)
        Returns the result of interpreting the object as an instance of 'Skin Table'. 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 'Skin Table'.
        See Also:
        doSwitch(EObject)
      • caseSkinStaticText

        public T caseSkinStaticText​(SkinStaticText object)
        Returns the result of interpreting the object as an instance of 'Skin Static Text'. 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 'Skin Static Text'.
        See Also:
        doSwitch(EObject)
      • caseSkinCalendar

        public T caseSkinCalendar​(SkinCalendar object)
        Returns the result of interpreting the object as an instance of 'Skin Calendar'. 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 'Skin Calendar'.
        See Also:
        doSwitch(EObject)
      • caseSkinCheckBox

        public T caseSkinCheckBox​(SkinCheckBox object)
        Returns the result of interpreting the object as an instance of 'Skin Check Box'. 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 'Skin Check Box'.
        See Also:
        doSwitch(EObject)
      • caseSkinFlowchart

        public T caseSkinFlowchart​(SkinFlowchart object)
        Returns the result of interpreting the object as an instance of 'Skin Flowchart'. 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 'Skin Flowchart'.
        See Also:
        doSwitch(EObject)
      • caseSkinFormattedDoc

        public T caseSkinFormattedDoc​(SkinFormattedDoc object)
        Returns the result of interpreting the object as an instance of 'Skin Formatted Doc'. 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 'Skin Formatted Doc'.
        See Also:
        doSwitch(EObject)
      • caseSkinButton

        public T caseSkinButton​(SkinButton object)
        Returns the result of interpreting the object as an instance of 'Skin Button'. 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 'Skin Button'.
        See Also:
        doSwitch(EObject)
      • caseSkinGeographicalMap

        public T caseSkinGeographicalMap​(SkinGeographicalMap object)
        Returns the result of interpreting the object as an instance of 'Skin Geographical Map'. 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 'Skin Geographical Map'.
        See Also:
        doSwitch(EObject)
      • caseSkinHTML

        public T caseSkinHTML​(SkinHTML object)
        Returns the result of interpreting the object as an instance of 'Skin HTML'. 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 'Skin HTML'.
        See Also:
        doSwitch(EObject)
      • caseSkinTumbler

        public T caseSkinTumbler​(SkinTumbler object)
        Returns the result of interpreting the object as an instance of 'Skin Tumbler'. 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 'Skin Tumbler'.
        See Also:
        doSwitch(EObject)
      • caseSkinSwitcher

        public T caseSkinSwitcher​(SkinSwitcher object)
        Returns the result of interpreting the object as an instance of 'Skin Switcher'. 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 'Skin Switcher'.
        See Also:
        doSwitch(EObject)
      • caseSkinImage

        public T caseSkinImage​(SkinImage object)
        Returns the result of interpreting the object as an instance of 'Skin Image'. 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 'Skin Image'.
        See Also:
        doSwitch(EObject)
      • caseSkinMoxel

        public T caseSkinMoxel​(SkinMoxel object)
        Returns the result of interpreting the object as an instance of 'Skin Moxel'. 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 'Skin Moxel'.
        See Also:
        doSwitch(EObject)
      • caseSkinRadioGroup

        public T caseSkinRadioGroup​(SkinRadioGroup object)
        Returns the result of interpreting the object as an instance of 'Skin Radio Group'. 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 'Skin Radio Group'.
        See Also:
        doSwitch(EObject)
      • caseSkinRadioButton

        public T caseSkinRadioButton​(SkinRadioButton object)
        Returns the result of interpreting the object as an instance of 'Skin Radio Button'. 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 'Skin Radio Button'.
        See Also:
        doSwitch(EObject)
      • caseSkinProgressBar

        public T caseSkinProgressBar​(SkinProgressBar object)
        Returns the result of interpreting the object as an instance of 'Skin Progress Bar'. 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 'Skin Progress Bar'.
        See Also:
        doSwitch(EObject)
      • caseSkinTrackBar

        public T caseSkinTrackBar​(SkinTrackBar object)
        Returns the result of interpreting the object as an instance of 'Skin Track Bar'. 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 'Skin Track Bar'.
        See Also:
        doSwitch(EObject)
      • caseSkinTextDoc

        public T caseSkinTextDoc​(SkinTextDoc object)
        Returns the result of interpreting the object as an instance of 'Skin Text Doc'. 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 'Skin Text Doc'.
        See Also:
        doSwitch(EObject)
      • caseSkinPeriod

        public T caseSkinPeriod​(SkinPeriod object)
        Returns the result of interpreting the object as an instance of 'Skin Period'. 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 'Skin Period'.
        See Also:
        doSwitch(EObject)
      • caseSkinViewStatus

        public T caseSkinViewStatus​(SkinViewStatus object)
        Returns the result of interpreting the object as an instance of 'Skin View Status'. 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 'Skin View Status'.
        See Also:
        doSwitch(EObject)
      • caseSkinGroupBox

        public T caseSkinGroupBox​(SkinGroupBox object)
        Returns the result of interpreting the object as an instance of 'Skin Group Box'. 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 'Skin Group Box'.
        See Also:
        doSwitch(EObject)
      • caseSkinBackObject

        public T caseSkinBackObject​(SkinBackObject object)
        Returns the result of interpreting the object as an instance of 'Skin Back Object'. 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 'Skin Back Object'.
        See Also:
        doSwitch(EObject)
      • caseSkinStub

        public T caseSkinStub​(SkinStub object)
        Returns the result of interpreting the object as an instance of 'Skin Stub'. 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 'Skin Stub'.
        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)