Hi SS,
I don't want to rain on your parade, I just haven't found a use for
your system yet. I'm not giving up on your system. It would be really
great if it could work for the example I came up with and make all
those custom selection renderer disappear into plugins.
>Can you customize the ren
Larry,
I just took a quick look at the Developer's Guide for JUMP and the
Javadoc. It looks like Renderer objects can delegate painting to
Styles.
The Developer's Guide says: "A renderer is an object that draws on the
Workbench using a java.awt.Graphics. A style is used by a
LayerRenderer to draw
Larry wrote: "I still don't see a use for this
system."
This means one of two things. Either I didn't do a good job explaining
it, or I'm a really crappy programmer.
Maybe it is a little of both.
Can you customize the rendering of any implementation of Layerable
using a Style? What if you want t
Hmm, it appears to me that your first example would be better served
by extending WMSLayer, and the second should be done with a Style, but
it would not work for my example. I still don't see a use for this
system.
regards,
Larry
On 7/26/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
> Larry,
Larry,
The original JUMP only allowed you to customize rendering behavior for
objects that were painted above and below the Layerable objects. In
addition, the programmer had no control over the order these
"non-layerable" objects were painted in.
The first restriction was partially addressed by
Hi SS,
>I believe I have finshed converting the built-in renderers to my
>pluggable rendering system.
...
>Do they, or
>anyone else working with the rendering system, expect my modifications
>to cause conflicts with there improvements?
I would need to examine the code to determine that. What was
>
> [1] I noticed that OpenJUMP passes a "SCALE_SHOW" String to each tasks
> RenderingManager. I wasn't able to find a Renderer for this String. I
> did find an InstallScaleShowPlugIn class. This class has an
> org.openjump package structure, so I don't think it was included in
> the original JUMP
I believe I have finshed converting the built-in renderers to my
pluggable rendering system. (I'm talking about the GridRenderer,
PartSelectionRenderer, LineStringSelectionRenderer, and
ScalebarRenderer, SelectionBackgroundRenderer, and
FeatureSelectionRenderer.) I hope to start testing the pluggab