Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GEF
3.3

org.eclipse.gef
Interface DragTracker

All Superinterfaces:
Tool
All Known Implementing Classes:
ConnectionDragCreationTool, ConnectionEndpointTracker, MarqueeDragTracker, SelectEditPartTracker, SimpleDragTracker

public interface DragTracker
extends Tool

A specialization of Tool that is used by the SelectionTool during a Mouse Drag. The SelectionTool obtains a DragTracker on mouse down, and forwards all input to that tracker until after the mouse is released. The SelectionTool also obtains DragTrackers in keyboard accessible ways.


Method Summary
 void commitDrag ()
          The SelectionTool supports keyboard accessible drags.
 
Methods inherited from interface org.eclipse.gef. Tool
activate, deactivate, focusGained, focusLost, keyDown, keyTraversed, keyUp, mouseDoubleClick, mouseDown, mouseDrag, mouseHover, mouseMove, mouseUp, mouseWheelScrolled, nativeDragFinished, nativeDragStarted, setEditDomain, setProperties, setViewer, viewerEntered, viewerExited
 

Method Detail

commitDrag

public void commitDrag()
The SelectionTool supports keyboard accessible drags. In such scenarios it is up to the SelectionTool to interpret commit and abort keystrokes. Since the DragTracker cannot do this, this method is used to indicate that the User has committed the drag using the keyboard. Abort is not handled specially, and the DragTracker should peform the usual cleanup in its Tool.deactivate() method.


Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire