Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » using newWizards
using newWizards [message #45603] Fri, 23 May 2003 09:52 Go to next message
Eclipse UserFriend
Hi,
I am trying to add my own menu items to the new wizard extension. So if
write something like this in my plugin.xml

<extension
point="org.eclipse.ui.newWizards">
<category
name="Foo"
id="com.ibm.test1">
</category>
<wizard
id = "com.ibm.test2"
name = "TESTING"
class="com.ibm.test22"
category="com.ibm.test1">
<selection class="org.eclipse.core.resources.IResource"/>
</wizard>
</extension>

This creates the option "Foo" under "Other". So the users would have to
right click on a resource, select New->Other->Foo.

How do I add the "Foo" option to the main category or to the category
containing "Folder" and "File"? If this is done, the users can select
New->Foo.

Thanks
-Kiran
Re: using newWizards [message #47380 is a reply to message #45603] Sun, 25 May 2003 08:10 Go to previous message
Eclipse UserFriend
Originally posted by: cecconae.ig.com.br

Kiran Lingutla wrote:

> Hi,
> I am trying to add my own menu items to the new wizard extension. So if
> write something like this in my plugin.xml

> <extension
> point="org.eclipse.ui.newWizards">
> <category
> name="Foo"
> id="com.ibm.test1">
> </category>
> <wizard
> id = "com.ibm.test2"
> name = "TESTING"
> class="com.ibm.test22"
> category="com.ibm.test1">
> <selection class="org.eclipse.core.resources.IResource"/>
> </wizard>
> </extension>

> This creates the option "Foo" under "Other". So the users would have to
> right click on a resource, select New->Other->Foo.

> How do I add the "Foo" option to the main category or to the category
> containing "Folder" and "File"? If this is done, the users can select
> New->Foo.

> Thanks
> -Kiran


Hi, Kiran

You need to add actions extension to your plugin xml. Please see below
articles from eclipse site they will help you a lot.

"Contributing Actions to the Eclipse Workbench" Simon Arsenault (OTI)
The Eclipse Platform is an open and extensible platform. This article
explains in detail how the Workbench can be extended to add new actions
and provides guidance to the plug-in developers on how they can design for
extensibility.

and

"Using Perspectives in the Eclipse UI" Dave Springgay's article, take a
look
in "Extending an Existing Perspective" for more details on how to
contribute to perpective actions.


By,
Antonio
Previous Topic:First version of my plugin is out there
Next Topic:Problems distributing my plugin.
Goto Forum:
  


Current Time: Thu Jul 10 04:00:56 EDT 2025

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

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

Back to the top