Re: [JPP-Devel] MeasureTool change

2010-07-14 Thread Matthias Scholz
Hi Stefan, I agree you from your point of view (measure of lines), but my point of view was for measure of areas. So i think the measurement tool should be extended in the future. If I compare the OJ measure tool with other GIS, then I see some mistakes and possibilities to improve OJ. Matthia

Re: [JPP-Devel] How to import a table of polygons

2010-07-14 Thread Stefan Steiniger
Hei Peppe, I have a tool too, which creates lines from points if an attribute is given that can be used for ordering (well.. assuming that you load the data in the correct order you could just create a new attribute and assign numbers in order). However, that would just create a line from all

Re: [JPP-Devel] how to refresh a layer in run time

2010-07-14 Thread Stefan Steiniger
Hei Elton, my experimental code is attached. But not sure if it helps you. on vi.. maybe you have to apply the style? or the trick is done by firing the layer-changed event? haven't tested. stefan Elton Chan wrote: Hi Stefan, Could you send me your code for my testing as I would like to see

Re: [JPP-Devel] Development with OpenJUMP

2010-07-14 Thread Stefan Steiniger
the best way to see what GUI function is related to what class/plugin is to use the translation/languages files (search for the string) and check then the classpath e.g. searching for "Feature Info Tool" in "jump_en.properties" will result in: com.vividsolutions.jump.workbench.ui.cursortool.Fea

Re: [JPP-Devel] MeasureTool change

2010-07-14 Thread Stefan Steiniger
mhm.. don't know after testing (It's still committed) - but now people who want to measure line distance may be confused? any opinions by others? stefan Stefan Steiniger wrote: > Hei, > > what would be the effect for you (area calculations?)? Will everything > else still work? > > However, I

Re: [JPP-Devel] MeasureTool change

2010-07-14 Thread Stefan Steiniger
Hei, what would be the effect for you (area calculations?)? Will everything else still work? However, I committed it. Matthias Scholz wrote: > Hi, > > is it possible, that anyone of the commiters can make the following > little change in > com.vividsolutions.jump.workbench.ui.cursortool.Measu

[JPP-Devel] Just pure curiostity

2010-07-14 Thread Helmut Seidel M.A.
Hello everybody, after I messed around with some homemade perl an c-code I finally started to develop plugins with openJump. But still out of pure curiosity (I'm woring as a university teacher - that's where my curiosity comes from) I wonder how can Layers be loaded so fast - It took minutes i