Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327855 - Not possible to extend popup Team menu
Summary: Not possible to extend popup Team menu
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 02:18 EDT by Mikael Petterson CLA
Modified: 2010-11-03 08:17 EDT (History)
1 user (show)

See Also:


Attachments
Shows what is done in main menu (75.07 KB, image/jpeg)
2010-10-15 02:39 EDT, Mikael Petterson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Petterson CLA 2010-10-15 02:18:43 EDT
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
Comment 1 Mikael Petterson CLA 2010-10-15 02:39:15 EDT
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.
Comment 2 Paul Webster CLA 2010-11-03 08:17:57 EDT
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