Hi,
I try to build a dedicated browser for user scripting on DrGeo. I am
learning from the Deep into Pharo Glamour chapter, extending the given
example.
Regarding the method category pane, I need both instance and class side,
so I write it like this:
categoriesIn: constructor
constructor list
title: 'Methods';
display: [ :scriptClass | scriptClass organization categories].
constructor list
title: 'Script data';
display: [ :scriptClass | scriptClass class organization categories]
The browser is defined as:
buildBrowser
browser := GLMTabulator new.
browser
column: #scripts;
column: #categories;
column: #methods.
browser transmit to: #scripts; andShow: [ :a | self scriptsIn: a ].
browser transmit from: #scripts; to: #categories; andShow: [ :a | self
categoriesIn: a ].
browser transmit from: #scripts; from: #categories; to: #methods;
andShow: [:a | self methodsIn: a ].
browser transmit from: #scripts; from: #categories; to: #methods;
andShow: [:a | self classMethodsIn: a ].
browser transmit from: #scripts; toOutsidePort: #selectedScript.
browser transmit from: #methods; toOutsidePort: #selectedMethod.
^ browser
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.
Any tips?
Thanks
Hilaire
--
Dr. Geo
http://drgeo.eu