question: public void totalReset ( ) { if ( wantsEvents ( ) ) { setWantsEvents ( false ) ; if ( unpickBtn != null ) { unpickBtn . doClick ( ) ; } if ( mouseDelegator != null ) { MapMouseMode [ ] modes = mouseDelegator . getMouseModes ( ) ; if ( modes != null && modes . length > 0 ) mouseDelegator . setActiveMouseMode ( modes [ 0 ] ) ; } } }
target:  Does everything to make the DrawingEditorTool go to sleep, and disable all buttons.