[Cuis-dev] Browse class subcategories

Juan Vuletich juan at jvuletich.org
Wed Jan 26 10:58:50 PST 2022


Hi Luciano,

On 1/26/2022 4:15 AM, Luciano Notarfrancesco via Cuis-dev wrote:
> Hilaire, thanks for testing. This should fix that problem.
> I really don't like that we have to implement subclasses of 
> ListItemWrapper every time we want to use a HierarchicalListMorph. 
> Maybe later we could improve this and make it "pluggable" (i.e., let 
> it send messages to the model to ask the children of a node, etc, 
> instead of needing to implement a new class just for that).

That's a good idea. But instead of a selector, if would be better to 
plug in a closure, because in many cases it is the main UI who knows 
what to do, not the model. I believe this depends on a specificu UI, and 
the model should better not know too much about it.

Something else that would be nice is that when a non-leaf node is 
selected, all the classes in the tree are shown.

Thanks,

> On Tue, Jan 25, 2022 at 8:35 PM Hilaire Fernandes <hilaire at drgeo.eu 
> <mailto:hilaire at drgeo.eu>> wrote:
>
>     It feels very snappy.
>
>     When unfolding the top category, it is nice to see it moves at the
>     top in category pane.
>
>     One suggestion, when clicking on a top category, why not showing
>     all the classes.
>
>     In the Graphics category, there is a bug: there is both
>     Files>Additional and Files-Additional
>
>     Nice anyway
>
>     Hilaire
>
>     Le 25/01/2022 à 10:20, Luciano Notarfrancesco a écrit :
>>     Hi Juan, all,
>>     Thanks for testing and pointing out this bug, I just fixed it. I
>>     also cleaned up and simplified a bit the code. Here's a new version.
>>
>     -- 
>     GNU Dr. Geo
>     http://drgeo.eu
>     http://blog.drgeo.eu
>


-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220126/01ef87d0/attachment-0001.htm>


More information about the Cuis-dev mailing list