The basic browsers work fine
http://localhost:8080/glamour/basicExamples
But in the developer Examples some do not work, e.g.
http://localhost:8080/glamour/devExamples
Class listing - only an empty browser shows up.
The examples in this category are mainly for development to check if things
work well.
Some of them(like Class listing) require a moose model to be loaded in order
to work correctly. Informations about how to load such a model can
be found in the moose book(www.themoosebook.org) chapters 2 and 3.
The next choice:
http://localhost:8080/glamour/otherExamples
The code browser with the Mondrian view is amazing.
Where can I change the code there e.g. to see the hierarchy of Morph?
In SGLOtherExamples>>codeBrowser change
<glmBrowser: 'Code Browser' input: 'Collection'>
to
<glmBrowser: 'Code Browser' input: 'Morph'>
What is the meaning of the pragma?
<glmBrowser: 'Code Browser' input: 'Collection'>
This pragmas are used to build the three browsers you specified above. Their
general form is <glmBrowser: 'Browser title' input: 'input value'>.
For example in order to build the browser at
http://localhost:8080/glamour/basicExamples all the methods in
SGLBasicExamples containing this pragma
are taken into account and for each one an entry in the new browser is
created with the given title. When you select for example 'Accumulator' from
the right panel
the method SGLBasicExamples >>accumulator is invoked and the returned
browser is open on the input value specified by the pragma <glmBrowser:
'Accumulator' input: '42'>.
I hope this explanation makes sense.
Cheers,
Andrei