> Per a recent thread, I added #display: aBlock to MAElementDescription, so you
> can now say e.g.
>
> MAFileDescription new
> accessor: accessor;
> label: 'Attachment';
> defaultDirectory: attachmentFolder;
> display: [ :e | e basename ];
> kind: AbstractFileReference;
> priority: 300;
> yourself.
>
> I tried not to subvert the design of Magritte, but had to dig pretty deep to
> find a place where the right objects were able to communicate.
>
> MAStringWriter>>#visitStringDescription: sends #displayStringFor: to the
> description to convert the object into a string. The default is still to
> send it #greaseString.
>
> If someone could load the bleeding edge packages and review the design I'd
> appreciate it. It's worked so far in my projects and with some hand testing.
>
> Thanks.
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context:
http://forum.world.st/Code-Review-Request-tp4711242.html> Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com.
> _______________________________________________
> Magritte, Pier and Related Tools ...
>
https://www.iam.unibe.ch/mailman/listinfo/smallwiki