org.eclipse.graphiti.palette.impl
Class AbstractPaletteEntry
java.lang.Object
org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
- All Implemented Interfaces:
- IPaletteEntry
- Direct Known Subclasses:
- AbstractPaletteToolEntry, PaletteCompartmentEntry, PaletteSeparatorEntry, StackEntry
public abstract class AbstractPaletteEntry
- extends Object
- implements IPaletteEntry
The Class AbstractPaletteEntry.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
private String label
iconId
private String iconId
AbstractPaletteEntry
public AbstractPaletteEntry(String label,
String iconId)
- Creates a new
AbstractPaletteEntry
.
- Parameters:
label
- the labeliconId
- the icon id
getLabel
public String getLabel()
- Description copied from interface:
IPaletteEntry
- Gets the label.
- Specified by:
getLabel
in interface IPaletteEntry
- Returns:
- the label
getIconId
public String getIconId()
- Description copied from interface:
IPaletteEntry
- Gets the icon id.
- Specified by:
getIconId
in interface IPaletteEntry
- Returns:
- the icon id
Copyright (c) SAP AG 2005, 2010.