Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Please Help!
Please Help! [message #177497] Thu, 14 April 2005 14:00 Go to next message
Sapna George is currently offline Sapna GeorgeFriend
Messages: 76
Registered: July 2009
Member
This is not a GEF question, but rather a Platform/JDT question. But
inspite of posting it in both the above groups twice, i could not get any
response. So, i'm hoping and praying that an expert here might have a
solution to my problem!! I SINCERELY APOLOGIZE FOR POSTING IT HERE, BUT
I'M AT MY WITS END!

Problem:

I want to add a new wizard item to the File/New sub-menu in the Java
Perspective to the list that containes wizards for new Class, Package etc.
So, i created a perspectiveExtension extension in my plugin.xml with the
following information:

Target ID: org.eclipse.jdt.ui.JavaPerspective
Under this, i created a newWizardShortcut with the ID of my wizard.

I expected to find my wizard in the File/New sub-menu along with the
wizards for Package, Class, Interface etc, but it did not work. What am i
doing wrong? Should i be doing something else? Please help!

thanks in advance,
Sapna
Re: Please Help! [message #177514 is a reply to message #177497] Thu, 14 April 2005 14:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gslade.no.spam.us.ibm.com

Don't you have to contribute to the org.eclipse.ui.newWizards extension
point? You would need to know the category to which you want to
contribute to ( category equates to the menu under which your option
would appear.

Look at the eclipse help
Platform Plug-in Developer Guide-->Programmer's Guide-->Dialogs and
wizards-->Workbench wizard extension points



Guy

Sapna George wrote:
> This is not a GEF question, but rather a Platform/JDT question. But
> inspite of posting it in both the above groups twice, i could not get
> any response. So, i'm hoping and praying that an expert here might have
> a solution to my problem!! I SINCERELY APOLOGIZE FOR POSTING IT HERE,
> BUT I'M AT MY WITS END!
> Problem:
> I want to add a new wizard item to the File/New sub-menu in the Java
> Perspective to the list that containes wizards for new Class, Package
> etc. So, i created a perspectiveExtension extension in my plugin.xml
> with the following information:
> Target ID: org.eclipse.jdt.ui.JavaPerspective
> Under this, i created a newWizardShortcut with the ID of my wizard.
> I expected to find my wizard in the File/New sub-menu along with the
> wizards for Package, Class, Interface etc, but it did not work. What am
> i doing wrong? Should i be doing something else? Please help!
> thanks in advance,
> Sapna
>
>
Re: Please Help! [message #177546 is a reply to message #177514] Thu, 14 April 2005 15:03 Go to previous messageGo to next message
Sapna George is currently offline Sapna GeorgeFriend
Messages: 76
Registered: July 2009
Member
oh yes, I already have a fully functional wizard that appears correctly in
the default File/New/Other sub-menu. But i want this wizard to be
available from the File/New/<Java new element creation sub-menu> in the
Java Perspective instead of in the default File/new/Other.

thanks for your response.
Sapna
Re: Please Help! [message #177561 is a reply to message #177546] Thu, 14 April 2005 15:45 Go to previous message
Eclipse UserFriend
Originally posted by: gslade.no.spam.us.ibm.com

you use the same extension point, but as I mentioned before, you need to
know what category the new java sub element menu is and use it when you
make your contribution. It's easy to find out what it is, just use the
PDE editor.

Guy

Sapna George wrote:
> oh yes, I already have a fully functional wizard that appears correctly
> in the default File/New/Other sub-menu. But i want this wizard to be
> available from the File/New/<Java new element creation sub-menu> in the
> Java Perspective instead of in the default File/new/Other.
> thanks for your response. Sapna
>
>
>
>
>
Previous Topic:detecting single mouse clicks in a simple way ?
Next Topic:Anti aliasing
Goto Forum:
  


Current Time: Thu Apr 25 14:51:04 GMT 2024

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

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

Back to the top