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 Summary
Modifier and TypeFieldDescriptionprotected static SitemapPackage
The cached model package.protected SitemapSwitch<org.eclipse.emf.common.notify.Adapter>
The switch that delegates to thecreateXXX
methods. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.Adapter
createAdapter
(org.eclipse.emf.common.notify.Notifier target) Creates an adapter for thetarget
.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Button
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Button Definition
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Buttongrid
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Chart
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Color Array
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Colorpicker
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Colortemperaturepicker
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Condition
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Default
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for the default case.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Frame
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Group
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Icon Rule
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Image
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Input
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Linkable Widget
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Mapping
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Mapview
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Non Linkable Widget
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Selection
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Setpoint
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Sitemap
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Model
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Slider
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Switch
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Text
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Video
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Visibility Rule
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Webview
'.org.eclipse.emf.common.notify.Adapter
Creates a new adapter for an object of class 'Widget
'.boolean
isFactoryForType
(Object object) Returns whether this factory is applicable for the type of the object.Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
Field Details
-
modelPackage
The cached model package. -
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
-
Constructor Details
-
SitemapAdapterFactory
public SitemapAdapterFactory()Creates an instance of the adapter factory.
-
-
Method Details
-
isFactoryForType
Returns whether this factory is applicable for the type of the object. This implementation returnstrue
if the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForType
in interfaceorg.eclipse.emf.common.notify.AdapterFactory
- Overrides:
isFactoryForType
in classorg.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 thetarget
.- Overrides:
createAdapter
in classorg.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.
-