|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.palette.PaletteEntry
org.eclipse.gef.palette.ToolEntry
org.eclipse.gef.palette.CreationToolEntry
A palette ToolEntry for a CreationTool
.
Field Summary | |
protected CreationFactory |
factory
The creation factory used with the returned creation tool. |
Fields inherited from class org.eclipse.gef.palette.ToolEntry |
PALETTE_TYPE_TOOL |
Fields inherited from class org.eclipse.gef.palette.PaletteEntry |
listeners, PALETTE_TYPE_UNKNOWN, PERMISSION_FULL_MODIFICATION, PERMISSION_HIDE_ONLY, PERMISSION_LIMITED_MODIFICATION, PERMISSION_NO_MODIFICATION, PROPERTY_DEFAULT, PROPERTY_DESCRIPTION, PROPERTY_LABEL, PROPERTY_LARGE_ICON, PROPERTY_PARENT, PROPERTY_SMALL_ICON, PROPERTY_TYPE, PROPERTY_VISIBLE |
Constructor Summary | |
CreationToolEntry(java.lang.String label,
java.lang.String shortDesc,
CreationFactory factory,
org.eclipse.jface.resource.ImageDescriptor iconSmall,
org.eclipse.jface.resource.ImageDescriptor iconLarge)
Constructor for CreationToolEntry. |
Method Summary | |
Tool |
createTool()
Handles the creation of a new Tool. |
Methods inherited from class org.eclipse.gef.palette.PaletteEntry |
addPropertyChangeListener, getDescription, getId, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setId, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final CreationFactory factory
Constructor Detail |
public CreationToolEntry(java.lang.String label, java.lang.String shortDesc, CreationFactory factory, org.eclipse.jface.resource.ImageDescriptor iconSmall, org.eclipse.jface.resource.ImageDescriptor iconLarge)
label
- the labelshortDesc
- the descriptionfactory
- the CreationFactoryiconSmall
- the small iconiconLarge
- the large iconMethod Detail |
public Tool createTool()
ToolEntry
createTool
in class ToolEntry
ToolEntry.createTool()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |