protected void ok() {
    if (Utils.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());

    try {
      getInfo(jobEntry);
      jobEntry.setChanged();
      dispose();
    } catch (KettleException e) {
      new ErrorDialog(
          shell,
          BaseMessages.getString(PKG, "JobTrans.Dialog.ErrorShowingTransformation.Title"),
          BaseMessages.getString(PKG, "JobTrans.Dialog.ErrorShowingTransformation.Message"),
          e);
    }
  }
  protected void cancel() {
    jobEntry.setChanged(backupChanged);

    jobEntry = null;
    dispose();
  }