Re: [JPP-Devel] to SS and Stefan - about online New User Guide

2007-09-24 Thread Giuseppe Aruta
Thanks SS, I have have days free I started to upgrade the "New User Guide", integrating with other wiki page. I hope my English won't failure! peppe --- Sunburned Surveyor <[EMAIL PROTECTED]> ha scritto: > Peppe, > > I think you have become our official "master of > documentation". You > have my

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

2007-09-24 Thread Larry Becker
The core/trunk seems to be broken in WorkbenchFrame at: public TaskFrame addTaskFrame(Task task) { TaskFrame taskFrame = new TaskFrame(task, workbenchContext); if (taskFrameFactory != null) { taskFrame = taskFrameFactory.createComponent(); taskFrame.setTask

Re: [JPP-Devel] Checking Java version?

2007-09-24 Thread Sunburned Surveyor
"...on Windows not so easy." Would this be a reason to write an OpenJUMP launcher in a DotNET language like C#? Then we could compile the launcher to a .exe using an open source IDE like SharpDevelop. The Sunburned Surveyor On 9/24/07, Paul Austin <[EMAIL PROTECTED]> wrote: > Landon, > > To do i

Re: [JPP-Devel] File drag-and-drop revisited

2007-09-24 Thread Martin Davis
Excellent! This will be great functionality to have in OJ. M Paul Austin wrote: > Martin, > > This will fit nicely into my new OpenFile plug-in, all I'll need to do > is make one small change to be able to call the plug-in with a list of > files rather than a single file (used in the open recent

Re: [JPP-Devel] Checking Java version?

2007-09-24 Thread Paul Austin
Landon, To do it in the batch file you would need to be able to do something like java --version and then extract the version string from it. Then do some parsing on the line that contains the version to convert it to a meaningful double so you could compare it. Now doing that in unix is "fairly"

Re: [JPP-Devel] Checking Java version?

2007-09-24 Thread Sunburned Surveyor
Maybe I misspoke. I was thinking we could do the check in the batch file itself, and not in any of OpenJUMP's Java source code. Is that possible? Landon On 9/24/07, Paul Austin <[EMAIL PROTECTED]> wrote: > In the JUMP launcher we can look at the SystemProperty > java.specification.version to mak

Re: [JPP-Devel] Checking Java version?

2007-09-24 Thread Paul Austin
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 they won't even

Re: [JPP-Devel] Checking Java version?

2007-09-24 Thread Larry Becker
After looking over the literature, I don't see a cross-platform solution that wouldn't add to the potential problem. I'm concerned that it might incorrectly stop JUMP from running when it was actually possible, due to variations in the platform and JVM. If it makes it as far as displaying the spl

[JPP-Devel] ReplaceValuePlugIn

2007-09-24 Thread Eric Lemesre
Hello, Thank verry much for the good job in OpenJUMP. I make somme modifications in the plugIn ReplaceValuePlugIn (in org.openjump.sigle.plugin.replace). This plugin replace a attribute with a constante. And now we can copy one attribute to an other one. I joint the code. How can i have acces t

Re: [JPP-Devel] File drag-and-drop revisited

2007-09-24 Thread Larry Becker
Hi Paul, >This will fit nicely into my new OpenFile plug-in I was thinking the same thing. thanks, Larry On 9/24/07, Paul Austin <[EMAIL PROTECTED]> wrote: > > Martin, > > This will fit nicely into my new OpenFile plug-in, all I'll need to do > is make one small change to be able to call the pl

Re: [JPP-Devel] File drag-and-drop revisited

2007-09-24 Thread Paul Austin
I've checked in the support for drag and drop for files to my branch. Tomorrow I will add support for DND of projects. Paul Martin Davis wrote: > That'd be great. The FileDrop code is almost trivial - the trick will > be figuring out where and how to patch it into JUMP. One thing that > will

Re: [JPP-Devel] File drag-and-drop revisited

2007-09-24 Thread Paul Austin
Martin, This will fit nicely into my new OpenFile plug-in, all I'll need to do is make one small change to be able to call the plug-in with a list of files rather than a single file (used in the open recent). With this approach if there are any required options or more than one file loader then th

Re: [JPP-Devel] File drag-and-drop revisited

2007-09-24 Thread Martin Davis
That'd be great. The FileDrop code is almost trivial - the trick will be figuring out where and how to patch it into JUMP. One thing that will be needed I think is a mapping from file extensions to DataSource types (AFAIK that's not present now). I'd volunteer myself, but right now all my op

Re: [JPP-Devel] OpenJUMP Batch File - Dynamic Classpath Construction

2007-09-24 Thread Paul Austin
No problems Paul Sunburned Surveyor wrote: > Many thanks to the programmer that created the new batch file for > OpenJUMP that dynamically constructs the classpath from all Jars in > the OpenJUMP /lib directory. This makes adding libraries much easier. > > The Sunburned Surveyor > > -

[JPP-Devel] OpenJUMP Batch File - Dynamic Classpath Construction

2007-09-24 Thread Sunburned Surveyor
Many thanks to the programmer that created the new batch file for OpenJUMP that dynamically constructs the classpath from all Jars in the OpenJUMP /lib directory. This makes adding libraries much easier. The Sunburned Surveyor --

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

2007-09-24 Thread Sunburned Surveyor
I'll see if I can build it and give it a test tomorrow after work, since I'll be reviewing some more of Peppe's docs tonight. :] SS So you have a link to a nightly build by change? On 9/24/07, Paul Austin <[EMAIL PROTECTED]> wrote: > I haven't finished the I18N yet > > Paul > > Paul Austin wrote

Re: [JPP-Devel] Checking Java version?

2007-09-24 Thread Sunburned Surveyor
Jukka, I have no idea how we might handle the JRE version in the batch script on Windows or Linux. Maybe Larry or Paul have suggestions? Maybe we need to add a switch statement to the batch script that uses the "java -version" command and prints an error message if the installed version isn't app

Re: [JPP-Devel] @ Sefan - Upgrade OJ 1.2D to 1.2E? Future developments?

2007-09-24 Thread Sunburned Surveyor
I have organized the "Todo before shipping next release" page on the OpenJUMP wiki into "completed" and "incomplete" lists. I hope this will make it a little easier to see what still needs to be done before another release. The Sunburned Surveyor On 9/24/07, Sunburned Surveyor <[EMAIL PROTECTED]>

Re: [JPP-Devel] @ Sefan - Upgrade OJ 1.2D to 1.2E? Future developments?

2007-09-24 Thread Sunburned Surveyor
Might we be able to provide two (2) dowloads. We can have a beginner download with an included JVM and an expert download with just OpenJUMP. SS On 9/22/07, Larry Becker <[EMAIL PROTECTED]> wrote: > HI Peppe, > > One comment about including a version bundled with a JVM. The point of > doing t

Re: [JPP-Devel] Help Adding Menu Item Via PlugIn

2007-09-24 Thread Sunburned Surveyor
Peppe, I am working on this PDF support in my super select plug-in. I will let you know how things work out. The Sunburned Surveyor On 9/20/07, Giuseppe Aruta <[EMAIL PROTECTED]> wrote: > Hi SS, > I am very curious about your project. > > I am sending this link http://www.mapmaker.com/. > This

Re: [JPP-Devel] to SS and Stefan - about online New User Guide

2007-09-24 Thread Sunburned Surveyor
Peppe, I think you have become our official "master of documentation". You have my permission to make whatever changes you need to the wiki. I only put up the new user guide on the wiki in hopes that it would generate some interest. She's all yours. :] Thanks for all you work. The Sunburned Sur

Re: [JPP-Devel] File drag-and-drop revisited

2007-09-24 Thread Sunburned Surveyor
Martin, Maybe I can take a peek at the code in the library this week? SS On 9/19/07, Martin Davis <[EMAIL PROTECTED]> wrote: > Hey, coders. > > Check out the FileDrop library for doing file drag-and-drop: > > http://iharder.sourceforge.net/filedrop/ > > The code is unlicensed and can be repack

Re: [JPP-Devel] Modularization of code

2007-09-24 Thread Sunburned Surveyor
Martin wrote: "Yes, agreed. I think what you are saying is that the Workbench should be clearly split into Model and View modules. Whereever possible, functionality should be defined in terms of the Workbench Model, not Swing GUI components. The View can depend on the Model, but not vice-versa (s

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

2007-09-24 Thread Sunburned Surveyor
Stefan, This is an excellent e-mail. (By the way, I saw your picture online the other day and was surprised at how young you are. I guess your wisdom had me picturing you as some old university professor.) :] If we came up with a bug classification system I would be willing to spend a couple of w

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

