Hi,
Every act works like that:
- the first argument is the presentation
- the second one is the entity
If you want to get the selection, you do "presentation selection".
Cheers,
Doru
On Tue, Nov 25, 2014 at 12:04 PM, Guillaume Larcheveque <
guillaume.larcheveque(a)gmail.com> wrote:
Hi everyone,
I am realising some reusable components for synectique and i faced a
strange behavior.
I created a little example to show it:
|tab|
tab := GLMTabulator new.
tab row: #test.
tab transmit to: #test; andShow: [ :p | p list onChangeOfPort: #aPort act:
[ :pre :input | input inspect ] ].
tab transmit from: #test; to: #test port: #aPort; transformation: [
:anything | 5 ].
tab openOn: (100 to: 150)
here i expect that when i click on an element of the list, i will inspect
5 but if you try, you will see that you inspect the interval 100 to: 150
--
*Guillaume Larcheveque*
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every thing has its own flow"