Codota Logo
TextViewer.handleDispose
Code IndexAdd Codota to your IDE (free)

How to use
handleDispose
method
in
org.eclipse.jface.text.TextViewer

Best Java code snippets using org.eclipse.jface.text.TextViewer.handleDispose (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

  @Override
  public void widgetDisposed(DisposeEvent e) {
    fDisposedControl= getControl();
    handleDispose();
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

@Override
protected void handleDispose() {
  unconfigure();
  disposeVisualAnnotationModel();
  fVerticalRuler= null;
  fOverviewRuler= null;
  // http://dev.eclipse.org/bugs/show_bug.cgi?id=15300
  fComposite= null;
  super.handleDispose();
}
origin: org.eclipse.platform/org.eclipse.jface.text

@Override
protected void handleDispose() {
  unconfigure();
  disposeVisualAnnotationModel();
  fVerticalRuler= null;
  fOverviewRuler= null;
  // http://dev.eclipse.org/bugs/show_bug.cgi?id=15300
  fComposite= null;
  super.handleDispose();
}
origin: org.eclipse.egit/ui

@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();
}
origin: org.eclipse.platform/org.eclipse.jface.text

e -> {
  fDisposedControl= getControl();
  handleDispose();
org.eclipse.jface.textTextViewerhandleDispose

Javadoc

Frees all resources allocated by this viewer. Internally called when the viewer's control has been disposed.

Popular methods of TextViewer

  • getTextWidget
  • getControl
  • doOperation
  • setDocument
  • modelRange2WidgetRange
    Same as #modelRange2WidgetRange(IRegion) just for a org.eclipse.jface.text.Position.
  • getRewriteTarget
  • getSelection
  • modelLine2WidgetLine
    Implements the contract of ITextViewerExtension5#modelLine2WidgetLine(int).
  • getDocument
  • setSelectedRange
  • setSelection
  • <init>
    Create a new text viewer with the given SWT style bits. The viewer is ready to use but does not have
  • setSelection,
  • <init>,
  • canDoOperation,
  • getVisibleRegion,
  • invalidateTextPresentation,
  • setTopIndex,
  • _getVisibleRegionOffset,
  • activatePlugins,
  • addPresentation

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JPanel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now