Class ToolAssociationInfo


  • public class ToolAssociationInfo
    extends java.lang.Object
    A class that describes a content types and the tool used to open it.
    • Constructor Detail

    • Method Detail

      • getCurrentTemplate

        public ToolTemplate getCurrentTemplate()
        Returns the currently assigned tool used to open the content type of this association.
      • getDefaultTemplate

        public ToolTemplate getDefaultTemplate()
      • getAssociatedToolName

        public java.lang.String getAssociatedToolName()
      • isDefault

        public boolean isDefault()
      • setCurrentTool

        public void setCurrentTool​(ToolTemplate toolTemplate)
        Sets the tool name that should be used to open files for the content type represented by this tool association.
      • restoreDefaultAssociation

        public void restoreDefaultAssociation()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object