[JPP-Devel] SVN: [6399] core/trunk

2020-08-31 Thread jump-pilot-svn--- via Jump-pilot-devel
Revision: 6399 http://sourceforge.net/p/jump-pilot/code/6399 Author: michaudm Date: 2020-08-31 09:10:20 + (Mon, 31 Aug 2020) Log Message: --- * bugfix #385 RasterImageLayer was not cloneable Modified Paths: -- core/trunk/ChangeLog core/trunk/src/org/

[JPP-Devel] [jump-pilot:bugs] #385 Paste Layerable fails to work with RasterImageLayer class

2020-08-31 Thread michael michaud via Jump-pilot-devel
Problem was not with OpenJUMPSextanteRasterLayer but with RasterImageLayer. Should be fixed in r6399. --- ** [bugs:#385] Paste Layerable fails to work with RasterImageLayer class** **Status:** open **Milestone:** **Labels:** RasterImageLayer **Created:** Mon Jan 19, 2015 05:35 PM UTC by Gius

[JPP-Devel] [jump-pilot:bugs] #385 Paste Layerable fails to work with RasterImageLayer class

2020-08-31 Thread michael michaud via Jump-pilot-devel
- **status**: open --> pending - **Milestone**: --> OJ_1.16 --- ** [bugs:#385] Paste Layerable fails to work with RasterImageLayer class** **Status:** pending **Milestone:** OJ_1.16 **Labels:** RasterImageLayer **Created:** Mon Jan 19, 2015 05:35 PM UTC by Giuseppe Aruta **Last Updated:** Mo

[JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-08-31 Thread michael michaud via Jump-pilot-devel
Implementing Runtime.addShutdownHook is not too complicated (some explanations here https://www.geeksforgeeks.org/jvm-shutdown-hook-java/). It is not an absolute guarantee as it depends how exactly the process is shutdown. Question is : what can we do during this hook (must not be too long as th

[JPP-Devel] [jump-pilot:bugs] #501 I18N from extension

2020-08-31 Thread michael michaud via Jump-pilot-devel
--- ** [bugs:#501] I18N from extension** **Status:** open **Milestone:** undecided **Created:** Mon Aug 31, 2020 10:32 AM UTC by michael michaud **Last Updated:** Mon Aug 31, 2020 10:32 AM UTC **Owner:** nobody Ede, I prefer to document the usage of I18N in Extension in a separate ticket. He

[JPP-Devel] [jump-pilot:bugs] Re: #501 I18N from extension

2020-08-31 Thread ede via Jump-pilot-devel
On 8/31/2020 12:32, michael michaud wrote: > Ede, I prefer to document the usage of I18N in Extension in a separate ticket. ok > Here are two reasons which drove me to use a hack instead of the I18N class > (indeed there is a third : I have been too lazy to try to fix the two former > reasons)

[JPP-Devel] [jump-pilot:bugs] Re: #322 OJ stops without warnings on system shutdown

2020-08-31 Thread ede via Jump-pilot-devel
applications i work with do not save anything without being explicitly told so. even on windows shutdown. the application simply don't exit and i'll have to force shutdown and go back save my work or at least deal with the dialog that popped up. usually the same as closing the application with u

[JPP-Devel] [jump-pilot:bugs] #482 OpenJUMP Style - "Style">"Import ArcMap Style" seems hard to work

2020-08-31 Thread Giuseppe Aruta
I sugest to keep the code and plugin into the repository but not the plugin into OJ 1.16 > I prepared an extension in the plug-ins section of the repo. I did not solve > the previous problem but the extension compiles, it is loaded and it produces > the exact same error as the internal version (

[JPP-Devel] [jump-pilot:bugs] #482 OpenJUMP Style - "Style">"Import ArcMap Style" seems hard to work

2020-08-31 Thread ede via Jump-pilot-devel
committed a fix fix #482: disable regedit call and always allow selection of ArcGIS_SLD_Converter.exe with the previous selected location preselected let's keep it in OJ 1.16, but remove it in OJ 2.x where lot's of extensions will be missing anyway initially. ..ede --- ** [bugs:#482] OpenJU

[JPP-Devel] SVN: [6400] core/trunk/src/com/vividsolutions/jump/workbench/ui/ WorkbenchFrame.java

2020-08-31 Thread jump-pilot-svn--- via Jump-pilot-devel
Revision: 6400 http://sourceforge.net/p/jump-pilot/code/6400 Author: edso Date: 2020-08-31 12:02:20 + (Mon, 31 Aug 2020) Log Message: --- try to fix #322 OJ stops without warnings on system shutdown Modified Paths: -- core/trunk/src/com/vividsolutions/ju

[JPP-Devel] Fwd: SVN: [6400] core/trunk/src/com/vividsolutions/jump/workbench/ui/ WorkbenchFrame.java

2020-08-31 Thread edgar . soldin
can't test within eclipse. will have to run it in a vm. please test as well. ..ede Forwarded Message Subject: [JPP-Devel] SVN: [6400] core/trunk/src/com/vividsolutions/jump/workbench/ui/ WorkbenchFrame.java Date: Mon, 31 Aug 2020 12:02:20 + From: jump-pilot-svn--- via Jump

[JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-08-31 Thread ede via Jump-pilot-devel
- **status**: open --> pending - **assigned_to**: ede - **Operating System**: --> Windows - **Milestone**: --> OJ_1.16 - **Comment**: applications i work with do not save anything without being explicitly told so. even on windows shutdown. the application simply don't exit and i'll have to for

[JPP-Devel] [jump-pilot:bugs] Re: #322 OJ stops without warnings on system shutdown

2020-08-31 Thread ede via Jump-pilot-devel
On 8/31/2020 14:26, ede wrote: > tl;dr Runtime.addShutdownHook() should run > com.vividsolutions.jump.workbench.ui.WorkbenchFrame.closeApplication() done. > > implemented for testing in r6400 well. according to my tests that does a lot of nothing.in the best case 1. run with 'java' so you have a

[JPP-Devel] [jump-pilot:bugs] #501 I18N from extension

2020-08-31 Thread ede via Jump-pilot-devel
hey Mike, ohh fun.. there is already a static I18N.get(String key) method ;(.. looks like legacy i'll add I18N.get(String key, Object ...) instance method for now. and we'll get rid of the static version in OJ2. ok? ..ede --- ** [bugs:#501] I18N from extension** **Status:** open **Milestone

[JPP-Devel] [jump-pilot:bugs] #501 I18N from extension

2020-08-31 Thread michael michaud via Jump-pilot-devel
get(String key) with a single parameter is already used as a static method, so it would be a bit confusing(static get(key) is the most frequently used method of I18N). Also the deprecated getText method currently has a static version and a non static version. None of them seem to be used in Ope

[JPP-Devel] [jump-pilot:bugs] Re: #501 I18N from extension

2020-08-31 Thread ede via Jump-pilot-devel
On 8/31/2020 18:19, michael michaud wrote: > String getText(Syting label) > String getText(Syting label, Object...objects) > static String get(Syting label) // legacy > static String getMessage(Syting label) > static String getMessage(Syting label, Object...objects) > > must remove : > static getTe

[JPP-Devel] [jump-pilot:bugs] #501 I18N from extension

2020-08-31 Thread michael michaud via Jump-pilot-devel
Yes, neat, i'm ok with this proposition ;-) Does it mean you would also remove getMessage variant ? --- ** [bugs:#501] I18N from extension** **Status:** open **Milestone:** undecided **Created:** Mon Aug 31, 2020 10:32 AM UTC by michael michaud **Last Updated:** Mon Aug 31, 2020 04:19 PM UTC **

[JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-08-31 Thread michael michaud via Jump-pilot-devel
I could not see much effect either (same environment as yours). Seems that the saving dialog appears a fraction of second, but the task killer is not one to be very patient. Also I dicovered that tasks in the taskmanager can show their subprocesses : killing OpenJDK kill the whole process, but s

Re: [JPP-Devel] [jump-pilot:bugs] #322 OJ stops without warnings on system shutdown

2020-08-31 Thread Giuseppe Aruta
Regarding Linux, OJ can be launched by console. Closing the console shuts down Openjump with no saving. Sometimes it can be useful for processes -Sextante- that can basically divore all memory and freeze OJ . Having a warning like Kosmo that advice user's that OS is going to shut could be useful bu

Re: [JPP-Devel] [jump-pilot:bugs] Re: #501 I18N from extension

2020-08-31 Thread Giuseppe Aruta
>I18N.getInstance("my.great.extension").get(String) seems more logical and easy to use Il lun 31 ago 2020, 18:58 ede via Jump-pilot-devel < jump-pilot-devel@lists.sourceforge.net> ha scritto: > On 8/31/2020 18:19, michael michaud wrote: > > String getText(Syting label) > String getText(Syting l

Re: [JPP-Devel] [jump-pilot:bugs] #498 Most GeoTIFF drivers fail with a simple GeoTIFF image

2020-08-31 Thread Giuseppe Aruta
Regarding RasterImageLayer. It has a quite good method to read geospatial position of GeoTiff, even if fails to read raster. And it automatically generated a world file. This is a good as I can reopen the GeoTiff with external software (I prefer imagej) and save back in a format readable by RasterI

[JPP-Devel] [jump-pilot:bugs] Re: #501 I18N from extension

2020-08-31 Thread ede via Jump-pilot-devel
On 31.08.2020 19:15, michael michaud wrote: > Yes, neat, i'm ok with this proposition ;-) > Does it mean you would also remove getMessage variant ? absolutely. only the mentioned methods will survive. the milestone is already set to OJ2. let's tackle it then. ..ede --- ** [bugs:#501] I18N from

[JPP-Devel] [jump-pilot:bugs] Re: #322 OJ stops without warnings on system shutdown

2020-08-31 Thread ede via Jump-pilot-devel
so it shall be done in OJ 2.x .. ede On 31.08.2020 20:03, Giuseppe Aruta wrote: >> I18N.getInstance("my.great.extension").get(String) > > seems more logical and easy to use > > > Il lun 31 ago 2020, 18:58 ede via Jump-pilot-devel < > jump-pilot-devel@lists.sourceforge.net> ha scritto: > >> On 8/31

[JPP-Devel] [jump-pilot:bugs] #494 Load WKT file with set options

2020-08-31 Thread János Tamás Kis
Maybe... I has been wrong in the previous example... I am sorry. i get and i have lot of similar file as data.csv (data with yx(z) OR with wkt) often so I must be able to process efficiently so i would like to solve/avoid all fo problem... in my oppinion there is two (or more) parts of the probl