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 Details

    • modelPackage

      protected static ActionPackage modelPackage
      The cached model package.
    • modelSwitch

      protected ActionSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
      The switch that delegates to the createXXX methods.
  • Constructor Details

    • ActionAdapterFactory

      public ActionAdapterFactory()
      Creates an instance of the adapter factory.
  • Method Details

    • isFactoryForType

      public boolean isFactoryForType​(Object object)
      Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
      Specified by:
      isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
      Overrides:
      isFactoryForType in class org.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 the target.
      Overrides:
      createAdapter in class org.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.