Class SitemapAdapterFactory

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.AdapterFactory

    public class SitemapAdapterFactory
    extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
    The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.
    See Also:
    SitemapPackage
    • Field Detail

      • modelPackage

        protected static SitemapPackage modelPackage
        The cached model package.
      • modelSwitch

        protected SitemapSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
        The switch that delegates to the createXXX methods.
    • Constructor Detail

      • SitemapAdapterFactory

        public SitemapAdapterFactory()
        Creates an instance of the adapter factory.
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(Object object)
        Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
        Specified by:
        isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
        Overrides:
        isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
        Returns:
        whether this factory is applicable for the type of the object.
      • createAdapter

        public org.eclipse.emf.common.notify.Adapter createAdapter​(org.eclipse.emf.common.notify.Notifier target)
        Creates an adapter for the target.
        Overrides:
        createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
        Parameters:
        target - the object to adapt.
        Returns:
        the adapter for the target.
      • createSitemapModelAdapter

        public org.eclipse.emf.common.notify.Adapter createSitemapModelAdapter()
        Creates a new adapter for an object of class 'Model'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        SitemapModel
      • createSitemapAdapter

        public org.eclipse.emf.common.notify.Adapter createSitemapAdapter()
        Creates a new adapter for an object of class 'Sitemap'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Sitemap
      • createWidgetAdapter

        public org.eclipse.emf.common.notify.Adapter createWidgetAdapter()
        Creates a new adapter for an object of class 'Widget'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Widget
      • createNonLinkableWidgetAdapter

        public org.eclipse.emf.common.notify.Adapter createNonLinkableWidgetAdapter()
        Creates a new adapter for an object of class 'Non Linkable Widget'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        NonLinkableWidget
      • createLinkableWidgetAdapter

        public org.eclipse.emf.common.notify.Adapter createLinkableWidgetAdapter()
        Creates a new adapter for an object of class 'Linkable Widget'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        LinkableWidget
      • createFrameAdapter

        public org.eclipse.emf.common.notify.Adapter createFrameAdapter()
        Creates a new adapter for an object of class 'Frame'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Frame
      • createTextAdapter

        public org.eclipse.emf.common.notify.Adapter createTextAdapter()
        Creates a new adapter for an object of class 'Text'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Text
      • createGroupAdapter

        public org.eclipse.emf.common.notify.Adapter createGroupAdapter()
        Creates a new adapter for an object of class 'Group'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Group
      • createImageAdapter

        public org.eclipse.emf.common.notify.Adapter createImageAdapter()
        Creates a new adapter for an object of class 'Image'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Image
      • createVideoAdapter

        public org.eclipse.emf.common.notify.Adapter createVideoAdapter()
        Creates a new adapter for an object of class 'Video'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Video
      • createChartAdapter

        public org.eclipse.emf.common.notify.Adapter createChartAdapter()
        Creates a new adapter for an object of class 'Chart'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Chart
      • createWebviewAdapter

        public org.eclipse.emf.common.notify.Adapter createWebviewAdapter()
        Creates a new adapter for an object of class 'Webview'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Webview
      • createSwitchAdapter

        public org.eclipse.emf.common.notify.Adapter createSwitchAdapter()
        Creates a new adapter for an object of class 'Switch'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Switch
      • createMapviewAdapter

        public org.eclipse.emf.common.notify.Adapter createMapviewAdapter()
        Creates a new adapter for an object of class 'Mapview'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Mapview
      • createSliderAdapter

        public org.eclipse.emf.common.notify.Adapter createSliderAdapter()
        Creates a new adapter for an object of class 'Slider'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Slider
      • createSelectionAdapter

        public org.eclipse.emf.common.notify.Adapter createSelectionAdapter()
        Creates a new adapter for an object of class 'Selection'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Selection
      • createListAdapter

        public org.eclipse.emf.common.notify.Adapter createListAdapter()
        Creates a new adapter for an object of class 'List'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        List
      • createSetpointAdapter

        public org.eclipse.emf.common.notify.Adapter createSetpointAdapter()
        Creates a new adapter for an object of class 'Setpoint'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Setpoint
      • createColorpickerAdapter

        public org.eclipse.emf.common.notify.Adapter createColorpickerAdapter()
        Creates a new adapter for an object of class 'Colorpicker'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Colorpicker
      • createDefaultAdapter

        public org.eclipse.emf.common.notify.Adapter createDefaultAdapter()
        Creates a new adapter for an object of class 'Default'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Default
      • createMappingAdapter

        public org.eclipse.emf.common.notify.Adapter createMappingAdapter()
        Creates a new adapter for an object of class 'Mapping'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        Mapping
      • createVisibilityRuleAdapter

        public org.eclipse.emf.common.notify.Adapter createVisibilityRuleAdapter()
        Creates a new adapter for an object of class 'Visibility Rule'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        VisibilityRule
      • createColorArrayAdapter

        public org.eclipse.emf.common.notify.Adapter createColorArrayAdapter()
        Creates a new adapter for an object of class 'Color Array'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        ColorArray
      • createEObjectAdapter

        public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
        Creates a new adapter for the default case. This default implementation returns null.
        Returns:
        the new adapter.