1 Replies Last post: Sep 7, 2002 11:30 AM by Jacques Morel  
Guest
Currently Being Moderated

Sep 5, 2002 1:33 AM

Best way to refresh the current file after a reaonly attempt handler has been invoked

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

 

 

 

 

More Like This

  • Retrieving data ...