Community
Participate
Working Groups
Build Identifier: 20090920-1017 Not possible to extend Team popup menu. Reference 1:http://www.eclipse.org/forums/index.php?t=msg&th=174853&start=0&S=4e5fd1200144e3ec57e52fb0b3a2292d Reference 2:http://www.eclipse.org/forums/index.php?t=msg&th=198349&start=0&S=4e5fd1200144e3ec57e52fb0b3a2292d Reproducible: Always
Created attachment 180926 [details] Shows what is done in main menu We want the menu structure to be the same for both main menu ( as picture views) as well as for the pop-up menu.
You cannot add a team submenu unless you add the team menu itself. If you need to add that submenu, then you will need to provide the equivalent definition for team.main somehow (I'm not sure objectContributions will work, and you'd have to read the team objectContribution to figure out how to add team.main and all of its separator/group markers via org.eclipse.ui.menus). But questions about this are appropriate for the newsgroup. But ... I'll mention that UI guidelines in general frown upon a context menu>SubMenu>SubMenu>item layout. That's not to say you can't break them if it's really important, but it is usually better to create a group surrounded by 2 separators in the Team menu to separate out functionality. PW