[Pharo-project] sending messages through inspector menus
Hi Could we have a way to send message to objects in the inspectors through the mouse menu. The way to do now is to access the object and them write message and accept them I find that could be useful to authorize some messages to be directly accessible. For instance we have an history object having a collection inst var to store its commands. To empty it we need to assign an empty collection to the var. But if accessible in the menu, it will be easier to do and feel more secure. The history object (parent) could have authorized the emptyCollection message. Maybe we could use pragma for that. Any tips or directions ? I think I'll try on OBTools. Cédrick
On Sun, Jul 27, 2008 at 12:54 AM, cdrick <cdrick65@gmail.com> wrote:
Could we have a way to send message to objects in the inspectors through the mouse menu. The way to do now is to access the object and them write message and accept them I find that could be useful to authorize some messages to be directly accessible.
For instance we have an history object having a collection inst var to store its commands. To empty it we need to assign an empty collection to the var. But if accessible in the menu, it will be easier to do and feel more secure. The history object (parent) could have authorized the emptyCollection message. Maybe we could use pragma for that.
Any tips or directions ? I think I'll try on OBTools.
Yes, OBTools are the way to go to improve things. -- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu)
participants (2)
-
cdrick -
Damien Cassou