1
0
Fork 0
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:
Anton Leherbauer 2010-10-15 06:38:56 +00:00
parent a92513f4fa
commit ae21fbec63

View file

@ -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));
}
}