Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] MouseListener mouseDoubleClicked and mouseReleased


Please ask this question on the newsgroup. I would answer it and let you off with a warning ;-), but I didn't fully understand the problem. Please post whether you have multiple figures listeners or just one.

-Randy
 


"Cristian Malinescu" <cmalinescu@xxxxxxxxxx>
Sent by: gef-dev-bounces@xxxxxxxxxxx

09/28/2005 11:06 AM

Please respond to
GEF development

To
<gef-dev@xxxxxxxxxxx>
cc
Subject
[gef-dev] MouseListener mouseDoubleClicked and mouseReleased





Hi
I have to add MouseListener support for all my object inherited from org.eclipse.draw2d.Figure but always only the mousePressed is processed by GEF.
I found this post http://dev.eclipse.org/mhonarc/lists/gef-dev/msg00323.html but unfortunately the message refers how to prevent retransmission of mouse events via
MouseEvent#consume() and not to add support for handling all situations so additionally mouseDoubleClicked() and mouseReleased() besides mousedPressed().
It seems to me that somewhere in the registered listeners the MouseEvent#consume()  is called in mousedPressed() so no other listener has a chance to execute his registered operation. I mention that I used as inspiration for my application architecture the article http://www-128.ibm.com/developerworks/opensource/library/os-gef/.
Does anyone has an idea how to handle this situation?  
Regards,
Chris
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev


Back to the top