I have a plugin in which I want to trap the rename operation. I looked around and found two interfaces LocalFileOperationsHandler and VirtualFileListener in which I get notifications of the rename operations. I need to cancel the rename operation based on certain conditions specific to my plugin. How can I do that?
Please let me know if I am missing something.