Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Direct Graph - Mouse response
Direct Graph - Mouse response [message #247062] Wed, 28 January 2009 12:20 Go to next message
Glenn Henley is currently offline Glenn HenleyFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

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
to it.

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?
Re: Direct Graph - Mouse response [message #247067 is a reply to message #247062] Wed, 28 January 2009 16:17 Go to previous message
Glenn Henley is currently offline Glenn HenleyFriend
Messages: 2
Registered: July 2009
Junior Member
S'Okay I've nailed it!
Previous Topic:[Announce] GEF 3.5.0 I200901231850 is available
Next Topic:[Announce] GEF 3.5.0 I200901301734 is available
Goto Forum:
  


Current Time: Fri Apr 19 01:45:52 GMT 2024

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

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

Back to the top