Bug 60071 - [ActionSets] Need way to activate action set programmatically
Summary: [ActionSets] Need way to activate action set programmatically
Status: RESOLVED DUPLICATE of bug 6929
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-27 04:25 EDT by Dirk Baeumer CLA
Modified: 2004-05-06 08:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.