|
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<org.eclipse.emf.common.notify.Adapter> |
modelSwitch
The switch the delegates to the createXXX methods |
| Constructor Summary | |
|---|---|
GMFToolAdapterFactory()
Creates an instance of the adapter factory |
|
| Method Summary | |
|---|---|
org.eclipse.emf.common.notify.Adapter |
createAbstractToolAdapter()
Creates a new adapter for an object of class ' Abstract Tool' |
org.eclipse.emf.common.notify.Adapter |
createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the target |
org.eclipse.emf.common.notify.Adapter |
createBundleImageAdapter()
Creates a new adapter for an object of class ' Bundle Image' |
org.eclipse.emf.common.notify.Adapter |
createContextMenuAdapter()
Creates a new adapter for an object of class ' Context Menu' |
org.eclipse.emf.common.notify.Adapter |
createContributionItemAdapter()
Creates a new adapter for an object of class ' Contribution Item' |
org.eclipse.emf.common.notify.Adapter |
createCreationToolAdapter()
Creates a new adapter for an object of class ' Creation Tool' |
org.eclipse.emf.common.notify.Adapter |
createDefaultImageAdapter()
Creates a new adapter for an object of class ' Default Image' |
org.eclipse.emf.common.notify.Adapter |
createEObjectAdapter()
Creates a new adapter for the default case |
org.eclipse.emf.common.notify.Adapter |
createGenericStyleSelectorAdapter()
Creates a new adapter for an object of class ' Generic Style Selector' |
org.eclipse.emf.common.notify.Adapter |
createGenericToolAdapter()
Creates a new adapter for an object of class ' Generic Tool' |
org.eclipse.emf.common.notify.Adapter |
createImageAdapter()
Creates a new adapter for an object of class ' Image' |
org.eclipse.emf.common.notify.Adapter |
createItemBaseAdapter()
Creates a new adapter for an object of class ' Item Base' |
org.eclipse.emf.common.notify.Adapter |
createItemRefAdapter()
Creates a new adapter for an object of class ' Item Ref' |
org.eclipse.emf.common.notify.Adapter |
createMainMenuAdapter()
Creates a new adapter for an object of class ' Main Menu' |
org.eclipse.emf.common.notify.Adapter |
createMenuActionAdapter()
Creates a new adapter for an object of class ' Menu Action' |
org.eclipse.emf.common.notify.Adapter |
createMenuAdapter()
Creates a new adapter for an object of class ' Menu' |
org.eclipse.emf.common.notify.Adapter |
createPaletteAdapter()
Creates a new adapter for an object of class ' Palette' |
org.eclipse.emf.common.notify.Adapter |
createPaletteSeparatorAdapter()
Creates a new adapter for an object of class ' Palette Separator' |
org.eclipse.emf.common.notify.Adapter |
createPopupMenuAdapter()
Creates a new adapter for an object of class ' Popup Menu' |
org.eclipse.emf.common.notify.Adapter |
createPredefinedItemAdapter()
Creates a new adapter for an object of class ' Predefined Item' |
org.eclipse.emf.common.notify.Adapter |
createPredefinedMenuAdapter()
Creates a new adapter for an object of class ' Predefined Menu' |
org.eclipse.emf.common.notify.Adapter |
createSeparatorAdapter()
Creates a new adapter for an object of class ' Separator' |
org.eclipse.emf.common.notify.Adapter |
createStandardToolAdapter()
Creates a new adapter for an object of class ' Standard Tool' |
org.eclipse.emf.common.notify.Adapter |
createStyleSelectorAdapter()
Creates a new adapter for an object of class ' Style Selector' |
org.eclipse.emf.common.notify.Adapter |
createToolbarAdapter()
Creates a new adapter for an object of class ' Toolbar' |
org.eclipse.emf.common.notify.Adapter |
createToolContainerAdapter()
Creates a new adapter for an object of class ' Tool Container' |
org.eclipse.emf.common.notify.Adapter |
createToolGroupAdapter()
Creates a new adapter for an object of class ' Tool Group' |
org.eclipse.emf.common.notify.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<org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.AdapterFactoryisFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImplpublic org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
target.
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpltarget - the object to adapt.
target.public org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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 org.eclipse.emf.common.notify.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.