[JPP-Devel] SVN: [5170] core/trunk/src/org/openjump/core/ui/plugin/file/open/ JFCWithEnterAction.java

2016-11-06 Thread jump-pilot-svn
Revision: 5170 http://sourceforge.net/p/jump-pilot/code/5170 Author: edso Date: 2016-11-06 20:58:16 + (Sun, 06 Nov 2016) Log Message: --- only concatenate path if the file name is _not_ absolute Modified Paths: -- core/trunk/src/org/openjump/core/ui/plug

Re: [JPP-Devel] overwrite warning w/ SaveLayersWithoutDataSourcePlugIn

2016-11-06 Thread Stefan Steiniger
yes, feels wrong ;) -- Originalnachricht --Von: Datum: 06.11.2016 12:22An: OpenJump develop and use;Betreff:[JPP-Devel] overwrite warning w/ SaveLayersWithoutDataSourcePlugInhey All, while playing w/ the above plugin i noticed that it overwrites w/o any warning. that feels wrong. what

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

2016-11-06 Thread jump-pilot-svn
Revision: 5169 http://sourceforge.net/p/jump-pilot/code/5169 Author: michaudm Date: 2016-11-06 17:26:22 + (Sun, 06 Nov 2016) Log Message: --- Add a selection mode to select features with a Multi-Geometry type Update of selection tools (generics...) Modified Paths: -

Re: [JPP-Devel] SVN: [5054] core/trunk

2016-11-06 Thread edgar . soldin
right. should be fixed in r5168.. thx ede On 06.11.2016 17:34, Michaël Michaud wrote: > Hi Ede, > > When starting OpenJUMP, I now get the following exception from the console : > > java.lang.NullPointerException > at > org.openjump.core.ui.plugin.file.open.JFCWithEnterAction.getSelectedFil

[JPP-Devel] SVN: [5168] core/trunk/src/org/openjump/core/ui/plugin/file/open/ JFCWithEnterAction.java

2016-11-06 Thread jump-pilot-svn
Revision: 5168 http://sourceforge.net/p/jump-pilot/code/5168 Author: edso Date: 2016-11-06 17:18:05 + (Sun, 06 Nov 2016) Log Message: --- fix NPE during startup java.lang.NullPointerException at org.openjump.core.ui.plugin.file.open.JFCWithEnterAction.getSelectedF

Re: [JPP-Devel] SVN: [5054] core/trunk

2016-11-06 Thread Michaël Michaud
Hi Ede, When starting OpenJUMP, I now get the following exception from the console : java.lang.NullPointerException at org.openjump.core.ui.plugin.file.open.JFCWithEnterAction.getSelectedFile(JFCWithEnterAction.java:79) at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installCo

Re: [JPP-Devel] overwrite warning w/ SaveLayersWithoutDataSourcePlugIn

2016-11-06 Thread Michaël Michaud
Hi Ede, You're right. It should warn the user. Note that when the user tries to close a project with unsaved layers, te same code is used (and probably the warning is also missing). Michaël Le 06/11/2016 à 16:21, edgar.sol...@web.de a écrit : > hey All, > > while playing w/ the above plugin i

Re: [JPP-Devel] AbstractPlugIn and EnableCheck

2016-11-06 Thread Michaël Michaud
Hi Ede, Thanks for your answer. I know your position about cleaning and upgrading the code. I think there is no absolute rule in this domain. We can probably live for ever with old pieces of code named "workAroundForJava14" or on the contrary refactor the code at every turn. I think I reasona

[JPP-Devel] overwrite warning w/ SaveLayersWithoutDataSourcePlugIn

2016-11-06 Thread edgar . soldin
hey All, while playing w/ the above plugin i noticed that it overwrites w/o any warning. that feels wrong. what do you say? ..ede -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi proces

Re: [JPP-Devel] SVN: [5054] core/trunk

2016-11-06 Thread edgar . soldin
Mike, this should be fixed permanently now w/ r5167.. ede On 09.10.2016 19:24, Michaël Michaud wrote: > Hi Ede, > > >> Mike, >> >> i moved a workaround for JFC from deep within the Wizards, where (as it was >> described) sometimes getSelectedFile() returns null, although there is one >> selec

[JPP-Devel] SVN: [5167] core/trunk/src/org/openjump/core/ui/plugin/file

