Thanks David, I will dive into it Cheers, Alexandre On 19 Mar 2009, at 10:14, David Röthlisberger wrote:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.