Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Configure key-binding to newclass-wizard
Configure key-binding to newclass-wizard [message #260703] Fri, 19 June 2009 08:46 Go to next message
Eclipse UserFriend
Hello you,

I want to create a plugin with some additional keybinding using the
extension point="org.eclipse.ui.bindings">.
Therefore I need an commandID for each keybinding. But I don't know what
commandID I need for enabling the newclass-wizard or the
newInterface-wizard.

What's a quick way to find out any commandIDs existing in my current
eclipse?

I use eclipse 3.4, in eclipse 3.5 there's an selection of commands
defining the keybindings, isn't it?

Greetings and thanks in advance

Markus
Re: Configure key-binding to newclass-wizard [message #260707 is a reply to message #260703] Fri, 19 June 2009 09:36 Go to previous messageGo to next message
Eclipse UserFriend
Markus Oley wrote:
> Hello you,
> I want to create a plugin with some additional keybinding using the
> extension point="org.eclipse.ui.bindings">. Therefore I need an
> commandID for each keybinding. But I don't know what commandID I need
> for enabling the newclass-wizard or the newInterface-wizard.
> What's a quick way to find out any commandIDs existing in my current
> eclipse?
> I use eclipse 3.4, in eclipse 3.5 there's an selection of commands
> defining the keybindings, isn't it?

in 3.5, ALT+SHIFT+F2 and then selecting a menu or tool item will provide
information about it (for most items, the information should be valid in
3.4 as well). But Plugin Spy won't tell me about the new wizard entries.

The newWizard command is id = org.eclipse.ui.newWizard, and takes an
optional parameter that specifies *which* wizard to open to, id =
newWizardId.

You can use the Plug-in Registry view to see what new wizards JDT
provides to find out the new class and new interface wizard IDs

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: Configure key-binding to newclass-wizard [message #260722 is a reply to message #260707] Fri, 19 June 2009 19:14 Go to previous message
Eclipse UserFriend
Hi Paul,

thank you for the quick and good hints....

It works now,

Greetings
Markus
Previous Topic:Code completion on 3.5
Next Topic:Eclipse Ganymede 3.4.2 doesn't recognize APT plugin factories
Goto Forum:
  


Current Time: Sun May 11 14:44:49 EDT 2025

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

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

Back to the top