public class BasicAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
BasicPackageImpl| Modifier and Type | Field and Description |
|---|---|
protected static BasicPackageImpl |
modelPackage
The cached model package
|
protected BasicSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods |
| Constructor and Description |
|---|
BasicAdapterFactory()
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 |
createBindingsAdapter()
Creates a new adapter for an object of class '
Bindings' |
Adapter |
createCompositePartAdapter()
Creates a new adapter for an object of class '
Composite Part' |
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 |
createDialogAdapter()
Creates a new adapter for an object of class '
Dialog' |
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 |
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 |
createHandlerContainerAdapter()
Creates a new adapter for an object of class '
Handler Container' |
Adapter |
createInputAdapter()
Creates a new adapter for an object of class '
Input' |
Adapter |
createInputPartAdapter()
Creates a new adapter for an object of class '
Input Part' |
Adapter |
createLocalizableAdapter()
Creates a new adapter for an object of class '
Localizable' |
Adapter |
createPartAdapter()
Creates a new adapter for an object of class '
Part' |
Adapter |
createPartSashContainerAdapter()
Creates a new adapter for an object of class '
Part Sash Container' |
Adapter |
createPartSashContainerElementAdapter()
Creates a new adapter for an object of class '
Part Sash Container Element' |
Adapter |
createPartStackAdapter()
Creates a new adapter for an object of class '
Part Stack' |
Adapter |
createSnippetContainerAdapter()
Creates a new adapter for an object of class '
Snippet Container' |
Adapter |
createStackElementAdapter()
Creates a new adapter for an object of class '
Stack Element' |
Adapter |
createTrimBarAdapter()
Creates a new adapter for an object of class '
Trim Bar' |
Adapter |
createTrimElementAdapter()
Creates a new adapter for an object of class '
Trim Element' |
Adapter |
createTrimmedWindowAdapter()
Creates a new adapter for an object of class '
Trimmed Window' |
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' |
Adapter |
createWindowAdapter()
Creates a new adapter for an object of class '
Window' |
Adapter |
createWindowElementAdapter()
Creates a new adapter for an object of class '
Window Element' |
Adapter |
createWizardDialogAdapter()
Creates a new adapter for an object of class '
Wizard Dialog' |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object
|
protected static BasicPackageImpl modelPackage
protected BasicSwitch<Adapter> modelSwitch
createXXX methods.
public BasicAdapterFactory()
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 createPartAdapter()
Part'.
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.
MPartpublic Adapter createCompositePartAdapter()
Composite Part'.
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.
MCompositePartpublic Adapter createInputPartAdapter()
Input Part'.
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.
MInputPartpublic Adapter createPartStackAdapter()
Part 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.
MPartStackpublic Adapter createPartSashContainerAdapter()
Part Sash 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.
MPartSashContainerpublic Adapter createWindowAdapter()
Window'.
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.
MWindowpublic Adapter createTrimmedWindowAdapter()
Trimmed Window'.
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.
MTrimmedWindowpublic Adapter createTrimElementAdapter()
Trim 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.
MTrimElementpublic Adapter createPartSashContainerElementAdapter()
Part Sash Container 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.
MPartSashContainerElementpublic Adapter createWindowElementAdapter()
Window 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.
MWindowElementpublic Adapter createTrimBarAdapter()
Trim Bar'.
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.
MTrimBarpublic Adapter createStackElementAdapter()
Stack 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.
MStackElementpublic Adapter createDialogAdapter()
Dialog'.
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.
MDialogpublic Adapter createWizardDialogAdapter()
Wizard Dialog'.
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.
MWizardDialogpublic 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 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 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 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 createHandlerContainerAdapter()
Handler 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.
MHandlerContainerpublic 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 createBindingsAdapter()
Bindings'.
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.
MBindingspublic 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 createInputAdapter()
Input'.
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.
MInputpublic 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 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 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 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 createEObjectAdapter()