Class ImportDialog

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class ImportDialog extends JDialog implements ActionListener
This class provides a graphical interface that allows the user to control the import of configuration data for the UDC upgrade process.
See Also:
  • Field Details

    • importCustomization

      public boolean importCustomization
  • Constructor Details

    • ImportDialog

      public ImportDialog(Frame owner, String title, AdminServerAPI api, File dir, boolean customization, boolean isNodeChain) throws com.nt.udc.upgrade.ImportException
      Construct the dialog used to control the import portion of the UDC upgrade process.
      Parameters:
      owner - The container from which this dialog is called.
      title - The text to be displayed as the dialog title.
      api - An instance of AdminServerAPI, used to communicate with the AdminServer.
      dir - The UDC installation directory.
      Throws:
      com.nt.udc.upgrade.ImportException
  • Method Details

    • showDialog

      public static void showDialog(Frame owner, String title, AdminServerAPI api, File dir, boolean customization) throws com.nt.udc.upgrade.ImportException
      Launch the Import dialog.
      Parameters:
      owner - The container from which this dialog is called.
      title - The text to be displayed as the dialog title.
      api - An instance of AdminServerAPI, used to communicate with the AdminServer.
      dir - The UDC installation directory.
      Throws:
      com.nt.udc.upgrade.ImportException
    • showDialog

      public static void showDialog(JPanel owner, String title, AdminServerAPI api, File dir, boolean customization) throws com.nt.udc.upgrade.ImportException
      Throws:
      com.nt.udc.upgrade.ImportException
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Perform the necessary tasks depending upon the given event.
      Specified by:
      actionPerformed in interface ActionListener