Tabnine Logo
TextViewer.handleDispose
Code IndexAdd Tabnine 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)

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

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • putExtra (Intent)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now