Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 75229

Summary: [Contributions] extensions processed in random order
Product: [Eclipse Project] Platform Reporter: Peter Steinfeld <pete.steinfeld>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P4 CC: eclipse, jared_burns, n.a.edgar
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Peter Steinfeld CLA 2004-09-28 20:27:04 EDT
I tried to add an item to a submenu of the Help menu without repeating 
the "<menu" goop in my action set definition in my plugin.xml file.  Sometimes 
this worked and sometimes it didn't.  I couldn't figure out how to make the 
declaration of the menu I was referencing get processed before my extension to 
it.  The information to process things in the correct order is already implicit 
in the "<requires" declarations.  It should just work.
Comment 1 Rafael Chaves CLA 2004-09-29 11:29:20 EDT
Runtime does not provide any ordering between extensions to an extension point.
When clients need to do that, they usually do the ordering by themselves. 

Not sure if UI does that for menu entries, or if they find it valid to do that.
Moving to Platform/UI for comments.
Comment 2 Tod Creasey CLA 2004-09-29 12:02:18 EDT
Nick is there a way to do this with action sets?
Comment 3 Nick Edgar CLA 2004-09-29 14:21:25 EDT
The <menu> goop does need to be repeated.  Action sets were not designed to
build on top of each other, just on top of the structured defined by the
workbench itself (now defined by WorkbenchAdvisor.fillActionBars in 3.0).

Even so, the order of items depends on which action set gets processed first.
This is a known problem.


*** This bug has been marked as a duplicate of 16282 ***