Eclipse Search

Loading

Dec 3, 2010

Contributing Workbench Wizards thru Commands

You must have been used this JDT toolbar quite often.



The New Class tool item is contributed as an Action in plugin.xml (id "org.eclipse.jdt.ui.actions.NewTypeDropDown"), and then the Menu on the Action is contributed via code. In this tip, let us see how to do the same via command framework and without any code.

Read More...

3 comments:

  1. Hi!

    Very interesting, but the pulldown menu doesn't show up for me...

    regards,
    Vlad

    ReplyDelete
  2. Did you have the proper id for the toolbar item? The plugin is available as a download from http://eclipse-tips.googlecode.com/files/com.eclipsetips.commands.workbenchWizards.zip. Doesn't that work?

    ReplyDelete
  3. Hi Prakash,
    thanks for the tip. It looks to me that the text of http://eclipse-tips.com/tips/37-contributing-workbench-wizards-thru-commands is there twice (it looks like you duplicated the entries). Perhaps you want to check / correct this.

    ReplyDelete