Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-26 Thread Edouard KLEIN
s know their widget (a MorphicTreeNodeAdapter) whereas the children return nil. Any help, even just a reference at someplace to look, would be appreciated. On Mon, 26 Oct 2015 at 11:49 Ferlicot D. Cyril wrote: > Le 26/10/2015 10:38, Edouard KLEIN a écrit : > > What is FT ? > > >

Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-26 Thread Edouard KLEIN
What is FT ? I did some debugging. When I send the selected:#true message to a root node, it goes down to the Morphic classes, and everything is fine, when I send it to a child node, the dependents array of the TreeNodeModel is nil, so nobody gets the message. I don't know enough about Spec yet to

Re: [Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-24 Thread Edouard KLEIN
(unless someone else beats me to it) how > this could be done (and maybe even take a stab at cleaning the API a > bit...). > > Peter > > On Fri, Oct 23, 2015 at 5:17 PM, Edouard KLEIN > wrote: > >> Hi ! >> >> I've been playing with Pharo again. In th

[Pharo-users] How to programatically select an item in a Spec TreeModel ?

2015-10-23 Thread Edouard KLEIN
Hi ! I've been playing with Pharo again. In the application I'm building, I need to load a file from disk, and depending on what is inside this file, select an item in a tree that is displayed on the main window. The SearchableTree subclass I use is copied at the end of the email. It is nothing f