Login  Register

Re: Roassal & Spec?

Posted by MartinW on Jun 01, 2013; 12:44pm
URL: https://forum.world.st/Roassal-Spec-tp4690745p4691188.html

Hi Tudor,
thank you very much. That looks amazing. I just start to look at all the examples in the Moose image.

In my case the upper two panes would display the same object, only with different views on it (a graph and a list), and the selections would be syncronized (select an element in the graph - the same element will be selected in the list and vice versa). Is this as easily possible?

Martin.

Tudor Girba-2 wrote
You could also try to use Glamour for that:

composer := GLMCompositePresentation new.
composer tabulator with: [ :t |
        t row: #visualization; row: #list; row: #details.
        t transmit to: #visualization; andShow: [ :a |
                a roassal
                        title: 'Visualization';
                        painting: [ :view :collection |
                        view nodes: collection.
                        view edgesFrom: [ :x | x // 5 ].
                        view radialNarrowTreeLayout ] ].
        t transmit from: #visualization; to: #list; andShow: [ :a |
                a list
                        title: 'List';
                        display: [ :number | 1 to: number ]
                 ].
        t transmit from: #list; to: #details; andShow: [ :a |
                a text
                        title: 'Details';
                        display: [ :number | number asString ] ] ].
composer openOn: (1 to: 420)

Cheers,
Doru