Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Add New Wizards to the File>New shortcut
Add New Wizards to the File>New shortcut [message #336234] Tue, 02 June 2009 14:24 Go to next message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Hi all,

I am trying to have my New Wizards accessible as shortcut when clicking
on File > New. I already have the in the new Wizard dialog when clicking
"Other....", but I'd like to have them in the shortcut area just under
New (before clicking on Other).

How can I do that?

Thanks in advance
Mickael
Re: Add New Wizards to the File>New shortcut [message #336235 is a reply to message #336234] Tue, 02 June 2009 14:32 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

That's done through the org.eclipse.ui.perspectiveExtensions short cut
(or o.e.ui.perspective if you are provding your own)

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Re: Add New Wizards to the File>New shortcut [message #336242 is a reply to message #336235] Wed, 03 June 2009 08:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Paul Webster a écrit :
> That's done through the org.eclipse.ui.perspectiveExtensions short cut
> (or o.e.ui.perspective if you are provding your own)
>
> PW
>

Hello Paul,

Thanks for your answer. Unfortunately I did not succeed to see the
wizard shortcut on specified perspective by adding a newWizardShortcut
to the perspectiveExtensions.
There is no problem to define the extension (perspective and wizard
exist and are found by the "Browse" menu), but it is not displayed in
shortcuts... I campared my extension with o.e.jdt.junit extension to
Java perspective and it is exactly the same thing, but JUnit works.

Do you have any idea of what could cause this issue?

Regards,
Mickael
Re: Add New Wizards to the File>New shortcut [message #336243 is a reply to message #336242] Wed, 03 June 2009 09:19 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
I think you should be extending o.e.u.newWizards.primaryWizard for that

- Prakash

---
http://blog.eclipse-tips.com
Re: Add New Wizards to the File>New shortcut [message #336244 is a reply to message #336243] Wed, 03 June 2009 09:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Prakash G.R. a écrit :
> I think you should be extending o.e.u.newWizards.primaryWizard for that
>
> - Prakash
>
> ---
> http://blog.eclipse-tips.com

Hi Prakash,

I aloready added them as primaryWizards (and it works, they are on top
of the wizard list when selecting "Others"), but this does not seem to
affect the shortcuts.

Mickael
Re: Add New Wizards to the File>New shortcut [message #336245 is a reply to message #336244] Wed, 03 June 2009 10:07 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Mickael Istria wrote:
> I aloready added them as primaryWizards (and it works, they are on top
> of the wizard list when selecting "Others"), but this does not seem to
> affect the shortcuts.

Ignore my previous post. For shortcuts in the Menu, what Paul said
should work. Did you try resetting your perspective/open the target in a
new workspace?

- Prakash

---
http://blog.eclipse-tips.com
Re: Add New Wizards to the File>New shortcut [message #336247 is a reply to message #336245] Wed, 03 June 2009 11:06 Go to previous message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Prakash G.R. a écrit :
> Mickael Istria wrote:
>> I aloready added them as primaryWizards (and it works, they are on top
>> of the wizard list when selecting "Others"), but this does not seem to
>> affect the shortcuts.
>
> Ignore my previous post. For shortcuts in the Menu, what Paul said
> should work. Did you try resetting your perspective/open the target in a
> new workspace?
>
> - Prakash

Ok, that was it: restarting the perspective.
Thanks a lot to Paul and you!

Mickael
Previous Topic:get the active project
Next Topic:Starting help system webapp
Goto Forum:
  


Current Time: Thu Dec 18 11:45:21 GMT 2014

Powered by FUDForum. Page generated in 0.02277 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software