org.eclipse.gef.palette
Interface PaletteEntry
- All Known Subinterfaces:
- PaletteContainer, PaletteRoot, PaletteToolEntry
- All Known Implementing Classes:
- DefaultPaletteEntry
- public interface PaletteEntry
PALETTE_TYPE_UNKNOWN
public static final String PALETTE_TYPE_UNKNOWN
getLabel
public String getLabel()
- returns the label for this entry.
getLargeIcon
public Image getLargeIcon()
- returns a large icon representing this entry.
getDescription
public String getDescription()
- Returns a short desecription describing this entry.
getSmallIcon
public Image getSmallIcon()
- Returns a small icon representing the entry.
getType
public Object getType()
- Returns the type of this entry. Useful for different interpretations
of the palette model.
isDefault
public boolean isDefault()
- Returns the default nature of the entry.