Package org.locationtech.udig.catalog

Examples of org.locationtech.udig.catalog.IResolveChangeListener


    /**
     * Registers a listener with the local catalog for reset events so that there is a mechanism to
     * reset the label cache for an IResolve.
     */
    private void registerChangeListener() {
        CatalogPlugin.addListener(new IResolveChangeListener(){

            public void changed( IResolveChangeEvent event ) {
                if( !PlatformUI.isWorkbenchRunning() || PlatformUI.getWorkbench().isClosing() ){
                    return;
                }
View Full Code Here


        }
    }

    @Test(timeout = BLOCK)
    public void testAddRemoveListener() {
        IResolveChangeListener listner = new IResolveChangeListener(){

            public void changed( IResolveChangeEvent event ) {
                // no op
            }
View Full Code Here

            boolean value = false;
        }

        final BWrap action = new BWrap();

        IResolveChangeListener listner = new IResolveChangeListener(){

            public void changed( IResolveChangeEvent event ) {
                action.value = true;
            }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.catalog.IResolveChangeListener

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.