public class UiAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
UiPackageImpl| Modifier and Type | Field and Description |
|---|---|
protected static UiPackageImpl |
modelPackage
The cached model package
|
protected UiSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods |
| Constructor and Description |
|---|
UiAdapterFactory()
Creates an instance of the adapter factory
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target |
Adapter |
createApplicationElementAdapter()
Creates a new adapter for an object of class '
Element' |
Adapter |
createContextAdapter()
Creates a new adapter for an object of class '
Context' |
Adapter |
createContributionAdapter()
Creates a new adapter for an object of class '
Contribution' |
Adapter |
createCoreExpressionAdapter()
Creates a new adapter for an object of class '
Core Expression' |
Adapter |
createDirtyableAdapter()
Creates a new adapter for an object of class '
Dirtyable' |
Adapter |
createElementContainerAdapter()
Creates a new adapter for an object of class '
Element Container' |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case
|
Adapter |
createExpressionAdapter()
Creates a new adapter for an object of class '
Expression' |
Adapter |
createGenericStackAdapter()
Creates a new adapter for an object of class '
Generic Stack' |
Adapter |
createGenericTileAdapter()
Creates a new adapter for an object of class '
Generic Tile' |
Adapter |
createGenericTrimContainerAdapter()
Creates a new adapter for an object of class '
Generic Trim Container' |
Adapter |
createImperativeExpressionAdapter()
Creates a new adapter for an object of class '
Imperative Expression' |
Adapter |
createLocalizableAdapter()
Creates a new adapter for an object of class '
Localizable' |
Adapter |
createSnippetContainerAdapter()
Creates a new adapter for an object of class '
Snippet Container' |
Adapter |
createUIElementAdapter()
Creates a new adapter for an object of class '
UI Element' |
Adapter |
createUILabelAdapter()
Creates a new adapter for an object of class '
UI Label' |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object
|
protected static UiPackageImpl modelPackage
protected UiSwitch<Adapter> modelSwitch
createXXX methods.
public UiAdapterFactory()
public boolean isFactoryForType(java.lang.Object object)
true if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target.
target - the object to adapt.target.public Adapter createContextAdapter()
Context'.
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.
MContextpublic Adapter createDirtyableAdapter()
Dirtyable'.
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.
MDirtyablepublic Adapter createUIElementAdapter()
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.
MUIElementpublic Adapter createElementContainerAdapter()
Element Container'.
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.
MElementContainerpublic Adapter createUILabelAdapter()
UI Label'.
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.
MUILabelpublic Adapter createGenericStackAdapter()
Generic Stack'.
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.
MGenericStackpublic Adapter createGenericTileAdapter()
Generic Tile'.
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.
MGenericTilepublic Adapter createGenericTrimContainerAdapter()
Generic Trim Container'.
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.
MGenericTrimContainerpublic Adapter createExpressionAdapter()
Expression'.
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.
MExpressionpublic Adapter createCoreExpressionAdapter()
Core Expression'.
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.
MCoreExpressionpublic Adapter createImperativeExpressionAdapter()
Imperative Expression'.
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.
MImperativeExpressionpublic Adapter createSnippetContainerAdapter()
Snippet Container'.
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.
MSnippetContainerpublic Adapter createLocalizableAdapter()
Localizable'.
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.
MLocalizablepublic Adapter createApplicationElementAdapter()
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.
MApplicationElementpublic Adapter createContributionAdapter()
Contribution'.
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.
MContributionpublic Adapter createEObjectAdapter()