Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350078 - [Perspectives] ToolbarManager isn't updated when the perspective activated
Summary: [Perspectives] ToolbarManager isn't updated when the perspective activated
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 12:33 EDT by yulei CLA
Modified: 2019-08-08 15:20 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yulei CLA 2011-06-22 12:33:54 EDT
Build Identifier: I20110613-1736

Create a RCP firstly.When the perspective is actived, the menubarManager could be updated. However,the toolbarManager or coolbarManager couldn't.

Reproducible: Always

Steps to Reproduce:
1.Create an extension of org.eclipse.ui.perspectiveExtensions.
2.Create a hiddenTooBarItem on the extension.
3.Run the program.
4.The hiddenTooBarItem does not work.
Comment 1 yulei CLA 2011-06-22 12:41:24 EDT
Line 984 of class Perspective.

final IMenuManager windowManager = page.getActionBars()	.getMenuManager();
allowUpdates(windowManager);
windowManager.update(false);

The MenuManager is updated, but the CoolBarManager or ToolBarManager is not.
Comment 2 Dani Megert CLA 2011-06-23 05:43:21 EDT
See bug 262636 which fixed the menu manager issue.
Comment 3 yulei CLA 2011-07-24 12:26:55 EDT

*** This bug has been marked as a duplicate of bug 262636 ***
Comment 4 Dani Megert CLA 2011-07-25 03:01:07 EDT
Bug 262636 fixed the menu but not the CoolBarManager or ToolBarManager.
Comment 5 Eclipse Genie CLA 2018-11-03 01:11:42 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Lars Vogel CLA 2019-08-08 15:20:05 EDT
This bug has been marked with as "stalebug" for some time now. I mark this bug as "worksforme" to indicate that no work is planned here. 

If this bug is still relevant for the latest release, please reopen the bug and remote the "stalebug" whiteboard tag.