|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.filebuffers.manipulation.FileBufferOperationRunner
A FileBufferOperationRunner
executes
IFileBufferOperation
.
The runner takes care of all aspects that are not operation specific.
This class is not intended to be subclassed. Clients instantiate this class.
IFileBufferOperation
Constructor Summary | |
---|---|
FileBufferOperationRunner(IFileBufferManager fileBufferManager,
Object validationContext)
Creates a new file buffer operation runner. |
Method Summary | |
---|---|
void |
execute(IPath[] locations,
IFileBufferOperation operation,
IProgressMonitor monitor)
Executes the given operation for all file buffers specified by the given locations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileBufferOperationRunner(IFileBufferManager fileBufferManager, Object validationContext)
fileBufferManager
- the file buffer managervalidationContext
- the validationContextMethod Detail |
public void execute(IPath[] locations, IFileBufferOperation operation, IProgressMonitor monitor) throws CoreException, OperationCanceledException
locations
- the file buffer locationsoperation
- the operation to be performedmonitor
- the progress monitor
CoreException
- in case of error
OperationCanceledException
- in case the execution get 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.