Community
Participate
Working Groups
The "Group *" menu items are no longer grouped together.
It appears that SubMenuManager.appendToGroup() behaves unexpectedly in the Outline view context. The reason is that all contributions of all outline view pages are collected in one list of the parent contribution manager and each SubMenuManager just tracks which items it has added. I.e. the list can contain duplicate separator items from different SubMenuManagers. appendToGroup() does not consider the contributing SubMenuManager when searching for the separator so that the first matching separator from any SubMenuManager is used to insert the new item. That's why the order is only correct for the first editor.
I committed a workaround to HEAD and cdt_7_0.
*** cdt cvs genie on behalf of aleherbau *** Bug 326654 - [outline] The Outline view menu ordering is wrong [*] CContentOutlinePage.java 1.73.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CContentOutlinePage.java?root=Tools_Project&r1=1.73&r2=1.73.2.1 [*] CContentOutlinePage.java 1.74 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CContentOutlinePage.java?root=Tools_Project&r1=1.73&r2=1.74