Class AefAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- com._1c.g5.v8.dt.platform.services.ui.aef.util.AefAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class AefAdapterFactory extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
The Adapter Factory for the model. It provides an adaptercreateXXX
method for each class of the model.- See Also:
AefPackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static AefPackage
modelPackage
The cached model package.protected AefSwitch<org.eclipse.emf.common.notify.Adapter>
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
Constructor Summary
Constructors Constructor Description AefAdapterFactory()
Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.Adapter
createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for thetarget
.org.eclipse.emf.common.notify.Adapter
createCheckedItemViewModelAdapter()
Creates a new adapter for an object of class 'Checked Item View Model
'.org.eclipse.emf.common.notify.Adapter
createControlViewModelAdapter()
Creates a new adapter for an object of class 'Control View Model
'.org.eclipse.emf.common.notify.Adapter
createDataSeparatorItemModelAdapter()
Creates a new adapter for an object of class 'Data Separator Item Model
'.org.eclipse.emf.common.notify.Adapter
createDataSeparatorsViewModelAdapter()
Creates a new adapter for an object of class 'Data Separators View Model
'.org.eclipse.emf.common.notify.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.org.eclipse.emf.common.notify.Adapter
createHttpServicesItemModelAdapter()
Creates a new adapter for an object of class 'Http Services Item Model
'.org.eclipse.emf.common.notify.Adapter
createHttpServicesViewModelAdapter()
Creates a new adapter for an object of class 'Http Services View Model
'.org.eclipse.emf.common.notify.Adapter
createIControlViewModelAdapter()
Creates a new adapter for an object of class 'IControl View Model
'.org.eclipse.emf.common.notify.Adapter
createItemViewModelAdapter()
Creates a new adapter for an object of class 'Item View Model
'.org.eclipse.emf.common.notify.Adapter
createIViewModelAdapter()
Creates a new adapter for an object of class 'IView Model
'.org.eclipse.emf.common.notify.Adapter
createLabelViewModelAdapter()
Creates a new adapter for an object of class 'Label View Model
'.org.eclipse.emf.common.notify.Adapter
createOpenIdReturnToViewModelAdapter()
Creates a new adapter for an object of class 'Open Id Return To View Model
'.org.eclipse.emf.common.notify.Adapter
createSelectableLabelViewModelAdapter()
Creates a new adapter for an object of class 'Selectable Label View Model
'.org.eclipse.emf.common.notify.Adapter
createStructuredViewModelAdapter()
Creates a new adapter for an object of class 'Structured View Model
'.org.eclipse.emf.common.notify.Adapter
createTableItemViewModelAdapter()
Creates a new adapter for an object of class 'Table Item View Model
'.org.eclipse.emf.common.notify.Adapter
createTableViewModelAdapter()
Creates a new adapter for an object of class 'Table View Model
'.org.eclipse.emf.common.notify.Adapter
createUnsupportedViewModelAdapter()
Creates a new adapter for an object of class 'Unsupported View Model
'.org.eclipse.emf.common.notify.Adapter
createWebServicesItemModelAdapter()
Creates a new adapter for an object of class 'Web Services Item Model
'.org.eclipse.emf.common.notify.Adapter
createWebServicesViewModelAdapter()
Creates a new adapter for an object of class 'Web Services View Model
'.boolean
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
-
-
-
Field Detail
-
modelPackage
protected static AefPackage modelPackage
The cached model package.
-
modelSwitch
protected AefSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
The switch that delegates to thecreateXXX
methods.
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(Object object)
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
.
-
createUnsupportedViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createUnsupportedViewModelAdapter()
Creates a new adapter for an object of class 'Unsupported View 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:
UnsupportedViewModel
-
createSelectableLabelViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createSelectableLabelViewModelAdapter()
Creates a new adapter for an object of class 'Selectable Label View 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:
SelectableLabelViewModel
-
createWebServicesViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createWebServicesViewModelAdapter()
Creates a new adapter for an object of class 'Web Services View 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:
WebServicesViewModel
-
createHttpServicesViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createHttpServicesViewModelAdapter()
Creates a new adapter for an object of class 'Http Services View 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:
HttpServicesViewModel
-
createDataSeparatorsViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createDataSeparatorsViewModelAdapter()
Creates a new adapter for an object of class 'Data Separators View 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:
DataSeparatorsViewModel
-
createOpenIdReturnToViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createOpenIdReturnToViewModelAdapter()
Creates a new adapter for an object of class 'Open Id Return To View 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:
OpenIdReturnToViewModel
-
createWebServicesItemModelAdapter
public org.eclipse.emf.common.notify.Adapter createWebServicesItemModelAdapter()
Creates a new adapter for an object of class 'Web Services Item 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:
WebServicesItemModel
-
createHttpServicesItemModelAdapter
public org.eclipse.emf.common.notify.Adapter createHttpServicesItemModelAdapter()
Creates a new adapter for an object of class 'Http Services Item 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:
HttpServicesItemModel
-
createDataSeparatorItemModelAdapter
public org.eclipse.emf.common.notify.Adapter createDataSeparatorItemModelAdapter()
Creates a new adapter for an object of class 'Data Separator Item 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:
DataSeparatorItemModel
-
createIViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createIViewModelAdapter()
Creates a new adapter for an object of class 'IView 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:
IViewModel
-
createIControlViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createIControlViewModelAdapter()
Creates a new adapter for an object of class 'IControl View 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:
IControlViewModel
-
createControlViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createControlViewModelAdapter()
Creates a new adapter for an object of class 'Control View 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:
ControlViewModel
-
createLabelViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createLabelViewModelAdapter()
Creates a new adapter for an object of class 'Label View 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:
LabelViewModel
-
createStructuredViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createStructuredViewModelAdapter()
Creates a new adapter for an object of class 'Structured View 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:
StructuredViewModel
-
createTableViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createTableViewModelAdapter()
Creates a new adapter for an object of class 'Table View 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:
TableViewModel
-
createItemViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createItemViewModelAdapter()
Creates a new adapter for an object of class 'Item View 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:
ItemViewModel
-
createCheckedItemViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createCheckedItemViewModelAdapter()
Creates a new adapter for an object of class 'Checked Item View 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:
CheckedItemViewModel
-
createTableItemViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createTableItemViewModelAdapter()
Creates a new adapter for an object of class 'Table Item View 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:
TableItemViewModel
-
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.
-
-