}
private void doDefaults() {
StyleLayer layer = styleEditorDialog.selectedLayer;
layer.getStyleBlackboard().clear();
SetDefaultStyleProcessor p = new SetDefaultStyleProcessor(layer.getGeoResource(), layer);
p.run();
Style style = (Style) layer.getStyleBlackboard().get(SLDContent.ID);
StyledLayerDescriptor oldSLD=null;
if(style!=null){
oldSLD = this.styleEditorDialog.getSLD();
}