Looking for API to add an extension entry in plugin.xml. [message #39189] |
Tue, 06 January 2009 00:00  |
Eclipse User |
|
|
|
Hi all,
I'm writing a wizard that will create new PDE projects. What I'm trying
to do now is programatically add extension entries to plugin.xml.
Can you please point me to the direction of the model APIs and how to
use them? Are the sample codes I can study?
I'm hoping there's a better way then string manipulation, which is what
I currently plan to do.
Help will be appreciated. Thanks!
Regards,
Mark
|
|
|
|
Re: Looking for API to add an extension entry in plugin.xml. [message #39376 is a reply to message #39222] |
Thu, 08 January 2009 01:03  |
Eclipse User |
|
|
|
Hi Prakash,
Thanks for the suggestion.
I can't quite get it to work. Existing extensions are losing child
elements wherever I add a new extension entry to the model. I must be
doing something wrong.
Also, I seem to be been using PDE internal classes which worries me a
bit. So, I'm thinking of dropping this approach. Unless there are public
classes you can refer me to?
Otherwise, thanks anyway for the help.
Regards,
Mark
Prakash G.R. wrote:
> You can look into the PDE's template extension point
> (o.e.pde.ui.templates) and the extensions implementing it (in the
> o.e.pde.ui.templates plugin)
>
> - Prakash
>
|
|
|
Re: Looking for API to add an extension entry in plugin.xml. [message #587836 is a reply to message #39189] |
Tue, 06 January 2009 02:02  |
Eclipse User |
|
|
|
You can look into the PDE's template extension point (o.e.pde.ui.templates)
and the extensions implementing it (in the o.e.pde.ui.templates plugin)
- Prakash
--
http://blog.eclipse-tips.com
"Mark Espiritu" <mark.espiritu@vastsystems.com.au> wrote in message
news:gjuol0$8qn$1@build.eclipse.org...
> Hi all,
>
> I'm writing a wizard that will create new PDE projects. What I'm trying to
> do now is programatically add extension entries to plugin.xml.
>
> Can you please point me to the direction of the model APIs and how to use
> them? Are the sample codes I can study?
>
> I'm hoping there's a better way then string manipulation, which is what I
> currently plan to do.
>
> Help will be appreciated. Thanks!
>
> Regards,
> Mark
|
|
|
Re: Looking for API to add an extension entry in plugin.xml. [message #587878 is a reply to message #39222] |
Thu, 08 January 2009 01:03  |
Eclipse User |
|
|
|
Hi Prakash,
Thanks for the suggestion.
I can't quite get it to work. Existing extensions are losing child
elements wherever I add a new extension entry to the model. I must be
doing something wrong.
Also, I seem to be been using PDE internal classes which worries me a
bit. So, I'm thinking of dropping this approach. Unless there are public
classes you can refer me to?
Otherwise, thanks anyway for the help.
Regards,
Mark
Prakash G.R. wrote:
> You can look into the PDE's template extension point
> (o.e.pde.ui.templates) and the extensions implementing it (in the
> o.e.pde.ui.templates plugin)
>
> - Prakash
>
|
|
|
Powered by
FUDForum. Page generated in 0.03875 seconds