Hi Alex,

> Each OBNode understand the message definition. In the first version of  
> OB, this definition method is supposed to return an instance of  
> OBDefinition or one of its subclass.
> I saw a way to have a graphical object instead of the text pane. What  
> is the trick to achieve this?

What I did is to use OBClosableDefinitionPanel that has an 
#exchangeContentWith: 
aMorph method where you can pass any morph that gets displayed instead of the 
text 
that is usually there.
We could extend that to be able to also use "visualization definitions" 
directly in 
OBNode, but I haven't yet done this. The visualizations I added get displayed 
on the 
execution of a command, by default there is always a text definition shown that 
can 
get exchanged with a visualization at runtime.

David

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to