Hi Michelle,
Ahh, I see the problem. I think that's a bug, dealing with the
matting stroke. The OMGraphic class breaks the regular stroke down
into components for serialization, and that new stroke object was just
added. It needs to be marked as transient and then handled explicitly
in the readObject/writeObject methods.
- Don
On Mar 12, 2009, at 8:40 AM, Ratliff, Michelle W. wrote:
> Hello,
>
> I'm trying to save all graphics drawn by the user to a file so that
> the user can reload it at a later time. The text object is giving
> me an
> error when I try to use the 'save map' option in the Drawing Tool
> Layer.
> I'm getting a "NotSerializableException" on the BasicStroke for the
> OMText component. Does anyone know how to make it serializable?
>
> Thanks for any assistance!
> Michelle Ratliff
> SAIC IISBU
> 410-872-7092
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Mar 12 2009 - 16:15:38 EDT