Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » wizard category
wizard category [message #77278] Wed, 18 June 2003 00:27 Go to next message
Eclipse UserFriend
Originally posted by: shilpagu.noida.hcltech.com

i am creating a wizard. i want it to appear in the File>New category
itself and not in the 'others' category.
so how do i specify the path in the category? so the name of my wizard
appears right there and not in the 'others' category.
Re: wizard category [message #77294 is a reply to message #77278] Wed, 18 June 2003 00:52 Go to previous messageGo to next message
Eclipse UserFriend
eqquisitus wrote:
> i am creating a wizard. i want it to appear in the File>New category
> itself and not in the 'others' category.
> so how do i specify the path in the category? so the name of my wizard
> appears right there and not in the 'others' category.
>

in your plugin.xml, set the point to org.eclipse.ui.newWizards
If it's a project wizard, set project=true as well
Re: wizard category [message #77326 is a reply to message #77294] Wed, 18 June 2003 02:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yves.somewhere.com

I think this only works for "new project" wizards.

If you create your custom perspective, then you can add them to
the file menu. Look at the java browsing perspective as an example.

Dave Makalsky wrote:
> eqquisitus wrote:
>
>> i am creating a wizard. i want it to appear in the File>New category
>> itself and not in the 'others' category.
>> so how do i specify the path in the category? so the name of my wizard
>> appears right there and not in the 'others' category.
>>
>
> in your plugin.xml, set the point to org.eclipse.ui.newWizards
> If it's a project wizard, set project=true as well
>
Re: wizard category [message #77779 is a reply to message #77326] Wed, 18 June 2003 11:09 Go to previous message
Eclipse UserFriend
Actually Dave's response is right on. More specifically it appear what you
are asking is how to define a new category. Your wizard would then go in
your new category. For example, from your plugin.xml:

<extension
point="org.eclipse.ui.newWizards">
<category
name="My New Wizard Category"
id="com.yourcompany.wizardcategory">
</category>
<wizard
name="My new Wizard"
icon="images/icon16_full.bmp"
category="com.yourcompany.wizardcategory"
class="com.yourcompany.package.<classname>"
id="com.yourcompany.wizardid">
<description>
Creates a new ...blah-blah-blah thingy.
</description>
</wizard>

HTH,
Mike

"Yves" <yves@somewhere.com> wrote in message
news:bcp2eg$ued$3@rogue.oti.com...
> I think this only works for "new project" wizards.
>
> If you create your custom perspective, then you can add them to
> the file menu. Look at the java browsing perspective as an example.
>
> Dave Makalsky wrote:
> > eqquisitus wrote:
> >
> >> i am creating a wizard. i want it to appear in the File>New category
> >> itself and not in the 'others' category.
> >> so how do i specify the path in the category? so the name of my wizard
> >> appears right there and not in the 'others' category.
> >>
> >
> > in your plugin.xml, set the point to org.eclipse.ui.newWizards
> > If it's a project wizard, set project=true as well
> >
>
Previous Topic:Extending existing plugin without extension point.
Next Topic:[ANN] Eclipse profiler plugin, 0.5.25
Goto Forum:
  


Current Time: Sat Apr 26 00:03:39 EDT 2025

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

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

Back to the top