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 01:26 Go to next message
Marco Lopes is currently offline Marco Lopes
Messages: 56
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: Sat, 05 February 2011 21: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 07:53 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6850
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] Mon, 07 February 2011 20:51 Go to previous message
Marco Lopes is currently offline Marco Lopes
Messages: 56
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 24 11:26:37 EDT 2014

Powered by FUDForum. Page generated in 0.05844 seconds