public void bindView(FlowRule rule, String language, RulesetResponse currentResponse) { super.bindView(rule, language, currentResponse); Type type = TypeValidation.getTypeValidationForRule(rule).getType(); openField.setInputType(FlowRunnerManager.getInputTypeByType(type)); if (currentResponse != null && isCurrentRule(currentResponse)) { openField.setText(currentResponse.getResponse()); lastString = currentResponse.getResponse(); } else { lastString = null; openField.setText(null); } }