Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Helios: ViewPart ToolBar appears Duplicated on RCP View!
Helios: ViewPart ToolBar appears Duplicated on RCP View! [message #652673] Sat, 05 February 2011 06:26 Go to next message
Marco Lopes is currently offline Marco LopesFriend
Messages: 61
Registered: September 2010
Member
I'm having a problem with Eclipse Helios and ToolbarManager on RCP Views.

In the view class (extends ViewPart), the toolbar is created as follows:

IToolBarManager toolbarManager = getViewSite().getActionBars().getToolBarManager();
toolbarManager.add(action1);
toolbarManager.add(action2);
toolbarManager.add(...);

What happens?

When the view is opening, the Toolbar is created on the left side (on the title place) and then on the correct side.
http://dl.dropbox.com/u/126065/Imagens/Screens/Colibri_toolb ar_bug.jpg

When the view is opened, the "duplicated" left toolbar disappears!
http://dl.dropbox.com/u/126065/Imagens/Screens/Colibri_toolb ar_ok.jpg

The worst problem is on the Workbench restore side (and i believe it's related with this behavior): when there is more than one view to restore, a "duplicated" version of the Toolbar of the first view opened is created on the left side of the Workbench itself!!! And it does not go away until i swap to the view under it.
http://dl.dropbox.com/u/126065/Imagens/Screens/Colibri_toolb ar_bug2.jpg

I really need a tip on this one...

NOTE: This never happened with previous versions of Eclipse.

Thanks!

[Updated on: Sun, 06 February 2011 02:15]

Report message to a moderator

Re: Helios: Duplicated ToolBar appears on RCP View! [message #652882 is a reply to message #652673] Mon, 07 February 2011 12:53 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Please open a bug at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Helios: Duplicated ToolBar appears on RCP View! [message #653018 is a reply to message #652882] Tue, 08 February 2011 01:51 Go to previous message
Marco Lopes is currently offline Marco LopesFriend
Messages: 61
Registered: September 2010
Member
Paul Webster wrote on Mon, 07 February 2011 07:53
Please open a bug at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI

PW

--
Paul Webster



Done.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336564
Previous Topic:How to set status line height
Next Topic:How can I hook into the app loading process and splash?
Goto Forum:
  


Current Time: Thu Apr 25 20:46:13 GMT 2024

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

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

Back to the top