Index: trunk/src/org/openstreetmap/josm/gui/MapView.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MapView.java	(revision 10280)
+++ trunk/src/org/openstreetmap/josm/gui/MapView.java	(revision 10281)
@@ -732,4 +732,21 @@
     }
 
+    /**
+     * Creates a list of the visible layers in Z-Order, the layer with the lowest Z-Order
+     * first, layer with the highest Z-Order last.
+     * <p>
+     * The active data layer is pulled above all adjacent data layers.
+     * <p>
+     * To be removed: end of 2016.
+     *
+     * @return a list of the visible in Z-Order, the layer with the lowest Z-Order
+     * first, layer with the highest Z-Order last.
+     * @deprecated Access the layer list using {@link Main#getLayerManager()} instead.
+     */
+    @Deprecated
+    public List<Layer> getVisibleLayersInZOrder() {
+        return layerManager.getVisibleLayersInZOrder();
+    }
+
     private void paintLayer(Layer layer, Graphics2D g, Bounds box) {
         if (layer.getOpacity() < 1) {
