Package org.eclipse.gef.palette
Class MarqueeToolEntry
java.lang.Object
org.eclipse.gef.palette.PaletteEntry
org.eclipse.gef.palette.ToolEntry
org.eclipse.gef.palette.MarqueeToolEntry
A palette ToolEntry for a
MarqueeSelectionTool
.- Since:
- 2.1
-
Field Summary
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
ConstructorsConstructorDescriptionCreates a new MarqueeToolEntry that can select nodesMarqueeToolEntry
(String label) Constructor for MarqueeToolEntry.MarqueeToolEntry
(String label, String description) Constructor for MarqueeToolEntry. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.eclipse.gef.palette.ToolEntry
createTool, getToolProperties, getToolProperty, setToolClass, setToolProperty
Methods inherited from class org.eclipse.gef.palette.PaletteEntry
addPropertyChangeListener, getId, getLabel, getParent, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setId, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible, toString
-
Constructor Details
-
MarqueeToolEntry
public MarqueeToolEntry()Creates a new MarqueeToolEntry that can select nodes -
MarqueeToolEntry
Constructor for MarqueeToolEntry.- Parameters:
label
- the label
-
MarqueeToolEntry
Constructor for MarqueeToolEntry.- Parameters:
label
- the label; can benull
description
- the description (can benull
)
-
-
Method Details
-
getDescription
- Overrides:
getDescription
in classPaletteEntry
- Returns:
- a short desecription describing this entry.
- See Also:
-
getLargeIcon
- Overrides:
getLargeIcon
in classPaletteEntry
- Returns:
- a large icon representing this entry.
- See Also:
-
getSmallIcon
- Overrides:
getSmallIcon
in classPaletteEntry
- Returns:
- a small icon representing the entry.
- See Also:
-