|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.gmf.tooldef.util.GMFToolAdapterFactory
public class GMFToolAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX method for each class of the model.
GMFToolPackage| Field Summary | |
|---|---|
protected static GMFToolPackage |
modelPackage
The cached model package |
protected GMFToolSwitch<Adapter> |
modelSwitch
The switch the delegates to the createXXX methods |
| Constructor Summary | |
|---|---|
GMFToolAdapterFactory()
Creates an instance of the adapter factory |
|
| Method Summary | |
|---|---|
Adapter |
createAbstractToolAdapter()
Creates a new adapter for an object of class ' Abstract Tool' |
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target |
Adapter |
createBundleImageAdapter()
Creates a new adapter for an object of class ' Bundle Image' |
Adapter |
createContextMenuAdapter()
Creates a new adapter for an object of class ' Context Menu' |
Adapter |
createContributionItemAdapter()
Creates a new adapter for an object of class ' Contribution Item' |
Adapter |
createCreationToolAdapter()
Creates a new adapter for an object of class ' Creation Tool' |
Adapter |
createDefaultImageAdapter()
Creates a new adapter for an object of class ' Default Image' |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case |
Adapter |
createGenericStyleSelectorAdapter()
Creates a new adapter for an object of class ' Generic Style Selector' |
Adapter |
createGenericToolAdapter()
Creates a new adapter for an object of class ' Generic Tool' |
Adapter |
createImageAdapter()
Creates a new adapter for an object of class ' Image' |
Adapter |
createItemBaseAdapter()
Creates a new adapter for an object of class ' Item Base' |
Adapter |
createItemRefAdapter()
Creates a new adapter for an object of class ' Item Ref' |
Adapter |
createMainMenuAdapter()
Creates a new adapter for an object of class ' Main Menu' |
Adapter |
createMenuActionAdapter()
Creates a new adapter for an object of class ' Menu Action' |
Adapter |
createMenuAdapter()
Creates a new adapter for an object of class ' Menu' |
Adapter |
createPaletteAdapter()
Creates a new adapter for an object of class ' Palette' |
Adapter |
createPaletteSeparatorAdapter()
Creates a new adapter for an object of class ' Palette Separator' |
Adapter |
createPopupMenuAdapter()
Creates a new adapter for an object of class ' Popup Menu' |
Adapter |
createPredefinedItemAdapter()
Creates a new adapter for an object of class ' Predefined Item' |
Adapter |
createPredefinedMenuAdapter()
Creates a new adapter for an object of class ' Predefined Menu' |
Adapter |
createSeparatorAdapter()
Creates a new adapter for an object of class ' Separator' |
Adapter |
createStandardToolAdapter()
Creates a new adapter for an object of class ' Standard Tool' |
Adapter |
createStyleSelectorAdapter()
Creates a new adapter for an object of class ' Style Selector' |
Adapter |
createToolbarAdapter()
Creates a new adapter for an object of class ' Toolbar' |
Adapter |
createToolContainerAdapter()
Creates a new adapter for an object of class ' Tool Container' |
Adapter |
createToolGroupAdapter()
Creates a new adapter for an object of class ' Tool Group' |
Adapter |
createToolRegistryAdapter()
Creates a new adapter for an object of class ' Tool Registry' |
boolean |
isFactoryForType(java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static GMFToolPackage modelPackage
protected GMFToolSwitch<Adapter> modelSwitch
createXXX methods.
| Constructor Detail |
|---|
public GMFToolAdapterFactory()
| Method Detail |
|---|
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.
isFactoryForType in interface AdapterFactoryisFactoryForType in class AdapterFactoryImplpublic Adapter createAdapter(Notifier target)
target.
createAdapter in class AdapterFactoryImpltarget - the object to adapt.
target.public Adapter createToolRegistryAdapter()
Tool Registry'.
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.
ToolRegistrypublic Adapter createAbstractToolAdapter()
Abstract Tool'.
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.
AbstractToolpublic Adapter createToolContainerAdapter()
Tool 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.
ToolContainerpublic Adapter createPaletteSeparatorAdapter()
Palette 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.
PaletteSeparatorpublic Adapter createToolGroupAdapter()
Tool Group'.
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.
ToolGrouppublic Adapter createPaletteAdapter()
Palette'.
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.
Palettepublic Adapter createStandardToolAdapter()
Standard Tool'.
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.
StandardToolpublic Adapter createCreationToolAdapter()
Creation Tool'.
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.
CreationToolpublic Adapter createGenericToolAdapter()
Generic Tool'.
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.
GenericToolpublic Adapter createItemBaseAdapter()
Item Base'.
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.
ItemBasepublic 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.
Menupublic Adapter createSeparatorAdapter()
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.
Separatorpublic Adapter createPredefinedItemAdapter()
Predefined 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.
PredefinedItempublic Adapter createPredefinedMenuAdapter()
Predefined 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.
PredefinedMenupublic Adapter createContributionItemAdapter()
Contribution 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.
ContributionItempublic Adapter createMenuActionAdapter()
Menu 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.
MenuActionpublic Adapter createItemRefAdapter()
Item Ref'.
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.
ItemRefpublic Adapter createContextMenuAdapter()
Context 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.
ContextMenupublic 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.
PopupMenupublic Adapter createMainMenuAdapter()
Main 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.
MainMenupublic Adapter createToolbarAdapter()
Toolbar'.
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.
Toolbarpublic Adapter createImageAdapter()
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.
Imagepublic Adapter createDefaultImageAdapter()
Default 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.
DefaultImagepublic Adapter createBundleImageAdapter()
Bundle 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.
BundleImagepublic Adapter createStyleSelectorAdapter()
Style Selector'.
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.
StyleSelectorpublic Adapter createGenericStyleSelectorAdapter()
Generic Style Selector'.
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.
GenericStyleSelectorpublic Adapter createEObjectAdapter()
|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.