Example #1
0
 protected void buttonPressed(int buttonId) {
   if (buttonId == CALCBTN_ID) {
     this.calculateAHP();
   } else if (buttonId == IDialogConstants.OK_ID) {
     this.setWeightTree();
     this.setWeightFFT();
     super.okPressed();
   } else if (buttonId == IDialogConstants.CANCEL_ID) {
     super.cancelPressed();
   }
 }
Example #2
0
 @Override
 protected void cancelPressed() {
   actionPage.actionDialogCanceled();
   super.cancelPressed();
 }
 @Override
 protected void cancelPressed() {
   selectedRoles.clear();
   selectedRoles.addAll(originalRoleSet);
   super.cancelPressed();
 }
 @Override
 protected void cancelPressed() {
   result = null;
   super.cancelPressed();
 }
 /** Notifies that the cancel button of this dialog has been pressed. */
 protected void cancelPressed() {
   opActions = new OpAction[0];
   super.cancelPressed();
 }