First thin that came to my mind, you can add property to document that describe what you want for example documant may have custom property "Channel Black - Modified by user "
After a little thought... have you tried to create descriptor, put string in it using keyText, and the put that descriptor using PutObject() and keyCustom?
Does this helps?
Thanks for your reply. I cannot add property to document, because I need to associate customized data with each channel, which user can add/delete/move channel, and can create channel by script/undo/redo, which listener cannot get notified.
For PutObject, what would be the descriptor class ID for key 'keyCustom' ?
Thanks a lot!
If just notification is a problem try workaround this way.
Make scriptable plugin to which you will pass from your plugin data that you want to save with channel.
Than you save this data in document in a manner that suites you. Now, "listner will be notified" about so to say subplugin call and will catch all parameters that you have passed to subplugin.
I know that it is not elegant, farr from it but in case that you hit the wall it may be worth trying.