Bug 14541 - [ActionSets] How to define ordering of action sets
Summary: [ActionSets] How to define ordering of action sets
Status: RESOLVED DUPLICATE of bug 15670
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Simon Arsenault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 13396 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-24 13:05 EDT by Dirk Baeumer CLA
Modified: 2002-09-05 11:02 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2002-04-24 13:05:06 EDT
Build 20020423

Currently the JDT contributes the navigate, source and refactor menus via one 
action set. The reason for this was that using separate action sets leads to 
a "random" order in the menu bar. As an example consider we have two action 
sets source and refactor and the refactor menu should always appear behind the 
source menu if it is present. Otherwise it should appear behind the edit menu.

How do I define the menu path for the above two action sets ?
Comment 1 Nick Edgar CLA 2002-04-24 16:10:11 EDT
You're right, this is currently not possible.
We would have to use some kind of order number scheme.
We have no work planned in this area.
How critical is this for 2.0?
Comment 2 Dirk Baeumer CLA 2002-04-25 04:21:22 EDT
Erich told me that you have asked for this. So it is up to you to deceide how 
important that is <g>.
Comment 3 Nick Edgar CLA 2002-04-25 09:39:03 EDT
Yes, I wanted to know the reason for the monolithic Java action set, and this 
explains it.  
I'm fine with this situation if you are.  
If you feel its important to break it up, you need to let me know.
Comment 4 Simon Arsenault CLA 2002-09-03 15:10:24 EDT
The ui team has also been looking at "pre-processing" all the menu definitions 
for actions sets before adding the actions (to deal with the problem plugin A 
has action set with menu "Foo" definition, and plugin B has an action set whose 
actions should also show in menu "Foo" definition, causing plugin B to define 
it again...even is plugin B dependented on plugin A).

If we had that support, then the refactor action set menu definition could 
indicate if goes after the source menu definition which was defined in the 
source action set. Because the workbench has processed all the menu 
definitions, it would know where the source menu is even if it is not shown at 
the moment (source action set not turn on).
Comment 5 Simon Arsenault CLA 2002-09-03 15:13:41 EDT

*** This bug has been marked as a duplicate of 15670 ***
Comment 6 Simon Arsenault CLA 2002-09-04 12:31:09 EDT
*** Bug 13396 has been marked as a duplicate of this bug. ***