Class PaletteTemplateEntry

    • Field Detail

      • PALETTE_TYPE_TEMPLATE

        public static final java.lang.String PALETTE_TYPE_TEMPLATE
        Type identifier
        See Also:
        Constant Field Values
    • Constructor Detail

      • PaletteTemplateEntry

        public PaletteTemplateEntry​(java.lang.String label,
                                    java.lang.String shortDesc,
                                    java.lang.Object template,
                                    ImageDescriptor iconSmall,
                                    ImageDescriptor iconLarge)
        Creates a new PaletteTemplateEntry with the given template.
        Parameters:
        label - the entry's name
        shortDesc - the entry's description
        template - the template for this entry
        iconSmall - an ImageDescriptor for the entry's small icon
        iconLarge - an ImageDescriptor for the entry's large icon
        See Also:
        PaletteEntry(String, String, ImageDescriptor, ImageDescriptor, Object)
    • Method Detail

      • getTemplate

        public java.lang.Object getTemplate()
        Returns:
        the user-defined template object
      • setTemplate

        public void setTemplate​(java.lang.Object template)
        Sets the template object to the given value
        Parameters:
        template - the template object