if (relationshipType == null) {
CurrentPersonChangeListener cpcl = new PersonDateField(parentComposite, atom.name, viewData);
cpcl.setCurrentPersonChanger(currentPersonChanger);
}
else {
RelationshipChangeListener rcl = new RelationshipDateField(parentComposite, atom.name, viewData);
rcl.setRelationshipChanger(relationshipChanger);
}
}
// Optionen zur Auswahl.
else if (atom.type.equals("option")) {
if (relationshipType == null) {
CurrentPersonChangeListener cpcl =
new PersonOption(parentComposite, atom.name, atom.keys, atom.values, "?", viewData);
cpcl.setCurrentPersonChanger(currentPersonChanger);
}
else {
RelationshipChangeListener rcl =
new RelationshipOption(parentComposite, atom.name, atom.keys, atom.values, "?", viewData);
rcl.setRelationshipChanger(relationshipChanger);
}
}
// Personen-ComboBox.
else if (atom.type.equals("personcombo")) {