Class DialogManager


  • public class DialogManager
    extends java.lang.Object
    Helper class to manage actions for saving and exporting the tool.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void exportTool()
      Write this tool to a filename; the user is prompted for a filename.
      boolean saveToolAs()
      Show the "Save Tool" dialog.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DialogManager

        public DialogManager​(PluginTool tool)
    • Method Detail

      • saveToolAs

        public boolean saveToolAs()
        Show the "Save Tool" dialog. Returns true if the user performed a 'save as'; returns false if the user cancelled.
      • exportTool

        public void exportTool()
        Write this tool to a filename; the user is prompted for a filename.