Package org.locationtech.udig.style.internal

Examples of org.locationtech.udig.style.internal.StyleLayer


            return;
        }
        if (layer == null) {
            selectedLayer = null;
        } else {
            selectedLayer = new StyleLayer(layer);
        }
        // TODO: determine if we need to deal with layer listeners
    }
View Full Code Here


        pageControls.put(COMBO_ATTRIBUTES, attributeCombo);
        attributeCombo.setLayout(new GridLayout());
        gridData = createDefaultGridData();
        attributeCombo.setLayoutData(gridData);
        //populate the comboBox
        StyleLayer selectedLayer = getSelectedLayer();
        if (selectedLayer != null) {
            loadWithAttributeTypes(attributeCombo, selectedLayer);
        }
        attributeCombo.setVisibleItemCount(16);
        attributeCombo.addListener(SWT.Modify, new AttributeComboListener());
View Full Code Here

            return true;
        }
        return false;
    }
    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();
            }
            this.styleEditorDialog.selectedLayer.apply();
View Full Code Here

TOP

Related Classes of org.locationtech.udig.style.internal.StyleLayer

Copyright © 2018 www.massapicom. 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.