Thanks!
2012/1/31 Tudor Girba tudor@tudorgirba.com
Hi,
As far as I understand, in the #columnB pane, you are using a composite presentation with multiple presentations, and you now want to get some communication going between them,
You cannot communicate between two presentations. You can only communicate between two panes.
So, basically, you need panes. For this, you can use a GLMStacker. There is a tiny example in GLMBasicExamples>>stacker. This is an explicit browser, like Tabulator, the difference being that it shows panes as tabs, and not next to each other.
Cheers, Doru
On Tue, Jan 31, 2012 at 3:31 PM, Santiago Vidal santiago.a.vidal@gmail.com wrote:
Hi, I'm running the following example: | browser | browser := GLMTabulator new. browser row: [ :r | r column: #columnA; column: #columnB ].
browser transmit to: #columnA; andShow: [ :a | a list display: [" :model | "#('Value 1' 'Value 2' 'Value 3'
'Value
1') ] ]. browser transmit from: #columnA; to: #columnB; andShow: [ :a | a list titleIcon: GLMUIThemeExtraIcons glamorousBrowse ;title:'Data'; display:#('data A' 'data B' 'data C'). a text titleIcon: GLMUIThemeExtraIcons glamorousAccept; title:'Additional Information 1';display:'something'. a text titleIcon: GLMUIThemeExtraIcons glamorousAdd; title:'Additional Information 2';display:'add something'. ].
browser openOn: MooseModel root allModels anyOne.
I want to show data in the tabs "'Additional Information 1"
and "Additional
Information 2" only if 'data A', 'data B', or 'data C' is selected in
the
tab 'Data'. what is the best way to do it? I could not find a similar example.
Thanks, Cheers, Santiago
-- Santiago Vidal
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow"
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev