コード例 #1
0
 /*
  * (non-Javadoc) Method declared on Dialog.
  */
 protected void buttonPressed(int buttonId) {
   if (buttonId == IDialogConstants.OK_ID) {
     if (this.absolutePathButton.getSelection()) {
       this.selectStr = this.pathList.get(0).toString();
     } else if (this.anyLocationButton.getSelection()) {
       this.selectStr = this.pathList.get(1).toString();
     } else this.selectStr = xmlPathField.getText();
   }
   super.buttonPressed(buttonId);
 }