org.openstreetmap.josm.data
Interface SelectionChangedListener

All Known Implementing Classes:
AddTagsDialog, ChangesetInSelectionListModel, ConflictDialog, DrawAction, HistoryDialog.HistoryItemTableModel, ImproveWayAccuracyAction, JosmAction.SelectionChangeAdapter, MemberTableModel, MultipolygonCache, OsmDataLayer, PropertiesDialog, RelationListDialog.AddToRelation, SelectionEventManager, SelectionListDialog.SelectionListModel, SelectionTableModel, TaggingPresetSearchDialog, UserListDialog, ValidatorDialog

public interface SelectionChangedListener

This is a listener for selection changes through the dataset's data. Whenever a selection of any data member changes, the dataSet gets informed about this and fires a selectionChanged event. Note that these events are not fired immediately but are inserted in the Swing event queue and packed together. So only one selection changed event is issued within a one message dispatch routine.


Method Summary
 void selectionChanged(java.util.Collection<? extends OsmPrimitive> newSelection)
          Informs the listener that the selection in the dataset has changed.
 

Method Detail

selectionChanged

void selectionChanged(java.util.Collection<? extends OsmPrimitive> newSelection)
Informs the listener that the selection in the dataset has changed.

Parameters:
newSelection - The new selection.


JOSM