public interface IStateValidationSupport
IFileBuffer
may also
implement IStateValidationSupport
in order to allow a
IFileBufferManager
to batch the stages
of state validation when calling
IFileBufferManager.validateState(IFileBuffer[], org.eclipse.core.runtime.IProgressMonitor, Object)
.IFileBuffer
Modifier and Type | Method and Description |
---|---|
void |
validationStateAboutToBeChanged()
Tells this buffer that the validation state is about to be changed.
|
void |
validationStateChanged(boolean validationState,
IStatus status)
Tells this buffer that the validation state has been changed to the given
value.
|
void |
validationStateChangeFailed()
Tells this buffer that a initiated state validation failed.
|
void validationStateAboutToBeChanged()
IFileBufferListener.stateChanging(IFileBuffer)
notification in
response.void validationStateChanged(boolean validationState, IStatus status)
IFileBuffer.isStateValidated()
will
return the given value. Also IFileBuffer.getStatus()
will returns
the provided status. File buffer listeners will receive a
IFileBufferListener.stateValidationChanged(IFileBuffer, boolean)
notification.validationState
- true
if validated,
false
otherwisestatus
- the status of the executed validate state operationvoid validationStateChangeFailed()
IFileBufferListener.stateChangeFailed(IFileBuffer)
notification
in response.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.