Exemplo n.º 1
0
 @Override
 protected void handleDispose() {
   if (formatJob != null) {
     formatJob.cancel();
     formatJob = null;
   }
   Activator.getDefault().getPreferenceStore().removePropertyChangeListener(listener);
   if (refsChangedListener != null) refsChangedListener.remove();
   refsChangedListener = null;
   super.handleDispose();
 }
Exemplo n.º 2
0
  /*
   * @see org.eclipse.jface.text.TextViewer#handleDispose()
   */
  protected void handleDispose() {
    unconfigure();

    disposeVisualAnnotationModel();

    fVerticalRuler = null;

    fOverviewRuler = null;

    // http://dev.eclipse.org/bugs/show_bug.cgi?id=15300
    fComposite = null;

    super.handleDispose();
  }