Skip to main content


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 10:02 Go to next message
NkD Missing name is currently offline NkD Missing nameFriend
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 10:21 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
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:JSExecutor.executeJS with result
Next Topic:Displaying static HTML content
Goto Forum:
  


Current Time: Thu Mar 28 09:28:26 GMT 2024

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

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

Back to the top