Skip to main content



      Home
Home » Eclipse Projects » GEF » Serialization error
Serialization error [message #167250] Sun, 06 February 2005 20:57 Go to next message
Eclipse UserFriend
Originally posted by: ass4.alu.um.es

Hi everybody,

I'm developing a grafical editor with GEF but when i try to Serialize my
object i receive an the exception:

java.io.NotSerializableException:
org.eclipse.ui.views.properties.TextPropertyDescriptor

Couldn't I use the property view and Serialization toghether?
How can I solve that problem?
Re: Serialization error [message #167281 is a reply to message #167250] Sun, 06 February 2005 23:49 Go to previous message
Eclipse UserFriend
Why are you serializing property descriptors? You should just save your
core model. Property descriptors can be reconstructed and don't need to be
saved. If your model is an IPropertySource then you can customize
serialization and tell it to not save those descriptors. You should look up
a java serialization tutorial on how to do that.

BTW, this is not GEF-related.

"Aurelio S
Previous Topic:Dynamically change the anchor points.
Next Topic:Complex Command tip needed
Goto Forum:
  


Current Time: Wed Jun 18 15:16:21 EDT 2025

Powered by FUDForum. Page generated in 0.05221 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top