Beispiel #1
0
 @Override
 public boolean isPageValid() {
   // an account was selected, make sure that the destination is valid
   if (destinationAccount == null) {
     destinationAccount = accountCombo.getSelectedAccount();
   }
   return true;
 }
Beispiel #2
0
  private void accountAction() {
    destinationAccount = accountCombo.getSelectedAccount();

    /* Save the id of the selected account */
    if (destinationAccount != null) {
      pref.put(LAST_ACCOUNT, destinationAccount.getUuid());
      pref.putInt(DATE_FORMAT, dateFormatCombo.getSelectedIndex());
    }
  }
Beispiel #3
0
 public Account getAccount() {
   if (destinationAccount == null) {
     destinationAccount = accountCombo.getSelectedAccount();
   }
   return destinationAccount;
 }