Replacing options in 'File->New' [message #65825] |
Fri, 06 June 2003 13:47  |
Eclipse User |
|
|
|
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 18: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.03283 seconds