public class StackEntry extends AbstractPaletteEntry implements IStackToolEntry
Constructor and Description |
---|
StackEntry(String label,
String description,
String iconId)
Creates a new
StackEntry . |
Modifier and Type | Method and Description |
---|---|
void |
addCreationToolEntry(ICreationToolEntry creationToolEntry)
Adds a creation tool to the stack entry.
|
List<ICreationToolEntry> |
getCreationToolEntries()
Returns the creation tools.
|
String |
getDescription()
Gets the description.
|
getIconId, getLabel
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIconId, getLabel
public StackEntry(String label, String description, String iconId)
StackEntry
.label
- the text to displaydescription
- the tooltip texticonId
- the id for the iconpublic String getDescription()
getDescription
in interface IStackToolEntry
public List<ICreationToolEntry> getCreationToolEntries()
getCreationToolEntries
in interface IStackToolEntry
public void addCreationToolEntry(ICreationToolEntry creationToolEntry)
creationToolEntry
- the creation tool entry