Ignoring certain notifiers
Hello,
Is there a way to ignore notifiers specifically caused by the plugin? For example, I'd like to be able to change layer visibility via my plugin, but I'd like it NOT to cause a notifier to be sent. However, I am interested in receiving a notifier when a user changes layer visibility via the layers palette.
I've tried disabling the notifier prior to changing the layer's visibility, but the notifier is still sent after my plugin returns. Right now I have a bad hack set up where layer notifications (specifically kAILayerOptionsNotifier) are ignored if it occurs within a certain time period.
Does notifyData from the Notifier contain anything particularly useful on layer set and options events?
Thanks!
--josh