org.eclipse.gef.palette
Class ConnectionCreationToolEntry
java.lang.Object
|
+--org.eclipse.gef.palette.PaletteEntry
|
+--org.eclipse.gef.palette.ToolEntry
|
+--org.eclipse.gef.palette.CreationToolEntry
|
+--org.eclipse.gef.palette.ConnectionCreationToolEntry
- public class ConnectionCreationToolEntry
- extends CreationToolEntry
A palette ToolEntry for a ConnectionCreationTool
.
- Since:
- 2.1
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 |
Methods inherited from class org.eclipse.gef.palette.PaletteEntry |
addPropertyChangeListener, getDescription, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible, toString |
ConnectionCreationToolEntry
public ConnectionCreationToolEntry(String label,
String shortDesc,
CreationFactory factory,
ImageDescriptor iconSmall,
ImageDescriptor iconLarge)
- Constructor for ConnectionCreationToolEntry.
- Parameters:
label
- the labelshortDesc
- the descriptionfactory
- the CreationFactoryiconSmall
- the small iconiconLarge
- the large icon
createTool
public Tool createTool()
- Description copied from class:
ToolEntry
- Handles the creation of a new Tool. Subclasses must implement.
- Overrides:
createTool
in class CreationToolEntry
- See Also:
CreationToolEntry.createTool()
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.