2017-06-30 9:55 GMT+02:00 Hilaire <hila...@drgeo.eu>:

> I extended the browser definition with:
>
>     browser transmit
>         from: #scripts;
>         from: #categories;
>         to: #methods;
>         when: [ :a :b |  a isMeta not ];
>         andShow: [:a | self methodsIn: a  ].
>     browser transmit
>         from: #scripts;
>         from: #categories;
>         to: #methods;
>         when: [ :a | a isMeta ];
>         andShow: [:a | self classMethodsIn: a  ].
>
>
> However it does not work as #when: message always receive a class, so
> the wrong methods a re list in the method pane.
>
> I enclosed a Fileout of the browser. It works independently of DrGeo.
> When one select class methods, still the instance methods are displayed
> in right most pane.
>
> Any tips?
>

I don't have a solution. I just want to make more clear what the problem is.
See attached screenshot.
The question is, is it possible to make the population of the "methods" list
dependent of the focused "Instance Methods"/"Class Methods" pane ?

I tried to wire a "#focus" port, but I don't think the "categories"-pane
exports
any port that could be used to distinguish between the selected tabs.






>
> Thanks
>
> Hilaire
>
>
> Le 29/06/2017 à 14:59, Hilaire a écrit :
> > but something is missing to get the listed method right depending on the
> > category is instance or class side. I don't how to do it.
>
> --
> Dr. Geo
> http://drgeo.eu
>
>

Reply via email to