Context menu in TreeViewer [message #40515] |
Tue, 24 July 2007 14:34  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02431 seconds