Re: [JPP-Devel] Paul's plugins

2007-09-12 Thread Andreas Schmitz
Paul Austin wrote: Hi, > That'll be because I haven't handled any of the internationalization > stuff yet in any detail. ah, ok. Setting the locale to english fixed the problem. Nice work! Best regards, Andreas -- l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49

Re: [JPP-Devel] Issue with poor responsiveness when building Colour Theming Styles list

2007-09-12 Thread Larry Becker
I commented out the code that disabled the Attribute dropdown. Works fine now, but if you really work at it, you can get the GUI out of sync with the model now. I'm not worried about it though. You really have to work at it to break it. Larry On 9/12/07, Martin Davis <[EMAIL PROTECTED]> wrote:

Re: [JPP-Devel] OJ look and feel issue

2007-09-12 Thread Larry Becker
I tried this on my home PC and it looked the same as SkyJUMP. I went though all of the Skins, but that wasn't it. Hmm. Larry On 9/12/07, Larry Becker <[EMAIL PROTECTED]> wrote: > I just noticed that on my PC, OJ's UI looks different from SkyJUMP. > The menus in OJ seem to be rendered without fo

Re: [JPP-Devel] Paul's plugins

2007-09-12 Thread Paul Austin
Larry, Tomorrows build will create a new project if you try and open a recent file and no project is active. I'm going to extend this so if you have projects opened that are minimized you can either create a new project or select one for it to go in. This will also apply to the open file plugin.

Re: [JPP-Devel] Supported Languages

2007-09-12 Thread Larry Becker
SS, What I've been doing is putting in the I18n strings in the jump_en.properties file and getting it working, then copy the strings to all of the other language files. This is basically all you need to do. At each version release, the translation will get updated. However, if you want to d

Re: [JPP-Devel] Paul's plugins

2007-09-12 Thread Michaël Michaud
Hi Paul, Excellent job, I did not test all your plugins and modifications yet, but here is a quick feed back. Docking framework looks nice. It is cool to have a default map filling the main frame. - I don't understand why there are 2 dock and 2 close icons for each internal frame - layers and

Re: [JPP-Devel] Vista Look and Feel

2007-09-12 Thread Sunburned Surveyor
Larry, I also have a Vista computer at home. I didn't want to commit to fixing any Vista bugs currently, because my plate is full with other tasks, but that doesn't mean I won't have the opportunity to do this in the future. I would be happy to test any Vista bug fixes. SS On 9/12/07, Larry Bec

Re: [JPP-Devel] Utiltiy Method For List Box With Layer Names

2007-09-12 Thread Sunburned Surveyor
Michael, I think the logic I need is in the method you mentioned, so you did know what I was talking about. Thank you very much for the info. SS On 9/12/07, Michaël Michaud <[EMAIL PROTECTED]> wrote: > Hi, > > If you try to build a JComboBox with layer names for a plugin UI, try > MultiInputDia

Re: [JPP-Devel] Vista Look and Feel

2007-09-12 Thread Larry Becker
This weekend I'm building a new Vista PC so I can work on this and other Vista bugs. Larry On 9/2/07, Larry Becker <[EMAIL PROTECTED]> wrote: > It is probably a JUMP problem due to the custom list cell rendering. > It probably won't get fixed until one of us developers gets a Vista > system. > >

Re: [JPP-Devel] Layer Properties

2007-09-12 Thread Michaël Michaud
Hi Larry, Excellent plugin ! Michaël Larry Becker a écrit : >A new feature was added last night which adds a menu item "Layer >Properties" to the Layer Name right click menu. This feature will >display layer information and statistics such as name, number of >features, number of points, numbe

Re: [JPP-Devel] Utiltiy Method For List Box With Layer Names

2007-09-12 Thread Michaël Michaud
Hi, If you try to build a JComboBox with layer names for a plugin UI, try MultiInputDialog which has a method called addLayerComboBox(|java.lang.String fieldName, Layer initialValue, LayerManager layerManager|) Sorry if I misunderstood the question Michael Sunburned Surveyor a écrit : >Doe

Re: [JPP-Devel] Paul's plugins

2007-09-12 Thread Larry Becker
Hi Paul, Wow, you have been busy! Thumbs up - New Open File Wizard Thumbs up - New Open Recent Menu (I need to fix an issue if no project is open) OK - Show/hide all for categories Need an example - Filter based theming style (it doesn't update the styles in the layer tree panel yet) Still

Re: [JPP-Devel] Paul's plugins

2007-09-12 Thread Paul Austin
The short answer is Magic! The long answer is where I could not find an extension point I had to go and duplicate the code in my plugin and then replace the existing tools with new ones. If this stuff gets integrated then I'm going to try and make it extensible so people can swap in and out parts

[JPP-Devel] Copying Features To Another Layer

2007-09-12 Thread Sunburned Surveyor
My SuperSelect Tool will have a button that allows the user to copy selected features to a designated layer with a single click. I was wondering, were there any guidlines or rules about the copying process? Do I need to wrap it in an undoable command? Can I copy features from one layer to another

[JPP-Devel] Supported Languages

2007-09-12 Thread Sunburned Surveyor
I hope tomorrow I can begin internationalizing my SuperSelect tool. I figure I'll have about 20 or so Strings to translate. I was wondering, what languages should I try to support? I was thinking of the following languages at a minumum: English Spanish French German I can take care of the Englis

[JPP-Devel] Utiltiy Method For List Box With Layer Names

2007-09-12 Thread Sunburned Surveyor
Does anyone know where I can find some code that fills a ListBox with the names of all Layers in a task? If we don't have that code kicking around some where I will write it. (Perhaps adding a parameter that allows you to filter out layers that aren't selected or visible.) Then I will stick the co

