Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » JFace TreeViewer and right mouse click
JFace TreeViewer and right mouse click [message #449300] Thu, 20 January 2005 14:05 Go to next message
Eclipse UserFriend
Originally posted by: tmsc_kitz.yahoo.com

Hi,

I am trying to generate a context menu with the JFace Treeviewer component.
Unfortunately, the only event I could catch
is a mouse left button double click. Is there any way to catch a right
click?

Thanks,

Thorsten.
Re: JFace TreeViewer and right mouse click [message #449310 is a reply to message #449300] Fri, 21 January 2005 02:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi Thorsten,

I'm using TreeViewer.getTree().setMenu() to set the context menu. This works
fine.

Bye Stefan

"Thorsten Kitz" <tmsc_kitz@yahoo.com> schrieb im Newsbeitrag
news:csovdv$5bu$1@www.eclipse.org...
> Hi,
>
> I am trying to generate a context menu with the JFace Treeviewer
component.
> Unfortunately, the only event I could catch
> is a mouse left button double click. Is there any way to catch a right
> click?
>
> Thanks,
>
> Thorsten.
>
>
Re: JFace TreeViewer and right mouse click [message #449356 is a reply to message #449310] Mon, 24 January 2005 09:58 Go to previous message
Eclipse UserFriend
Originally posted by: tmsc_kitz.yahoo.com

Hi Stefan,

thanks a lot, works great.

Greetings, Thorsten.

Stefan Pietsch wrote:

> Hi Thorsten,

> I'm using TreeViewer.getTree().setMenu() to set the context menu. This works
> fine.

> Bye Stefan

> "Thorsten Kitz" <tmsc_kitz@yahoo.com> schrieb im Newsbeitrag
> news:csovdv$5bu$1@www.eclipse.org...
>> Hi,
>>
>> I am trying to generate a context menu with the JFace Treeviewer
> component.
>> Unfortunately, the only event I could catch
>> is a mouse left button double click. Is there any way to catch a right
>> click?
>>
>> Thanks,
>>
>> Thorsten.
>>
>>
Previous Topic:Help Framework
Next Topic:No Application Window in task bar
Goto Forum:
  


Current Time: Wed Jul 23 11:04:44 EDT 2025

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

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

Back to the top