|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.palette.PaletteEntry
org.eclipse.gef.palette.PaletteContainer
org.eclipse.gef.palette.PaletteRoot
Serves as the root PaletteEntry
for the palette
model.
Field Summary | |
static java.lang.String |
PALETTE_TYPE_ROOT
Type Identifier |
Fields inherited from class org.eclipse.gef.palette.PaletteContainer |
children, PROPERTY_CHILDREN |
Fields inherited from class org.eclipse.gef.palette.PaletteEntry |
listeners, PALETTE_TYPE_UNKNOWN, PERMISSION_FULL_MODIFICATION, PERMISSION_HIDE_ONLY, PERMISSION_LIMITED_MODIFICATION, PERMISSION_NO_MODIFICATION, PROPERTY_DEFAULT, PROPERTY_DESCRIPTION, PROPERTY_LABEL, PROPERTY_LARGE_ICON, PROPERTY_PARENT, PROPERTY_SMALL_ICON, PROPERTY_TYPE, PROPERTY_VISIBLE |
Constructor Summary | |
PaletteRoot()
Creates a new PaletteRoot. |
Method Summary | |
boolean |
acceptsType(java.lang.Object type)
Returns true if this type can be a child of this container. |
ToolEntry |
getDefaultEntry()
|
void |
setDefaultEntry(ToolEntry entry)
Sets the default entry to the passed value. |
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.gef.palette.PaletteContainer |
add, add, addAll, appendToSection, getChildren, moveDown, moveUp, remove, setChildren |
Methods inherited from class org.eclipse.gef.palette.PaletteEntry |
addPropertyChangeListener, getDescription, getId, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setId, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.lang.String PALETTE_TYPE_ROOT
Constructor Detail |
public PaletteRoot()
Method Detail |
public boolean acceptsType(java.lang.Object type)
PaletteContainer
acceptsType
in class PaletteContainer
type
- the type being requested
PaletteContainer.acceptsType(java.lang.Object)
public ToolEntry getDefaultEntry()
public void setDefaultEntry(ToolEntry entry)
entry
- the default entrypublic java.lang.String toString()
toString
in class PaletteContainer
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |