Class ActionAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.gmt.modisco.omg.kdm.action.util.ActionAdapterFactory
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class ActionAdapterFactory
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:
ActionPackage
-
Field Summary
Fields Modifier and Type Field Description protected static ActionPackagemodelPackageThe cached model package.protected ActionSwitch<org.eclipse.emf.common.notify.Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors Constructor Description ActionAdapterFactory()Creates an instance of the adapter factory. -
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.notify.AdaptercreateAbstractActionRelationshipAdapter()Creates a new adapter for an object of class 'Abstract Action Relationship'.org.eclipse.emf.common.notify.AdaptercreateAbstractCodeElementAdapter()Creates a new adapter for an object of class 'Abstract Code Element'.org.eclipse.emf.common.notify.AdaptercreateActionElementAdapter()Creates a new adapter for an object of class 'Element'.org.eclipse.emf.common.notify.AdaptercreateActionRelationshipAdapter()Creates a new adapter for an object of class 'Relationship'.org.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdaptercreateAddressesAdapter()Creates a new adapter for an object of class 'Addresses'.org.eclipse.emf.common.notify.AdaptercreateBlockUnitAdapter()Creates a new adapter for an object of class 'Block Unit'.org.eclipse.emf.common.notify.AdaptercreateCallsAdapter()Creates a new adapter for an object of class 'Calls'.org.eclipse.emf.common.notify.AdaptercreateCatchUnitAdapter()Creates a new adapter for an object of class 'Catch Unit'.org.eclipse.emf.common.notify.AdaptercreateCompliesToAdapter()Creates a new adapter for an object of class 'Complies To'.org.eclipse.emf.common.notify.AdaptercreateControlFlowAdapter()Creates a new adapter for an object of class 'Control Flow'.org.eclipse.emf.common.notify.AdaptercreateCreatesAdapter()Creates a new adapter for an object of class 'Creates'.org.eclipse.emf.common.notify.AdaptercreateDispatchesAdapter()Creates a new adapter for an object of class 'Dispatches'.org.eclipse.emf.common.notify.AdaptercreateElementAdapter()Creates a new adapter for an object of class 'Element'.org.eclipse.emf.common.notify.AdaptercreateEntryFlowAdapter()Creates a new adapter for an object of class 'Entry Flow'.org.eclipse.emf.common.notify.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.org.eclipse.emf.common.notify.AdaptercreateExceptionFlowAdapter()Creates a new adapter for an object of class 'Exception Flow'.org.eclipse.emf.common.notify.AdaptercreateExceptionUnitAdapter()Creates a new adapter for an object of class 'Exception Unit'.org.eclipse.emf.common.notify.AdaptercreateExitFlowAdapter()Creates a new adapter for an object of class 'Exit Flow'.org.eclipse.emf.common.notify.AdaptercreateFalseFlowAdapter()Creates a new adapter for an object of class 'False Flow'.org.eclipse.emf.common.notify.AdaptercreateFinallyUnitAdapter()Creates a new adapter for an object of class 'Finally Unit'.org.eclipse.emf.common.notify.AdaptercreateFlowAdapter()Creates a new adapter for an object of class 'Flow'.org.eclipse.emf.common.notify.AdaptercreateGuardedFlowAdapter()Creates a new adapter for an object of class 'Guarded Flow'.org.eclipse.emf.common.notify.AdaptercreateKDMEntityAdapter()Creates a new adapter for an object of class 'KDM Entity'.org.eclipse.emf.common.notify.AdaptercreateKDMRelationshipAdapter()Creates a new adapter for an object of class 'KDM Relationship'.org.eclipse.emf.common.notify.AdaptercreateModelElementAdapter()Creates a new adapter for an object of class 'Model Element'.org.eclipse.emf.common.notify.AdaptercreateReadsAdapter()Creates a new adapter for an object of class 'Reads'.org.eclipse.emf.common.notify.AdaptercreateThrowsAdapter()Creates a new adapter for an object of class 'Throws'.org.eclipse.emf.common.notify.AdaptercreateTrueFlowAdapter()Creates a new adapter for an object of class 'True Flow'.org.eclipse.emf.common.notify.AdaptercreateTryUnitAdapter()Creates a new adapter for an object of class 'Try Unit'.org.eclipse.emf.common.notify.AdaptercreateUsesTypeAdapter()Creates a new adapter for an object of class 'Uses Type'.org.eclipse.emf.common.notify.AdaptercreateWritesAdapter()Creates a new adapter for an object of class 'Writes'.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
-
ActionAdapterFactory
public ActionAdapterFactory()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.
-
createActionElementAdapter
public org.eclipse.emf.common.notify.Adapter createActionElementAdapter()Creates a new adapter for an object of class '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:
ActionElement
-
createAbstractActionRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createAbstractActionRelationshipAdapter()Creates a new adapter for an object of class 'Abstract Action Relationship'. 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:
AbstractActionRelationship
-
createControlFlowAdapter
public org.eclipse.emf.common.notify.Adapter createControlFlowAdapter()Creates a new adapter for an object of class 'Control Flow'. 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:
ControlFlow
-
createCallsAdapter
public org.eclipse.emf.common.notify.Adapter createCallsAdapter()Creates a new adapter for an object of class 'Calls'. 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:
Calls
-
createCreatesAdapter
public org.eclipse.emf.common.notify.Adapter createCreatesAdapter()Creates a new adapter for an object of class 'Creates'. 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:
Creates
-
createReadsAdapter
public org.eclipse.emf.common.notify.Adapter createReadsAdapter()Creates a new adapter for an object of class 'Reads'. 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:
Reads
-
createWritesAdapter
public org.eclipse.emf.common.notify.Adapter createWritesAdapter()Creates a new adapter for an object of class 'Writes'. 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:
Writes
-
createCompliesToAdapter
public org.eclipse.emf.common.notify.Adapter createCompliesToAdapter()Creates a new adapter for an object of class 'Complies To'. 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:
CompliesTo
-
createFlowAdapter
public org.eclipse.emf.common.notify.Adapter createFlowAdapter()Creates a new adapter for an object of class 'Flow'. 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:
Flow
-
createTrueFlowAdapter
public org.eclipse.emf.common.notify.Adapter createTrueFlowAdapter()Creates a new adapter for an object of class 'True Flow'. 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:
TrueFlow
-
createFalseFlowAdapter
public org.eclipse.emf.common.notify.Adapter createFalseFlowAdapter()Creates a new adapter for an object of class 'False Flow'. 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:
FalseFlow
-
createGuardedFlowAdapter
public org.eclipse.emf.common.notify.Adapter createGuardedFlowAdapter()Creates a new adapter for an object of class 'Guarded Flow'. 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:
GuardedFlow
-
createUsesTypeAdapter
public org.eclipse.emf.common.notify.Adapter createUsesTypeAdapter()Creates a new adapter for an object of class 'Uses Type'. 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:
UsesType
-
createAddressesAdapter
public org.eclipse.emf.common.notify.Adapter createAddressesAdapter()Creates a new adapter for an object of class 'Addresses'. 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:
Addresses
-
createActionRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createActionRelationshipAdapter()Creates a new adapter for an object of class 'Relationship'. 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:
ActionRelationship
-
createThrowsAdapter
public org.eclipse.emf.common.notify.Adapter createThrowsAdapter()Creates a new adapter for an object of class 'Throws'. 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:
Throws
-
createDispatchesAdapter
public org.eclipse.emf.common.notify.Adapter createDispatchesAdapter()Creates a new adapter for an object of class 'Dispatches'. 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:
Dispatches
-
createEntryFlowAdapter
public org.eclipse.emf.common.notify.Adapter createEntryFlowAdapter()Creates a new adapter for an object of class 'Entry Flow'. 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:
EntryFlow
-
createBlockUnitAdapter
public org.eclipse.emf.common.notify.Adapter createBlockUnitAdapter()Creates a new adapter for an object of class 'Block Unit'. 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:
BlockUnit
-
createExceptionUnitAdapter
public org.eclipse.emf.common.notify.Adapter createExceptionUnitAdapter()Creates a new adapter for an object of class 'Exception Unit'. 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:
ExceptionUnit
-
createTryUnitAdapter
public org.eclipse.emf.common.notify.Adapter createTryUnitAdapter()Creates a new adapter for an object of class 'Try Unit'. 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:
TryUnit
-
createFinallyUnitAdapter
public org.eclipse.emf.common.notify.Adapter createFinallyUnitAdapter()Creates a new adapter for an object of class 'Finally Unit'. 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:
FinallyUnit
-
createCatchUnitAdapter
public org.eclipse.emf.common.notify.Adapter createCatchUnitAdapter()Creates a new adapter for an object of class 'Catch Unit'. 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:
CatchUnit
-
createExitFlowAdapter
public org.eclipse.emf.common.notify.Adapter createExitFlowAdapter()Creates a new adapter for an object of class 'Exit Flow'. 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:
ExitFlow
-
createExceptionFlowAdapter
public org.eclipse.emf.common.notify.Adapter createExceptionFlowAdapter()Creates a new adapter for an object of class 'Exception Flow'. 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:
ExceptionFlow
-
createElementAdapter
public org.eclipse.emf.common.notify.Adapter createElementAdapter()Creates a new adapter for an object of class '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:
Element
-
createModelElementAdapter
public org.eclipse.emf.common.notify.Adapter createModelElementAdapter()Creates a new adapter for an object of class 'Model 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:
ModelElement
-
createKDMEntityAdapter
public org.eclipse.emf.common.notify.Adapter createKDMEntityAdapter()Creates a new adapter for an object of class 'KDM Entity'. 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:
KDMEntity
-
createAbstractCodeElementAdapter
public org.eclipse.emf.common.notify.Adapter createAbstractCodeElementAdapter()Creates a new adapter for an object of class 'Abstract Code 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:
AbstractCodeElement
-
createKDMRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createKDMRelationshipAdapter()Creates a new adapter for an object of class 'KDM Relationship'. 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:
KDMRelationship
-
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.
-