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 java.lang.Object
- implements IPaletteEntry
The Class AbstractPaletteEntry.
Field Summary |
private java.lang.String |
iconId
|
private java.lang.String |
label
|
Method Summary |
java.lang.String |
getIconId()
Gets the icon id. |
java.lang.String |
getLabel()
Gets the label. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
label
private java.lang.String label
iconId
private java.lang.String iconId
AbstractPaletteEntry
public AbstractPaletteEntry(java.lang.String label,
java.lang.String iconId)
- Creates a new
AbstractPaletteEntry
.
- Parameters:
label
- the labeliconId
- the icon id
getLabel
public java.lang.String getLabel()
- Description copied from interface:
IPaletteEntry
- Gets the label.
- Specified by:
getLabel
in interface IPaletteEntry
- Returns:
- the label
getIconId
public java.lang.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, 2012.