Class UiAdapterFactory

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.gmt.modisco.omg.kdm.ui.util.UiAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class UiAdapterFactory
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:
UiPackage
  • Field Details

    • modelPackage

      protected static UiPackage modelPackage
      The cached model package.
    • modelSwitch

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

    • UiAdapterFactory

      public UiAdapterFactory()
      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.
    • createAbstractUIElementAdapter

      public org.eclipse.emf.common.notify.Adapter createAbstractUIElementAdapter()
      Creates a new adapter for an object of class 'Abstract UI 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:
      AbstractUIElement
    • createUIResourceAdapter

      public org.eclipse.emf.common.notify.Adapter createUIResourceAdapter()
      Creates a new adapter for an object of class 'UI 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:
      UIResource
    • createUIDisplayAdapter

      public org.eclipse.emf.common.notify.Adapter createUIDisplayAdapter()
      Creates a new adapter for an object of class 'UI Display'. 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:
      UIDisplay
    • createScreenAdapter

      public org.eclipse.emf.common.notify.Adapter createScreenAdapter()
      Creates a new adapter for an object of class 'Screen'. 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:
      Screen
    • createReportAdapter

      public org.eclipse.emf.common.notify.Adapter createReportAdapter()
      Creates a new adapter for an object of class 'Report'. 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:
      Report
    • createUIModelAdapter

      public org.eclipse.emf.common.notify.Adapter createUIModelAdapter()
      Creates a new adapter for an object of class 'UI 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:
      UIModel
    • createAbstractUIRelationshipAdapter

      public org.eclipse.emf.common.notify.Adapter createAbstractUIRelationshipAdapter()
      Creates a new adapter for an object of class 'Abstract UI 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:
      AbstractUIRelationship
    • createUILayoutAdapter

      public org.eclipse.emf.common.notify.Adapter createUILayoutAdapter()
      Creates a new adapter for an object of class 'UI Layout'. 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:
      UILayout
    • createUIFieldAdapter

      public org.eclipse.emf.common.notify.Adapter createUIFieldAdapter()
      Creates a new adapter for an object of class 'UI Field'. 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:
      UIField
    • createDisplaysImageAdapter

      public org.eclipse.emf.common.notify.Adapter createDisplaysImageAdapter()
      Creates a new adapter for an object of class 'Displays Image'. 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:
      DisplaysImage
    • createDisplaysAdapter

      public org.eclipse.emf.common.notify.Adapter createDisplaysAdapter()
      Creates a new adapter for an object of class 'Displays'. 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:
      Displays
    • createUIFlowAdapter

      public org.eclipse.emf.common.notify.Adapter createUIFlowAdapter()
      Creates a new adapter for an object of class 'UI 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:
      UIFlow
    • createUIElementAdapter

      public org.eclipse.emf.common.notify.Adapter createUIElementAdapter()
      Creates a new adapter for an object of class 'UI 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:
      UIElement
    • createUIRelationshipAdapter

      public org.eclipse.emf.common.notify.Adapter createUIRelationshipAdapter()
      Creates a new adapter for an object of class 'UI 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:
      UIRelationship
    • createUIActionAdapter

      public org.eclipse.emf.common.notify.Adapter createUIActionAdapter()
      Creates a new adapter for an object of class 'UI 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:
      UIAction
    • createUIEventAdapter

      public org.eclipse.emf.common.notify.Adapter createUIEventAdapter()
      Creates a new adapter for an object of class 'UI 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:
      UIEvent
    • createReadsUIAdapter

      public org.eclipse.emf.common.notify.Adapter createReadsUIAdapter()
      Creates a new adapter for an object of class 'Reads UI'. 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:
      ReadsUI
    • createWritesUIAdapter

      public org.eclipse.emf.common.notify.Adapter createWritesUIAdapter()
      Creates a new adapter for an object of class 'Writes UI'. 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:
      WritesUI
    • createManagesUIAdapter

      public org.eclipse.emf.common.notify.Adapter createManagesUIAdapter()
      Creates a new adapter for an object of class 'Manages UI'. 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:
      ManagesUI
    • 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
    • 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
    • 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.