|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFileBufferListener
Interface for listeners to file buffer changes.
Method Summary | |
---|---|
void |
bufferContentAboutToBeReplaced(IFileBuffer buffer)
Informs the listener about an upcoming replace of the contents of the given buffer. |
void |
bufferContentReplaced(IFileBuffer buffer)
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 buffer,
boolean isDirty)
Informs the listener that the dirty state of the given buffer changed to the specified value |
void |
stateChangeFailed(IFileBuffer buffer)
Informs the listener that a state changing operation on the given file buffer failed. |
void |
stateChanging(IFileBuffer buffer)
Informs the listener about the start of a state changing operation on the given buffer. |
void |
stateValidationChanged(IFileBuffer buffer,
boolean isStateValidated)
Informs the listener that the state validation changed to the specified value. |
void |
underlyingFileDeleted(IFileBuffer buffer)
Informs the listener that the file underlying the given file buffer has been deleted. |
void |
underlyingFileMoved(IFileBuffer buffer,
IPath path)
Informs the listener that the file underlying the given file buffer has been moved to the given location. |
Method Detail |
---|
void bufferCreated(IFileBuffer buffer)
buffer
- the created file buffervoid bufferDisposed(IFileBuffer buffer)
buffer
- the disposed file buffervoid bufferContentAboutToBeReplaced(IFileBuffer buffer)
buffer
- the effected file buffervoid bufferContentReplaced(IFileBuffer buffer)
buffer
- the effected file buffervoid stateChanging(IFileBuffer buffer)
buffer
- the effected file buffervoid dirtyStateChanged(IFileBuffer buffer, boolean isDirty)
buffer
- the effected file bufferisDirty
- true
if the buffer is dirty, false
otherwisevoid stateValidationChanged(IFileBuffer buffer, boolean isStateValidated)
buffer
- the effected file bufferisStateValidated
- true
if the buffer state is validated, false
otherwisevoid underlyingFileMoved(IFileBuffer buffer, IPath path)
buffer
- the effected file bufferpath
- the new location (not just the container)void underlyingFileDeleted(IFileBuffer buffer)
buffer
- the effected file buffervoid stateChangeFailed(IFileBuffer buffer)
buffer
- the effected file buffer
|
Eclipse Platform Release 3.2 |
|||||||||
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, 2006. All rights reserved.