@Override protected void finish() { if (canceled) return; if (lastException != null) { ExceptionDialogUtil.explainException(lastException); return; } GuiHelper.runInEDTAndWait( () -> { layer.mergeFrom(ds); if (zoom && Main.map != null) AutoScaleAction.zoomTo(ds.allPrimitives()); layer.onPostDownloadFromServer(); }); }