Skip to main content



      Home
Home » Eclipse Projects » GEF » Mouse move Location in editor
Mouse move Location in editor [message #226566] Thu, 16 November 2006 21: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:How to make connections go under the diagram?
Next Topic:How to create a dendrogram
Goto Forum:
  


Current Time: Sat May 24 07:08:51 EDT 2025

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

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

Back to the top