// add the new entry to the array
List<FeatureTypeStyle> fts2 = new ArrayList<FeatureTypeStyle>(fts);
Collections.copy(fts2, fts);
fts2.add(featureTypeStyle);
style.featureTypeStyles().clear();
style.featureTypeStyles().addAll(fts2);
}
}
// put style on blackboard
getStyleBlackboard().put(SLDContent.ID, style);
((StyleBlackboard) getStyleBlackboard()).setSelected(new String[]{SLDContent.ID});