Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Listening for mouse double-click on a palette tool entry
Listening for mouse double-click on a palette tool entry [message #137825] Fri, 11 June 2004 18:40 Go to next message
No real name is currently offline No real nameFriend
Messages: 6
Registered: July 2009
Junior Member
Hi,

I am trying to catch a mouse double-click event on a palette tool entry. I
can't seem to find an easy way (without duplicating GEF code) to override
either the PaletteSelectionTool or ToggleButtonTracker's mouseDoubleClick
methods. We have done this successfully by creating our own
ToggleButtonTracker in our own ToolEntryEditPart but this involved
duplicating GEF code. Any ideas?

Thanks,
Cherie Mahoney
Re: Listening for mouse double-click on a palette tool entry [message #137885 is a reply to message #137825] Fri, 11 June 2004 20:35 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

How about just add a double-click listener to the Canvas?

"Cherie Mahoney" <cmahoney@rational.com> wrote in message
news:cactgn$poi$1@eclipse.org...
> Hi,
>
> I am trying to catch a mouse double-click event on a palette tool entry.
I
> can't seem to find an easy way (without duplicating GEF code) to override
> either the PaletteSelectionTool or ToggleButtonTracker's mouseDoubleClick
> methods. We have done this successfully by creating our own
> ToggleButtonTracker in our own ToolEntryEditPart but this involved
> duplicating GEF code. Any ideas?
>
> Thanks,
> Cherie Mahoney
>
>
Previous Topic:Droping tool without selecting again
Next Topic:Unexpected whitespaces in a draw2d.Figure
Goto Forum:
  


Current Time: Fri Apr 26 10:46:29 GMT 2024

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

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

Back to the top