Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Questions about wizards
Questions about wizards [message #518298] Wed, 03 March 2010 17:16 Go to next message
José is currently offline José
Messages: 31
Registered: March 2010
Member
Hello!

I'm new in this world of developing things for eclipse but I have some questions about it. I have done a wizard. And when I do the perform finish I create all the files like the user said in my wizard; but in the end, I would like to open a project using those file I have generated. There are from a android project so I would like to open that project like it would be a Android project, how can I do it?.

Apart of that, I want to include the Android project base in my wizard's project, to do the copy of that wizard to the workspace folder. I know how to identify the workspace folder of a eclipse, but I don't know how to know the fully path of a folder that is inside of my wizard plug-in...there is any way to know it?.

For the moment that's all, I don't know if it's here where I should ask it... I'm sorry if I'm wrong.

Thank you!
Re: Questions about wizards [message #519502 is a reply to message #518298] Tue, 09 March 2010 03:45 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1049
Registered: July 2009
Senior Member

Hi Jose,

I think the easiest it to use the Google Tools to create your Android
project and then write a plugin to create the additional files in your
projects. This can also be a wizard.

You find an example for creating a plugin which creates a file in an
existing project here:
http://www.vogella.de/articles/EclipsePlugIn/article.html

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter



On 03.03.2010 09:17, José wrote:
> Hello!
>
> I'm new in this world of developing things for eclipse but I have some
> questions about it. I have done a wizard. And when I do the perform
> finish I create all the files like the user said in my wizard; but in
> the end, I would like to open a project using those file I have
> generated. There are from a android project so I would like to open that
> project like it would be a Android project, how can I do it?.
>
> Apart of that, I want to include the Android project base in my wizard's
> project, to do the copy of that wizard to the workspace folder. I know
> how to identify the workspace folder of a eclipse, but I don't know how
> to know the fully path of a folder that is inside of my wizard
> plug-in...there is any way to know it?.
>
> For the moment that's all, I don't know if it's here where I should ask
> it... I'm sorry if I'm wrong.
>
> Thank you!
Re: Questions about wizards [message #519701 is a reply to message #518298] Tue, 09 March 2010 17:26 Go to previous message
José is currently offline José
Messages: 31
Registered: March 2010
Member
Thank you so much!, very interesting...

I have already done a wizard that generates the files... the problems is that now..I have all the project (android one) done...but I want to let it open for the user like a android project.....it's similar like do the import action but by code....

Which way to do this? open the project when the wizard is finished (on perform finish I suppose).

Thanks again!

Edit: and then.. I should know how to ask if the Android plug-in is already installed...because if it's not...I must show an error, how can I know it? :S

[Updated on: Tue, 09 March 2010 17:33]

Report message to a moderator

Previous Topic:Exception initializing an RCP application...
Next Topic:how to build software for MacOsX?
Goto Forum:
  


Current Time: Wed Sep 03 07:07:10 GMT 2014

Powered by FUDForum. Page generated in 0.02278 seconds