Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19: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 07:25 Go to previous messageGo to next message
Stefan Pietsch is currently offline Stefan PietschFriend
Messages: 68
Registered: July 2009
Member
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 14: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: Thu Nov 21 12:11:46 GMT 2019

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

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

Back to the top