Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] org.eclipse.draw2d.MouseListener#mouseDoubleClicked doesn't work...


double click comes just after mouse down.  The tool has received mouse down and will intercept subsequent events going to any figures.
If you want to prevent a tool from receiving the mouse events, you should call MouseEvent#consume().

-randy



"zhao yunfeng" <yunfeng_zhao@xxxxxxxxxxx>
Sent by: gef-dev-admin@xxxxxxxxxxx

06/17/2004 10:29 AM
Please respond to gef-dev

       
        To:        gef-dev@xxxxxxxxxxx
        cc:        
        Subject:        [gef-dev] org.eclipse.draw2d.MouseListener#mouseDoubleClicked doesn't work...



hi,

All my sub-classes of Figure have implemented the interface MouseListener
But mouseDoubleClicked and mouseReleased have never been invoked.
The mousePressed works fine.
I am really confused by this thing.

Any ideas for the problem?

By the way,the project that i am working for is a Graphical Editor Tool.
It's implemented abiding by those guidelines in the Randy Hudson's article
--
"Create an Eclipse-based application using the Graphical Editing
Framework"


Thanks

Yunfeng


_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/gef-dev


Back to the top