Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » controling newWizard menu positioning
controling newWizard menu positioning [message #305054] Thu, 22 June 2006 08:36 Go to next message
Eclipse User
Originally posted by: jeff.ryan.digi.com

I am extending an existing perspective and am adding additional new
project wizards to that perspective. I notice that the new project
wizards I add show up at the end of the projects category of the
File->New menu. This is not too surprising, however since this is a
product we are packaging and deploying I would like to control the
ordering of the new project wizards in the File->New menu.

Is there any way of doing this short of creating a new perspective? The
perspective I am extending is the CDT C/C++ perspective and is quite
large and intertwined with other perspectives we are using so I would
like to extend rather than copy the perspective if at all possible.


Best Regards,
Jeff
Re: controling newWizard menu positioning [message #305160 is a reply to message #305054] Sat, 24 June 2006 13:36 Go to previous message
Eclipse User
Originally posted by: jeff.ryan.digi.com

FYI...
So far, the only way I have found to control newWizard menu positioning
when extending the perspective is to define an activity to strip out the
old newWizard actions and then re-add them back into the perspective in
the desired order using new action ID's.

This is a less than desirable solution because its going to be a PITA to
maintain and it won't work for newWizards that are declared as Primary
since they aren' blocked by activity filters. Plus, if the activity is
ever re-enabled by the user then its really gonna look stupid because
there will be two menu's for each action. But, until I find a better way
it's still better than copying the original perspective.


Jeff Ryan wrote:
> I am extending an existing perspective and am adding additional new
> project wizards to that perspective. I notice that the new project
> wizards I add show up at the end of the projects category of the
> File->New menu. This is not too surprising, however since this is a
> product we are packaging and deploying I would like to control the
> ordering of the new project wizards in the File->New menu.
>
> Is there any way of doing this short of creating a new perspective? The
> perspective I am extending is the CDT C/C++ perspective and is quite
> large and intertwined with other perspectives we are using so I would
> like to extend rather than copy the perspective if at all possible.
>
>
> Best Regards,
> Jeff
Previous Topic:selectionChanged and lazy loading
Next Topic:MVC pattern Plugin approach
Goto Forum:
  


Current Time: Fri Aug 29 16:38:55 EDT 2014

Powered by FUDForum. Page generated in 0.01911 seconds