-// // ************************************************
-// // Persistence Delegate and Serializable combined.
-// // ************************************************
-//
-// private Object readResolve() throws ObjectStreamException
-// {
-// return LayoutUtil.getSerializedObject(this);
-// }
-//
-// @Override
-// public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
-// {
-// LayoutUtil.setSerializedObject(this, LayoutUtil.readAsXML(in));
-// }
-//
-// @Override
-// public void writeExternal(ObjectOutput out) throws IOException
-// {
-// if (getClass() == ResizeConstraint.class)
-// LayoutUtil.writeAsXML(out, this);
-// }
+ // ************************************************
+ // Persistence Delegate and Serializable combined.
+ // ************************************************
+
+ private Object readResolve() throws ObjectStreamException
+ {
+ return LayoutUtil.getSerializedObject(this);
+ }
+
+ @Override
+ public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
+ {
+ LayoutUtil.setSerializedObject(this, LayoutUtil.readAsXML(in));
+ }
+
+ @Override
+ public void writeExternal(ObjectOutput out) throws IOException
+ {
+ if (getClass() == ResizeConstraint.class)
+ LayoutUtil.writeAsXML(out, this);
+ }