|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.egf.common.ui.internal.helper.UserEnforcedHelper
public class UserEnforcedHelper
Helper methods enforced by user interaction.
It should not be overridden nor instantiated.
It is located here for dependencies issues.
Constructor Summary | |
---|---|
UserEnforcedHelper()
|
Method Summary | |
---|---|
IStatus |
makeFileWritable(IFile file_p)
Make given file writable. |
IStatus |
makeFileWritable(IFile file_p,
Object display_p)
Make given file writable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserEnforcedHelper()
Method Detail |
---|
public IStatus makeFileWritable(IFile file_p)
IUserEnforcedHelper
makeFileWritable
in interface IUserEnforcedHelper
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.org.eclipse.egf.common.helper.IUserEnforcedHelper#makeFileWritable(org.eclipse.core.resources.IFile)
public IStatus makeFileWritable(IFile file_p, Object display_p)
IUserEnforcedHelper
makeFileWritable
in interface IUserEnforcedHelper
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.org.eclipse.egf.common.helper.IUserEnforcedHelper#makeFileWritable(org.eclipse.core.resources.IFile, java.lang.Object)
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.