Package loci.plugins.in
Class ImporterPrompter
java.lang.Object
loci.plugins.in.ImporterPrompter
- All Implemented Interfaces:
EventListener,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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanPrompts for color details, if necessary.private booleanPrompts for cropping details, if necessary.private booleanPrompts for the file pattern, if necessary.private booleanpromptId()private booleanprivate booleanprivate booleanPrompts for confirmation of memory usage, if necessary.private booleanPrompts for the range of planes to import, if necessary.private booleanPrompts for which series to import, if necessary.private booleanPrompts for dimension swapping parameters, if necessary.private booleanvoidstatusUpdated(loci.common.StatusEvent e)
-
Field Details
-
process
-
-
Constructor Details
-
ImporterPrompter
-
-
Method Details
-
statusUpdated
public void statusUpdated(loci.common.StatusEvent e) - Specified by:
statusUpdatedin interfaceloci.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.
-