Package org.locationtech.udig.project.internal

Examples of org.locationtech.udig.project.internal.Layer.refresh()


            }
          }
        }

        private void updateLayer() {
          thislayer.refresh(null);
        }
      };
      layer.getBlackboard().put(MAPGRAPHIC_ADAPTER_KEY, thisAdapter)//for removal later
      ((MapImpl)layer.getMap()).addDeepAdapter(thisAdapter);
     
View Full Code Here


        if(!IFilterViewer.same(stored,  current)){
            Layer layer = getElement(Layer.class);
            if( layer != null ){
                StyleBlackboard blackboard = layer.getStyleBlackboard();
                blackboard.put(ProjectBlackboardConstants.LAYER__DATA_QUERY, current );
                layer.refresh(null); // force redraw?
            }
        }
    }
   
    /* Grabs the layer and fills in the current page. */
 
View Full Code Here

        Layer layer = (Layer) target;
        // parse the sld object

        try {
            SLDContent.apply(layer, style, monitor);
            layer.refresh(null);

        } catch (IOException e) {
            String msg = Messages.SLDDropAction_sldParseError;
            ProjectUIPlugin.log(msg, e);
        }
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.