Class ApplicationEditorAefAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- com.e1c.g5.dt.applications.ui.editor.aef.util.ApplicationEditorAefAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class ApplicationEditorAefAdapterFactory 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:
ApplicationEditorAefPackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static ApplicationEditorAefPackage
modelPackage
The cached model package.protected ApplicationEditorAefSwitch<org.eclipse.emf.common.notify.Adapter>
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
Constructor Summary
Constructors Constructor Description ApplicationEditorAefAdapterFactory()
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
createControlViewModelAdapter()
Creates a new adapter for an object of class 'Control View Model
'.org.eclipse.emf.common.notify.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.org.eclipse.emf.common.notify.Adapter
createIColorAdapter()
Creates a new adapter for an object of class 'IColor
'.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
createITreeInputAdapter()
Creates a new adapter for an object of class 'ITree Input
'.org.eclipse.emf.common.notify.Adapter
createIViewModelAdapter()
Creates a new adapter for an object of class 'IView Model
'.org.eclipse.emf.common.notify.Adapter
createJfaceResourceColorAdapter()
Creates a new adapter for an object of class 'Jface Resource Color
'.org.eclipse.emf.common.notify.Adapter
createRadioGroupItemViewModelAdapter()
Creates a new adapter for an object of class 'Radio Group Item View Model
'.org.eclipse.emf.common.notify.Adapter
createRadioGroupViewModelAdapter()
Creates a new adapter for an object of class 'Radio Group View Model
'.org.eclipse.emf.common.notify.Adapter
createTextStyleAdapter()
Creates a new adapter for an object of class 'Text Style
'.org.eclipse.emf.common.notify.Adapter
createTreeInputAdapter()
Creates a new adapter for an object of class 'Tree Input
'.org.eclipse.emf.common.notify.Adapter
createTreeItemViewModelAdapter()
Creates a new adapter for an object of class 'Tree Item View Model
'.org.eclipse.emf.common.notify.Adapter
createTreeViewModelAdapter()
Creates a new adapter for an object of class 'Tree View Model
'.boolean
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
-
-
-
Field Detail
-
modelPackage
protected static ApplicationEditorAefPackage modelPackage
The cached model package.
-
modelSwitch
protected ApplicationEditorAefSwitch<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
.
-
createRadioGroupViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createRadioGroupViewModelAdapter()
Creates a new adapter for an object of class 'Radio Group 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:
RadioGroupViewModel
-
createRadioGroupItemViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createRadioGroupItemViewModelAdapter()
Creates a new adapter for an object of class 'Radio Group 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:
RadioGroupItemViewModel
-
createTreeViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createTreeViewModelAdapter()
Creates a new adapter for an object of class 'Tree 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:
TreeViewModel
-
createTreeItemViewModelAdapter
public org.eclipse.emf.common.notify.Adapter createTreeItemViewModelAdapter()
Creates a new adapter for an object of class 'Tree 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:
TreeItemViewModel
-
createTreeInputAdapter
public org.eclipse.emf.common.notify.Adapter createTreeInputAdapter()
Creates a new adapter for an object of class 'Tree 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:
TreeInput
-
createTextStyleAdapter
public org.eclipse.emf.common.notify.Adapter createTextStyleAdapter()
Creates a new adapter for an object of class 'Text Style
'. 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:
TextStyle
-
createIColorAdapter
public org.eclipse.emf.common.notify.Adapter createIColorAdapter()
Creates a new adapter for an object of class 'IColor
'. 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:
IColor
-
createJfaceResourceColorAdapter
public org.eclipse.emf.common.notify.Adapter createJfaceResourceColorAdapter()
Creates a new adapter for an object of class 'Jface Resource Color
'. 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:
JfaceResourceColor
-
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
-
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
-
createITreeInputAdapter
public org.eclipse.emf.common.notify.Adapter createITreeInputAdapter()
Creates a new adapter for an object of class 'ITree 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:
ITreeInput
-
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.
-
-