Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Context menus for TableHeaders
Context menus for TableHeaders [message #72029] Tue, 29 January 2008 09:50 Go to next message
Oliver Köhler is currently offline Oliver KöhlerFriend
Messages: 32
Registered: July 2009
Member
Hi all,
is it possible to have a context menu on a Table's header?
I know that you can set a menu to a table, but this one will be shown
if you do a right mouse click to the table's content.
I need a menu however by right mouse clicking on the tables header.

Regards

Oliver
Re: Context menus for TableHeaders [message #72522 is a reply to message #72029] Thu, 31 January 2008 17:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Oliver,

SWT itself does not provide context menus for TableColumns. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=23103.
Once we have MouseListeners I *may* be possible to manually show a
context menu if the mouse click occurred on a TableColumn. If there is a
way to do this in SWT, then RWT will probably allow this too.

Cheers,
Rüdiger

Poncho wrote:
> Hi all,
> is it possible to have a context menu on a Table's header?
> I know that you can set a menu to a table, but this one will be shown
> if you do a right mouse click to the table's content.
> I need a menu however by right mouse clicking on the tables header.
>
> Regards
>
> Oliver
Re: Context menus for TableHeaders [message #676298 is a reply to message #72522] Fri, 03 June 2011 14:50 Go to previous messageGo to next message
Joachim Butz is currently offline Joachim ButzFriend
Messages: 7
Registered: June 2011
Junior Member
Meanwhile, the issue 23103 has been marked resolved for Eclipse 3.5.0 for abaout year. However, only RCP is mentioned in the issue - in my single sourcing project, the table header context menu gets only displayed in RCP but not in RAP.

So, this brings up Oliver's original question: Is it possible to have a context menu in RAP on a table header?
Re: Context menus for TableHeaders [message #676303 is a reply to message #676298] Fri, 03 June 2011 15:04 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Joachim,
there are some problems with pop-up menu in Table header. See this bug
for more information and a workaround:
314671: [Table] Unable to add pop-up menu to table header
https://bugs.eclipse.org/bugs/show_bug.cgi?id=314671
Please note that in case of movable columns even the workaround does not
work.
HTH,
Ivan

On 6/3/2011 5:50 PM, Joachim Butz wrote:
> Meanwhile, the issue 23103 has been marked resolved for Eclipse 3.5.0
> for abaout year. However, only RCP is mentioned in the issue - in my
> single sourcing project, the table header context menu gets only
> displayed in RCP but not in RAP.
>
> So, this brings up Oliver's original question: Is it possible to have
> a context menu in RAP on a table header?
Previous Topic:Inconsistent Id Generated on HTML Component
Next Topic:Eclipse help system problem
Goto Forum:
  


Current Time: Sat Apr 20 01:24:22 GMT 2024

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

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

Back to the top