Esempio n. 1
0
 /* (non-Javadoc)
  * @see org.eclipse.ui.IWorkbenchPart#dispose()
  */
 public void dispose() {
   viewer.removeCheckStateListener(this);
   super.dispose();
   if (getEventHandler() != null) {
     getEventHandler().dispose();
   }
 }
Esempio n. 2
0
 /** 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();
 }