protected void newCertBtnListener(){
  NewCertificateDialogData data=new NewCertificateDialogData();
  NewCertificateDialog dialog=new NewCertificateDialog(getShell(),data,"");
  int returnCode=dialog.open();
  if (returnCode == Window.OK) {
    String certPath=data.getCerFilePath();
    certTxt.setText(certPath != null ? certPath.replace('\\','/') : certPath);
    certInfoTxt.setText(getCertInfo(certTxt.getText()));
  }
}

protected void newCertBtnListener ( ) { NewCertificateDialogData data = new NewCertificateDialogData ( ) ; NewCertificateDialog dialog = new NewCertificateDialog ( getShell ( ) , data , "" ) ; int returnCode = dialog . open ( ) ; if ( returnCode == Window . OK ) { String certPath = data . getCerFilePath ( ) ; certTxt . setText ( certPath != null ? certPath . replace ( '\\' , '/' ) : certPath ) ; certInfoTxt . setText ( getCertInfo ( certTxt . getText ( ) ) ) ; } }
listener for new button .
