private void ok() { if (Const.isEmpty(wStepname.getText())) { return; } if (wCondition.getLevel() > 0) { wCondition.goUp(); } else { stepname = wStepname.getText(); // return value input.setPrefix(wPrefix.getText()); input.setDirectory(wSortDir.getText()); input.setCacheSize(Const.toInt(wCache.getText(), -1)); input.setMainStep(transMeta.findStep(wMainStep.getText())); dispose(); } }