Re: [JPP-Devel] Paul's plugins

2007-09-12 Thread Sunburned Surveyor
I've had a chance to try Paul's docking window improvements, and I must tell everyone that I really love what it has done for OpenJUMP's MDI GUI. Please check it out. I hope everyone like the change to the GUI as much as I do and we can make it part of the official release. (I still want Paul to

Re: [JPP-Devel] Issue with poor responsiveness when building Colour Theming Styles list

2007-09-12 Thread Martin Davis
Sounds good to me, Larry. Having the Attribute dropdown always live might not be the 100% best solution, but at least it will let the user avoid the latency issue. Once it's out there and in use, a better approach might become apparent. I'm not crazy about the idea of an "Update Styles" butto

Re: [JPP-Devel] Issue with poor responsiveness when building Colour Theming Styles list

2007-09-12 Thread Larry Becker
Hi Martin, Yea, I think enabling the Attribute dropdown all of the time would be acceptable. I am familiar with the code and can do it tonight if no one objects or has a better idea. regards, Larry On 9/12/07, Martin Davis <[EMAIL PROTECTED]> wrote: > One thing that is very annoying and that

[JPP-Devel] Issue with poor responsiveness when building Colour Theming Styles list

2007-09-12 Thread Martin Davis
One thing that is very annoying and that we never got around to fixing in JUMP is the sometimes extremely poor responsiveness when enabling Colour Theming on a layer. It often happens that when you click the "Enable colour theming" checkbox JUMP decides that you want to theme on FID and goes o

Re: [JPP-Devel] Paul's plugins

2007-09-12 Thread Paul Austin
Andreas That'll be because I haven't handled any of the internationalization stuff yet in any detail. That particular issue should hopefully be resolved in tonights nightly build. Paul - This SF.net email is sponsored by: M

Re: [JPP-Devel] Paul's plugins

2007-09-12 Thread Andreas Schmitz
Paul Austin wrote: Hi, > - New Open File Wizard > - New Open Recent Menu (I need to fix an issue if no project is open) > - Show/hide all for categories > - Filter based theming style (it doesn't update the styles in the layer > tree panel yet) > - Docking windows support for layers, map, layer a

[JPP-Devel] Paul's plugins

2007-09-12 Thread Paul Austin
All, I have finally got to the point where I can share my plug-ins with the community to get your feedback and to see if any of them should be integrated into the core. You will need to be working against a TRUNK version of openjump from SVN. For my core plugins download the following files http

Re: [JPP-Devel] Layer Properties

2007-09-12 Thread Martin Davis
Great idea, Larry! Maybe this could even display the *actual* class of the FeatureCollection and Features which form the layer? Or is that too developer-oriented for our tender users? Larry Becker wrote: > A new feature was added last night which adds a menu item "Layer > Properties" to the L

Re: [JPP-Devel] ColorThemingStyle Problem

2007-09-12 Thread Larry Becker
Hi Paul, I'd rather not open the thread can of worms right now. Once we start going down the road of investigating if every method in JUMP is thread safe, progress will probably come to a screeching halt. My policy is that if I get concurrent modification exceptions, then I fix them. I spent

Re: [JPP-Devel] ColorThemingStyle Problem

2007-09-12 Thread Paul Austin
Larry, As the list of styles on a layer is not thread safe you should disable firing events if you are changing the list of styles for a layer in any other thread than the rendering thread, otherwise you could get concurrent modification execptions when reading the list of styles. Paul Larry Bec

Re: [JPP-Devel] ColorThemingStyle Problem

2007-09-12 Thread Larry Becker
> But why should I turn off firing events for a CTS and not for a > BasicStyle ? You're right. You shouldn't have to do that. Apparently the Layer Tree needs a ColorThemingStyle, and the code was structured so that if one is not present, it is always added. We should probably add this issue to

Re: [JPP-Devel] ColorThemingStyle Problem

2007-09-12 Thread Malte Weller
Hello Paul, hello Larry, sorry for my late response, but I'm working from 9 to 7 in Germany . :-) But it is good to know that I get a response in the early evening on the same day if I have a question in the morning. :-D Paul, after I tried it with turned off firing events on the layer