Ejemplo n.º 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();
   }
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 5
0
 /** Notifies that the cancel button of this dialog has been pressed. */
 protected void cancelPressed() {
   opActions = new OpAction[0];
   super.cancelPressed();
 }