/*
  * @see Dialog#okPressed()
  */
 @Override
 protected void okPressed() {
   Activator.getDefault()
       .getDialogSettings(getClass().getName())
       .put(TRANSFER_KEY, isFileTransfered);
   super.okPressed();
 }
 /**
  * The constructor.
  *
  * @param shell The parent shell for dialog
  * @param initialFileName The initial file name
  * @param isAgentLoaded
  */
 public FileNameInputDialog(Shell shell, String initialFileName, boolean isAgentLoaded) {
   super(shell);
   this.fileName = initialFileName;
   this.isAgentLoaded = isAgentLoaded;
   isFileTransfered =
       Activator.getDefault().getDialogSettings(getClass().getName()).getBoolean(TRANSFER_KEY);
 }