Last change
on this file since 4701 was 1169, checked in by stoecker, 15 years ago |
removed usage of tab stops
|
-
Property svn:eol-style
set to
native
|
File size:
886 bytes
|
Rev | Line | |
---|
[298] | 1 | // License: GPL. Copyright 2007 by Immanuel Scholz and others
|
---|
[8] | 2 | package org.openstreetmap.josm.data;
|
---|
| 3 |
|
---|
| 4 | import java.util.Collection;
|
---|
| 5 |
|
---|
| 6 | import org.openstreetmap.josm.data.osm.OsmPrimitive;
|
---|
| 7 |
|
---|
| 8 | /**
|
---|
| 9 | * This is a listener for selection changes through the dataset's data. Whenever
|
---|
[655] | 10 | * a selection of any data member changes, the dataSet gets informed about this
|
---|
| 11 | * and fires a selectionChanged event.
|
---|
[1169] | 12 | *
|
---|
[655] | 13 | * Note that these events are not fired immediately but are inserted in the
|
---|
| 14 | * Swing event queue and packed together. So only one selection changed event
|
---|
| 15 | * is issued within a one message dispatch routine.
|
---|
[1169] | 16 | *
|
---|
[8] | 17 | * @author imi
|
---|
| 18 | */
|
---|
| 19 | public interface SelectionChangedListener {
|
---|
| 20 |
|
---|
[1169] | 21 | /**
|
---|
| 22 | * Informs the listener that the selection in the dataset has changed.
|
---|
| 23 | * @param newSelection The new selection.
|
---|
| 24 | */
|
---|
| 25 | public void selectionChanged(Collection<? extends OsmPrimitive> newSelection);
|
---|
[8] | 26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.