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 Summary
Fields Modifier and Type Field Description protected static UiPackagemodelPackageThe cached model package.protected UiSwitch<org.eclipse.emf.common.notify.Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods. -
Constructor Summary
Constructors Constructor Description UiAdapterFactory()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.AdaptercreateAbstractUIElementAdapter()Creates a new adapter for an object of class 'Abstract UI Element'.org.eclipse.emf.common.notify.AdaptercreateAbstractUIRelationshipAdapter()Creates a new adapter for an object of class 'Abstract UI Relationship'.org.eclipse.emf.common.notify.AdaptercreateAdapter(org.eclipse.emf.common.notify.Notifier target)Creates an adapter for thetarget.org.eclipse.emf.common.notify.AdaptercreateDisplaysAdapter()Creates a new adapter for an object of class 'Displays'.org.eclipse.emf.common.notify.AdaptercreateDisplaysImageAdapter()Creates a new adapter for an object of class 'Displays Image'.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.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.AdaptercreateManagesUIAdapter()Creates a new adapter for an object of class 'Manages UI'.org.eclipse.emf.common.notify.AdaptercreateModelElementAdapter()Creates a new adapter for an object of class 'Model Element'.org.eclipse.emf.common.notify.AdaptercreateReadsUIAdapter()Creates a new adapter for an object of class 'Reads UI'.org.eclipse.emf.common.notify.AdaptercreateReportAdapter()Creates a new adapter for an object of class 'Report'.org.eclipse.emf.common.notify.AdaptercreateScreenAdapter()Creates a new adapter for an object of class 'Screen'.org.eclipse.emf.common.notify.AdaptercreateUIActionAdapter()Creates a new adapter for an object of class 'UI Action'.org.eclipse.emf.common.notify.AdaptercreateUIDisplayAdapter()Creates a new adapter for an object of class 'UI Display'.org.eclipse.emf.common.notify.AdaptercreateUIElementAdapter()Creates a new adapter for an object of class 'UI Element'.org.eclipse.emf.common.notify.AdaptercreateUIEventAdapter()Creates a new adapter for an object of class 'UI Event'.org.eclipse.emf.common.notify.AdaptercreateUIFieldAdapter()Creates a new adapter for an object of class 'UI Field'.org.eclipse.emf.common.notify.AdaptercreateUIFlowAdapter()Creates a new adapter for an object of class 'UI Flow'.org.eclipse.emf.common.notify.AdaptercreateUILayoutAdapter()Creates a new adapter for an object of class 'UI Layout'.org.eclipse.emf.common.notify.AdaptercreateUIModelAdapter()Creates a new adapter for an object of class 'UI Model'.org.eclipse.emf.common.notify.AdaptercreateUIRelationshipAdapter()Creates a new adapter for an object of class 'UI Relationship'.org.eclipse.emf.common.notify.AdaptercreateUIResourceAdapter()Creates a new adapter for an object of class 'UI Resource'.org.eclipse.emf.common.notify.AdaptercreateWritesUIAdapter()Creates a new adapter for an object of class 'Writes UI'.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
-
UiAdapterFactory
public UiAdapterFactory()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.
-
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.
-