public class MemoryDialog extends ImporterDialog
Modifier and Type | Field and Description |
---|---|
private long |
availMem
Remaining memory for the JVM.
|
private static long |
MINIMUM_MEMORY_PADDING
Minimum amount of wiggle room for available memory, in bytes.
|
private long |
needMem
Required memory for the dataset, in bytes.
|
options, process
IS_GLITCHED, optionsList, STATUS_CANCELED, STATUS_FINISHED, STATUS_OK
Constructor and Description |
---|
MemoryDialog(ImportProcess process)
Creates a memory confirmation dialog for the Bio-Formats Importer.
|
Modifier and Type | Method and Description |
---|---|
protected ij.gui.GenericDialog |
constructDialog() |
private long |
getAvailableMemory() |
protected boolean |
harvestResults(ij.gui.GenericDialog gd) |
protected boolean |
needPrompt() |
displayDialog, showDialog
addCheckbox, addChoice, sleep
private static final long MINIMUM_MEMORY_PADDING
private long needMem
private long availMem
public MemoryDialog(ImportProcess process)
protected boolean needPrompt()
needPrompt
in class ImporterDialog
protected ij.gui.GenericDialog constructDialog()
constructDialog
in class ImporterDialog
protected boolean harvestResults(ij.gui.GenericDialog gd)
harvestResults
in class ImporterDialog
private long getAvailableMemory()
Copyright © 2022 Open Microscopy Environment