Tabnine Logo
Composite.addMouseMoveListener
Code IndexAdd Tabnine to your IDE (free)

How to use
addMouseMoveListener
method
in
org.eclipse.swt.widgets.Composite

Best Java code snippets using org.eclipse.swt.widgets.Composite.addMouseMoveListener (Showing top 13 results out of 315)

origin: pentaho/pentaho-kettle

widget.addMouseMoveListener( new MouseMoveListener() {
 @Override
 public void mouseMove( MouseEvent e ) {
origin: de.dentrassi.eclipse.neoscada.chart/org.eclipse.scada.chart.swt

@Override
public void addMouseMoveListener ( final ChartMouseMoveListener listener )
{
  removeMouseMoveListener ( listener );
  final MouseMoveListener proxyListener = new MouseMoveListener () {
    @Override
    public void mouseMove ( final MouseEvent e )
    {
      listener.onMouseMove ( convertState ( e ) );
    }
  };
  final MouseMoveListener oldListener = this.mouseMoveListenerMap.put ( listener, proxyListener );
  if ( oldListener != null )
  {
    this.control.removeMouseMoveListener ( oldListener );
  }
  this.control.addMouseMoveListener ( proxyListener );
}
origin: org.eclipse.neoscada.chart/org.eclipse.scada.chart.swt

@Override
public void addMouseMoveListener ( final ChartMouseMoveListener listener )
{
  removeMouseMoveListener ( listener );
  final MouseMoveListener proxyListener = new MouseMoveListener () {
    @Override
    public void mouseMove ( final MouseEvent e )
    {
      listener.onMouseMove ( convertState ( e ) );
    }
  };
  final MouseMoveListener oldListener = this.mouseMoveListenerMap.put ( listener, proxyListener );
  if ( oldListener != null )
  {
    this.control.removeMouseMoveListener ( oldListener );
  }
  this.control.addMouseMoveListener ( proxyListener );
}
origin: org.eclipse.e4.ui.workbench.addons/swt

  return;
composite.addMouseMoveListener(new MouseMoveListener() {
  public void mouseMove(MouseEvent e) {
    Point p = e.display.getCursorLocation();
origin: org.eclipse.e4.ui.workbench.renderers/swt

host.addMouseMoveListener(new MouseMoveListener() {
  public void mouseMove(MouseEvent e) {
    if (!draggingSashes) {
origin: org.eclipse.platform/org.eclipse.e4.ui.workbench.addons.swt

composite.addMouseMoveListener(e -> {
  Point p = e.display.getCursorLocation();
  if (trackState == NOT_SIZING) {
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

parent.addMouseMoveListener(parentListener);
parent.addMouseTrackListener(parentListener);
parent.addMouseListener(parentListener);
origin: org.eclipse.pde/org.eclipse.pde.ui

parent.addMouseMoveListener(parentListener);
parent.addMouseTrackListener(parentListener);
parent.addMouseListener(parentListener);
origin: BiglySoftware/BiglyBT

public void setControl(final Composite composite, Rectangle cellArea, boolean addListeners) {
  if (composite == null) {
    dispose();
    this.composite = null;
    return;
  }
  this.composite = composite;
  this.cellArea = cellArea;
  if (addListeners) {
   composite.addPaintListener(this);
   composite.addMouseListener(this);
   composite.addMouseMoveListener(this);
   composite.addMouseTrackListener(this);
  }
  setForeground(-1, -1, -1);
  setText(null);
  setToolTip(null);
  composite.addDisposeListener(new DisposeListener() {
    @Override
    public void widgetDisposed(DisposeEvent e) {
      dispose();
    }
  });
  if (coreDataSource != null && !isDisposed()) {
    invokeVisibilityListeners(TableCellVisibilityListener.VISIBILITY_SHOWN,
        true);
  }
}
origin: org.eclipse.platform/org.eclipse.e4.ui.workbench.renderers.swt

host.addMouseMoveListener(e -> {
  if (!draggingSashes) {
origin: BiglySoftware/BiglyBT

composite.addMouseMoveListener(mouseMoveListener);
origin: org.eclipse.jdt/org.eclipse.jdt.ui

labelControl.addMouseTrackListener(labelComboListener);
parent.addMouseMoveListener(e -> {
  highlight.setHover(highlight.isAroundLabel(e));
});
origin: BiglySoftware/BiglyBT

cTable.addMouseMoveListener(tvSWTCommon);
cTable.addKeyListener(tvSWTCommon);
org.eclipse.swt.widgetsCompositeaddMouseMoveListener

Popular methods of Composite

  • setLayout
    Sets the layout which is associated with the receiver to be the argument which may be null.
  • <init>
    Constructs a new instance of this class given its parent and a style value describing its behavior a
  • setLayoutData
  • layout
    Forces a lay out (that is, sets the size and location) of all widgets that are in the parent hierarc
  • getDisplay
  • getChildren
    Returns a (possibly empty) array containing the receiver's children. Children are returned in the or
  • getShell
  • getFont
  • getLayout
    Returns layout which is associated with the receiver, or null if one has not been set.
  • setFont
  • getParent
  • computeSize
  • getParent,
  • computeSize,
  • dispose,
  • setBackground,
  • getClientArea,
  • isDisposed,
  • getBackground,
  • setVisible,
  • setSize,
  • setData

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Github Copilot alternatives
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