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:IFigure.setBackgroundColor
Next Topic:plugin runs in SWT Eclipse 3.2 but in Europa doesn't
Goto Forum:
  


Current Time: Sat Dec 20 10:38:58 GMT 2014

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

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