void () { final Configuration item = myComboBox.getItem(); if (item != null) { myConstraint.setReferenceConstraint(item.getRefName()); myConstraint.setReferenceConstraintName(item.getName()); myConstraint.setInvertReference(inverseTemplate); } }