protected class TextFileDocumentProvider.FileBufferListener extends Object implements IFileBufferListener
| Constructor and Description |
|---|
TextFileDocumentProvider.FileBufferListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
bufferContentAboutToBeReplaced(IFileBuffer file)
Informs the listener about an upcoming replace of the contents of the given buffer.
|
void |
bufferContentReplaced(IFileBuffer file)
Informs the listener that the buffer of the given buffer has been replaced.
|
void |
bufferCreated(IFileBuffer buffer)
Informs the listener about the creation of the given buffer.
|
void |
bufferDisposed(IFileBuffer buffer)
Informs the listener that the given buffer has been disposed.
|
void |
dirtyStateChanged(IFileBuffer file,
boolean isDirty)
Informs the listener that the dirty state of the given buffer changed
to the specified value
|
void |
stateChangeFailed(IFileBuffer file)
Informs the listener that a state changing operation on the given
file buffer failed.
|
void |
stateChanging(IFileBuffer file)
Informs the listener about the start of a state changing operation on
the given buffer.
|
void |
stateValidationChanged(IFileBuffer file,
boolean isStateValidated)
Informs the listener that the state validation changed to the specified value.
|
void |
underlyingFileDeleted(IFileBuffer file)
Informs the listener that the file underlying the given file buffer has been deleted.
|
void |
underlyingFileMoved(IFileBuffer file,
IPath newLocation)
Informs the listener that the file underlying the given file buffer has been moved to the
given location.
|
public TextFileDocumentProvider.FileBufferListener()
public void bufferContentAboutToBeReplaced(IFileBuffer file)
IFileBufferListenerbufferContentAboutToBeReplaced in interface IFileBufferListenerfile - the effected file bufferpublic void bufferContentReplaced(IFileBuffer file)
IFileBufferListenerbufferContentReplaced in interface IFileBufferListenerfile - the effected file bufferpublic void stateChanging(IFileBuffer file)
IFileBufferListenerstateChanging in interface IFileBufferListenerfile - the effected file bufferpublic void dirtyStateChanged(IFileBuffer file, boolean isDirty)
IFileBufferListenerdirtyStateChanged in interface IFileBufferListenerfile - the effected file bufferisDirty - true if the buffer is dirty, false otherwisepublic void stateValidationChanged(IFileBuffer file, boolean isStateValidated)
IFileBufferListenerstateValidationChanged in interface IFileBufferListenerfile - the effected file bufferisStateValidated - true if the buffer state is validated, false otherwisepublic void underlyingFileMoved(IFileBuffer file, IPath newLocation)
IFileBufferListenerunderlyingFileMoved in interface IFileBufferListenerfile - the effected file buffernewLocation - the new location (not just the container)public void underlyingFileDeleted(IFileBuffer file)
IFileBufferListenerunderlyingFileDeleted in interface IFileBufferListenerfile - the effected file bufferpublic void stateChangeFailed(IFileBuffer file)
IFileBufferListenerstateChangeFailed in interface IFileBufferListenerfile - the effected file bufferpublic void bufferCreated(IFileBuffer buffer)
IFileBufferListenerbufferCreated in interface IFileBufferListenerbuffer - the created file bufferpublic void bufferDisposed(IFileBuffer buffer)
IFileBufferListenerbufferDisposed in interface IFileBufferListenerbuffer - the disposed file bufferGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.