Class ImageConversionDialog

Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.ImageConversionDialog

public class ImageConversionDialog extends org.eclipse.swt.widgets.Dialog
ImageConversionDialog shows a message dialog requesting user input for converting files.
Version:
2.4 1/28/2016
Author:
Jordan T. Henderson
  • 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 type
      typeTo - destination file type
      dir - current file directory
      openFiles - The list of currently open files
  • Method Details

    • open

      public void open()
      Open the ImageConversionDialog for converting images.
    • isFileConverted

      public boolean 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