More Custom Vcs trials and tribulations :)
This particular Vcs makes heavy use of read-only files. If a user opts to delete a file, the Clear Read-only Status dialog is shown to clear the read only status prior to deleting the file.
Ideally, I would like to have a VirtualFileListener which simply fires a vcs drop action when a user attempts to delete a file, however the issue described above makes the process very difficult (The dialog is shown before the listener is called).
The only workaround that I have been able to find is to have my EditFileProvider add a listener to CommandProcessor, and in the event of a delete action being issued, will perform a delete operation rather than a check out. This does not prevent the clear ready only status dialog from being shown - which I would really like to avoid.
Is there a better way to accomplish this on a read-only file?
Thanks in advance,