FeatureModelHelper.cloneFeatureTree(feature , featureEditor
, featureModel , featureModelEditor , htNameMap , hsSubFeatureIDs);
Set constraints = new HashSet();
constraints.clear();
constraints.addAll(featureModel.getAllFeatureRelation().values());
for (Iterator<FeatureRelation> itRelation = constraints.iterator() ; itRelation.hasNext() ; ) {
FeatureRelation relation = itRelation.next();
if (!htNameMap.containsKey(relation.getID())) {
Feature start = featureModel.getFeature(htNameMap.get(relation.getStartFeature().getID()));