That's a possibility too. But only if the attribute exists in the
feature. If it is only for viewing then maybe not.
Oh. I should mention that map graphics don't automatically save.
However things in the Map.getBlackboard() do save. Any object on the
blackboard that has a "persister" extension can be saved and loaded.
See the net.refractions.udig.project.persister extension point for more
information on that.
Jesse
Jody Garnett wrote:
M.S.Bachler wrote:
Hi!
I need to create a panel of icons that can be dragged and dropped onto a
map layer.
That sounds a like a "FeatureEditor" to me. Make a tool that adds
points to the map, and based on an attribute displays the correct
icons. Then make a custom feature editor that will let the user change
the icon nicely. Finally make a view that has your icons on it, and
based on the currently selected one it will create a feature of the
appropriate type.
The actual data could be a shapefile, or a database or anything.
Jody
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel