Persistance Binding

3 views
Skip to first unread message

Yonas

unread,
Aug 18, 2011, 9:21:24 AM8/18/11
to FxWorks
Hi Alex

I've started using your persistance classes which are great and I've
incorporated them into my editors. The only problem I'm having is I'd
like to be able to bind to IPersistable.modified and
IPersistable.editMode so the buttons in my editors can update. The
base class you include that implements this interface -
PersistableObject - has got finals on all of the methods so I can't
override them to provide binding functionality.
This means I've had to create my own implementation of
PersistableObject, which is not really a problem but I thought I'd
just suggest that you either make
some of the properties support binding (for example .modified by
dispatching a change event from setModified that modified listens to,
or making modified a public property) or allow people to override some
of the methods. This way I (and perhaps others) don't need to create
their own implementations.

If I've missed something and there is a way to bind to these things
let me know :)

Yonas

Alexutz

unread,
Aug 18, 2011, 9:39:38 AM8/18/11
to FxWorks
Hello Yonas,

Good point, making modified bindable does make sense.

I'll update the code base.

Thanks,
Alex

Yonas Kolb

unread,
Aug 18, 2011, 9:40:44 AM8/18/11
to fle...@googlegroups.com
Great! And also editMode while you're at it

> --
> You received this message because you are subscribed to the Google Groups "FxWorks" group.
> To post to this group, send email to fle...@googlegroups.com.
> To unsubscribe from this group, send email to flexxb+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/flexxb?hl=en.
>

Alexutz

unread,
Sep 9, 2011, 2:53:56 PM9/9/11
to FxWorks
The changes are in the codebase and they'll be in the future release.
> > For more options, visit this group athttp://groups.google.com/group/flexxb?hl=en.- Ascundeţi textul citat -
>
> - Afişare text în citat -
Reply all
Reply to author
Forward
0 new messages