Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 27867

Summary: [MenuMgmt] Need improved management of dynamic items
Product: [Eclipse Project] Platform Reporter: Nick Edgar <n.a.edgar>
Component: UIAssignee: Douglas Pollock <douglas.pollock>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: darin.eclipse, eclipse, eduardo_pereira
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: other   
Whiteboard:
Bug Depends on: 29709    
Bug Blocks:    

Description Nick Edgar CLA 2002-12-06 15:16:21 EST
build I20021204

See bug 18830, which causes plugins to be activated early just to populate the 
menu system.  The immediate fix for 18830 is to populate menus lazily, but this 
will still activate plugins when perusing the menu system.  We need to find a 
better solution which avoids this.

Plugins like Debug and External Tools need to be able to add and remove menu 
items dynamically (e.g. for the launch history and Run/Debug As submenus).

There is a related request to be able to change the tooltip (and possibly other 
presentation aspects like name and icon) of actions like the Run/Debug toolbar 
buttons (to be able to show "Debug Last Launched: Target").  We should also 
persist these settings.

Essentially this means giving plugins access to a representation of their 
action sets, allowing items to be added, removed, and have their presentation 
changed.  The workbench must persist this representation, and restore it 
without activating plugins.
Comment 1 Simon Arsenault CLA 2003-01-07 10:49:01 EST
Will investigate but may not have a complete solution for 2.1
Comment 2 Simon Arsenault CLA 2003-02-03 14:52:21 EST
Not for 2.1 release.
Comment 3 Douglas Pollock CLA 2004-10-29 10:43:38 EDT

*** This bug has been marked as a duplicate of 12757 ***