org.eclipse.graphiti.palette.impl
Class StackEntry
java.lang.Object
org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
org.eclipse.graphiti.palette.impl.StackEntry
- All Implemented Interfaces:
- IPaletteEntry, IStackToolEntry, IToolEntry
public class StackEntry
- extends AbstractPaletteEntry
- implements IStackToolEntry
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
private String description
creationToolEntries
private List<ICreationToolEntry> creationToolEntries
StackEntry
public StackEntry(String label,
String description,
String iconId)
- Creates a new
StackEntry
.
- Parameters:
label
- the text to displaydescription
- the tooltip texticonId
- the id for the icon
getDescription
public String getDescription()
- Gets the description.
- Specified by:
getDescription
in interface IStackToolEntry
- Returns:
- the description
getCreationToolEntries
public List<ICreationToolEntry> getCreationToolEntries()
- Returns the creation tools.
- Specified by:
getCreationToolEntries
in interface IStackToolEntry
- Returns:
- the creation tool entries
addCreationToolEntry
public void addCreationToolEntry(ICreationToolEntry creationToolEntry)
- Adds a creation tool to the stack entry.
- Parameters:
creationToolEntry
- the creation tool entry
Copyright (c) SAP AG 2005, 2012.