Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to make a custom code template for plugin
How to make a custom code template for plugin [message #295072] Wed, 23 November 2005 02:40 Go to next message
Eclipse UserFriend
I'm trying to find help for adding starter templates for my plugin. Like
when the user creates a new plugin and want's to use my plugin, she can
choose a template which then asks a couple of questions and then
generates java classes for her.

Only thing I found was a short text in the help which introduced the
org.eclipse.pde.ui.templates extension. I tried it and got an empty
template pretty much where I wanted it. Now I'm lost as to what to do to
get it generate the code. Do I have to do it manually? Does the project
filesystem even exist yet? I think I can figure out how to make those
wizard pages, but otherwise I'm a bit stumped.

Any help would be appreciated.

Ode
Re: How to make a custom code template for plugin [message #295106 is a reply to message #295072] Wed, 23 November 2005 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Odeamus wrote:
> I'm trying to find help for adding starter templates for my plugin. Like
> when the user creates a new plugin and want's to use my plugin, she can
> choose a template which then asks a couple of questions and then
> generates java classes for her.
>
> Only thing I found was a short text in the help which introduced the
> org.eclipse.pde.ui.templates extension. I tried it and got an empty
> template pretty much where I wanted it. Now I'm lost as to what to do to
> get it generate the code. Do I have to do it manually? Does the project
> filesystem even exist yet? I think I can figure out how to make those
> wizard pages, but otherwise I'm a bit stumped.

Check out the plugin for org.eclipse.pde.ui. It points to the a number
of templates already provided, like
org.eclipse.pde.internal.ui.wizards.templates.HelloWorldTemp late.

Later,
PW
Re: How to make a custom code template for plugin [message #295122 is a reply to message #295106] Wed, 23 November 2005 13:48 Go to previous message
Eclipse UserFriend
Paul Webster wrote:
> Odeamus wrote:
>
>> I'm trying to find help for adding starter templates for my plugin.
>> Like when the user creates a new plugin and want's to use my plugin,
>> she can choose a template which then asks a couple of questions and
>> then generates java classes for her.
>>
>> Only thing I found was a short text in the help which introduced the
>> org.eclipse.pde.ui.templates extension. I tried it and got an empty
>> template pretty much where I wanted it. Now I'm lost as to what to do
>> to get it generate the code. Do I have to do it manually? Does the
>> project filesystem even exist yet? I think I can figure out how to
>> make those wizard pages, but otherwise I'm a bit stumped.
>
>
> Check out the plugin for org.eclipse.pde.ui. It points to the a number
> of templates already provided, like
> org.eclipse.pde.internal.ui.wizards.templates.HelloWorldTemp late.
>

Thanks. I think I'll manage now.

O.
Previous Topic:Access Restriction jface.jar
Next Topic:Re: JFace outside eclipse still needs eclipse core runtime?
Goto Forum:
  


Current Time: Sat Jul 19 19:54:25 EDT 2025

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

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

Back to the top