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 15: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: Sat Aug 30 18:26:00 EDT 2014

Powered by FUDForum. Page generated in 0.01991 seconds