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