}
private Comboitem findComboWithType(PositionConstraintType type) {
for (Object component : startConstraintTypes.getChildren()) {
if (component instanceof Comboitem) {
Comboitem item = (Comboitem) component;
if (((PositionConstraintType) item.getValue()) == type) {
return item;
}
}
}
return null;