Class HistoryAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.eclipse.emf.edapt.spi.history.util.HistoryAdapterFactory
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
- Direct Known Subclasses:
HistoryItemProviderAdapterFactory
public class HistoryAdapterFactory 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:
HistoryPackage
-
-
Constructor Summary
Constructors Constructor Description HistoryAdapterFactory()
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
createAddAdapter()
Creates a new adapter for an object of class 'Add
'.org.eclipse.emf.common.notify.Adapter
createChangeAdapter()
Creates a new adapter for an object of class 'Change
'.org.eclipse.emf.common.notify.Adapter
createCompositeChangeAdapter()
Creates a new adapter for an object of class 'Composite Change
'.org.eclipse.emf.common.notify.Adapter
createContentChangeAdapter()
Creates a new adapter for an object of class 'Content Change
'.org.eclipse.emf.common.notify.Adapter
createCreateAdapter()
Creates a new adapter for an object of class 'Create
'.org.eclipse.emf.common.notify.Adapter
createDeleteAdapter()
Creates a new adapter for an object of class 'Delete
'.org.eclipse.emf.common.notify.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.org.eclipse.emf.common.notify.Adapter
createHistoryAdapter()
Creates a new adapter for an object of class 'History
'.org.eclipse.emf.common.notify.Adapter
createInitializerChangeAdapter()
Creates a new adapter for an object of class 'Initializer Change
'.org.eclipse.emf.common.notify.Adapter
createMigrateableChangeAdapter()
Creates a new adapter for an object of class 'Migrateable Change
'.org.eclipse.emf.common.notify.Adapter
createMigrationChangeAdapter()
Creates a new adapter for an object of class 'Migration Change
'.org.eclipse.emf.common.notify.Adapter
createModelReferenceAdapter()
Creates a new adapter for an object of class 'Model Reference
'.org.eclipse.emf.common.notify.Adapter
createMoveAdapter()
Creates a new adapter for an object of class 'Move
'.org.eclipse.emf.common.notify.Adapter
createNamedElementAdapter()
Creates a new adapter for an object of class 'Named Element
'.org.eclipse.emf.common.notify.Adapter
createNoChangeAdapter()
Creates a new adapter for an object of class 'No Change
'.org.eclipse.emf.common.notify.Adapter
createNonDeleteAdapter()
Creates a new adapter for an object of class 'Non Delete
'.org.eclipse.emf.common.notify.Adapter
createOperationChangeAdapter()
Creates a new adapter for an object of class 'Operation Change
'.org.eclipse.emf.common.notify.Adapter
createOperationInstanceAdapter()
Creates a new adapter for an object of class 'Operation Instance
'.org.eclipse.emf.common.notify.Adapter
createParameterInstanceAdapter()
Creates a new adapter for an object of class 'Parameter Instance
'.org.eclipse.emf.common.notify.Adapter
createPrimitiveChangeAdapter()
Creates a new adapter for an object of class 'Primitive Change
'.org.eclipse.emf.common.notify.Adapter
createReleaseAdapter()
Creates a new adapter for an object of class 'Release
'.org.eclipse.emf.common.notify.Adapter
createRemoveAdapter()
Creates a new adapter for an object of class 'Remove
'.org.eclipse.emf.common.notify.Adapter
createSetAdapter()
Creates a new adapter for an object of class 'Set
'.org.eclipse.emf.common.notify.Adapter
createValueChangeAdapter()
Creates a new adapter for an object of class 'Value Change
'.boolean
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
-
-
-
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
.- Parameters:
target
- the object to adapt.- Returns:
- the adapter for the
target
.
-
createHistoryAdapter
public org.eclipse.emf.common.notify.Adapter createHistoryAdapter()
Creates a new adapter for an object of class 'History
'. 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:
History
-
createReleaseAdapter
public org.eclipse.emf.common.notify.Adapter createReleaseAdapter()
Creates a new adapter for an object of class 'Release
'. 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:
Release
-
createChangeAdapter
public org.eclipse.emf.common.notify.Adapter createChangeAdapter()
Creates a new adapter for an object of class 'Change
'. 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:
Change
-
createPrimitiveChangeAdapter
public org.eclipse.emf.common.notify.Adapter createPrimitiveChangeAdapter()
Creates a new adapter for an object of class 'Primitive Change
'. 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:
PrimitiveChange
-
createNoChangeAdapter
public org.eclipse.emf.common.notify.Adapter createNoChangeAdapter()
Creates a new adapter for an object of class 'No Change
'. 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:
NoChange
-
createContentChangeAdapter
public org.eclipse.emf.common.notify.Adapter createContentChangeAdapter()
Creates a new adapter for an object of class 'Content Change
'. 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:
ContentChange
-
createNonDeleteAdapter
public org.eclipse.emf.common.notify.Adapter createNonDeleteAdapter()
Creates a new adapter for an object of class 'Non Delete
'. 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:
NonDelete
-
createCreateAdapter
public org.eclipse.emf.common.notify.Adapter createCreateAdapter()
Creates a new adapter for an object of class 'Create
'. 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:
Create
-
createMoveAdapter
public org.eclipse.emf.common.notify.Adapter createMoveAdapter()
Creates a new adapter for an object of class 'Move
'. 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:
Move
-
createDeleteAdapter
public org.eclipse.emf.common.notify.Adapter createDeleteAdapter()
Creates a new adapter for an object of class 'Delete
'. 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:
Delete
-
createValueChangeAdapter
public org.eclipse.emf.common.notify.Adapter createValueChangeAdapter()
Creates a new adapter for an object of class 'Value Change
'. 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:
ValueChange
-
createSetAdapter
public org.eclipse.emf.common.notify.Adapter createSetAdapter()
Creates a new adapter for an object of class 'Set
'. 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:
Set
-
createAddAdapter
public org.eclipse.emf.common.notify.Adapter createAddAdapter()
Creates a new adapter for an object of class 'Add
'. 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:
Add
-
createRemoveAdapter
public org.eclipse.emf.common.notify.Adapter createRemoveAdapter()
Creates a new adapter for an object of class 'Remove
'. 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:
Remove
-
createCompositeChangeAdapter
public org.eclipse.emf.common.notify.Adapter createCompositeChangeAdapter()
Creates a new adapter for an object of class 'Composite Change
'. 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:
CompositeChange
-
createOperationChangeAdapter
public org.eclipse.emf.common.notify.Adapter createOperationChangeAdapter()
Creates a new adapter for an object of class 'Operation Change
'. 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:
OperationChange
-
createOperationInstanceAdapter
public org.eclipse.emf.common.notify.Adapter createOperationInstanceAdapter()
Creates a new adapter for an object of class 'Operation Instance
'. 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:
OperationInstance
-
createParameterInstanceAdapter
public org.eclipse.emf.common.notify.Adapter createParameterInstanceAdapter()
Creates a new adapter for an object of class 'Parameter Instance
'. 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:
ParameterInstance
-
createModelReferenceAdapter
public org.eclipse.emf.common.notify.Adapter createModelReferenceAdapter()
Creates a new adapter for an object of class 'Model Reference
'. 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:
ModelReference
-
createNamedElementAdapter
public org.eclipse.emf.common.notify.Adapter createNamedElementAdapter()
Creates a new adapter for an object of class 'Named Element
'. 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:
NamedElement
-
createMigrateableChangeAdapter
public org.eclipse.emf.common.notify.Adapter createMigrateableChangeAdapter()
Creates a new adapter for an object of class 'Migrateable Change
'. 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:
MigrateableChange
-
createMigrationChangeAdapter
public org.eclipse.emf.common.notify.Adapter createMigrationChangeAdapter()
Creates a new adapter for an object of class 'Migration Change
'. 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:
MigrationChange
-
createInitializerChangeAdapter
public org.eclipse.emf.common.notify.Adapter createInitializerChangeAdapter()
Creates a new adapter for an object of class 'Initializer Change
'. 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:
InitializerChange
-
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.
-
-