Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Adding a MouseScrollWheel listener to a Figure - how?
Adding a MouseScrollWheel listener to a Figure - how? [message #238478] Wed, 12 September 2007 16:29
Simon Pope is currently offline Simon PopeFriend
Messages: 28
Registered: July 2009
Junior Member
I have a Draw2d Figure and I want to respond to scroll wheel events. I
am completely stumped as to how I should pass MouseScrollWheel events.

The only way I can see at the moment is to create a new EventDispatcher
to replace the default in a LightWeightSystem and then from the
dispatcher call handleMouseScrollWheel(Event event) if the registered
IFigure supports the method (by implementing a new interface).

Is there a better way to do this? Anyone? Will MouseWheel support be
added to IFigure? I don't see anything in Bugzilla...
Previous Topic:How to draw a line in GEF framework?
Next Topic:plugin runs in SWT Eclipse 3.2 but in Europa doesn't
Goto Forum:

Current Time: Mon May 21 15:27:13 GMT 2018

Powered by FUDForum. Page generated in 0.01386 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top