Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Context Menu from a Column Header in a TreeViewer??
Context Menu from a Column Header in a TreeViewer?? [message #332864] Tue, 11 November 2008 16:26 Go to next message
Glenn Dollard is currently offline Glenn DollardFriend
Messages: 61
Registered: July 2009
Member
Hi All,

I have a TreeViewer with a few TreeColumns.

I was wondering, is it possible to provide a context menu from the Column
headers?
For example, if the user does a right mouse click on a header is it possible
to provide a
popup context menu, identical to what happens if you do it in Windows
Explorer (allows you
to select the columns you want to view and the ones you want left hidden) =>
which is
exactly what I want to do in my app :-)

I read that the TreeViewer does not allow context menus on a column header
(here:
http://dev.eclipse.org/newslists/news.eclipse.platform.swt/m sg38040.html)

Any feedback would be cool.
Re: Context Menu from a Column Header in a TreeViewer?? [message #332903 is a reply to message #332864] Thu, 13 November 2008 10:40 Go to previous message
Glenn Dollard is currently offline Glenn DollardFriend
Messages: 61
Registered: July 2009
Member
Can anyone confirm this ??


"gdollard" <glenn.dollard@gmail.com> wrote in message
news:gfcbn1$fpo$1@build.eclipse.org...
> Hi All,
>
> I have a TreeViewer with a few TreeColumns.
>
> I was wondering, is it possible to provide a context menu from the Column
> headers?
> For example, if the user does a right mouse click on a header is it
> possible to provide a
> popup context menu, identical to what happens if you do it in Windows
> Explorer (allows you
> to select the columns you want to view and the ones you want left hidden)
> => which is
> exactly what I want to do in my app :-)
>
> I read that the TreeViewer does not allow context menus on a column header
> (here:
> http://dev.eclipse.org/newslists/news.eclipse.platform.swt/m sg38040.html)
>
> Any feedback would be cool.
>
>
>
>
Previous Topic:New to EFS
Next Topic:Form not showing Vertical Scrool
Goto Forum:
  


Current Time: Mon Dec 30 17:02:42 GMT 2024

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

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

Back to the top