Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Context menu in TreeViewer
Context menu in TreeViewer [message #40515] Tue, 24 July 2007 14:34 Go to next message
Eclipse UserFriend
Originally posted by: benedikt.arnold.beyondsoft.de

Hi,
I created a context menu for my viewer like this:
contextMenu.add(appendCustomValue);

contextMenu.add(new
DeleteSelectedObjectAction(settingViewer,getPartName()));



Menu menu = contextMenu.createContextMenu(view.getControl());

view.getControl().setMenu(menu);



The menu appears, if I do a right click, but it appears with a display error
like in bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=187540

The bug addesses only dynammicaly generated contex menus but for me the same
occurs if I fill the menu at the creation time.

Can anybody give me a hint on this?

Greetings,

Ben
Re: Context menu in TreeViewer [message #41495 is a reply to message #40515] Wed, 08 August 2007 15:49 Go to previous message
Eclipse UserFriend
Originally posted by: b.muskalla.gmx.net

Hi Benedikt,

that's a bug we really want to fix before 1.0. As M6 is API freeze for
us there many things with a higher priority at the moment.

Hope to fix that bug soon as it is really annoying. Maybe you could
comment on the bug that the problem also occurs with non-dynamic menus.

Greets
Benny

Benedikt Arnold wrote:
> Hi,
> I created a context menu for my viewer like this:
> contextMenu.add(appendCustomValue);
>
> contextMenu.add(new
> DeleteSelectedObjectAction(settingViewer,getPartName()));
>
>
>
> Menu menu = contextMenu.createContextMenu(view.getControl());
>
> view.getControl().setMenu(menu);
>
>
>
> The menu appears, if I do a right click, but it appears with a display error
> like in bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=187540
>
> The bug addesses only dynammicaly generated contex menus but for me the same
> occurs if I fill the menu at the creation time.
>
> Can anybody give me a hint on this?
>
> Greetings,
>
> Ben
>
>
>
>
Previous Topic:Databinding support in RAP
Next Topic:Test and Performance
Goto Forum:
  


Current Time: Fri Mar 29 14:53:28 GMT 2024

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

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

Back to the top