Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Mouse Listener Problem
Mouse Listener Problem [message #180959] Wed, 11 May 2005 20:36 Go to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Having a stupid problem. Searched newsgroups, had some hits but I'm not
duplicating the same problem. I can't get any response out of my listener.

I add a simple mouse listener on my contentfigure in an editpart and I
get no response from it at all. Is there anything GEF does that would
prevent my listener from firing appropriately?

I know the RequestConstants.REQ_DIRECT_EDIT on performRequest is going
through but for some reason my listener gets no wind of it. Do I have to
do something special ontop of adding a mouse listener?

Cheers,

~ Chris
Re: Mouse Listener Problem [message #181062 is a reply to message #180959] Wed, 11 May 2005 23:55 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Debug from DomainEventDispatcher#dispatchMouseWhatever(). Super should be
called and the event should be passed to the figure first, before it is
routed to the editor.

"Chris Aniszczyk" <none@us.ibm.com> wrote in message
news:d5tqr7$b7f$1@news.eclipse.org...
> Having a stupid problem. Searched newsgroups, had some hits but I'm not
> duplicating the same problem. I can't get any response out of my listener.
>
> I add a simple mouse listener on my contentfigure in an editpart and I
> get no response from it at all. Is there anything GEF does that would
> prevent my listener from firing appropriately?
>
> I know the RequestConstants.REQ_DIRECT_EDIT on performRequest is going
> through but for some reason my listener gets no wind of it. Do I have to
> do something special ontop of adding a mouse listener?
>
> Cheers,
>
> ~ Chris
Previous Topic:Bendpoint problem again
Next Topic:Paint Figure Option!!!
Goto Forum:
  


Current Time: Mon Jan 30 12:46:54 GMT 2023

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

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

Back to the top