Hi,
 
In case this is the wrong place to ask this question please educate me
as to the correct place.
 
I have a need to add some 'properties' to Maps and Layers. The idea
being users can update these properties and they're persisted between
uDig sessions. For a Map the following worked quite nicely:
* Create a MapCreation Interceptor that sets the default value for
properties on the layer and store the properties in the maps blackboard
* Create a Persister for the various types of properties being put into
the blackboard (so they get persisted between uDig sessions)
* Create a PropertyPage for IMaps to allow display and modification of
the map properties
 
I can do the same for Layers however it falls down with the 'persisting
between uDig sessions' bit, because the IBlackboard of a layer is a
SimpleBlackboard unlike the map's IBlackboard which is a BlackboardImpl
 
So my question is what is the recommended approach for a Layer?
 
Thanks,
 
Mike.

Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed.  If you are not,
or believe you may not be, the intended recipient, please advise the sender
immediately by return e-mail, delete this e-mail and destroy any copies.
The Company does not warrant nor guarantee that this email communication is free
from errors, virus, interception or interference.

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to