I'm writing a Plugin and I would like to get notified when the cvs action "team->commit" takes place. Is there some way of doing this?

I would like to attach a listener to the action "commit" such that whenever a user clicks on it I would be informed. After that I would show a JOptionPane.

Thanks in advance.