Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to extend JavaProjectWizard?
How to extend JavaProjectWizard? [message #221076] Fri, 23 December 2005 06:55 Go to next message
Eclipse UserFriend
Originally posted by: wjancz.\/\/asko.pl (change \/\/ with w)

Hello.
I don't know if it is correct group to ask (if not please relay me to
correct).

I need to extend wizard which creates new java project. how to do this if
most of classes used in this wizard are internal ?

What i want to do is after creating new java project create programatically
some packages in this project and generate some classes templates and
interfaces.
This should work as creating SPECIFIC java project in which user should
implement some interfaces and implement generated methods in classes.

I want to add new wizard - SpecialJavaProjectWizard which will extends
Eclipse, so users shoul use this wizard to write classes used in my Eclipse
plugin (those classes should implement special Interface) so the easiest way
is to generate code template and put in into class and let user implement
this.

I don't know if you understand what i want to do... but if... please help :)

WojT

P.S. Sory for my english...
Re: How to extend JavaProjectWizard? [message #221084 is a reply to message #221076] Fri, 23 December 2005 09:44 Go to previous message
Eclipse UserFriend
Wojciech Jancz wrote:
> Hello.
> I don't know if it is correct group to ask (if not please relay me to
> correct).
>
> I need to extend wizard which creates new java project. how to do this if
> most of classes used in this wizard are internal ?
>
> What i want to do is after creating new java project create programatically
> some packages in this project and generate some classes templates and
> interfaces.
> This should work as creating SPECIFIC java project in which user should
> implement some interfaces and implement generated methods in classes.
>
> I want to add new wizard - SpecialJavaProjectWizard which will extends
> Eclipse, so users shoul use this wizard to write classes used in my Eclipse
> plugin (those classes should implement special Interface) so the easiest way
> is to generate code template and put in into class and let user implement
> this.
>
> I don't know if you understand what i want to do... but if... please help :)
>
> WojT
>
> P.S. Sory for my english...
>
>

This is a royal pain. I know because I have done this. My task was to
extend the new Java Project to add new natures and classpath entries.
Then I needed to add a third page. At this time there seems to be no way
to do this without copying the code and using internal classes. Sad but
true.

Jim Adams
SAS Institute
Previous Topic:How to add break points?
Next Topic:method's first line of code identification
Goto Forum:
  


Current Time: Fri Nov 07 17:45:06 EST 2025

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

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

Back to the top