- All Known Implementing Classes:
public interface IFileBufferOperationA file buffer operation performs changes of the contents of a file buffer.
File buffer operations can be executed by a
GenericFileBufferOperationRunner. The operation runner takes care of all aspects that are common to file buffer manipulation such as creating file buffers, state validation, committing file buffers, etc. Thus, the purpose of
IFileBufferOperationis constrained to buffer content manipulation.
- See Also:
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
getOperationName()Returns the name of this file buffer operation.
run(IFileBuffer fileBuffer, IProgressMonitor monitor)Runs this operation, that is manipulates the content of the given file buffer.
String getOperationName()Returns the name of this file buffer operation. The operation name is used by the
FileBufferOperationRunnerwhile reporting progress.
- the operation name or
void run(IFileBuffer fileBuffer, IProgressMonitor monitor) throws CoreException, OperationCanceledExceptionRuns this operation, that is manipulates the content of the given file buffer.