Class CreationToolEntry
java.lang.Object
org.eclipse.gef.palette.PaletteEntry
org.eclipse.gef.palette.ToolEntry
org.eclipse.gef.palette.CreationToolEntry
- Direct Known Subclasses:
CombinedTemplateCreationEntry, ConnectionCreationToolEntry
-
Field Summary
FieldsFields inherited from class ToolEntry
PALETTE_TYPE_TOOLFields inherited from class 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
ConstructorsConstructorDescriptionCreationToolEntry(String label, String shortDesc, CreationFactory factory, ImageDescriptor iconSmall, ImageDescriptor iconLarge) Constructor for CreationToolEntry. -
Method Summary
Methods inherited from class ToolEntry
createTool, getToolProperties, getToolProperty, setToolClass, setToolPropertyMethods inherited from class PaletteEntry
addPropertyChangeListener, getDescription, getId, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setId, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible, toString
-
Field Details
-
factory
Deprecated.in 3.1. This field will be removed in future releases. The factory is being provided to the tool via theToolEntry.setToolProperty(Object, Object)method.The creation factory used with the returned creation tool.
-
-
Constructor Details
-
CreationToolEntry
public CreationToolEntry(String label, String shortDesc, CreationFactory factory, ImageDescriptor iconSmall, ImageDescriptor iconLarge) Constructor for CreationToolEntry.- Parameters:
label- the labelshortDesc- the descriptionfactory- the CreationFactoryiconSmall- the small iconiconLarge- the large icon
-