Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » I think *IMenuService* has a bug in 3.6(Multiple contribution managers for one site works not correctly.)
I think *IMenuService* has a bug in 3.6 [message #638663] Thu, 11 November 2010 22:23 Go to next message
Eclipse UserFriend
Hello,

I used 2 Coolbar managers in an EditorPart, and I'v let MenuService contribute through Menu Extensions.
like this:

this.tagToolbarManager = new CCoolBarManager(SWT.FLAT);
getMenuService().populateContributionManager(this.tagToolbar Manager, TOOLBAR_URI_TAG_EDIOR);

this.termsToolbarManager = new CCoolBarManager(SWT.FLAT);
getMenuService().populateContributionManager(this.termsToolb arManager, TOOLBAR_URI_TERMS_EDITOR);

but menu service contributed same toolbar contents for 2 toolbar even each has different Menu URI.
Contents seems to merged from contents of two Menu URIs.

It works like URIs are same.
URIs are "toolbar:termsEditor" and "toolbar:tagsEditor";

I found this on eclipse 3.6, and This problem was not exist on Eclipse 3.4.

ps. CCoolBarManager is customized CoolBarManager,
because, original CoolBarManager on eclipse 3.4 have some errors when Menu Service release it.


is this a bug? or new restriction for site.
Re: I think *IMenuService* has a bug in 3.6 [message #638669 is a reply to message #638663] Thu, 11 November 2010 23:20 Go to previous messageGo to next message
Eclipse UserFriend
On 12/11/10 8:53 AM, Jiyul wrote:
> I used 2 Coolbar managers in an EditorPart, and I'v let MenuService
> contribute through Menu Extensions.
> like this:
>
> this.tagToolbarManager = new CCoolBarManager(SWT.FLAT);
> getMenuService().populateContributionManager(this.tagToolbar Manager,
> TOOLBAR_URI_TAG_EDIOR);
>
> this.termsToolbarManager = new CCoolBarManager(SWT.FLAT);
> getMenuService().populateContributionManager(this.termsToolb arManager,
> TOOLBAR_URI_TERMS_EDITOR);
>
> but menu service contributed same toolbar contents for 2 toolbar even
> each has different Menu URI.
> Contents seems to merged from contents of two Menu URIs.
>
> It works like URIs are same.
> URIs are "toolbar:termsEditor" and "toolbar:tagsEditor";
>
> I found this on eclipse 3.6, and This problem was not exist on Eclipse 3.4.
>
> ps. CCoolBarManager is customized CoolBarManager, because, original
> CoolBarManager on eclipse 3.4 have some errors when Menu Service release
> it.
>
>
> is this a bug? or new restriction for site.


Sounds like a bug. Can you raise a bug with sample code to reproduce?
http://bit.ly/NewBugInPlatformUI

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: It wasn't bug. [message #638902 is a reply to message #638669] Fri, 12 November 2010 21:27 Go to previous message
Eclipse UserFriend
It wasn't bug.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=330055
Previous Topic:How can I show all of String in Console View
Next Topic:Dynamically displaying controls depending on selection from combo box / Master Details model
Goto Forum:
  


Current Time: Sun Jul 06 23:24:24 EDT 2025

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

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

Back to the top