2016-11-06 Thread jump-pilot-svn
Revision: 5167 http://sourceforge.net/p/jump-pilot/code/5167 Author: edso Date: 2016-11-06 15:16:45 + (Sun, 06 Nov 2016) Log Message: --- fix JFCWithEnterAction and reactivate it in SaveLayersWithoutDataSourcePlugIn reformatting: removed some tabs Modified Paths: --

Re: [JPP-Devel] DataSource URI_KEY vs FILE

2016-11-06 Thread edgar . soldin
On 05.10.2016 09:05, Michaël Michaud wrote: > Hi Ede, > > I made a quick fix to solve #431 but I wonder if it should'nt be fixed more > deeply. > > The bug has been introduced with the addition of DataSource.URI_KEY. > > It seems that for file based sources, we now have to keys to define the pa

[JPP-Devel] SVN: [5166] core/trunk/src/com/vividsolutions/jump/io/datasource/ ReaderWriterFileDataSource.java

2016-11-06 Thread jump-pilot-svn
Revision: 5166 http://sourceforge.net/p/jump-pilot/code/5166 Author: edso Date: 2016-11-06 14:23:06 + (Sun, 06 Nov 2016) Log Message: --- generalize FILE/URI ReaderWriterDatasource fix somewhat Modified Paths: -- core/trunk/src/com/vividsolutions/jump/i

Re: [JPP-Devel] Can't edit the schema of some layers

2016-11-06 Thread edgar . soldin
On 04.11.2016 15:19, edgar.sol...@web.de wrote: > On 04.11.2016 14:43, Rahkonen Jukka (MML) wrote: >> > Yes, when reading GeoJSON it is OK to create a column as the first met >> > not-null datatype and populate the column with a mixture of proper values >> > and null values. > > ok, i'll patch th

[JPP-Devel] SVN: [5165] core/trunk/src/com/vividsolutions/jump/io/geojson/ GeoJSONFeatureCollectionWrapper.java

2016-11-06 Thread jump-pilot-svn
Revision: 5165 http://sourceforge.net/p/jump-pilot/code/5165 Author: edso Date: 2016-11-06 12:49:20 + (Sun, 06 Nov 2016) Log Message: --- allow NULL values in otherwise typed columns (Long, Boolean etc.) while reading GeoJSON Modified Paths: -- core/tr

[JPP-Devel] SVN: [5164] core/trunk/src/com/vividsolutions/jump/io/geojson/ GeoJSONFeatureCollectionWrapper.java

2016-11-06 Thread jump-pilot-svn
Revision: 5164 http://sourceforge.net/p/jump-pilot/code/5164 Author: edso Date: 2016-11-06 12:01:19 + (Sun, 06 Nov 2016) Log Message: --- write NULL values for first feature _only_ to make sure that the attribute order stays the same when round tripping (load/save/load)

Re: [JPP-Devel] AbstractPlugIn and EnableCheck

2016-11-06 Thread edgar . soldin
On 06.11.2016 00:02, Michaël Michaud wrote: > Hi Ede, hey Mike, > A question about plugin design. > > In 2012, you added both > - an EnableCheck interface implemented by AbstractPlugIn > - an implementation of this interface in AbstractPlugIn which retrieve > older createEnableCheck method by r

[JPP-Devel] SVN: [5163] core/trunk/src/org/openjump/core/ui/plugin/mousemenu/ MeasureSelectedPlugIn.java

2016-11-06 Thread jump-pilot-svn
Revision: 5163 http://sourceforge.net/p/jump-pilot/code/5163 Author: michaudm Date: 2016-11-06 10:57:52 + (Sun, 06 Nov 2016) Log Message: --- Small improvements, fix I18N typo Modified Paths: -- core/trunk/src/org/openjump/core/ui/plugin/mousemenu/Measu

[JPP-Devel] SVN: [5162] core/trunk/src/com/vividsolutions/jump/workbench/ui

2016-11-06 Thread jump-pilot-svn
Revision: 5162 http://sourceforge.net/p/jump-pilot/code/5162 Author: michaudm Date: 2016-11-06 10:55:04 + (Sun, 06 Nov 2016) Log Message: --- Upgrade selection api to java 7 (generics, unboxing) Modified Paths: -- core/trunk/src/com/vividsolutions/jump/

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

2016-11-06 Thread jump-pilot-svn
Revision: 5161 http://sourceforge.net/p/jump-pilot/code/5161 Author: michaudm Date: 2016-11-06 10:16:42 + (Sun, 06 Nov 2016) Log Message: --- Fix bug #439 MakeValid now uses SymDifference instead of difference to repair overlapping holes (which corresponds what is di