public class MenuAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
MenuPackageImpl| Modifier and Type | Field and Description |
|---|---|
protected static MenuPackageImpl |
modelPackage
The cached model package
|
protected MenuSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods |
| Constructor and Description |
|---|
MenuAdapterFactory()
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 |
createDirectMenuItemAdapter()
Creates a new adapter for an object of class '
Direct Menu Item' |
Adapter |
createDirectToolItemAdapter()
Creates a new adapter for an object of class '
Direct Tool Item' |
Adapter |
createDynamicMenuContributionAdapter()
Creates a new adapter for an object of class '
Dynamic Menu Contribution' |
Adapter |
createElementContainerAdapter()
Creates a new adapter for an object of class '
Element Container' |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case
|
Adapter |
createHandledItemAdapter()
Creates a new adapter for an object of class '
Handled Item' |
Adapter |
createHandledMenuItemAdapter()
Creates a new adapter for an object of class '
Handled Menu Item' |
Adapter |
createHandledToolItemAdapter()
Creates a new adapter for an object of class '
Handled Tool Item' |
Adapter |
createItemAdapter()
Creates a new adapter for an object of class '
Item' |
Adapter |
createLocalizableAdapter()
Creates a new adapter for an object of class '
Localizable' |
Adapter |
createMenuAdapter()
Creates a new adapter for an object of class '
Menu' |
Adapter |
createMenuContributionAdapter()
Creates a new adapter for an object of class '
Contribution' |
Adapter |
createMenuContributionsAdapter()
Creates a new adapter for an object of class '
Contributions' |
Adapter |
createMenuElementAdapter()
Creates a new adapter for an object of class '
Element' |
Adapter |
createMenuItemAdapter()
Creates a new adapter for an object of class '
Item' |
Adapter |
createMenuSeparatorAdapter()
Creates a new adapter for an object of class '
Separator' |
Adapter |
createPopupMenuAdapter()
Creates a new adapter for an object of class '
Popup Menu' |
Adapter |
createToolBarAdapter()
Creates a new adapter for an object of class '
Tool Bar' |
Adapter |
createToolBarContributionAdapter()
Creates a new adapter for an object of class '
Tool Bar Contribution' |
Adapter |
createToolBarContributionsAdapter()
Creates a new adapter for an object of class '
Tool Bar Contributions' |
Adapter |
createToolBarElementAdapter()
Creates a new adapter for an object of class '
Tool Bar Element' |
Adapter |
createToolBarSeparatorAdapter()
Creates a new adapter for an object of class '
Tool Bar Separator' |
Adapter |
createToolControlAdapter()
Creates a new adapter for an object of class '
Tool Control' |
Adapter |
createToolItemAdapter()
Creates a new adapter for an object of class '
Tool Item' |
Adapter |
createTrimContributionAdapter()
Creates a new adapter for an object of class '
Trim Contribution' |
Adapter |
createTrimContributionsAdapter()
Creates a new adapter for an object of class '
Trim Contributions' |
Adapter |
createTrimElementAdapter()
Creates a new adapter for an object of class '
Trim Element' |
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 MenuPackageImpl modelPackage
protected MenuSwitch<Adapter> modelSwitch
createXXX methods.
public MenuAdapterFactory()
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 createItemAdapter()
Item'.
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.
MItempublic Adapter createHandledItemAdapter()
Handled Item'.
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.
MHandledItempublic Adapter createMenuElementAdapter()
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.
MMenuElementpublic Adapter createMenuItemAdapter()
Item'.
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.
MMenuItempublic Adapter createMenuSeparatorAdapter()
Separator'.
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.
MMenuSeparatorpublic Adapter createMenuAdapter()
Menu'.
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.
MMenupublic Adapter createMenuContributionAdapter()
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.
MMenuContributionpublic Adapter createPopupMenuAdapter()
Popup Menu'.
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.
MPopupMenupublic Adapter createDirectMenuItemAdapter()
Direct Menu Item'.
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.
MDirectMenuItempublic Adapter createHandledMenuItemAdapter()
Handled Menu Item'.
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.
MHandledMenuItempublic Adapter createToolItemAdapter()
Tool Item'.
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.
MToolItempublic Adapter createToolBarAdapter()
Tool 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.
MToolBarpublic Adapter createToolBarElementAdapter()
Tool Bar 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.
MToolBarElementpublic Adapter createToolControlAdapter()
Tool Control'.
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.
MToolControlpublic Adapter createHandledToolItemAdapter()
Handled Tool Item'.
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.
MHandledToolItempublic Adapter createDirectToolItemAdapter()
Direct Tool Item'.
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.
MDirectToolItempublic Adapter createToolBarSeparatorAdapter()
Tool Bar Separator'.
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.
MToolBarSeparatorpublic Adapter createMenuContributionsAdapter()
Contributions'.
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.
MMenuContributionspublic Adapter createToolBarContributionAdapter()
Tool Bar 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.
MToolBarContributionpublic Adapter createToolBarContributionsAdapter()
Tool Bar Contributions'.
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.
MToolBarContributionspublic Adapter createTrimContributionAdapter()
Trim 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.
MTrimContributionpublic Adapter createTrimContributionsAdapter()
Trim Contributions'.
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.
MTrimContributionspublic Adapter createDynamicMenuContributionAdapter()
Dynamic Menu 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.
MDynamicMenuContributionpublic 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 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 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 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 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 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 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 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 createEObjectAdapter()