Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem with popup menu
Problem with popup menu [message #883335] Fri, 08 June 2012 06:02 Go to next message
NkD Missing name is currently offline NkD Missing name
Messages: 61
Registered: July 2009
Member
I try this example (no exactly, but for explanation my problem is
sufficient):
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet312.java

when rclick on header, then HeaderMenu is visble
when rclick on content, then HeaderMenu is visible (BUG)
when rclick on content again, then TreeMenu is visible
when rclick on header, then TreeMenu is visible (BUG)
when rclick on header again, then HeadeMmenu is visible

It looks like that tree.setMenu(...) works ion one request/response back.

tested on: RAP 1.5.2.rc2
Re: Problem with popup menu [message #883345 is a reply to message #883335] Fri, 08 June 2012 06:21 Go to previous message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1773
Registered: July 2009
Senior Member
Hi,
this is a known issue. See:
314671: [Table] Unable to add pop-up menu to table header
https://bugs.eclipse.org/bugs/show_bug.cgi?id=314671
There is a workaround in comment#1.
HTH,
Ivan

On 6/8/2012 1:02 PM, Michal NkD Nikodím wrote:
> I try this example (no exactly, but for explanation my problem is
> sufficient):
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet312.java
>
>
> when rclick on header, then HeaderMenu is visble
> when rclick on content, then HeaderMenu is visible (BUG)
> when rclick on content again, then TreeMenu is visible
> when rclick on header, then TreeMenu is visible (BUG)
> when rclick on header again, then HeadeMmenu is visible
>
> It looks like that tree.setMenu(...) works ion one request/response back.
>
> tested on: RAP 1.5.2.rc2

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Styling height of view tab folder
Next Topic:How to design a "Tiles View" in RAP?
Goto Forum:
  


Current Time: Tue Jul 22 23:50:22 EDT 2014

Powered by FUDForum. Page generated in 0.03123 seconds