开发者

Where are the default Eclipse Plugin Development Templates?

I have just started looking at developing a plugin for Eclipse and I found a bunch of tutorials, some of whic开发者_JAVA技巧h seem out of date (i.e. using old versions of Eclipse). But I have found one that uses Helios, so it is pretty up to date. Yet all of them refer to creating the projects using templates. Whenever I start a new plugin project the list of templates is empty. Does anyone know where these templates come from? Is there something specific I need to install within Eclipse to get the templates? Can I download them separately from somewhere else?


The PDE templates are in the org.eclipse.pde.ui.templates plugin. I am using the default Eclipse packaging and this plugin is part of the "distribution". May be you can look into Helios software repository (Help -> Install New Software -> Helios Repository) and see if you can find any features related to PDE UI template.

EDIT: After checking, the PDE templates plugin is part of the PDE feature. As a consequence if you have the PDE installed you should have the templates. What "distribution" of Eclipse did you downloaded from the download page ?


did you download the Eclipse PDE version?

http://eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/indigor

or

http://eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/heliossr2

for Helios resp.

Not sure where they come from, but they're included in my indigo "RCP & RAP" installation package.

Cheers, Rob


I had the same problem. I initially installed eclipse for java development. I later wanted to add a plug-in to add an editor for a language that currently is not supported. After installing PDE the plugin project template that adds a new language edition to generic and extensible text editor was missing.

I cleared the problem by Help > Check for software updates. The PDE software just needed to be updated. After the update the expected plugin was available.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