code: public void clearSelectedFeatures() {
  		List<Feature> clone = new LinkedList<Feature>(selectedFeatures.values());
  		for (Feature feature : clone) {
  			selectedFeatures.remove(feature.getId());
  			handlerManager.fireEvent(new FeatureDeselectedEvent(feature));
  		}
  	}
docs: Clear the list of selected features.