Hi everyone: I’m actually working on a quite complicated project in which I have to make various views communicate with each other: I am (or should I say I was? ) a very happy user of the “system.perspective.sendMessage” paradigm, but although I believe it is a very useful feature (and even vital when the view structure becomes complicated), I believe that the usage is becoming a bit unpractical, here are some points:
- first of all, it seems to me that there is no way to know if a particular component implements some sort of event handler: it’s not a big deal for components like buttons, which are supposed to have at least an “onClick” script implemented, but what if I’m handling some event on the root, or on a container? A little icon on the right of the component that implements an event handler could help;
- there is even no way to know if a component is implementing a message handler, or a custom method, see the notes above;
- last but not least, there is no way to correlate a message handler to the component that is calling the related “sendMessage”. Ok, I can use the Find/replace window to search for a specific message (I must know first the message beeing sent or handled, but never mind this for now): unfortunately, it seems that from the new 8.0.3 release the find/replace feature doesn’t work anymore if searching through “all windows”.
Given that the Find / Replace problem is temporary and will surely be solved, what would I like to know is if new features will be developed that can lighten the points above? I’m probably asking too much, but I think it would be useful to have some kind of mechanism to highlight the components that manage a certain message, or maybe some sort of shortcut that allows me to easily navigate between the producer(s) and the consumer(s) of a given message. Is this just fantasy?
Many thanks in advance,