Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » GraphicalEditorWithFlyoutPalette & mouse wheel scrolling
GraphicalEditorWithFlyoutPalette & mouse wheel scrolling [message #837945] Fri, 06 April 2012 06:29 Go to next message
Eclipse UserFriend
Hi,
I'm writing a RAP application which is a port of a PDE plugin. The aim of this application is to draw an automaton starting from its XML description.
The automaton is contained inside a GraphicalEditorWithFlyoutPalette.
The problem is that I'm able to scroll the automaton only by moving the mouse on the scroll bar and clicking on it (so the scroll bar has the focus).
I've tried different approaces:
1. to add a MouseWheelHandler to the GraphicalViewer using setProperty method
1a. setting CTRL as key
1b. setting SWT.None as key
2. to use addListener method setting SWT.MouseWheel (this constant is not defined for
RAP so I tried to use the raw value, 37)
3. to filter mouse wheel event using addFilter method of Display class
None of them works.
I will appreciate any suggestion.
Thanks a lot.

[Updated on: Fri, 06 April 2012 06:37] by Moderator

Re: GraphicalEditorWithFlyoutPalette & mouse wheel scrolling [message #841881 is a reply to message #837945] Wed, 11 April 2012 16:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi Andrea,

Would you please open a bug on this issue. I will have a look at it.

Thanks.
Re: GraphicalEditorWithFlyoutPalette & mouse wheel scrolling [message #842655 is a reply to message #841881] Thu, 12 April 2012 09:54 Go to previous message
Eclipse UserFriend
This is the bug id: 376573.
Thanks.

[Updated on: Thu, 12 April 2012 16:24] by Moderator

Previous Topic:Theming and GEF port
Next Topic:The curious RAP FileDialog
Goto Forum:
  


Current Time: Sun Jun 22 11:12:05 EDT 2025

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

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

Back to the top