|Direct Graph - Mouse response [message #247062]
||Wed, 28 January 2009 07:20
| Glenn Henley
Registered: July 2009
I'm very new to GEF but I have done lots UI work with Swing/Java 2D.
I'd like to use the Directed Graph example as a starting point to develop
a new application, but I've having trouble adding mouse/keyboard detection
Ideally I'd like to just be able to move the squares around, or indeed
just detect any mouse event but this all fails miserably.
As a test I have managed to dump mouse listeners everywhere which then
fire then fire the commands to update the model directly. But this
obviously not how it is suppsoed to work
So what are the code changes I'd need to detect mouse events on the
directed graph1 example?
Powered by FUDForum
. Page generated in 0.02159 seconds