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