Class EventAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.gmt.modisco.omg.kdm.event.util.EventAdapterFactory
- All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
public class EventAdapterFactory
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:
EventPackage
-
Field Summary
Fields Modifier and Type Field Description protected static EventPackagemodelPackageThe cached model package.protected EventSwitch<org.eclipse.emf.common.notify.Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors Constructor Description EventAdapterFactory()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.AdaptercreateAbstractEventElementAdapter()Creates a new adapter for an object of class 'Abstract Event Element'.org.eclipse.emf.common.notify.AdaptercreateAbstractEventRelationshipAdapter()Creates a new adapter for an object of class 'Abstract Event Relationship'.org.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdaptercreateConsumesEventAdapter()Creates a new adapter for an object of class 'Consumes Event'.org.eclipse.emf.common.notify.AdaptercreateElementAdapter()Creates a new adapter for an object of class 'Element'.org.eclipse.emf.common.notify.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.org.eclipse.emf.common.notify.AdaptercreateEventActionAdapter()Creates a new adapter for an object of class 'Action'.org.eclipse.emf.common.notify.AdaptercreateEventAdapter()Creates a new adapter for an object of class 'Event'.org.eclipse.emf.common.notify.AdaptercreateEventElementAdapter()Creates a new adapter for an object of class 'Element'.org.eclipse.emf.common.notify.AdaptercreateEventModelAdapter()Creates a new adapter for an object of class 'Model'.org.eclipse.emf.common.notify.AdaptercreateEventRelationshipAdapter()Creates a new adapter for an object of class 'Relationship'.org.eclipse.emf.common.notify.AdaptercreateEventResourceAdapter()Creates a new adapter for an object of class 'Resource'.org.eclipse.emf.common.notify.AdaptercreateHasStateAdapter()Creates a new adapter for an object of class 'Has State'.org.eclipse.emf.common.notify.AdaptercreateInitialStateAdapter()Creates a new adapter for an object of class 'Initial State'.org.eclipse.emf.common.notify.AdaptercreateKDMEntityAdapter()Creates a new adapter for an object of class 'KDM Entity'.org.eclipse.emf.common.notify.AdaptercreateKDMFrameworkAdapter()Creates a new adapter for an object of class 'KDM Framework'.org.eclipse.emf.common.notify.AdaptercreateKDMModelAdapter()Creates a new adapter for an object of class 'KDM Model'.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.AdaptercreateNextStateAdapter()Creates a new adapter for an object of class 'Next State'.org.eclipse.emf.common.notify.AdaptercreateOnEntryAdapter()Creates a new adapter for an object of class 'On Entry'.org.eclipse.emf.common.notify.AdaptercreateOnExitAdapter()Creates a new adapter for an object of class 'On Exit'.org.eclipse.emf.common.notify.AdaptercreateProducesEventAdapter()Creates a new adapter for an object of class 'Produces Event'.org.eclipse.emf.common.notify.AdaptercreateReadsStateAdapter()Creates a new adapter for an object of class 'Reads State'.org.eclipse.emf.common.notify.AdaptercreateStateAdapter()Creates a new adapter for an object of class 'State'.org.eclipse.emf.common.notify.AdaptercreateTransitionAdapter()Creates a new adapter for an object of class 'Transition'.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
-
EventAdapterFactory
public EventAdapterFactory()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.
-
createEventModelAdapter
public org.eclipse.emf.common.notify.Adapter createEventModelAdapter()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:
EventModel
-
createAbstractEventElementAdapter
public org.eclipse.emf.common.notify.Adapter createAbstractEventElementAdapter()Creates a new adapter for an object of class 'Abstract Event 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:
AbstractEventElement
-
createEventAdapter
public org.eclipse.emf.common.notify.Adapter createEventAdapter()Creates a new adapter for an object of class 'Event'. 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:
Event
-
createAbstractEventRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createAbstractEventRelationshipAdapter()Creates a new adapter for an object of class 'Abstract Event 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:
AbstractEventRelationship
-
createEventRelationshipAdapter
public org.eclipse.emf.common.notify.Adapter createEventRelationshipAdapter()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:
EventRelationship
-
createEventResourceAdapter
public org.eclipse.emf.common.notify.Adapter createEventResourceAdapter()Creates a new adapter for an object of class 'Resource'. 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:
EventResource
-
createStateAdapter
public org.eclipse.emf.common.notify.Adapter createStateAdapter()Creates a new adapter for an object of class 'State'. 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:
State
-
createTransitionAdapter
public org.eclipse.emf.common.notify.Adapter createTransitionAdapter()Creates a new adapter for an object of class 'Transition'. 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:
Transition
-
createOnEntryAdapter
public org.eclipse.emf.common.notify.Adapter createOnEntryAdapter()Creates a new adapter for an object of class 'On Entry'. 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:
OnEntry
-
createOnExitAdapter
public org.eclipse.emf.common.notify.Adapter createOnExitAdapter()Creates a new adapter for an object of class 'On Exit'. 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:
OnExit
-
createEventActionAdapter
public org.eclipse.emf.common.notify.Adapter createEventActionAdapter()Creates a new adapter for an object of class 'Action'. 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:
EventAction
-
createReadsStateAdapter
public org.eclipse.emf.common.notify.Adapter createReadsStateAdapter()Creates a new adapter for an object of class 'Reads State'. 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:
ReadsState
-
createProducesEventAdapter
public org.eclipse.emf.common.notify.Adapter createProducesEventAdapter()Creates a new adapter for an object of class 'Produces Event'. 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:
ProducesEvent
-
createConsumesEventAdapter
public org.eclipse.emf.common.notify.Adapter createConsumesEventAdapter()Creates a new adapter for an object of class 'Consumes Event'. 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:
ConsumesEvent
-
createNextStateAdapter
public org.eclipse.emf.common.notify.Adapter createNextStateAdapter()Creates a new adapter for an object of class 'Next State'. 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:
NextState
-
createInitialStateAdapter
public org.eclipse.emf.common.notify.Adapter createInitialStateAdapter()Creates a new adapter for an object of class 'Initial State'. 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:
InitialState
-
createEventElementAdapter
public org.eclipse.emf.common.notify.Adapter createEventElementAdapter()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:
EventElement
-
createHasStateAdapter
public org.eclipse.emf.common.notify.Adapter createHasStateAdapter()Creates a new adapter for an object of class 'Has State'. 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:
HasState
-
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
-
createKDMFrameworkAdapter
public org.eclipse.emf.common.notify.Adapter createKDMFrameworkAdapter()Creates a new adapter for an object of class 'KDM Framework'. 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:
KDMFramework
-
createKDMModelAdapter
public org.eclipse.emf.common.notify.Adapter createKDMModelAdapter()Creates a new adapter for an object of class 'KDM 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:
KDMModel
-
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
-
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
-
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
-
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.
-