Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316294 - MenuContribution positionInParent should work
Summary: MenuContribution positionInParent should work
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.0 RC0   Edit
Assignee: Paul Webster CLA
QA Contact: Paul Webster CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 09:49 EDT by Paul Webster CLA
Modified: 2010-06-18 12:57 EDT (History)
2 users (show)

See Also:


Attachments
Position in model v01 (6.68 KB, patch)
2010-06-09 19:35 EDT, Paul Webster CLA
no flags Details | Diff
popup or menu v02 (7.43 KB, patch)
2010-06-10 19:03 EDT, Paul Webster CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2010-06-09 09:49:04 EDT
positionInParent is currently not used in processing.  It should be, and we need to decide on a default value.  Either null, or after=additions.

PW
Comment 1 Paul Webster CLA 2010-06-09 19:35:59 EDT
Created attachment 171591 [details]
Position in model v01

First crack at the positional algorithm

PW
Comment 2 Paul Webster CLA 2010-06-10 19:03:13 EDT
Created attachment 171679 [details]
popup or menu v02

In 3.x, the same ID could represent menus in different segments. view dropdown menu or popup.  This allows "tagging" in the compat workbench that will keep them separate.

In e4, we don't tag them, allow you to correctly contribute to the showView menu whether it is in the main Navigate menu or your view context menu.

Released to HEAD.

PW
Comment 3 Paul Webster CLA 2010-06-18 12:57:54 EDT
In the latest build