Re: [JPP-Devel] OpenJUMP releases and bug management

2007-09-25 Thread Andreas Schmitz
Stefan Steiniger wrote: Hello, > took me a long time to come to this email. > It is longer than intended .. and i actually don't want to start the > discussion on this now, as some people are still in holidays and i am > busy with other things as well. > 1) my comments on the release strategy

Re: [JPP-Devel] Pluggable Rendering

2007-09-25 Thread Andreas Schmitz
Stefan Steiniger wrote: Hello, > I am not sure how this relates to you question, but i remember that Ugo > did some stuff with image3d.. there is also a screenshot > (http://static.flickr.com/20/70790849_e15117718c_o.jpg). > Furthermore i think the people at lat/lon were working on 3d stuff

[JPP-Devel] R: Checking Java version?

2007-09-25 Thread P . Rizzi Ag . Mobilità Ambiente
> In the JUMP launcher we can look at the SystemProperty > java.specification.version to make sure it is >= 1.5 if not > we display a > window that says you must have version 1.5 or greater and > maybe provide > a clickable link to the Java site. Unfortunately if we compile that > class with 1.5

Re: [JPP-Devel] R: Checking Java version?

2007-09-25 Thread Andreas Schmitz
P.Rizzi Ag.Mobilità Ambiente wrote: Hello, > > In the JUMP launcher we can look at the SystemProperty > > java.specification.version to make sure it is >= 1.5 if not > > we display a > > window that says you must have version 1.5 or greater and > > maybe provide > > a clickable link to the Java

[JPP-Devel] R: R: Checking Java version?

2007-09-25 Thread P . Rizzi Ag . Mobilità Ambiente
I'm not talking about compiling but about running. If you have a Java class file compiled with 1.5 you can run it with 1.4 (AFAIK, at least). Bye Paolo Rizzi > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di > Andreas Schmitz > Inviato: martedì 25 sette

Re: [JPP-Devel] R: R: Checking Java version?

2007-09-25 Thread Andreas Schmitz
P.Rizzi Ag.Mobilità Ambiente wrote: Hello, > I'm not talking about compiling but about running. > If you have a Java class file compiled with 1.5 > you can run it with 1.4 (AFAIK, at least). The problem is that you can only compile 1.5 Source to 1.5 target. An 1.4-JRE naturally does not support

[JPP-Devel] New User Guide page

2007-09-25 Thread Giuseppe Aruta
I started to upgrade SS's New User Guide page: http://openjump.org/wiki/show/New+User+Guide Pelase give a looka nd comments peppe ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html --

[JPP-Devel] R: R: R: Checking Java version?

2007-09-25 Thread P . Rizzi Ag . Mobilità Ambiente
Sheee...!!! You're right!!! I got this wrong!!! You _can_ compile with 1.5 and run with 1.4 _only_ if you don't use any 1.5 specific construct (like generics). I never used any of those and so I never had to care about source and target versions. I remember an old article about Java 1.5 where t

Re: [JPP-Devel] R: R: R: Checking Java version?

2007-09-25 Thread Andreas Schmitz
P.Rizzi Ag.Mobilità Ambiente wrote: Hi, > You _can_ compile with 1.5 and run with 1.4 _only_ if you > don't use any 1.5 specific construct (like generics). > > I never used any of those and so I never had to care > about source and target versions. > > I remember an old article about Java 1.5 w

[JPP-Devel] R: R: R: R: Checking Java version?

2007-09-25 Thread P . Rizzi Ag . Mobilità Ambiente
Very sad from Sun...!!! Just for fun I did a little searching and found a couple of tools capable to weaving 1.5 bytecode into 1.4: http://retroweaver.sourceforge.net/ http://retrotranslator.sourceforge.net/ Never tried them so I have no idea about if and how they work. But if th

Re: [JPP-Devel] New Open File plug-ins

2007-09-25 Thread Paul Austin
All, If you want to try out the new file menu I have a download bundle prepared at http://open.revolsys.com/download/nightly/openjump/openjump-core-1.2-20070925-bin.zip This version supports the drag and drop of files, I took the code from the external library, extracted the bits I needed and

Re: [JPP-Devel] New Open File plug-ins

2007-09-25 Thread Larry Becker
nload/nightly/openjump/openjump-core-1.2-20070925-bin.zip > > This version supports the drag and drop of files, I took the code from > the external library, extracted the bits I needed and add it to the > plug-in so we are not dependent on a 3rd party library (the code is very > small). &

Re: [JPP-Devel] New Open File plug-ins

2007-09-25 Thread Paul Austin
lt;mailto:[EMAIL PROTECTED]>> wrote: > > All, > > If you want to try out the new file menu I have a download bundle > prepared at > > > http://open.revolsys.com/download/nightly/openjump/openjump-core-1.2-20070925-bin.zip > > <http://open.re

[JPP-Devel] DBF required in compressed shapefile

2007-09-25 Thread Larry Becker
Apparently DBF files are required when loading a shapefile archive. I got this message when trying to load world_vector_shoreline.zip: "couldn't find world_vector_shoreline.dbf in compressed file world_vector_shoreline.zip". If you extract it to a folder first, it loads without a problem. Sounds

Re: [JPP-Devel] ReplaceValuePlugIn

2007-09-25 Thread Michaël Michaud
Hi Eric, Nice to see another french guy involved in OpenJUMP development ;-) I reviewed your code and it's ok for me. Maybe you should explain the use case for setting an attribute with another attribute value. Anyway, this is just a new capability of an existing plugin. I can commit the code, or

