private void updateOperation() {
   wlMoveToFolderField.setEnabled(
       ZipFileMeta.getOperationTypeByDesc(wOperation.getText())
           == ZipFileMeta.OPERATION_TYPE_MOVE);
   wMoveToFolderField.setEnabled(
       ZipFileMeta.getOperationTypeByDesc(wOperation.getText())
           == ZipFileMeta.OPERATION_TYPE_MOVE);
 }
  private void ok() {
    if (Const.isEmpty(wStepname.getText())) {
      MessageBox mb = new MessageBox(shell, SWT.OK | SWT.ICON_ERROR);
      mb.setMessage(BaseMessages.getString(PKG, "System.Error.StepNameMissing.Message"));
      mb.setText(BaseMessages.getString(PKG, "System.Error.StepNameMissing.Title"));
      mb.open();
      return;
    }
    input.setBaseFolderField(wBaseFolderField.getText());
    input.setDynamicSourceFileNameField(wSourceFileNameField.getText());
    input.setDynamicTargetFileNameField(wTargetFileNameField.getText());
    input.setaddTargetFileNametoResult(wAddResult.getSelection());
    input.setOverwriteZipEntry(wOverwriteZipEntry.getSelection());
    input.setCreateParentFolder(wCreateParentFolder.getSelection());
    input.setKeepSouceFolder(wKeepFolders.getSelection());
    input.setOperationType(ZipFileMeta.getOperationTypeByDesc(wOperation.getText()));
    input.setMoveToFolderField(wMoveToFolderField.getText());
    stepname = wStepname.getText(); // return value

    dispose();
  }