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