2007-09-24 Thread Paul Austin
I haven't finished the I18N yet Paul Paul Austin wrote: > All, > > I have checked in my new Open File, Project, Recent plug-ins and the the > FileLayerLoader framework into SVN under my branch core/branches/paustin > > You can checkout this project or ig using eclipse you can use > Team>Switch to

Re: [JPP-Devel] a rewiew on menu bar

2007-09-24 Thread Paul Austin
Pepe, Eventually what I would like to see for the file menu is something like this. File New Project --- Category Layer : -- Open File... Open Project... Open Recent file1 project1 -- Save plug-ins : -- Print plug-ins : -- Exit

[JPP-Devel] New Open File plug-ins

2007-09-24 Thread Paul Austin
All, I have checked in my new Open File, Project, Recent plug-ins and the the FileLayerLoader framework into SVN under my branch core/branches/paustin You can checkout this project or ig using eclipse you can use Team>Switch to switch to that branch to test it out. If you want to create a new Fi

Re: [JPP-Devel] OJ - MrSID - Linux

2007-09-24 Thread Larry Becker
I found: ETC_PATH = WORKING_DIR + "etc" + sep; TMP_PATH = WORKING_DIR + "tmp" + sep; MRSIDDECODE = ETC_PATH + "mrsiddecode.exe"; MRSIDINFO = ETC_PATH + "mrsidinfo.exe"; in the AddSIDLayerPlugIn. regards, Larry On 9/23/07, Pedro Doria Meunier < [EMAIL PROTECTED]> w

Re: [JPP-Devel] Cadplan Printer plugin kills my computer (Solved)

2007-09-24 Thread Geoffrey G Roy
Dear Jukka and other users I have uploaded a new version of the printer plugin that allows the user to abort the printing is more that 50 printed pages are requested. Geoff Rahkonen Jukka wrote: >> Dear Jukka >> > > >> So we can get to the bottom of this, could you send me a copy of the