Hi,
A short while ago I upgraded the CompositePresentation to be able to use it as an entry point to a Glamour script.
The idea here is that we can now use Glamour like we use Mondrian: we instantiate the GLMCompositePresentation once and then we always pass it to other methods.
For example:
buildBrowser | browser | browser := GLMTabulator new. browser ...
==>
buildIn: composer composer tabulator with: [:t | t ... ]
The old way still works, of course. The nice thing about this solution is that it works better with the editor (you are given the composer).
For a live example, see: http://www.humane-assessment.com/blog/building-a-simple-code-browser
Let me know what you think.
Cheers, Doru
-- www.tudorgirba.com
"Sometimes the best solution is not the best solution."