Examples of ILayerListener


Examples of org.eclipse.nebula.widgets.nattable.layer.ILayerListener

        // trigger
        // external actions as required.
        //
        // This adds a custom ILayerListener that will listen and handle
        // selection events on NatTable level
        natTable.addLayerListener(new ILayerListener() {

            // Default selection behavior selects cells by default.
            @Override
            public void handleLayerEvent(ILayerEvent event) {
                if (event instanceof CellSelectionEvent) {
View Full Code Here

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

Examples of org.locationtech.udig.project.ILayerListener

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

Examples of org.locationtech.udig.project.ILayerListener

        updatedMapLayersActions(event);
      }
    };

    this.layerListener = new ILayerListener() {

      public void refresh(LayerEvent event) {

        if (!wasInitialized()) {
          return;
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.