Package org.locationtech.udig.tools.edit

Examples of org.locationtech.udig.tools.edit.EventBehaviour


        assertEquals(0, editBlackboard.getCoords(10,10).size());
        assertEquals(0, editBlackboard.getCoords(20,10).size());
       
        //test undo first button must release so the Position tracker will execute:
        event=new MapMouseEvent( DISPLAY, 10,10,NONE,BUTTON1, BUTTON1 );
        EventBehaviour tracker = findPositionTracker();
        handler.getContext().getMap().sendCommandSync(tracker.getCommand(handler, event, EventType.RELEASED));

        assertEquals(1, editBlackboard.getCoords(10,15).size());
        assertEquals(1, editBlackboard.getCoords(20,15).size());
        assertEquals(0, editBlackboard.getCoords(10,10).size());
        assertEquals(0, editBlackboard.getCoords(20,10).size());
View Full Code Here

TOP

Related Classes of org.locationtech.udig.tools.edit.EventBehaviour

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.