public class PaletteCompartmentEntry extends AbstractPaletteEntry implements IPaletteCompartmentEntry
| Constructor and Description |
|---|
PaletteCompartmentEntry(java.lang.String label,
java.lang.String iconId)
Creates a new
PaletteCompartmentEntry. |
| Modifier and Type | Method and Description |
|---|---|
void |
addToolEntry(IToolEntry toolEntry)
adds a tool entry to the compartment.
|
java.util.List<IToolEntry> |
getToolEntries()
Gets the tool entries.
|
boolean |
isInitiallyOpen()
provide the initial open state of the compartment.
|
void |
setInitiallyOpen(boolean initiallyOpen)
set the initial open state of the compartment.
|
getIconId, getLabelequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIconId, getLabelpublic PaletteCompartmentEntry(java.lang.String label,
java.lang.String iconId)
PaletteCompartmentEntry.label - the text labeliconId - the icon which is displayedpublic java.util.List<IToolEntry> getToolEntries()
getToolEntries in interface IPaletteCompartmentEntrypublic void addToolEntry(IToolEntry toolEntry)
toolEntry - the tool entrypublic void setInitiallyOpen(boolean initiallyOpen)
IPaletteCompartmentEntrysetInitiallyOpen in interface IPaletteCompartmentEntryinitiallyOpen - the initially openpublic boolean isInitiallyOpen()
IPaletteCompartmentEntryisInitiallyOpen in interface IPaletteCompartmentEntry