GEF v2.0

org.eclipse.gef.palette
Interface PaletteEntry

All Known Subinterfaces:
PaletteContainer, PaletteRoot, PaletteToolEntry
All Known Implementing Classes:
DefaultPaletteEntry

public interface PaletteEntry


Field Summary
static String PALETTE_TYPE_UNKNOWN
           
 
Method Summary
 String getDescription()
          Returns a short desecription describing this entry.
 String getLabel()
          returns the label for this entry.
 Image getLargeIcon()
          returns a large icon representing this entry.
 Image getSmallIcon()
          Returns a small icon representing the entry.
 Object getType()
          Returns the type of this entry.
 boolean isDefault()
          Returns the default nature of the entry.
 

Field Detail

PALETTE_TYPE_UNKNOWN

public static final String PALETTE_TYPE_UNKNOWN
Method Detail

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.

GEF v2.0