Changeset 9416 in josm


Ignore:
Timestamp:
2016-01-12T00:29:21+01:00 (9 years ago)
Author:
Don-vip
Message:

fix #12322 - GeoImageLayer: Add method isCenterView() to ImageViewerDialog (patch by holgermappt)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java

    r9270 r9416  
    402402    }
    403403
     404    /**
     405     * Returns whether the center view is currently active.
     406     * @return {@code true} if the center view is active, {@code false} otherwise
     407     * @since 9416
     408     */
     409    public static boolean isCenterView() {
     410        return getInstance().centerView;
     411    }
     412
    404413    @Override
    405414    public void activeLayerChange(Layer oldLayer, Layer newLayer) {
Note: See TracChangeset for help on using the changeset viewer.