|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A file buffer operation performs changes of the contents of a file buffer.
File buffer operations are executed by a
FileBufferOperationRunner
.
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 IFileBufferOperation
is
constrained to buffer content manipulation.
FileBufferOperationRunner
Method Summary | |
---|---|
String |
getOperationName()
Returns the name of this file buffer operation. |
void |
run(IFileBuffer fileBuffer,
IProgressMonitor monitor)
Runs this operation, that is manipulates the content of the given file buffer. |
Method Detail |
public String getOperationName()
FileBufferOperationRunner
while reporting
progress.
null
public void run(IFileBuffer fileBuffer, IProgressMonitor monitor) throws CoreException, OperationCanceledException
fileBuffer
- the file buffermonitor
- the progress monitor
CoreException
- in case the content manipulation failed
OperationCanceledException
- in case the monitor has been set to canceled
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.