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
FieldsModifier and TypeFieldDescriptionprotected static SitemapPackageThe cached model package.protected SitemapSwitch<org.eclipse.emf.common.notify.Adapter> The switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target) Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdapterCreates a new adapter for the default case.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Button'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Button Definition'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Button Definition List'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Buttongrid'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Chart'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Color Array'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Color Array List'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Colorpicker'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Colortemperaturepicker'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Condition'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Default'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Frame'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Group'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Icon Rule'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Icon Rule List'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Image'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Input'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Linkable Widget'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Mapping'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Mapping List'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Mapview'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Non Linkable Widget'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Selection'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Setpoint'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Sitemap'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Slider'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Switch'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Text'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Video'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Visibility Rule'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Visibility Rule List'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Webview'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model Widget'.org.eclipse.emf.common.notify.AdapterCreates a new adapter for an object of class 'Model'.booleanisFactoryForType(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 thecreateXXXmethods.
-
-
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 returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceorg.eclipse.emf.common.notify.AdapterFactory- Overrides:
isFactoryForTypein 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:
createAdapterin 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:
-
createModelSitemapAdapter
public org.eclipse.emf.common.notify.Adapter createModelSitemapAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelWidgetAdapter
public org.eclipse.emf.common.notify.Adapter createModelWidgetAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelNonLinkableWidgetAdapter
public org.eclipse.emf.common.notify.Adapter createModelNonLinkableWidgetAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelLinkableWidgetAdapter
public org.eclipse.emf.common.notify.Adapter createModelLinkableWidgetAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelFrameAdapter
public org.eclipse.emf.common.notify.Adapter createModelFrameAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelTextAdapter
public org.eclipse.emf.common.notify.Adapter createModelTextAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelGroupAdapter
public org.eclipse.emf.common.notify.Adapter createModelGroupAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelImageAdapter
public org.eclipse.emf.common.notify.Adapter createModelImageAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelVideoAdapter
public org.eclipse.emf.common.notify.Adapter createModelVideoAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelChartAdapter
public org.eclipse.emf.common.notify.Adapter createModelChartAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelWebviewAdapter
public org.eclipse.emf.common.notify.Adapter createModelWebviewAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelSwitchAdapter
public org.eclipse.emf.common.notify.Adapter createModelSwitchAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelMapviewAdapter
public org.eclipse.emf.common.notify.Adapter createModelMapviewAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelSliderAdapter
public org.eclipse.emf.common.notify.Adapter createModelSliderAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelSelectionAdapter
public org.eclipse.emf.common.notify.Adapter createModelSelectionAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelSetpointAdapter
public org.eclipse.emf.common.notify.Adapter createModelSetpointAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelColorpickerAdapter
public org.eclipse.emf.common.notify.Adapter createModelColorpickerAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelColortemperaturepickerAdapter
public org.eclipse.emf.common.notify.Adapter createModelColortemperaturepickerAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelInputAdapter
public org.eclipse.emf.common.notify.Adapter createModelInputAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelButtongridAdapter
public org.eclipse.emf.common.notify.Adapter createModelButtongridAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelButtonAdapter
public org.eclipse.emf.common.notify.Adapter createModelButtonAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelDefaultAdapter
public org.eclipse.emf.common.notify.Adapter createModelDefaultAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelButtonDefinitionListAdapter
public org.eclipse.emf.common.notify.Adapter createModelButtonDefinitionListAdapter()Creates a new adapter for an object of class 'Model Button Definition 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:
-
createModelButtonDefinitionAdapter
public org.eclipse.emf.common.notify.Adapter createModelButtonDefinitionAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelMappingListAdapter
public org.eclipse.emf.common.notify.Adapter createModelMappingListAdapter()Creates a new adapter for an object of class 'Model Mapping 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:
-
createModelMappingAdapter
public org.eclipse.emf.common.notify.Adapter createModelMappingAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelColorArrayListAdapter
public org.eclipse.emf.common.notify.Adapter createModelColorArrayListAdapter()Creates a new adapter for an object of class 'Model Color Array 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:
-
createModelColorArrayAdapter
public org.eclipse.emf.common.notify.Adapter createModelColorArrayAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelIconRuleListAdapter
public org.eclipse.emf.common.notify.Adapter createModelIconRuleListAdapter()Creates a new adapter for an object of class 'Model Icon Rule 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:
-
createModelIconRuleAdapter
public org.eclipse.emf.common.notify.Adapter createModelIconRuleAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelVisibilityRuleListAdapter
public org.eclipse.emf.common.notify.Adapter createModelVisibilityRuleListAdapter()Creates a new adapter for an object of class 'Model Visibility Rule 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:
-
createModelVisibilityRuleAdapter
public org.eclipse.emf.common.notify.Adapter createModelVisibilityRuleAdapter()Creates a new adapter for an object of class 'Model 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:
-
createModelConditionAdapter
public org.eclipse.emf.common.notify.Adapter createModelConditionAdapter()Creates a new adapter for an object of class 'Model 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.
-