In my plugin I want to checkout the file if it is read-only.
I use a ReadonlyAttemptListener to do that. I call consume() on the event
but at the end the file is still readonly from IDEA point of view.
VirtualFileManager.refresh() seems too big a hammer to update one file. BTW
what is the meaning of the parameters of both signatures.
So I am looking at VirtualFile.refresh() instead. Is there any performance
advantage than VirtualFileManager.refresh()? What are the arguments to both
overloaded VirtualFile.refresh()
Thanks
Jacques
I have found my answers in the javadoc. I forgot Shift-F1!
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:al5ufp$gu4$1@is.intellij.net...
In my plugin I want to checkout the file if it is read-only.
I use a ReadonlyAttemptListener to do that. I call consume() on the event
but at the end the file is still readonly from IDEA point of view.
VirtualFileManager.refresh() seems too big a hammer to update one file.
BTW
what is the meaning of the parameters of both signatures.
So I am looking at VirtualFile.refresh() instead. Is there any performance
advantage than VirtualFileManager.refresh()? What are the arguments to
both
overloaded VirtualFile.refresh()
>
Thanks
>
Jacques
>
>
>