Package org.geotools.styling.visitor

Examples of org.geotools.styling.visitor.DuplicatingStyleVisitor.visit()


            if (oldStyle == null) {
                oldStyle = Utilities.createDefaultPointStyle();
            }
           
            DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
            dsv.visit(oldStyle);
            style = (Style) dsv.getCopy();
           
            if (isPointStyle(style)) {
                propertiesEditor = new PointPropertiesEditor(layer);
                propertiesEditor.open(mainComposite, style);
View Full Code Here


        oldStyle = (Style) styleBlackboard.get(SLDContent.ID);
        if (oldStyle == null) {
            oldStyle = Utilities.createDefaultPointStyle();
        }
        DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
        dsv.visit(oldStyle);
        style = (Style) dsv.getCopy();

        if (!isPointStyle(style)) {
            stackLayout.topControl = noFeatureLabel;
        } else {
View Full Code Here

            if (style == null) {
                style = Utilities.createDefaultPolygonStyle();
            }
           
            DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
            dsv.visit(style);
            oldStyleCopy = (Style) dsv.getCopy();

            if (isPolygonStyle(style)) {
                propertiesEditor = new PolygonPropertiesEditor(layer);
                propertiesEditor.open(mainComposite, style);
View Full Code Here

        style = (Style) styleBlackboard.get(SLDContent.ID);
        if (style == null) {
            style = Utilities.createDefaultPolygonStyle();
        }
        DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
        dsv.visit(style);
        oldStyleCopy = (Style) dsv.getCopy();

        if (!isPolygonStyle(style)) {
            stackLayout.topControl = noFeatureLabel;
        } else {
View Full Code Here

            if (oldStyle == null) {
                oldStyle = Utilities.createDefaultLineStyle();
            }
           
            DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
            dsv.visit(oldStyle);
            style = (Style) dsv.getCopy();

            if (isLineStyle(style)) {
                linesEditor = new LinePropertiesEditor(layer);
                linesEditor.open(mainComposite, style);
View Full Code Here

        if (oldStyle == null) {
            oldStyle = Utilities.createDefaultLineStyle();
        }
       
        DuplicatingStyleVisitor dsv = new DuplicatingStyleVisitor();
        dsv.visit(oldStyle);
        style = (Style) dsv.getCopy();

        if (!isLineStyle(style)) {
            stackLayout.topControl = noFeatureLabel;
        } else {
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.