Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Fri, 12 November 2010 03:23 Go to next message
Jeeeyul Lee is currently offline Jeeeyul LeeFriend
Messages: 117
Registered: July 2009
Location: Seoul
Senior Member

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] Fri, 12 November 2010 04:20 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
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] Sat, 13 November 2010 02:27 Go to previous message
Jeeeyul Lee is currently offline Jeeeyul LeeFriend
Messages: 117
Registered: July 2009
Location: Seoul
Senior Member

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: Sat Apr 20 02:46:30 GMT 2024

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

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

Back to the top