fireStatusUpdate(LayerStatusEvent.START_WORKING);
layer.projectionChanged(ev);
}
protected Layer configureAppropriateLayer(float scale) {
Layer currentLayer = getAppropriateLayer();
boolean changed = setTargetIndex(scale);
// get the appropriate layer and invoke projectionChanged
Layer layer = getAppropriateLayer();
if (changed) {
currentLayer.removeNotify();
setPaletteTab(targetIndex);
remove(currentLayer);
// This will handle the repaint() requests from the
// layer...
add(layer);
layer.addNotify();
checkMouseMode();
}
return layer;
}