public class FileBufferAdapter extends Adapter implements FileBufferListener
FileBufferListener
.
The methods in this class are empty. This class exists
as convenience for creating listener objects.
Extend this class to create a FileBufferListener
and override the methods for the events of interest.
Adapter
,
FileBufferListener
Modifier | Constructor and Description |
---|---|
protected |
FileBufferAdapter()
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
bufferContentAboutToBeReplaced(org.eclipse.core.filebuffers.IFileBuffer buffer) |
void |
bufferContentReplaced(org.eclipse.core.filebuffers.IFileBuffer buffer) |
void |
bufferCreated(org.eclipse.core.filebuffers.IFileBuffer buffer) |
void |
bufferDisposed(org.eclipse.core.filebuffers.IFileBuffer buffer) |
void |
dirtyStateChanged(org.eclipse.core.filebuffers.IFileBuffer buffer,
boolean dirty) |
void |
stateChangeFailed(org.eclipse.core.filebuffers.IFileBuffer buffer) |
void |
stateChanging(org.eclipse.core.filebuffers.IFileBuffer buffer) |
void |
stateValidationChanged(org.eclipse.core.filebuffers.IFileBuffer buffer,
boolean stateValidated) |
void |
underlyingFileDeleted(org.eclipse.core.filebuffers.IFileBuffer buffer) |
void |
underlyingFileMoved(org.eclipse.core.filebuffers.IFileBuffer buffer,
org.eclipse.core.runtime.IPath path) |
postRegister, postUnregister, preRegister, preUnregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postRegister, postUnregister, preRegister, preUnregister
protected FileBufferAdapter()
public void bufferCreated(org.eclipse.core.filebuffers.IFileBuffer buffer)
bufferCreated
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void bufferDisposed(org.eclipse.core.filebuffers.IFileBuffer buffer)
bufferDisposed
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void bufferContentAboutToBeReplaced(org.eclipse.core.filebuffers.IFileBuffer buffer)
bufferContentAboutToBeReplaced
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void bufferContentReplaced(org.eclipse.core.filebuffers.IFileBuffer buffer)
bufferContentReplaced
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void stateChanging(org.eclipse.core.filebuffers.IFileBuffer buffer)
stateChanging
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void stateChangeFailed(org.eclipse.core.filebuffers.IFileBuffer buffer)
stateChangeFailed
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void stateValidationChanged(org.eclipse.core.filebuffers.IFileBuffer buffer, boolean stateValidated)
stateValidationChanged
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void dirtyStateChanged(org.eclipse.core.filebuffers.IFileBuffer buffer, boolean dirty)
dirtyStateChanged
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void underlyingFileMoved(org.eclipse.core.filebuffers.IFileBuffer buffer, org.eclipse.core.runtime.IPath path)
underlyingFileMoved
in interface org.eclipse.core.filebuffers.IFileBufferListener
public void underlyingFileDeleted(org.eclipse.core.filebuffers.IFileBuffer buffer)
underlyingFileDeleted
in interface org.eclipse.core.filebuffers.IFileBufferListener