Re: [JPP-Devel] OJ's rendering code...

2006-11-30 Thread Sunburned Surveyor
Something like that Jon. I haven't yet mastered the art of interpreting your Java wizardry, but I think the RenderingManager actually creates a new LayerRenderer each time getRenderer is called for a Layer object. At least, that's what it looked like. :] SS On 11/30/06, Jonathan Aquino <[EMAIL P

Re: [JPP-Devel] OJ's rendering code...

2006-11-30 Thread Jonathan Aquino
Hi Sunburned - What might happen is that RendererManager always has one renderer called something like LayerRenderer which iterates over each layer's Styles. Jon > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sunburned Surveyor > Sent: Thursd

Re: [JPP-Devel] OJ's rendering code...

2006-11-30 Thread Sunburned Surveyor
I just took a look at the RenderingManager.copyTo() method. It calls the getRenderer method I mentioned in my prior post. It looks like I've solved this little part of the puzzle. Now I should be able to see how the rest of the chain of events sparked by a call to LayerViewPanel.paintComponent() p

Re: [JPP-Devel] OJ's rendering code...

2006-11-30 Thread Sunburned Surveyor
I think I may have found a partial answer to some of my questions to Larry and Jon above. It appears that the getRenderer() method of the RenderingManager returns the same Renderer for all Layers. (Well, all Layers that aren't WMS Layers.) It is incorrect to say the same Renderer. I should say it

Re: [JPP-Devel] Retirement

2006-11-30 Thread Steve Tanner
Ole, It was nice to work with you for a while, and I wish you all the best for the next steps of your life, whether professional or private. Thank you for your hard work with and for OpenJump, to the benefit of the community! Best regards, and I hope we'll keep in touch Steve > > ---

[JPP-Devel] Notes on OpenJUMP's Rendering System

2006-11-30 Thread Sunburned Surveyor
I put some notes on OJ's rendering system on the JPP wiki: http://thejumppilotproject.pbwiki.com/Notes-On-OpenJUMPs-Rendering-System SS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay pan

Re: [JPP-Devel] Retirement

2006-11-30 Thread Pedro Doria Meunier
Ole, Best of luck with your new live. In behalf of the community a heartfelt THANK YOU! Godspeed. Pedro Doria Meunier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ole Rahn Sent: quinta-feira, 30 de Novembro de 2006 20:38 To: List for discussion of JPP

Re: [JPP-Devel] ScaleBar Question

2006-11-30 Thread Sunburned Surveyor
Alessandro, I'm going to have to defer to those that are more familiar with OpenJUMP's rendering system. (If you've been following the posts you'll see I have a lot to learn in this area.) :] However, I noticed that your exception comes, not from a class in OpenJUMP, but from a calss in JTS. Woul

Re: [JPP-Devel] OJ's rendering code...

2006-11-30 Thread Sunburned Surveyor
Thanks for your help Larry. Let me see if I understand what is going on in this method. for (Iterator i = styles.iterator(); i.hasNext();) { Style style = (Style) i.next(); Get each Style object stored in the collection of Styles in the SimpleFeatureCollectionRenderer. for (Iterator j = layerTo

Re: [JPP-Devel] Retirement

2006-11-30 Thread Sunburned Surveyor
It was good to work with you Ole, and I must say I'm dissappointed to see you moving on to something else. Please accept my best wishes for you and your family. If I can ever be of assistance in the future, please let me know. Landon On 11/30/06, Ole Rahn <[EMAIL PROTECTED]> wrote: > Dear member

[JPP-Devel] Retirement

2006-11-30 Thread Ole Rahn
Dear members of the OpenJump community, after being a member of the PIROL project at the FH Osnabrueck for 2 years and in the same time (almost) completing my second degree (an MBA - all this evil business stuff!) it is time for me to move on to the next step of my professional life and retire

Re: [JPP-Devel] OJ's rendering code...

2006-11-30 Thread Larry Becker
Sunburned, I'll let Jon answer, but the code you posted is not what he was referring to. Instead look into (for example) SimpleFeatureCollectionRenderer for: protected void paint(Graphics2D g) throws Exception { for (Iterator i = styles.iterator(); i.hasNext();) { Style s

Re: [JPP-Devel] OJ's rendering code...

2006-11-30 Thread Sunburned Surveyor
Thanks for replying Jon. It looks like Larry was already able to get to the bottom of the problem we were discussing. I'm still curious about something though. Maybe you will have a few minutes to help me out. You wrote: "If memory serves, LayerViewPanel's RenderingManager loops through the LayerM

Re: [JPP-Devel] @sunburned: working at oj.. follow up to OJs extreme slowness

2006-11-30 Thread Sunburned Surveyor
Stefan, My greatgrandfather was German. In fact, it was many years before I realized his first name wasn't really "Opa" but "Ernest". He had a very strong personality! I am not offended at all by what you wrote. Some of your criticisms are very accurate. I do tend to have a wondering eye, and wou

[JPP-Devel] ScaleBar Question

2006-11-30 Thread [EMAIL PROTECTED]
Hi List, I'm trying to do a little improvement to SIGLE PrintLayoutPlugin, i.e. I want to print also the Scale Bar and not only the LayerViewPanel. So i decided to implement a class that do this, but i'm stuck in a point and i can't get out of it. To make ScaleBar visible, I wrote the followin

Re: [JPP-Devel] @sunburned: working at oj.. follow up to OJs extreme slowness

2006-11-30 Thread Stefan Steiniger
upps.. a small mistake happend > PS: you know, germans are sometimes straight forward in saying stuff > which over would cover with flowers. so dont take it professional rather > than personal. it should clearly be: "so take it professional, and not personal" stefan > > ---

[JPP-Devel] @sunburned: working at oj.. follow up to OJs extreme slowness

2006-11-30 Thread Stefan Steiniger
Hei again, > Thus, I sometimes wonder a bit on your ideas of improvements - instead > working directly towards functionality or on user manuals." > > I suppose my "development methods" do deserve some explanation. yes > Please remember that I am up to my neck in new group of CursorTools, > whi