Thanks Andrei! I tried: browser transmit to: #Example port: #selection; transformed: [ Abort ]. using also #strongSelection and #rawSelection,but I missed # fromOutsideEntityPort :) So, I have two additional questions: When #selection: and #strongSelection: can be used ? Also, what is the difference among selection strongSelection and rawSelection ports ? I saw some transmission example using #strongSelection port, and some discussion in the mailing list where #rawSelection port is mentioned. Thanks On Wed, Oct 3, 2018 at 5:31 PM Andrei Chis <chisvasileandrei@gmail.com> wrote:
Hi Arturo,
Normally what you want should be achieved with a transmission:
browser transmit fromOutsideEntityPort; to: #Example port: #selection; transformed: #first.
Just I see that doesn't work as expected with #fastTreeTable.
The closest thing that looks similar to what you want is:
| browser | browser := GLMTabulator new. browser row: #Example. browser transmit to: #Example; andShow: [ :a | a table column: 'Class Name' evaluated:[:clazz| clazz name]; children:[:clazz| clazz subclasses]; shouldRootsExpand: true ]. browser transmit fromOutsideEntityPort; to: #Example port: #selection; transformed: [ Abort ]. browser openOn: {Object}.
Cheers, Andrei
On Wed, Oct 3, 2018 at 9:53 PM Arturo Zambrano <arturo.zambrano@gmail.com> wrote:
Hi all, I'm trying to do what subject says. I tried something like that (in the example I'm trying to get Abort class selected) : | browser | browser := GLMTabulator new. browser row: #Example. browser transmit to: #Example; andShow: [ :a | a fastTreeTable column: 'Class Name' evaluated:[:clazz| clazz name]; children:[:clazz| clazz subclasses]; allExpanded; "this has no effect" strongSelection:Abort; "this has no effect" selection: Abort browser openOn: {Object}
Could you please point me what I'm missing?
TIA Arturo