|
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 AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- 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.
ToolRegistry
public 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.
AbstractTool
public 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.
ToolContainer
public 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.
PaletteSeparator
public 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.
ToolGroup
public 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.
Palette
public 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.
StandardTool
public 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.
CreationTool
public 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.
GenericTool
public 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.
ItemBase
public 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.
Menu
public 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.
Separator
public 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.
PredefinedItem
public 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.
PredefinedMenu
public 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.
ContributionItem
public 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.
MenuAction
public 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.
ItemRef
public 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.
ContextMenu
public 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.
PopupMenu
public 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.
MainMenu
public 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.
Toolbar
public 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.
Image
public 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.
DefaultImage
public 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.
BundleImage
public 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.
StyleSelector
public 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.
GenericStyleSelector
public 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.