Re: [JPP-Devel] Feature collections modified by default

2010-08-09 Thread Andreas Schmitz
Stefan Steiniger wrote: Hi, finally I'm getting back to this. playing save is what we should do. For creating new layers I am most often using context.addLayer() - so why not adding the flagging there instead of changing all plugins? An option would be to create a second addLayer() method

Re: [JPP-Devel] Selectionstyle Patch

2010-08-09 Thread Larry Becker
Hi Matthias, The code does indeed look much more efficient, however it still doesn't default to the old selection behavior, so I'm not sure how users outside your organization are going to react to the change. I don't like it as well as the current method which outlines the handles. Also

Re: [JPP-Devel] SextanteRasterLayer, pixel values and visualization

2010-08-09 Thread Stefan Steiniger
Hei Alberto, I changed the RasterImageLayer class to allow for dynamic loading. I haven't tested fully if it works as expected. Can you have a look. With respect to this I chose now some arbitrary values for maxPixelsForFastDisplayMode so we can change it... I have also added the changes

Re: [JPP-Devel] Feature collections modified by default

2010-08-09 Thread Michaƫl Michaud
Hi, ok. I've attached patch which changes the following: * new feature collections are again unmodified by default * PlugInContext has an added addLayer method taking a featureCollectionModified parameter for convenience * when OpenJUMP is closed, and no layers have been modified, it

Re: [JPP-Devel] SextanteRasterLayer, pixel values and visualization

2010-08-09 Thread Stefan Steiniger
I actually just see that the Properties dialog of the raster layer has a transparency checkbox stefan Stefan Steiniger wrote: Hei Alberto, I changed the RasterImageLayer class to allow for dynamic loading. I haven't tested fully if it works as expected. Can you have a look. With respect

Re: [JPP-Devel] SextanteRasterLayer, pixel values and visualization

2010-08-09 Thread Stefan Steiniger
me again, I don't have javax.swing.GroupLayout where is that from? I have only GridBagLayout from java.awt.* stefan Stefan Steiniger wrote: I actually just see that the Properties dialog of the raster layer has a transparency checkbox stefan Stefan Steiniger wrote: Hei

Re: [JPP-Devel] Feature collections modified by default

2010-08-09 Thread Stefan Steiniger
Hei Michael, Side note : in both cases, the solution is added at the Layer level and does not take raster into account. I wonder if modification status and dataSource should be shared by all AbstractLayerable ? But this is another question... mhm.. interesting did not think about this

Re: [JPP-Devel] SextanteRasterLayer, pixel values and visualization

2010-08-09 Thread Stefan Steiniger
Hei Alberto, ok.. I have a problem here. I needed to revert some changes (dynamic loading etc). I am not sure what is going on, but if I do now some calculations I don't get proper reference to the rasters/layerable. So sometimes I have no reference and in other instance after the processing