Esempio n. 1
0
 /*
  * @see Dialog#okPressed()
  */
 @Override
 protected void okPressed() {
   Activator.getDefault()
       .getDialogSettings(getClass().getName())
       .put(TRANSFER_KEY, isFileTransfered);
   super.okPressed();
 }
Esempio n. 2
0
 /**
  * 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);
 }