Reputation: 334
I made a new wizard plug-in for eclipse. I can run this wizard by either File->New->Project
or File->New->Other
. However, I want to make it available via File->New->Example...
as well. How can I do that?
Upvotes: 0
Views: 499
Reputation: 111217
Use the category id org.eclipse.ui.Examples
An example entry from the EMF examples:
<extension point="org.eclipse.ui.newWizards">
<category
id="org.eclipse.emf.examples.EMF"
name="%_UI_EMFExampleCategory_name"
parentCategory="org.eclipse.ui.Examples">
</category>
<wizard
id="org.eclipse.emf.examples.ActivitiesWizard"
name="%_UI_ActivitiesWizard_name"
class="org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard"
category="org.eclipse.ui.Examples/org.eclipse.emf.examples.EMF"
project="true"
icon="icons/full/ctool16/NewEMFExample.gif">
<description>%_UI_ActivitiesWizard_desc</description>
</wizard>
Upvotes: 1