|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.editors.text.TextFileDocumentProvider.FileBufferListener
protected class TextFileDocumentProvider.FileBufferListener
| Constructor Summary | |
|---|---|
TextFileDocumentProvider.FileBufferListener()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextFileDocumentProvider.FileBufferListener()
| Method Detail |
|---|
public void bufferContentAboutToBeReplaced(IFileBuffer file)
IFileBufferListener
bufferContentAboutToBeReplaced in interface IFileBufferListenerfile - the affected file bufferpublic void bufferContentReplaced(IFileBuffer file)
IFileBufferListener
bufferContentReplaced in interface IFileBufferListenerfile - the affected file bufferpublic void stateChanging(IFileBuffer file)
IFileBufferListener
stateChanging in interface IFileBufferListenerfile - the affected file buffer
public void dirtyStateChanged(IFileBuffer file,
boolean isDirty)
IFileBufferListener
dirtyStateChanged in interface IFileBufferListenerfile - the affected file bufferisDirty - true if the buffer is dirty, false otherwise
public void stateValidationChanged(IFileBuffer file,
boolean isStateValidated)
IFileBufferListener
stateValidationChanged in interface IFileBufferListenerfile - the affected file bufferisStateValidated - true if the buffer state is validated, false otherwise
public void underlyingFileMoved(IFileBuffer file,
IPath newLocation)
IFileBufferListener
This event is currently only sent if the file buffer is
backed by an IFile.
underlyingFileMoved in interface IFileBufferListenerfile - the affected file buffernewLocation - the new location (not just the container)public void underlyingFileDeleted(IFileBuffer file)
IFileBufferListener
underlyingFileDeleted in interface IFileBufferListenerfile - the affected file bufferpublic void stateChangeFailed(IFileBuffer file)
IFileBufferListener
stateChangeFailed in interface IFileBufferListenerfile - the affected file bufferpublic void bufferCreated(IFileBuffer buffer)
IFileBufferListener
bufferCreated in interface IFileBufferListenerbuffer - the created file bufferpublic void bufferDisposed(IFileBuffer buffer)
IFileBufferListener
bufferDisposed in interface IFileBufferListenerbuffer - the disposed file buffer
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.