|
GEF v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.eclipse.gef.palette.DefaultPaletteEntry
|
+--org.eclipse.gef.palette.DefaultPaletteToolEntry
A class used to represent a GEF tool on the palette.
| Field Summary | |
protected Tool |
tool
|
| Fields inherited from interface org.eclipse.gef.palette.PaletteEntry |
PALETTE_TYPE_UNKNOWN |
| Constructor Summary | |
DefaultPaletteToolEntry(Tool tool,
String label)
|
|
DefaultPaletteToolEntry(Tool tool,
String label,
String shortDesc)
|
|
DefaultPaletteToolEntry(Tool tool,
String label,
String shortDesc,
Image iconSmall,
Image iconLarge)
|
|
| Method Summary | |
Tool |
getTool()
|
void |
setTool(Tool tool)
|
| Methods inherited from class org.eclipse.gef.palette.DefaultPaletteEntry |
getDescription, getLabel, getLargeIcon, getSmallIcon, getType, isDefault, setDefault, setDescription, setLabel, setLargeIcon, setSmallIcon, setType, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.gef.palette.PaletteEntry |
getDescription, getLabel, getLargeIcon, getSmallIcon, getType, isDefault |
| Field Detail |
protected Tool tool
| Constructor Detail |
public DefaultPaletteToolEntry(Tool tool,
String label)
public DefaultPaletteToolEntry(Tool tool,
String label,
String shortDesc)
public DefaultPaletteToolEntry(Tool tool,
String label,
String shortDesc,
Image iconSmall,
Image iconLarge)
| Method Detail |
public Tool getTool()
getTool in interface PaletteToolEntrypublic void setTool(Tool tool)
|
GEF v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||