Class SaveToolConfigDialog

  • All Implemented Interfaces:
    ActionContextProvider, StatusListener, TaskListener, java.util.EventListener, javax.swing.event.ListSelectionListener

    public class SaveToolConfigDialog
    extends DialogComponentProvider
    implements javax.swing.event.ListSelectionListener
    Shows the modal dialog to save tool configuration to the current name or to a new name.
    • Method Detail

      • buildMainPanel

        protected javax.swing.JPanel buildMainPanel()
        Define the Main panel for the dialog here.
        Returns:
        JPanel the completed Main Panel
      • show

        public void show​(java.lang.String name,
                         java.lang.String newDefaultName)
        Display the "Save Tool Configuration As..." dialog; blocks until user hits the "Cancel" button.
        Parameters:
        name - original name for the tool
      • valueChanged

        public void valueChanged​(javax.swing.event.ListSelectionEvent e)
        Listener for the icon list.
        Specified by:
        valueChanged in interface javax.swing.event.ListSelectionListener
      • didCancel

        public boolean didCancel()