On Fri, May 11, 2012 at 1:54 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,

This is one of the places in Glamour I do not like. When you have a browser embedded like this, you have to start it explicitly.

mooseFinderChildrenTreeIn2: composite
       <moosePresentationOrder: 80>
       composite tabulator with: [:t |
       t row: #methodList;     row: #code; title: 'Details'.
       t transmit
               to: #methodList;
               andShow: [ :a |  a tree display: [:each | each methods]]
               ].
       composite startOn: self

It worked. thanx.
 


Cheers,
Doru


On 11 May 2012, at 12:21, Usman Bhatti wrote:

> Hello,
>
> I am working to add a new tab in Moose Finder's pane to display code: So when I select a class, I want to show its methods as a tree and clicking on each method shows the code of the method.
> Here is the code of my attempt:
>
> mooseFinderChildrenTreeIn2: composite
>       <moosePresentationOrder: 80>
>
>       composite tabulator with: [:t |
>       t row: #methodList;     row: #code; title: 'Details'.
>       t transmit
>               to: #methodList
>               andShow: [ :a |  a tree display: [:each | each methods]]
>               ].
>
>
>
> Problem: my method is not executing the display block and hence the tabulator tab does not show the list (I can see empty tabulator). I think its related to embedding a tabulator within a composite presentation and transmission of values but I do not precisely where to look to correct it.
>
> thanx,
>
> Usman
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Next time you see your life passing by, say 'hi' and get to know her."




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