Package org.locationtech.udig.aoi

Examples of org.locationtech.udig.aoi.IAOIService.removeListener()


        if( table!=null)
            table.dispose();
       
        if( aoiServiceListener!=null){
            IAOIService aOIService = PlatformGIS.getAOIService();
            aOIService.removeListener(aoiServiceListener);
        }
       
        super.dispose();
        if( activePartListener!=null )
            page.removePartListener(activePartListener);
View Full Code Here


    protected void listenService( boolean listen ) {
        IAOIService aOIService = PlatformGIS.getAOIService();
        if (listen) {
            aOIService.addListener(serviceWatcher);
        } else {
            aOIService.removeListener(serviceWatcher);
        }
    }

    public void draw( MapGraphicContext context ) {
        context.getLayer().setStatus(ILayer.WORKING);
View Full Code Here

    public void removeListener( IOpFilterListener listener ) {
        super.removeListener(listener);
        if( listeners.isEmpty() ){
            // stop watching the AOI service
            IAOIService aOIService = PlatformGIS.getAOIService();
            aOIService.removeListener( watcher );
        }
    }
}
View Full Code Here

    protected void listenService( boolean listen ) {
        IAOIService aOIService = PlatformGIS.getAOIService();
        if (listen) {
            aOIService.addListener(serviceWatcher);
        } else {
            aOIService.removeListener(serviceWatcher);
        }
    }

    @Override
    public void init( IViewSite site, IMemento memento ) throws PartInitException {
View Full Code Here

            comboViewer.removeSelectionChangedListener(comboListener);
        }
        if (serviceWatcher != null) {
            IAOIService aOIService = PlatformGIS.getAOIService();
            if (aOIService != null) {
                aOIService.removeListener(serviceWatcher);
            }
            serviceWatcher = null;
        }
    }
}
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.