Last change
on this file since 94 was 94, checked in by imi, 18 years ago |
- changed Add Way mode, so that ways can be modified
- added Command Stack dialog (list the undo buffer)
- fixed Exception in download gps data
|
File size:
809 bytes
|
Line | |
---|
1 | package org.openstreetmap.josm.data;
|
---|
2 |
|
---|
3 | import java.util.Collection;
|
---|
4 |
|
---|
5 | import org.openstreetmap.josm.data.osm.OsmPrimitive;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * This is a listener for selection changes through the dataset's data. Whenever
|
---|
9 | * a selection of any data meber changes, the dataSet gets informed about this
|
---|
10 | * and fire a selectionChanged event.
|
---|
11 | *
|
---|
12 | * Note, that these events get not fired immediately but are inserted in the
|
---|
13 | * Swing-event queue and packed together. So only one selection changed event
|
---|
14 | * are issued within one message dispatch routine.
|
---|
15 | *
|
---|
16 | * @author imi
|
---|
17 | */
|
---|
18 | public interface SelectionChangedListener {
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * Informs the listener that the selection in the dataset has changed.
|
---|
22 | * @param newSelection The new selection.
|
---|
23 | */
|
---|
24 | public void selectionChanged(Collection<? extends OsmPrimitive> newSelection);
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.