Changeset 12109 in josm for trunk/src/org
- Timestamp:
- 2017-05-11T00:24:41+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/event/SelectionEventManager.java
r12098 r12109 117 117 * @param listener listener to add 118 118 * @param fireMode Set this to IN_EDT_CONSOLIDATED if you want the event to be fired in the EDT thread. 119 * Set it to IMMEDIATELY if you want the event to fire in the thread that caused the selection update.119 * Set it to IMMEDIATELY if you want the event to fire in the thread that caused the selection update. 120 120 */ 121 121 public void addSelectionListener(SelectionChangedListener listener, FireMode fireMode) { 122 if (fireMode == FireMode.IN_EDT) 122 if (fireMode == FireMode.IN_EDT) { 123 123 throw new UnsupportedOperationException("IN_EDT mode not supported, you probably want to use IN_EDT_CONSOLIDATED."); 124 124 } else if (fireMode == FireMode.IN_EDT_CONSOLIDATED) {
Note:
See TracChangeset
for help on using the changeset viewer.