void () { Disposer.dispose(myViewer); ActionUtil.clearActions(myMainPanel); myContentPanel.setContent(null); myToolbarPanel.setContent(null); myToolbarStatusPanel.setContent(null); myButtonsPanel.setContent(null); myCloseHandler = null; }