/** Handles mouse drag events. The events are forwarded to the current tracker. */ public void mouseDrag(MouseEvent e, int x, int y) { if (fChild != null) { // JDK1.1 doesn't guarantee mouseDown, mouseDrag, mouseUp fChild.mouseDrag(e, x, y); } }
/** * Called when the mouse has been dragged within a Viewer. * * @param mouseEvent The SWT mouse event * @param viewer The source of the event. */ public void mouseDrag(MouseEvent mouseEvent, EditPartViewer viewer) { Tool tool = getActiveTool(); if (tool != null) tool.mouseDrag(mouseEvent, viewer); }