*/
public void cancelHideSelection( ILayer selectedLayer ){
if( selectedLayer==null )
return;
IBlackboard properties = selectedLayer.getBlackboard();
if( !PreferenceUtil.instance().hideSelectedLayers() ){
properties.put(ProjectBlackboardConstants.MAP__RENDERING_FILTER, null);
((ViewportPane) selectedLayer.getMap().getRenderManager().getMapDisplay()).repaint();
return;
}
Filter filter = (Filter) properties.get(ProjectBlackboardConstants.MAP__RENDERING_FILTER);
if( filter==null )
return;
properties.put(ProjectBlackboardConstants.MAP__RENDERING_FILTER, null);
Envelope env=(Envelope) properties.get(EDIT_FEATURE_BOUNDS);
properties.put(EDIT_FEATURE_BOUNDS, null);
selectedLayer.refresh(env);
}