private void ok() {
   if (Const.isEmpty(wName.getText())) {
     MessageBox mb = new MessageBox(shell, SWT.OK | SWT.ICON_ERROR);
     mb.setText(BaseMessages.getString(PKG, "System.StepJobEntryNameMissing.Title"));
     mb.setMessage(BaseMessages.getString(PKG, "System.JobEntryNameMissing.Msg"));
     mb.open();
     return;
   }
   jobEntry.setName(wName.getText());
   jobEntry.setFilename(wFilename.getText());
   jobEntry.setMaximumTimeout(wMaximumTimeout.getText());
   jobEntry.setCheckCycleTime(wCheckCycleTime.getText());
   jobEntry.setSuccessOnTimeout(wSuccesOnTimeout.getSelection());
   jobEntry.setFileSizeCheck(wFileSizeCheck.getSelection());
   jobEntry.setAddFilenameToResult(wAddFilenameResult.getSelection());
   dispose();
 }