This is to properly support versioning systems that write-protect their files on local filesystem. We need a way to make
a file r/w automatically once something tries to write to it. This is especially needed for refactoring to work. One way
of doing it is to re-use the concept from previous vcsgeneric module that makes files r/w at fileLock and r/o at
fileUnlock. I think that interceptor is not needed/possible here, so two methods fileLocked(FileObject) and
fileUnlocked(FileObject) would do.
For the purpose of review I can also attach diff of Versioning SPI here.
Created attachment 43632 [details]
attached diff for review
Created attachment 43633 [details]
as before but now not binary
Created attachment 43690 [details]
follow-up changes in the Versioning SPI
I'm going to integrate these changes on Friday Jun 15.
Versioning SPI - integration done before FF.
new revision: 1.6; previous revision: 1.5
/shared/data/ccvs/repository/versioncontrol/apichanges.xml,v <-- apichanges.xml
new revision: 1.2; previous revision: 1.1
/shared/data/ccvs/repository/versioncontrol/nbproject/project.properties,v <-- project.properties
new revision: 1.12; previous revision: 1.11
/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/MasterFileObject.java,v <-- MasterFileObject.java
new revision: 1.64; previous revision: 1.63
/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/Delegate.java,v <-- Delegate.java
new revision: 1.26; previous revision: 1.25
/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/ProvidedExtensionsProxy.java,v <-- new revision: 1.6; previous
/cvs/openide/masterfs/apichanges.xml,v <-- apichanges.xml
new revision: 1.7; previous revision: 1.6
/cvs/openide/masterfs/test/unit/src/org/netbeans/modules/masterfs/providers/ProvidedExtensionsTest.java,v <-- new
revision: 1.8; previous revision: 1.7
/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/providers/ProvidedExtensions.java,v <-- new revision: 1.6;
previous revision: 1.5