Class TemplateTransfer


  • public final class TemplateTransfer
    extends SimpleObjectTransfer
    Transfer object used to transfer the template of a palette tool. It is used for drag-and-drop from the palette as well as copy/paste from the palette.
    Since:
    2.1
    • Method Detail

      • getInstance

        public static TemplateTransfer getInstance()
        Returns the singleton instance
        Returns:
        the singleton
      • getTemplate

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

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