Comment #10 on issue 900 by benjamin...@gmail.com: Glamour-Roassal should be able to work with raw ROView not just ROMondrianBuilder http://code.google.com/p/moose-technology/issues/detail?id=900
Here is an overview of the changes...
Package Glamour-Roassal-Presentations extensions to Roassal
* ROMondrianViewBuilder
newMorph(new) - factored out GLMMorphicRoassalRenderer>>render: -
returns new ROMorph on its #stack.
onMorph:(new) - sets view of existing ROMorph on its #stack
* ROView
newMorph(new) - returns new ROMorph on itself onMorph:(new) - sets view of existing ROMorph on itself applyLayout(new) - does nothing, just be polymorphic with
ROMondrianBuilder
Package Glamour-Roassal-Presentations
* GLMRoassalPresentation - added ivar 'newViewBlock'
newViewBlock/newViewBlock:(new) - getter/setter for added ivar renderOn:(mod)
- changed #raw to #view, since this is polymorphic between ROView & ROMondrianViewBuilder
view(mod) - removed hardcoded ROMondrianViewBuilder. Instead
evaluate 'newViewBlock'.
Package Glamour-Morphic-Renderer
* GLMMorphicRoassalRenderer
actOnPresentationUpdate:(mod) - removed hardcoded
ROMondrianViewBuilder. Instead evaluate 'newViewBlock'
render:(mod) - removed hardcoded ROMorph on #stack. Factored out to
ROMondrianViewBuilder>>newMorph.