Class ImporterPrompter

java.lang.Object
loci.plugins.in.ImporterPrompter
All Implemented Interfaces:
EventListener, loci.common.StatusListener

public class ImporterPrompter extends Object implements loci.common.StatusListener
Helper class for presenting the user with dialog boxes for configuring importer options. If running as a macro, gets parameter values from macro options; if not, get parameter values from user input from dialog boxes. Which dialogs are shown depends on a variety of factors, including the current configuration (i.e., which options are enabled), whether quiet or windowless mode is set, and whether the method is being called from within a macro.
  • Field Details

  • Constructor Details

    • ImporterPrompter

      public ImporterPrompter(ImportProcess process)
  • Method Details

    • statusUpdated

      public void statusUpdated(loci.common.StatusEvent e)
      Specified by:
      statusUpdated in interface loci.common.StatusListener
    • promptUpgrade

      private boolean promptUpgrade()
    • promptLocation

      private boolean promptLocation()
    • promptId

      private boolean promptId()
    • promptMain

      private boolean promptMain()
    • promptFilePattern

      private boolean promptFilePattern()
      Prompts for the file pattern, if necessary. May override id value.
    • promptSeries

      private boolean promptSeries()
      Prompts for which series to import, if necessary.
    • promptSwap

      private boolean promptSwap()
      Prompts for dimension swapping parameters, if necessary.
    • promptRange

      private boolean promptRange()
      Prompts for the range of planes to import, if necessary.
    • promptCrop

      private boolean promptCrop()
      Prompts for cropping details, if necessary.
    • promptColors

      private boolean promptColors()
      Prompts for color details, if necessary.
    • promptMemory

      private boolean promptMemory()
      Prompts for confirmation of memory usage, if necessary.