Class StackEntry
java.lang.Object
org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
org.eclipse.graphiti.palette.impl.StackEntry
- All Implemented Interfaces:
IPaletteEntry
,IStackToolEntry
,IToolEntry
The Class StackEntry creates a compartment entry which visualises as a drawer
in the palette containing multiple tools in a drop down list of which one is
active and visible.
-
Constructor Summary
ConstructorDescriptionStackEntry
(String label, String description, String iconId) Creates a newStackEntry
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCreationToolEntry
(ICreationToolEntry creationToolEntry) Adds a creation tool to the stack entry.Returns the creation tools.Gets the description.Methods inherited from class org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
getIconId, getLabel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.graphiti.palette.IPaletteEntry
getIconId, getLabel
-
Constructor Details
-
StackEntry
Creates a newStackEntry
.- Parameters:
label
- the text to displaydescription
- the tooltip texticonId
- the id for the icon
-
-
Method Details
-
getDescription
Gets the description.- Specified by:
getDescription
in interfaceIStackToolEntry
- Returns:
- the description
-
getCreationToolEntries
Returns the creation tools.- Specified by:
getCreationToolEntries
in interfaceIStackToolEntry
- Returns:
- the creation tool entries
-
addCreationToolEntry
Adds a creation tool to the stack entry.- Parameters:
creationToolEntry
- the creation tool entry
-