Package org.locationtech.udig.project

Examples of org.locationtech.udig.project.ILayerListener


     * Adds a listener so that the editblackboards can be notified when the data in the feature
     * store are modified.
     */
    private static synchronized void enableLayerChangeEventListener( final ILayer layer,
            final EditBlackboard editBlackboard ) {
        ILayerListener listener = layerListenerMap.get(layer);
        if (listener == null) {
            listener = new ILayerListener(){
                public void refresh( LayerEvent event ) {
                    if (event.getSource() != layer) {
                        layer.removeListener(this);
                        return;
                    }
View Full Code Here


        updatedMapLayersActions(event);
      }
    };
   
    this.layerListener = new ILayerListener() {
     
      public void refresh(LayerEvent event) {
       
        updateLayerActions(event);
      }
View Full Code Here

        updatedMapLayersActions(event);
      }
    };

    this.layerListener = new ILayerListener() {

      public void refresh(LayerEvent event) {

        if (!wasInitialized()) {
          return;
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.ILayerListener

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.