Skip to main content



      Home
Home » Newcomers » Newcomers » Example project as new plugin
Example project as new plugin [message #250440] Fri, 29 February 2008 07:03 Go to next message
Eclipse UserFriend
Originally posted by: agata.vackova.javlinconsulting.cz

Hi,
is it possible to create a project as an eclipse plug-in? I'd like user
could install examples (download example files and set requested
variables) automatically.
Thanks for answer in advance.
Agata
Re: Example project as new plugin [message #250444 is a reply to message #250440] Fri, 29 February 2008 07:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Agata,

Yes, it's possible. Whether a project is a plugin project is determined
by the contents of the .project file.


agad wrote:
> Hi,
> is it possible to create a project as an eclipse plug-in? I'd like
> user could install examples (download example files and set requested
> variables) automatically. Thanks for answer in advance.
> Agata
>
Re: Example project as new plugin [message #250447 is a reply to message #250444] Fri, 29 February 2008 07:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: agata.vackova.javlinconsulting.cz

Could you help me a bit more? What am I to do to have such plugin as
project?
Is it only "natures" property in .project? Where can I find more info?
Agata
Re: Example project as new plugin [message #250451 is a reply to message #250447] Fri, 29 February 2008 07:38 Go to previous messageGo to next message
Eclipse UserFriend
I don't know if I really understand you, so ignore my comment if it's
not what you mean...

You can simply create a new "Plug-in" Project. This is right under "Java
Project" in the new Project wizard. If that entry is not there, you
maybe don't have the "PDE" installed. (I'm not sure). Then you could try
the RCP/Plugin Edition of Eclipse.

Felix

agad wrote:
> Could you help me a bit more? What am I to do to have such plugin as
> project? Is it only "natures" property in .project? Where can I find
> more info?
> Agata
Re: Example project as new plugin [message #250455 is a reply to message #250451] Fri, 29 February 2008 07:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: agata.vackova.javlinconsulting.cz

No, I need to create the plugin, but I want this plugin to create new
project in user workspace, copy files to this project and set some
variables. I would like the plugin to do something like importing project
to the workspace, but automatically.
Re: Example project as new plugin [message #250459 is a reply to message #250455] Fri, 29 February 2008 08:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Agad,

Why not create exactly the project you want manually, and then use that
as the template for what you need to create automatically? What you're
doing is perhaps not so different from EMF's
org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWiz ard which is
designed to allow one to register examples to be installed in the
workspace, so you might want to look at the EMF source. It uses
org.eclipse.ui.wizards.datatransfer.ImportOperation so you could have a
look at that too.


agad wrote:
> No, I need to create the plugin, but I want this plugin to create new
> project in user workspace, copy files to this project and set some
> variables. I would like the plugin to do something like importing
> project to the workspace, but automatically.
>
Re: Example project as new plugin [message #250468 is a reply to message #250459] Fri, 29 February 2008 08:36 Go to previous message
Eclipse UserFriend
Originally posted by: agata.vackova.javlinconsulting.cz

Thank you. It is hint I had expected :-).

> Why not create exactly the project you want manually, and then use that
> as the template for what you need to create automatically? What you're
> doing is perhaps not so different from EMF's
> org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWiz ard which is
> designed to allow one to register examples to be installed in the
> workspace, so you might want to look at the EMF source. It uses
> org.eclipse.ui.wizards.datatransfer.ImportOperation so you could have a
> look at that too.
Previous Topic:version control basics?
Next Topic:Save Failed - java.lang.NoClassDefFoundError
Goto Forum:
  


Current Time: Wed May 14 07:24:23 EDT 2025

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

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

Back to the top