org.eclipse.gef.palette
Class PaletteRoot
java.lang.Object
|
+--org.eclipse.gef.palette.PaletteEntry
|
+--org.eclipse.gef.palette.PaletteContainer
|
+--org.eclipse.gef.palette.PaletteRoot
- public class PaletteRoot
- extends PaletteContainer
Serves as the root PaletteEntry
for the palette
model.
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. |
Methods inherited from class org.eclipse.gef.palette.PaletteEntry |
addPropertyChangeListener, getDescription, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible |
PALETTE_TYPE_ROOT
public static String PALETTE_TYPE_ROOT
- Type Identifier
PaletteRoot
public PaletteRoot()
- Creates a new PaletteRoot.
getDefaultEntry
public ToolEntry getDefaultEntry()
- Returns:
- the default ToolEntry
setDefaultEntry
public void setDefaultEntry(ToolEntry entry)
- Sets the default entry to the passed value. This ToolEntry represents the tool that
will be loaded by default.
- Parameters:
entry
- the default entry
toString
public String toString()
- Overrides:
toString
in class PaletteContainer
- See Also:
Object.toString()
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.