[JPP-Devel] OJ behaviour when it is closed without saving project file

2015-06-24 Thread Giuseppe Aruta
Hi all, I already post this mail to [JUMP] lis SVN. I put here also for user who are not involved on developing just to explore other opinion. The test I did is on OpenJUMP 4508. This is a OJ behavior when it is closed "before saving the project file", *in italics my comments*: a) Open OJ and *lo

Re: [JPP-Devel] OJ behaviour when it is closed without saving project file

2015-06-24 Thread edgar . soldin
On 24.06.2015 10:58, Giuseppe Aruta wrote: > My conclusion: > 1) I think we need anyhow a warning message that ask user to save the project > (see point a, c and e) > 2) extend the automatically generated warning to the presence of "temporary > raster layer" and to save them (see point d) > 3) p

Re: [JPP-Devel] OJ behaviour when it is closed without saving project file

2015-06-24 Thread sstein
thanks for the analysis, Peppe. The proposal sounds good to me, if you want to go ahead. Warning messages before closing something are never wrong. I think QGis does ask too, when closing a project. cheers,stefan -- Originalnachricht --Von: Giuseppe Aruta Datum: 24.06.2015 4:58An: OpenJum

Re: [JPP-Devel] OJ behaviour when it is closed without saving project file

2015-06-24 Thread sstein
thanks for the analysis, Peppe. The proposal sounds good to me, if you want to go ahead. Warning messages before closing something are never wrong. I think QGis does ask too, when closing a project. cheers,stefan -- Originalnachricht --Von: Giuseppe Aruta Datum: 24.06.2015 4:58An: OpenJum

Re: [JPP-Devel] OJ behaviour when it is closed without saving project file

2015-06-24 Thread Michaël Michaud
Hi Peppe, All your propositions makes sense to me, Michaël Le 24/06/2015 10:58, Giuseppe Aruta a écrit : Hi all, I already post this mail to [JUMP] lis SVN. I put here also for user who are not involved on developing just to explore other opinion. The test I did is on OpenJUMP 4508. This is

Re: [JPP-Devel] OJ behaviour when it is closed without saving project file

2015-07-01 Thread Giuseppe Aruta
Hi all, I gave a look at class WorkBenchFrame. I made two small changes a) on closing OpenJUMP, a warning message asks user if he wants to save the selected project. b) when a user try to close a project, a simple warning message ask if user really want to close it. I checked the other code and tr