public interface IUserEnforcedHelper
| Modifier and Type | Method and Description |
|---|---|
IStatus |
makeFileWritable(IFile file_p)
Make given file 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 |
makeFileWritable(IFile file_p,
java.lang.Object display_p)
Make given file 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. |
IStatus makeFileWritable(IFile file_p)
file_p - The file that should be made writable.Status.OK_STATUS if file was made writable or doesn't exist. Status.CANCEL_STATUS otherwise.IStatus makeFileWritable(IFile file_p, java.lang.Object display_p)
file_p - The file that should be made writable.display_p - Used to ask the user permission, if needed.Status.OK_STATUS if file was made writable or doesn't exist. Status.CANCEL_STATUS otherwise.