org.eclipse.gmt.modisco.omg.kdm.ui.util
Class UiAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by org.eclipse.gmt.modisco.omg.kdm.ui.util.UiAdapterFactory

public class UiAdapterFactory
extends AdapterFactoryImpl

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See Also:
UiPackage
Generated:

Constructor Summary
UiAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAbstractActionRelationshipAdapter()
          Creates a new adapter for an object of class 'Abstract Action Relationship'.
 Adapter createAbstractUIElementAdapter()
          Creates a new adapter for an object of class 'Abstract UI Element'.
 Adapter createAbstractUIRelationshipAdapter()
          Creates a new adapter for an object of class 'Abstract UI Relationship'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createDisplaysAdapter()
          Creates a new adapter for an object of class 'Displays'.
 Adapter createDisplaysImageAdapter()
          Creates a new adapter for an object of class 'Displays Image'.
 Adapter createElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createKDMEntityAdapter()
          Creates a new adapter for an object of class 'KDM Entity'.
 Adapter createKDMFrameworkAdapter()
          Creates a new adapter for an object of class 'KDM Framework'.
 Adapter createKDMModelAdapter()
          Creates a new adapter for an object of class 'KDM Model'.
 Adapter createKDMRelationshipAdapter()
          Creates a new adapter for an object of class 'KDM Relationship'.
 Adapter createManagesUIAdapter()
          Creates a new adapter for an object of class 'Manages UI'.
 Adapter createModelElementAdapter()
          Creates a new adapter for an object of class 'Model Element'.
 Adapter createReadsUIAdapter()
          Creates a new adapter for an object of class 'Reads UI'.
 Adapter createReportAdapter()
          Creates a new adapter for an object of class 'Report'.
 Adapter createScreenAdapter()
          Creates a new adapter for an object of class 'Screen'.
 Adapter createUIActionAdapter()
          Creates a new adapter for an object of class 'UI Action'.
 Adapter createUIDisplayAdapter()
          Creates a new adapter for an object of class 'UI Display'.
 Adapter createUIElementAdapter()
          Creates a new adapter for an object of class 'UI Element'.
 Adapter createUIEventAdapter()
          Creates a new adapter for an object of class 'UI Event'.
 Adapter createUIFieldAdapter()
          Creates a new adapter for an object of class 'UI Field'.
 Adapter createUIFlowAdapter()
          Creates a new adapter for an object of class 'UI Flow'.
 Adapter createUILayoutAdapter()
          Creates a new adapter for an object of class 'UI Layout'.
 Adapter createUIModelAdapter()
          Creates a new adapter for an object of class 'UI Model'.
 Adapter createUIRelationshipAdapter()
          Creates a new adapter for an object of class 'UI Relationship'.
 Adapter createUIResourceAdapter()
          Creates a new adapter for an object of class 'UI Resource'.
 Adapter createWritesUIAdapter()
          Creates a new adapter for an object of class 'Writes UI'.
 boolean isFactoryForType(java.lang.Object object)
          Returns whether this factory is applicable for the type of the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UiAdapterFactory

public UiAdapterFactory()
Creates an instance of the adapter factory.

Generated:
Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.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.

Returns:
whether this factory is applicable for the type of the object.
Generated:

createAdapter

public Adapter createAdapter(Notifier target)
Creates an adapter for the target.

Parameters:
target - the object to adapt.
Returns:
the adapter for the target.
Generated:

createAbstractUIElementAdapter

public 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
Generated:

createUIResourceAdapter

public 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
Generated:

createUIDisplayAdapter

public 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
Generated:

createScreenAdapter

public 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
Generated:

createReportAdapter

public 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
Generated:

createUIModelAdapter

public 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
Generated:

createAbstractUIRelationshipAdapter

public 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
Generated:

createUILayoutAdapter

public 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
Generated:

createUIFieldAdapter

public 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
Generated:

createDisplaysImageAdapter

public 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
Generated:

createDisplaysAdapter

public 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
Generated:

createUIFlowAdapter

public 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
Generated:

createUIElementAdapter

public 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
Generated:

createUIRelationshipAdapter

public 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
Generated:

createUIActionAdapter

public 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
Generated:

createUIEventAdapter

public 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
Generated:

createReadsUIAdapter

public 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
Generated:

createWritesUIAdapter

public 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
Generated:

createManagesUIAdapter

public 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
Generated:

createElementAdapter

public 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
Generated:

createModelElementAdapter

public 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
Generated:

createKDMEntityAdapter

public 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
Generated:

createKDMFrameworkAdapter

public 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
Generated:

createKDMModelAdapter

public 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
Generated:

createKDMRelationshipAdapter

public 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
Generated:

createAbstractActionRelationshipAdapter

public 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
Generated:

createEObjectAdapter

public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.
Generated: