Changeset 2012 in josm for trunk/src/org
- Timestamp:
- 2009-08-30T17:31:52+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapFrame.java
r2011 r2012 258 258 * 259 259 */ 260 public <T> T oggleDialoggetToggleDialog(Class<T> type) {260 public <T> T getToggleDialog(Class<T> type) { 261 261 for (ToggleDialog td : allDialogs) { 262 262 if (type.isInstance(td)) 263 return t d;263 return type.cast(td); 264 264 } 265 265 return null;
Note:
See TracChangeset
for help on using the changeset viewer.