void cancelEdit() {

        // store the scroll position
        int scrollTop = RootPanel.getBodyElement().getOwnerDocument().getScrollTop();
        setEditorState(false);
        unlockResource();
        if (m_onClose != null) {
            m_onClose.execute(Boolean.valueOf(m_hasChangedSettings));
        }
        destroyForm(true);
        clearEditor();
        // restore the scroll position
        RootPanel.getBodyElement().getOwnerDocument().setScrollTop(scrollTop);
    }
void cancelEdit ( ) { int scrollTop = RootPanel . getBodyElement ( ) . getOwnerDocument ( ) . getScrollTop ( ) ; setEditorState ( false ) ; unlockResource ( ) ; if ( m_onClose != null ) { m_onClose . execute ( Boolean . valueOf ( m_hasChangedSettings ) ) ; } destroyForm ( true ) ; clearEditor ( ) ; RootPanel . getBodyElement ( ) . getOwnerDocument ( ) . setScrollTop ( scrollTop ) ; }
Cancels the editing process.<p>