Codota Logo
LineNumberRulerColumn$MouseHandler.stopAutoScroll
Code IndexAdd Codota to your IDE (free)

How to use
stopAutoScroll
method
in
org.eclipse.jface.text.source.LineNumberRulerColumn$MouseHandler

Best Java code snippets using org.eclipse.jface.text.source.LineNumberRulerColumn$MouseHandler.stopAutoScroll (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.eclipse.platform/org.eclipse.jface.text

@Override
public void mouseDoubleClick(MouseEvent event) {
  fParentRuler.setLocationOfLastMouseButtonActivity(event.x, event.y);
  stopSelecting();
  stopAutoScroll();
}
origin: org.eclipse.platform/org.eclipse.jface.text

@Override
public void mouseUp(MouseEvent event) {
  // see bug 45700
  if (event.button == 1) {
    stopSelecting();
    stopAutoScroll();
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

@Override
public void mouseUp(MouseEvent event) {
  // see bug 45700
  if (event.button == 1) {
    stopSelecting();
    stopAutoScroll();
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

@Override
public void mouseDoubleClick(MouseEvent event) {
  fParentRuler.setLocationOfLastMouseButtonActivity(event.x, event.y);
  stopSelecting();
  stopAutoScroll();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

/**
 * Called on drag selection.
 *
 * @param event the mouse event caught by the mouse move listener
 * @return <code>true</code> if scrolling happened, <code>false</code> otherwise
 */
private boolean autoScroll(MouseEvent event) {
  Rectangle area= fCanvas.getClientArea();
  if (event.y > area.height) {
    autoScroll(SWT.DOWN);
    return true;
  }
  if (event.y < 0) {
    autoScroll(SWT.UP);
    return true;
  }
  stopAutoScroll();
  return false;
}
origin: org.eclipse.platform/org.eclipse.jface.text

/**
 * Called on drag selection.
 *
 * @param event the mouse event caught by the mouse move listener
 * @return <code>true</code> if scrolling happened, <code>false</code> otherwise
 */
private boolean autoScroll(MouseEvent event) {
  Rectangle area= fCanvas.getClientArea();
  if (event.y > area.height) {
    autoScroll(SWT.DOWN);
    return true;
  }
  if (event.y < 0) {
    autoScroll(SWT.UP);
    return true;
  }
  stopAutoScroll();
  return false;
}
org.eclipse.jface.text.sourceLineNumberRulerColumn$MouseHandlerstopAutoScroll

Javadoc

Called when auto scrolling stopped. Clears the auto scroll direction.

Popular methods of LineNumberRulerColumn$MouseHandler

  • <init>
  • autoScroll
    Called on drag selection.
  • expandSelection
    Expands the line selection from the remembered start line to the given line.
  • startSelecting
    Called when line drag selection started. Adds mouse move and track listeners to this column's contro
  • stopSelecting
    Called when line drag selection stopped. Removes all previously installed listeners from this column

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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