public void onUp ( HumanInputEvent < ? > event ) { if ( ! isRightMouseButton ( event ) ) { ToggleSelectionAction action = new ToggleSelectionAction ( mapWidget , pixelTolerance ) ; action . setPriorityToSelectedLayer ( priorityToSelectedLayer ) ; action . toggleSingle ( getLocation ( event , RenderSpace . SCREEN ) ) ; } }
Toggle selection at the event location .