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 MouseWheelHelper

All Known Implementing Classes:
ViewportMouseWheelHelper

public interface MouseWheelHelper

MouseWheelHelpers provide each EditPart to handle mouse-wheel events in their own desired way. By default, when mouse-wheel events are generated that have no stateMask, a default MouseWheelHandler delegates the task to the MouseWheelHelper that is returned by the getAdapter() method of the EditPart in focus.

The most common usage of MouseWheelHelpers involves scrolling of an EditPart's figure. They should be returned in the EditPart's getAdapter() method.

Since:
3.1
See Also:
ViewportMouseWheelHelper

Method Summary
 void handleMouseWheelScrolled (Event event)
          Handles mouse-wheel events.
 

Method Detail

handleMouseWheelScrolled

public void handleMouseWheelScrolled(Event event)
Handles mouse-wheel events. If the given event was handled in some way, its doit field should be set to false so as to prevent further processing of that event.

Parameters:
event - The SWT event that was generated as a result of the mouse-wheel scrolling

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