Hi,

To achieve this, you should use a presentation on the left hand side. Here is an example:
GLMCompositePresentation new 
with: [ :c |
c table
children: #subclasses;
column: 'Kind' evaluated: ['' ] tags: [ :each | { (each methods anySatisfy: #isAbstract) asString } ]; 
column: 'Name' evaluated: #name ];
openOn: { Collection }

Cheers,
Doru

On Sun, Jan 11, 2015 at 4:47 PM, Offray Vladimir Luna Cárdenas <offray@riseup.net> wrote:
Hi,

I'm looking at the Basic Examples browser and I would like to use the "Tree with tags" examples as an inspiration to build a custom browser.

My idea is to make a browser with two columns. Left is a tree with tags and right is the "content" of that tree. According with the tags in the tree the display and behaviour of the content will change. For example, if the tree node is tagged with "code" the left browser will be and executable pane, if not it will be just plain text.

For that I will like to change the order in which tags and children names are shown in a tree with tags. I would like to have tags first and children names second, which is the reverse order of what we have now. I see in the examples that the message to build a tree with tags have the form:

=[1]========================
a tree
   display: [];
   children: [];
   tags: [].
============================

and I would like something with the form:

=[2]========================
a tree
   display: [];
   tags: [];
   children: [].
============================

I tried to find the message for [1] at the GLMTabulator and GLMTreePresentation but it's not there and I don't know where else to look for.

How can I change the order of tags and children names in a tree with tags presentation for a browser?

Thanks,

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



--
www.tudorgirba.com

"Every thing has its own flow"