Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Looking for API to add an extension entry in plugin.xml.
Looking for API to add an extension entry in plugin.xml. [message #39189] Tue, 06 January 2009 00:00 Go to next message
Eclipse UserFriend
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 #39222 is a reply to message #39189] Tue, 06 January 2009 02:02 Go to previous messageGo to next message
Eclipse UserFriend
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 #39376 is a reply to message #39222] Thu, 08 January 2009 01:03 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:running Project -> Clean.. causes BundleException error
Next Topic:How to exclude some plugins from a headless build?
Goto Forum:
  


Current Time: Mon May 12 16:53:56 EDT 2025

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

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

Back to the top