Hi Fabrizio,

Try

browser transmit
        to: #finder;
        from: #functions port: #selection;
        andShow: [ :a | a custom: (MooseFinder new) ].

instead of

browser transmit
        to: #finder;
        from: #functions port: #selection;
        andShow: [ :a | a custom: (MooseFinder startOn: a) ]


Cheers,
Andrei

On Tue, Nov 13, 2012 at 6:47 PM, Fabrizio Perin <fabrizio.perin@gmail.com> wrote:
Hi,
I was loading some old code and some of browsers I wrote do not open
correctly anymore. Apparently I cannot do something like this anymore:

browser transmit
        to: #finder;
        from: #functions port: #selection;
        andShow: [ :a | a custom: (MooseFinder startOn: a) ].

This because MooseFinder do not understand anymore startOn:.

Any suggestions on how can I make this glamour example working again?

mooseFinderOnSelectedElement
    "self new mooseFinderOnSelectedElement openOn: (1 to: 100)"
    <glmBrowser: 'Open MooseFinder On Selected Element' input: '(1 to: 100)'>

    | browser |
    browser := GLMTabulator new.
    browser
        column: #functions;
        column: #finder.
    browser transmit
        to: #functions;
        andShow: [ :a |
                    a list
                        title: 'Functions';
                        display: [ :each | each ] ].
    browser transmit
        to: #finder;
        from: #functions port: #selection;
        andShow: [ :a | a custom: (MooseFinder startOn: a) ].
    ^browser

Thanks,
Fabrizio
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev