Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Mouse move Location in editor
Mouse move Location in editor [message #226566] Fri, 17 November 2006 02:05
Eclipse UserFriend
Originally posted by: sempai.robert.gmail.com

Hi,
I have an Editor that extends GraphicalEditorWithPalette and I have set the
viewers editpart to ScalableFreeformRootEditPart.

Now I am currently getting the mouse move location from a listener in the
editor however the location is relative to the top left corner of the
visible editor.

My problem is that I need the absolute location of the mouse with respect to
the root edit part hidden + visible. I do have a model and editpart that
sits atop of the root.

The context: I'm sending the location of the mouse to another client (ie
Remote mouse pointer) currently if one user scrolls the editor the mouse
location is wrong. Getting the scroll bar data is an alternative.

Can anyone suggest a possible solution?

Thanks!
Rob.
Previous Topic:location problem
Next Topic:How to create a dendrogram
Goto Forum:
  


Current Time: Sat Nov 27 03:47:24 GMT 2021

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

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

Back to the top