|
Re: DoubleClick with key pressing [message #910912 is a reply to message #910901] |
Mon, 10 September 2012 15:54 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
This isn't an EMF question. It doesn't appear that JFace supports
something like that, so it's more of an SWT question.
On 10/09/2012 5:32 PM, Missing name Mising name wrote:
> Hello,
>
> I am trying to implement in the generated emf editor a doubleclick
> listener which uses key pressing, too.
> For example I want to open another editor I click double on the item
> while pressing the ctrl key.
>
> Adding the DoubleClickListener is very easy with the method
> addDoubleClickListener from the viewer class.
>
> But how to combine both?
> My idea was to get the pressed key while the event occured, but I
> don't know how to get that information.
>
> Thanks for any advices.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.05126 seconds