Should or could the MADescriptionMorph hierarchy use/inherit-fro MAVisitor?
"Magritte Meta-Described Web Application Development" says "Custom
Rendering... Sometimes other layouts are more convenient, for example the
widgets should be laid out from left to right with the labels on top...
Magritte allows one to define one’s own builder by subclassing a Visitor and
overriding some of the methods used to place the user interface elements".
With the current implementation, it seems one would have to hack the
MADescriptionMorph classes themselves for that kind of change, but if a
visitor was used, they could just supply a custom visitor class, no?
-----
Cheers,
Sean
--
View this message in context:
http://forum.world.st/Visitors-Underused-tp4815294.html
Sent from the Magritte, Pier and Related Tools mailing list archive at
Nabble.com.