Package org.eclipse.core.filebuffers
Interface IStateValidationSupport
-
public interface IStateValidationSupportImplementers ofIFileBuffermay also implementIStateValidationSupportin order to allow aIFileBufferManagerto batch the stages of state validation when callingIFileBufferManager.validateState(IFileBuffer[], org.eclipse.core.runtime.IProgressMonitor, Object).- Since:
- 3.1
- See Also:
IFileBuffer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidationStateAboutToBeChanged()Tells this buffer that the validation state is about to be changed.voidvalidationStateChanged(boolean validationState, IStatus status)Tells this buffer that the validation state has been changed to the given value.voidvalidationStateChangeFailed()Tells this buffer that a initiated state validation failed.
-
-
-
Method Detail
-
validationStateAboutToBeChanged
void validationStateAboutToBeChanged()
Tells this buffer that the validation state is about to be changed. File buffer listeners will receive aIFileBufferListener.stateChanging(IFileBuffer)notification in response.
-
validationStateChanged
void validationStateChanged(boolean validationState, IStatus status)Tells this buffer that the validation state has been changed to the given value. After that call,IFileBuffer.isStateValidated()will return the given value. AlsoIFileBuffer.getStatus()will returns the provided status. File buffer listeners will receive aIFileBufferListener.stateValidationChanged(IFileBuffer, boolean)notification.- Parameters:
validationState-trueif validated,falseotherwisestatus- the status of the executed validate state operation
-
validationStateChangeFailed
void validationStateChangeFailed()
Tells this buffer that a initiated state validation failed. File buffer listeners will receive aIFileBufferListener.stateChangeFailed(IFileBuffer)notification in response.
-
-