Hi Chris,
Just a quick question to anyone that has tried to do this, or for
those of you that could offer any help.
I am writing an application that adds a layer to the LayerViewPanel
and automatically assigns a custom symbol.
This is working fine, however because the LayerTreePanel has no
legend, the user cannot interpret the layer's symbol.
I have played around with the CADPLAN vertex plug-in, (it is very
good) but this only adds symbols to the LayerViewPanel not the
LayerTreePanel (as far as I am aware)?
*Question.*
Is there a way to add an image or customise the LayerTreePanel in
order to replace the standard coloured box with a small graphic symbol?
This way the LayerTreePanel will act as a legend and accurately
display the correct symbol for the layer - I have attached an example
screen shot of what I am trying to achieve.
Any suggestions would be really appreciated.
LayerTreePanel is quite complex. I've never tried to achieve what you
want to do, but I had hard time to fix some bugs.
Just want to let you know that ColorTheming interacts with
LayerTreePanel in a way which might interest you.
Also, I'm concerned with the compatibility of OpenJUMP "model" which
accepts any type of geometry in a layer, and what you want to achieve.
If the user has only points in a layer and you want to display the point
symbol, what will happen if the user decide to add a polygon to the layer ?
Do you want to display point symbols only if basic symbols like fill
area and linestrokes are disabled ?
Last thing : as far as symbology is concerned, I think kosmo team did a
good job, and there may be some interesting things to share with them.
Michaël
Thanks in advance,
Chris.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel