Michael R Head <burner@xxxxxxxxxxx>
>It strikes me that one could essentially [get] the same functionality as the
>abbot SemanticRecording and such by using AspectJ. I was playing around
>with it last night to learn about AspectJ and to see how I would be able
>to add listeners to every AWT component as it's created. Turns out it's
>really easy.
>Using it for SWT shouldn't be too bad, either.
I've never used AspectJ, but this might prove to be the better option. Not only could one add a custom recorder/listener to each component as its created, one could also monitor the sorts of listeners that are attached to each component/widget in the original app itself. It would then be easy to identify the set of event types to which each widget- even custom ones- can respond. This would be useful for all sorts of things.
We're going to stick to the original Abbot framework so that we can get what is essentially a proof-of-concept up and running as quickly as possible, but we may incorporate this later on.