Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Forcing graphical events
Forcing graphical events [message #240627] Fri, 11 January 2008 20:37
Eclipse UserFriend
Originally posted by: chrispro.gmail.com

Is it possible to force a graphical event (such as a mouse click) on a
GraphicalViewer? How would I go about doing this?

I'd like to force a mouse click event at an arbitrary location
programmatically.

Example: I have a draw2d.Figure for a given EditPart being displayed in an
editor and i'd like to force a mouse click on that Figure programmatically.

The draw2d.Figure has a MouseListener on it and should detect the event
that I just forced programmatically.

Thanks,
- Chris T.
Previous Topic:How can i serialize the CommandStackEvent
Next Topic:Zest Graph nodes - vertically align Text and Image on node Label
Goto Forum:
  


Current Time: Sat Apr 27 01:44:28 GMT 2024

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

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

Back to the top