[platform-dev] Project rename

  • From: "sonnenhohl" < >
  • To:
  • Subject: [platform-dev] Project rename
  • Date: Mon, 26 Nov 2012 06:37:34 -0500

I have a situation where the user of my app renames the project name, 
everything runs fine but when the user closes the app and open it again the 
last project don´t open again because of the rename.

My solution until now, was to execute this after rename:

1. Close Current Project
OpenProjects.getDefault().close(new Project[]{pro});

2. Re-Open the project
OpenProjects.getDefault().open(new Project[]{pro},false,false);

That fix the problem above but creates another one, after that user can set 
the re-opened project as "Main Project".

Any suggestions?

Thanks






[platform-dev] Project rename

sonnenhohl 11/26/2012

[platform-dev] Project rename

sonnenhohl 11/26/2012

[platform-dev] Re: Project rename

Christian August Michelsen 11/26/2012

[platform-dev] Project rename

sonnenhohl 11/26/2012

Project Features

Project Links

About this Project

Platform was started in November 2009, is owned by Antonin Nebuzelsky, and has 138 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close