mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Bug 326654 - [outline] The Outline view menu ordering is wrong
This commit is contained in:
parent
a92513f4fa
commit
ae21fbec63
1 changed files with 8 additions and 3 deletions
|
@ -222,9 +222,14 @@ public class CContentOutlinePage extends AbstractCModelOutlinePage {
|
|||
protected void registerActionBars(IActionBars actionBars) {
|
||||
super.registerActionBars(actionBars);
|
||||
IMenuManager menu= actionBars.getMenuManager();
|
||||
|
||||
menu.appendToGroup("group.layout", new MemberGroupingAction(this)); //$NON-NLS-1$
|
||||
menu.appendToGroup("group.layout", new NamespaceGroupingAction(this)); //$NON-NLS-1$
|
||||
|
||||
// appendToGroup does not work reliably (bug 326748)
|
||||
// menu.appendToGroup("group.layout", new MemberGroupingAction(this)); //$NON-NLS-1$
|
||||
// menu.appendToGroup("group.layout", new NamespaceGroupingAction(this)); //$NON-NLS-1$
|
||||
|
||||
// add actions directly instead
|
||||
menu.add(new MemberGroupingAction(this));
|
||||
menu.add(new NamespaceGroupingAction(this));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue