Hello Doru,
=-=-=-=-=-= =-=-=-=-=-= =-=-=-=-=-= =-=-=-=-=-= =-=-=-=-=-=
| view roView roMorph pane window stack rawView nodes |
"Preparing"stack := ROViewStack new.
window := StandardWindow labelled: 'windowLabel'.
window model: self.
window extent: 340 @ 480.
rawView := ROView new.
stack addView: rawView.
view := ROMondrianViewBuilder initializedView: rawView.
view stack: stack.
view shape rectangle width: [ :c | c numberOfVariables * 5 ]; height: #numberOfMethods.
nodes := view nodes: Collection withAllSubclasses.
view edgesFrom: #superclass.roMorph := ROMorph on: stack.
view treeLayout.
view applyLayout.
pane := ScrollPane new.
roMorph extent: ( view raw encompassingRectangle extent + (40 @ 40)) .
pane scroller addMorph: (roMorph).
window=-=-=-=-=-= =-=-=-=-=-= =-=-=-=-=-= =-=-=-=-=-= =-=-=-=-=-=
addMorph: pane
frame: (0@0 corner: 1@1).
window openInWorld.