Codota Logo
OverviewRulerHoverManager.setCustomInformationControlCreator
Code IndexAdd Codota to your IDE (free)

How to use
setCustomInformationControlCreator
method
in
org.eclipse.jface.text.source.OverviewRulerHoverManager

Best Java code snippets using org.eclipse.jface.text.source.OverviewRulerHoverManager.setCustomInformationControlCreator (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.eclipse.platform/org.eclipse.jface.text

@Override
protected void computeInformation() {
  Point location= getHoverEventLocation();
  int line= getVerticalRulerInfo().toDocumentLineNumber(location.y);
  IAnnotationHover hover= getAnnotationHover();
  IInformationControlCreator controlCreator= null;
  if (hover instanceof IAnnotationHoverExtension)
    controlCreator= ((IAnnotationHoverExtension)hover).getHoverControlCreator();
  setCustomInformationControlCreator(controlCreator);
  setInformation(hover.getHoverInfo(getSourceViewer(), line), computeArea(location.y));
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

@Override
protected void computeInformation() {
  Point location= getHoverEventLocation();
  int line= getVerticalRulerInfo().toDocumentLineNumber(location.y);
  IAnnotationHover hover= getAnnotationHover();
  IInformationControlCreator controlCreator= null;
  if (hover instanceof IAnnotationHoverExtension)
    controlCreator= ((IAnnotationHoverExtension)hover).getHoverControlCreator();
  setCustomInformationControlCreator(controlCreator);
  setInformation(hover.getHoverInfo(getSourceViewer(), line), computeArea(location.y));
}
org.eclipse.jface.text.sourceOverviewRulerHoverManagersetCustomInformationControlCreator

Popular methods of OverviewRulerHoverManager

  • <init>
    Creates an overview hover manager with the given parameters. In addition, the hovers anchor is RIGHT
  • computeArea
    Determines graphical area covered for which the hover is valid.
  • getAnnotationHover
  • getHoverEventLocation
  • getSourceViewer
  • getVerticalRulerInfo
  • setAnchor
  • setInformation
  • setMargins

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • notifyDataSetChanged (ArrayAdapter)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JOptionPane (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