Author: ericwa
Date: Sun Oct 19 23:53:43 2008
New Revision: 3715

URL: http://svn.gna.org/viewcvs/etoile?rev=3715&view=rev
Log:
Use COObjectContext to handle serialization in Melodie.
Added undo and redo menu items (They don't seem to work yet.)

Note: I had to disable a check in CoreObject to get my COObject/COGroup 
subclasses to serialize.
I didn't commit this:

--- COObject.m  (revision 3714)
+++ COObject.m  (working copy)
@@ -248,7 +248,7 @@
           not serialized by RECORD in -setValue:forProperty: 
           FIXME: Should be obtained by parameter usually. */
        _objectVersion = -1;
-       [self tryStartPersistencyIfInstanceOfClass: [COObject class]];
+       [self tryStartPersistencyIfInstanceOfClass: [self class]];
 
        return self;
 }

Will discuss with Quentin.


Modified:
    trunk/Etoile/Services/User/Melodie/GNUmakefile
    trunk/Etoile/Services/User/Melodie/Melodie.gorm/data.classes
    trunk/Etoile/Services/User/Melodie/Melodie.gorm/objects.gorm
    trunk/Etoile/Services/User/Melodie/Melodie.st


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to