/* (non-Javadoc) * @see org.eclipse.ui.IWorkbenchPart#dispose() */ public void dispose() { viewer.removeCheckStateListener(this); super.dispose(); if (getEventHandler() != null) { getEventHandler().dispose(); } }
/** This is a callback that will allow us to clean up when the viewer is closed. */ public void dispose() { DebugUITools.getDebugContextManager() .getContextService(getSite().getWorkbenchWindow()) .removeDebugContextListener(this); super.dispose(); }