Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[SOLVED]add own top level new wizard entry to package explorers "New " context menu
https://www.eclipse.org/forums/index.php/mv/msg/203328/649883/#msg_649883
I am currently struggling to get an entry for my new wizard into the context menu of the package explorer. The wizard is displayed if selecting New -> Other inside the Java Perspective, but I would like to have it top level like "new Interface or new Class". In the project explorer it is displayed top level already. So I am a bit puzzled why not in the Package Explorer.
Can somebody give me a hint how I can do this?
Many thanks in advance,
Lars]]>Lars Heinemann2011-01-20T20:22:22-00:00Re: add own top level new wizard entry to package explorers "New " context menu
https://www.eclipse.org/forums/index.php/mv/msg/203328/650022/#msg_650022
org.eclipse.ui.perspectiveExtensions extension to add your wizard to new.
I already did that and the wizard is shown when selecting the
"New -> Other" item. But I'd rather like it to be "New -> MyWizard" directly instead of using the "Other" item.
]]>Lars Heinemann2011-01-21T13:54:40-00:00Re: add own top level new wizard entry to package explorers "New " context menu
https://www.eclipse.org/forums/index.php/mv/msg/203328/650053/#msg_650053
> Hi Paul,
>
> thanks for your answer.
>
> I already did that and the wizard is shown when selecting the "New ->
> Other" item. But I'd rather like it to be "New -> MyWizard" directly
> instead of using the "Other" item.
>
You added a perspective extension to contribute the shortcut to the Java
perspective? Then reset the perspective if you already had that
perspective open.