[JPP-Devel] Help identifying problem with PlugInContext.getLayerManager method...

2007-09-25 Thread Sunburned Surveyor
I'm in the process of tracking down and eliminating bugs in my Super Select Tool. I've got a problem in the method that sets the initial state of the components that are part of the tool's configuration dialog. It seems that my code never returns from the PlugInContext.getLayerManager method. I kn

Re: [JPP-Devel] Help identifying problem with PlugInContext.getLayerManager method...

2007-09-25 Thread Paul Austin
Hi Landon, you're using this.plugin.getPluginContext(), where did you set the plug-in context for that plug-in, if you set it in the initialize method then a whole bunch of things will be null. If you set it in execute then you can be fine. The other option is to get a new plugin context from the

Re: [JPP-Devel] DBF required in compressed shapefile

2007-09-25 Thread Paul Austin
Larry, You're right the CompressedFile class throws an exception if it can't find the file. Maybe you could add a boolean parameter to it to return null instead of an exception if the file does not exist to allow you to ignore missing files. Paul Larry Becker wrote: > Apparently DBF files are re

Re: [JPP-Devel] DBF required in compressed shapefile

2007-09-25 Thread Larry Becker
Yes, the problem is the call to CompressedFile.openFile() throws an exception if the file is not found. In this case it looks like a try catch block around the call will do the trick. Larry On 9/25/07, Paul Austin <[EMAIL PROTECTED]> wrote: > > Larry, > > You're right the CompressedFile class th

Re: [JPP-Devel] Help identifying problem with PlugInContext.getLayerManager method...

2007-09-25 Thread Sunburned Surveyor
Paul, I didn't realize that I need to set the plug-in context in the execute() method and not in the initialize() method. I will make that change. I wonder why I wasn't getting a null-pointer exception when my code executed. Is it because I am inside the event-dispatch thread? Thanks for the hel

Re: [JPP-Devel] New Open File plug-ins

2007-09-25 Thread Paul Austin
s closed. I've rebundled the download I sent, or alternatively wait till tomorrow (Pacific Time) and get the version from http://open.revolsys.com/download/nightly/openjump/ <http://open.revolsys.com/download/nightly/openjump/openjump-core-1.2-20070925-bin.zip> Thanks for testing, Paul Lar

[JPP-Devel] Clarification of Edit top-level-menu item names in English...

2007-09-25 Thread Sunburned Surveyor
I've been working on Peppe's help documentation for the "edit" functions in OpenJUMP. I was wondering if we might name some of the menu items a little more clearly. For example, the "add new feature" and "view/edit feature" items seem to only deal with feature geometries in WKT format, and not wit