Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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:JSExecutor.executeJS with result
Next Topic:Displaying static HTML content
Goto Forum:
  


Current Time: Sat Jun 21 07:54:58 EDT 2025

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

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

Back to the top