Changeset 30428 in osm
- Timestamp:
- 2014-04-30T01:36:58+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/photoadjust
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photoadjust/build.xml
r30416 r30428 40 40 <link href="../../../core/javadoc"/> 41 41 <link href="http://josm.openstreetmap.de/doc/"/> 42 <link href="http://docs.oracle.com/javase/ 6/docs/api"/>42 <link href="http://docs.oracle.com/javase/7/docs/api"/> 43 43 </javadoc> 44 44 </target> -
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java
r30130 r30428 206 206 return ! Main.map.mapView.getLayersOfType(GeoImageLayer.class).isEmpty(); 207 207 } 208 209 /**210 * Determine if there are photos that can be adjusted. I.e. there211 * is at least one GeoImageLayer that is visible (and contains212 * photos).213 *214 * @return {@code true} if there are photos that can be ajusted215 */216 private boolean hasPhotosToAdjust() {217 if (Main.map == null || Main.map.mapView == null) return false;218 for (GeoImageLayer layer: new ArrayList<GeoImageLayer>(Main.map.mapView.getLayersOfType(GeoImageLayer.class))) {219 if (layer.isVisible()) {220 return true;221 }222 }223 return false;224 }225 208 226 209 /** -
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/UntaggedGeoImageLayerAction.java
r30130 r30428 27 27 /** Define menu entry (text and image). */ 28 28 public UntaggedGeoImageLayerAction() { 29 super(tr("New layer for untagged images"), 30 ImageProvider.get("untaglayer")); 31 }; 29 super(tr("New layer for untagged images"), ImageProvider.get("untaglayer")); 30 } 32 31 33 32 /** Get the layer this menu entry belongs to. */
Note:
See TracChangeset
for help on using the changeset viewer.