Package org.locationtech.udig.tools.edit.support

Examples of org.locationtech.udig.tools.edit.support.EditBlackboard


    /**
     * Returns true if shift is down or MOD1 is down and the mouse is over the currently selected geometry
     */
    private boolean keyboardModifierIndicatesAdd( EditToolHandler handler, MapMouseEvent event ) {
        EditBlackboard editBlackboard = handler.getEditBlackboard(handler.getEditLayer());
        boolean noIntersectingSelection = editBlackboard.getGeoms(event.x, event.y).isEmpty();
        return event.isShiftDown()
                || (noIntersectingSelection && event
                        .isModifierDown(MapMouseEvent.MOD1_DOWN_MASK));
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.tools.edit.support.EditBlackboard

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.