コード例 #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();
   }
 }
コード例 #2
0
ファイル: TracepointActionDialog.java プロジェクト: zhaog/cdt
 @Override
 protected void cancelPressed() {
   actionPage.actionDialogCanceled();
   super.cancelPressed();
 }
コード例 #3
0
 @Override
 protected void cancelPressed() {
   selectedRoles.clear();
   selectedRoles.addAll(originalRoleSet);
   super.cancelPressed();
 }
コード例 #4
0
 @Override
 protected void cancelPressed() {
   result = null;
   super.cancelPressed();
 }
コード例 #5
0
 /** Notifies that the cancel button of this dialog has been pressed. */
 protected void cancelPressed() {
   opActions = new OpAction[0];
   super.cancelPressed();
 }