Class PaletteStack


  • public class PaletteStack
    extends PaletteContainer
    The model object for a PaletteStack - A stack of tools. A stack should contain only tools and should have permissions that are less than or equal to its parent.
    Since:
    3.0
    • Field Detail

      • PALETTE_TYPE_STACK

        public static final java.lang.String PALETTE_TYPE_STACK
        Type identifier
        See Also:
        Constant Field Values
      • PROPERTY_ACTIVE_ENTRY

        public static final java.lang.String PROPERTY_ACTIVE_ENTRY
        Property name for the active entry
        See Also:
        Constant Field Values
    • Constructor Detail

      • PaletteStack

        public PaletteStack​(java.lang.String name,
                            java.lang.String desc,
                            ImageDescriptor icon)
        Creates a new PaletteStack with the given name, description, and icon. These will be shown only in the customize menu. Any of the given parameter can be null.
        Parameters:
        name - the stack's name
        desc - the stack's description
        icon - an ImageDescriptor for the stack's small icon
        See Also:
        PaletteContainer(String, String, ImageDescriptor, Object)