Class SitemapAdapterFactory

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.openhab.core.model.sitemap.sitemap.util.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:
  • Field Details

    • 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 Details

    • SitemapAdapterFactory

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

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • createColortemperaturepickerAdapter

      public org.eclipse.emf.common.notify.Adapter createColortemperaturepickerAdapter()
      Creates a new adapter for an object of class 'Colortemperaturepicker'. 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:
    • createInputAdapter

      public org.eclipse.emf.common.notify.Adapter createInputAdapter()
      Creates a new adapter for an object of class 'Input'. 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:
    • createButtongridAdapter

      public org.eclipse.emf.common.notify.Adapter createButtongridAdapter()
      Creates a new adapter for an object of class 'Buttongrid'. 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:
    • createButtonAdapter

      public org.eclipse.emf.common.notify.Adapter createButtonAdapter()
      Creates a new adapter for an object of class 'Button'. 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:
    • 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:
    • createButtonDefinitionAdapter

      public org.eclipse.emf.common.notify.Adapter createButtonDefinitionAdapter()
      Creates a new adapter for an object of class 'Button Definition'. 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:
    • 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:
    • 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:
    • 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:
    • createIconRuleAdapter

      public org.eclipse.emf.common.notify.Adapter createIconRuleAdapter()
      Creates a new adapter for an object of class 'Icon 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:
    • createConditionAdapter

      public org.eclipse.emf.common.notify.Adapter createConditionAdapter()
      Creates a new adapter for an object of class 'Condition'. 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:
    • 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.