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 User
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: Wed Oct 01 18:33:52 GMT 2014

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

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