Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.ImageConversionDialog
ImageConversionDialog shows a message dialog requesting user input for
converting files.
- Version:
- 2.4 1/28/2016
- Author:
- Jordan T. Henderson
-
Constructor Summary
ConstructorDescriptionImageConversionDialog
(org.eclipse.swt.widgets.Shell parent, String typeFrom, String typeTo, String dir, List<FileFormat> openFiles) Constructs a FileConversionDialog -
Method Summary
Modifier and TypeMethodDescriptionget the file of an image file that has been converted.boolean
if an image file has been converted.void
open()
Open the ImageConversionDialog for converting images.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
ImageConversionDialog
public ImageConversionDialog(org.eclipse.swt.widgets.Shell parent, String typeFrom, String typeTo, String dir, List<FileFormat> openFiles) Constructs a FileConversionDialog- Parameters:
parent
- The parent shell of the dialog.typeFrom
- source file typetypeTo
- destination file typedir
- current file directoryopenFiles
- The list of currently open files
-
-
Method Details
-
open
Open the ImageConversionDialog for converting images. -
isFileConverted
if an image file has been converted.- Returns:
- the state of conversion
-
getConvertedFile
get the file of an image file that has been converted.- Returns:
- the name of the converted file
-