|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.palette.impl.AbstractPaletteEntry
org.eclipse.graphiti.palette.impl.PaletteCompartmentEntry
public class PaletteCompartmentEntry
The Class PaletteCompartmentEntry creates a compartment entry which visualises as a drawer in the palette containing multiple tools.
| Field Summary | |
|---|---|
private boolean |
initiallyOpen
|
private List<IToolEntry> |
toolEntries
|
| Constructor Summary | |
|---|---|
PaletteCompartmentEntry(String label,
String iconId)
Creates a new PaletteCompartmentEntry. |
|
| Method Summary | |
|---|---|
void |
addToolEntry(IToolEntry toolEntry)
adds a tool entry to the compartment. |
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. |
| 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 |
| Field Detail |
|---|
private List<IToolEntry> toolEntries
private boolean initiallyOpen
| Constructor Detail |
|---|
public PaletteCompartmentEntry(String label,
String iconId)
PaletteCompartmentEntry.
label - the text labeliconId - the icon which is displayed| Method Detail |
|---|
public List<IToolEntry> getToolEntries()
getToolEntries in interface IPaletteCompartmentEntrypublic void addToolEntry(IToolEntry toolEntry)
toolEntry - the tool entrypublic void setInitiallyOpen(boolean initiallyOpen)
IPaletteCompartmentEntry
setInitiallyOpen in interface IPaletteCompartmentEntryinitiallyOpen - the initially openpublic boolean isInitiallyOpen()
IPaletteCompartmentEntry
isInitiallyOpen in interface IPaletteCompartmentEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||