public interface IUserEnforcedHelper2 extends IUserEnforcedHelper
IUserEnforcedHelper services to handle bunch of files.| Modifier and Type | Method and Description |
|---|---|
IStatus |
makeFilesWritable(IFile[] files)
Make given files writable.
Such an implementation deals with the UI issues spawn by the act of asking the user (if needed). That includes executing the enforcement in the UI thread. |
IStatus |
makeFilesWritable(IFile[] files,
java.lang.Object display)
Make given files writable.
The caller is responsible for making sure it is executed in the UI thread. Otherwise an invalid thread access exception might be thrown by the platform. |
makeFileWritable, makeFileWritableIStatus makeFilesWritable(IFile[] files)
files - The files that should be made writable.Status.OK_STATUS if file was made writable or doesn't exist. Status.CANCEL_STATUS otherwise.IStatus makeFilesWritable(IFile[] files, java.lang.Object display)
files - The files that should be made writable.display - Used to ask the user permission, if needed.Status.OK_STATUS if file was made writable or doesn't exist. Status.CANCEL_STATUS otherwise.