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

Bug 60071

Summary: [ActionSets] Need way to activate action set programmatically
Product: [Eclipse Project] Platform Reporter: Dirk Baeumer <dirk_baeumer>
Component: UIAssignee: Nick Edgar <n.a.edgar>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dirk Baeumer CLA 2004-04-27 04:25:50 EDT
I20040422

To make the Refactoring Undo/Redo actions available even if JDT/UI is not 
loaded (refactoring can now be used without JDT) I move the two actions into 
the LTK/UI plug-in. However since they are now part of a different action set 
they don't show up in perspectives that get restored on startup. Either 
Platform/UI has to reread the perspecitive factory on startup or I need some 
way to programmatically add the action set from a Plugin (not the factory).
Comment 1 Nick Edgar CLA 2004-04-27 10:16:06 EDT
Dirk, is this an always-on action set, or is it associated with specific
perspectives?


*** This bug has been marked as a duplicate of 6929 ***
Comment 2 Nick Edgar CLA 2004-04-27 10:29:32 EDT
Note that there is API for showing an action set,
IWorkbenchPage.showActionSet(String), but I don't think you should have to worry
about it.
Comment 3 Dirk Baeumer CLA 2004-05-06 08:17:17 EDT
Nick, I had to revert the action set back to due other problems regarding 
ordering of action sets. We can't fully control the place of a menu in the 
global menu bar if two different plug-ins contribute the same sub menu. So a 
fix for this bug is now longer needed for 3.0 for JDT/UI.