Changeset 8612 in josm for trunk/src/org
- Timestamp:
- 2015-07-23T02:16:21+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r8573 r8612 299 299 initialViewport = viewportData; 300 300 Main.pref.addPreferenceChangeListener(this); 301 final boolean unregisterTab = Shortcut.findShortcut(KeyEvent.VK_TAB, 0) != null;302 301 303 302 addComponentListener(new ComponentAdapter() { … … 361 360 private Point oldLoc = null; 362 361 363 /* 362 /** 364 363 * Call this method to keep map position on screen during next repaint 365 364 */ -
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r8557 r8612 163 163 * @return The current system of measurement (metric system by default). 164 164 * @since 3490 165 * @deprecated use {@link SystemOfMeasurement#getS oMChangeListener} instead.165 * @deprecated use {@link SystemOfMeasurement#getSystemOfMeasurement} instead. 166 166 */ 167 167 @Deprecated … … 175 175 * @throws IllegalArgumentException if {@code somKey} is not known 176 176 * @since 6056 177 * @deprecated use {@link SystemOfMeasurement#setS oMChangeListener} instead.177 * @deprecated use {@link SystemOfMeasurement#setSystemOfMeasurement} instead. 178 178 */ 179 179 @Deprecated -
trunk/src/org/openstreetmap/josm/gui/dialogs/InspectPrimitiveDialog.java
r8565 r8612 417 417 final String username = entry.getKey(); 418 418 final Integer editCount = entry.getValue(); 419 s.append(String.format("%6d %s \n", editCount, username));419 s.append(String.format("%6d %s%n", editCount, username)); 420 420 } 421 421 return s.toString(); -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r8604 r8612 184 184 } catch (MalformedURLException e) { 185 185 // ignore, assume that this is not a file 186 if (Main.isDebugEnabled()) { 187 Main.debug(e.getMessage()); 188 } 186 189 } 187 190 -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Condition.java
r8515 r8612 13 13 14 14 import org.openstreetmap.josm.Main; 15 import org.openstreetmap.josm.actions.search.SearchCompiler ;15 import org.openstreetmap.josm.actions.search.SearchCompiler.InDataSourceArea; 16 16 import org.openstreetmap.josm.data.osm.Node; 17 17 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 469 469 } 470 470 471 private static final Predicate<OsmPrimitive> IN_DOWNLOADED_AREA = new SearchCompiler.InDataSourceArea(false);471 private static final Predicate<OsmPrimitive> IN_DOWNLOADED_AREA = new InDataSourceArea(false); 472 472 473 473 /** 474 474 * {@code in-downloaded-area} tests whether the object is within source area ("downloaded area"). 475 * @see SearchCompiler.InDataSourceArea475 * @see InDataSourceArea 476 476 */ 477 477 static boolean inDownloadedArea(Environment e) { 478 478 return IN_DOWNLOADED_AREA.evaluate(e.osm); 479 479 } 480 481 480 } 482 481
Note:
See TracChangeset
for help on using the changeset viewer.