renggli at iam.unibe.ch
Thu Apr 19 22:34:24 MEST 2007
> I am creating a model class that only has a few core attributes and
> will allow the user to create descriptions through a description
> editor. Is subclassing MAAdaptiveModel a smart alternative to using
> customDescription on the class side (as seen in Exercise 18 in
Yes, I think that's a good solution.
Sometimes this is not possible, so a stateful trait -- to turn any
class into an adaptive model -- would be a really a cool thing to
have. I basically end up re-implementing the few methods necessary
over and over again.
More information about the smallwiki