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:

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

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.

- 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: Thu Nov 26 00:34:20 GMT 2015

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

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