Package org.eclipse.gef.palette
Class PaletteToolbar
- java.lang.Object
-
- org.eclipse.gef.palette.PaletteEntry
-
- org.eclipse.gef.palette.PaletteContainer
-
- org.eclipse.gef.palette.PaletteToolbar
-
public class PaletteToolbar extends PaletteContainer
A PaletteGroup consists of a group ofPaletteEntry
objects that are uncollapsible . The user modification level is set toPaletteEntry.PERMISSION_NO_MODIFICATION
, meaning that the entries cannot be reordered.- Since:
- 3.4
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PALETTE_TYPE_TOOLBAR_GROUP
Type Identifier for a palette group that looks like a toolbar and only supports icons mode.-
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
Constructors Constructor Description PaletteToolbar(java.lang.String label)
Creates a new PaletteGroup with the given labelPaletteToolbar(java.lang.String label, java.util.List children)
Creates a new PaletteGroup with the given label and list ofPalette Entries
.
-
Method Summary
-
Methods inherited from class org.eclipse.gef.palette.PaletteContainer
acceptsType, add, add, addAll, appendToSection, getChildren, moveDown, moveUp, remove, setChildren, toString
-
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
-
-
-
-
Field Detail
-
PALETTE_TYPE_TOOLBAR_GROUP
public static final java.lang.String PALETTE_TYPE_TOOLBAR_GROUP
Type Identifier for a palette group that looks like a toolbar and only supports icons mode.- Since:
- 3.4
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaletteToolbar
public PaletteToolbar(java.lang.String label)
Creates a new PaletteGroup with the given label- Parameters:
label
- the label
-
PaletteToolbar
public PaletteToolbar(java.lang.String label, java.util.List children)
Creates a new PaletteGroup with the given label and list ofPalette Entries
.- Parameters:
label
- the labelchildren
- the list of PaletteEntry children
-
-