this.valueComponent = jLabel;
} else if (props.get("allowed").isDefined()) {
JComboBox comboBox = makeJComboBox(props.get("allowed").asList());
this.valueComponent = comboBox;
} else if (type == ModelType.LIST) {
ListEditor listEditor = new ListEditor(OperationDialog.this);
this.valueComponent = listEditor;
} else {
JTextField textField = new JTextField(30);
this.valueComponent = textField;
}