Status: New
Owner: tudor.gi...(a)gmail.com
Labels: Type-Enhancement Priority-Medium Component-Glamour Milestone-4.6
New issue 699 by tudor.gi...(a)gmail.com: Glamour presentations should be
easily extensible
http://code.google.com/p/moose-technology/issues/detail?id=699
Currently, scripting Glamour presentations relies solely on direct setters
to the presentations. This makes it hard to create presentations that rely
on composite structures.
A simple way to provide an extension mechanism would be to implement a
with: method:
GLMPresentation>>with: aBlock
^ aBlock value: self
We could use it like this:
composite text
with: [:textPresentation | textPresentation ... ]