Package org.locationtech.udig.project.internal

Examples of org.locationtech.udig.project.internal.SetDefaultStyleProcessor.run()


            IGeoResource geoResource = layer.getGeoResource();
            if( geoResource == null ){
                throw new NullPointerException("Layer requires GeoResource to determine default style");
            }
            SetDefaultStyleProcessor defaultStyleProcessor = createDefaultStyles(geoResource, layer);
            defaultStyleProcessor.run();
        }
    }

    /**
     * Creates a default style from each styleContent extension and puts them on the style blackboard of the layer.
View Full Code Here


    }
    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();
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.