|
Re: Replacing options in 'File->New' [message #65897 is a reply to message #65825] |
Fri, 06 June 2003 18:52 |
Eclipse User |
|
|
|
Originally posted by: simon.ibm.oti.lab
Only the perspective can determine what will go into the File > New submenu.
You can open a bug report against Platform - UI to consider having
views/editors contribute to that submenu - kinda like we allow for action
sets using actionSetPartAssociations
Simon :-)
"David Bailey" <david.bailey@lawson.com> wrote in message
news:bbqk3m$jel$1@rogue.oti.com...
>
> I have created a navigator similar to the ResourceNavigator or
> PackageExplorer.
> I also have created (or plan to create) a collection of 'New' actions for
> the creation of various new thingies of one kind and another.
>
> It is simple to add these actions to the context menu for my navigator,
> but I'm having difficulty figuring out how to replace the actions which
> appear under 'File->New' with mine. This is clearly possible, as JDT does
> it.
>
> I read an earlier post which suggests that it might be necessary to define
> a custom perspective to do this sort of thing. Is this the case, or can I
> do what I want using the org.eclipse.ui.actionSets and
> org.eclipse.ui.actionSetPartAssociations extension points?
>
> Thanks,
>
> --dave
>
|
|
|
Re: Replacing options in 'File->New' [message #66030 is a reply to message #65825] |
Fri, 06 June 2003 22:39 |
Eclipse User |
|
|
|
Originally posted by: knut_radloff.oti.com
You can add to the New menu on a per perspective basis. See org.eclipse.ui.perspectiveExtensions extension point, newWizardShortcut.
Since you created a navigator-like view you may be interested in the General Purpose Navigator item on the 3.0 plan.You can add your
comments on what you would like to see to make implementing Navigator views easier to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=36961
The bug will also include a link to an initial problem description and requirements document shortly (Monday at the latest).
The idea is to avoid having multiple navigator-like views and consolidating different model presentations and actions into one view.
Your input is welcome!
Knut
"David Bailey" <david.bailey@lawson.com> wrote in message news:bbqk3m$jel$1@rogue.oti.com...
>
> I have created a navigator similar to the ResourceNavigator or
> PackageExplorer.
> I also have created (or plan to create) a collection of 'New' actions for
> the creation of various new thingies of one kind and another.
>
> It is simple to add these actions to the context menu for my navigator,
> but I'm having difficulty figuring out how to replace the actions which
> appear under 'File->New' with mine. This is clearly possible, as JDT does
> it.
>
> I read an earlier post which suggests that it might be necessary to define
> a custom perspective to do this sort of thing. Is this the case, or can I
> do what I want using the org.eclipse.ui.actionSets and
> org.eclipse.ui.actionSetPartAssociations extension points?
>
> Thanks,
>
> --dave
>
|
|
|
Powered by
FUDForum. Page generated in 0.03220 seconds