Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.editors.text
Class TextFileDocumentProvider.FileBufferListener


java.lang.Object
  extended by 
org.eclipse.ui.editors.text.TextFileDocumentProvider.FileBufferListener
All Implemented Interfaces:
IFileBufferListener
Enclosing class:
TextFileDocumentProvider

protected class TextFileDocumentProvider.FileBufferListener
extends Object
implements IFileBufferListener


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

TextFileDocumentProvider.FileBufferListener

public TextFileDocumentProvider.FileBufferListener()
Method Detail

bufferContentAboutToBeReplaced

public void bufferContentAboutToBeReplaced(
IFileBuffer file)
Description copied from interface: IFileBufferListener
Informs the listener about an upcoming replace of the contents of the given buffer.

Specified by:
bufferContentAboutToBeReplaced in interface IFileBufferListener
Parameters:
file - the effected file buffer

bufferContentReplaced

public void bufferContentReplaced(
IFileBuffer file)
Description copied from interface: IFileBufferListener
Informs the listener that the buffer of the given buffer has been replaced.

Specified by:
bufferContentReplaced in interface IFileBufferListener
Parameters:
file - the effected file buffer

stateChanging

public void stateChanging(
IFileBuffer file)
Description copied from interface: IFileBufferListener
Informs the listener about the start of a state changing operation on the given buffer.

Specified by:
stateChanging in interface IFileBufferListener
Parameters:
file - the effected file buffer

dirtyStateChanged

public void dirtyStateChanged(
IFileBuffer file,
                              boolean isDirty)
Description copied from interface: IFileBufferListener
Informs the listener that the dirty state of the given buffer changed to the specified value

Specified by:
dirtyStateChanged in interface IFileBufferListener
Parameters:
file - the effected file buffer
isDirty - true if the buffer is dirty, false otherwise

stateValidationChanged

public void stateValidationChanged(
IFileBuffer file,
                                   boolean isStateValidated)
Description copied from interface: IFileBufferListener
Informs the listener that the state validation changed to the specified value.

Specified by:
stateValidationChanged in interface IFileBufferListener
Parameters:
file - the effected file buffer
isStateValidated - true if the buffer state is validated, false otherwise

underlyingFileMoved

public void underlyingFileMoved(
IFileBuffer file,
                                
IPath newLocation)
Description copied from interface: IFileBufferListener
Informs the listener that the file underlying the given file buffer has been moved to the given location.

This event is currently only sent if the file buffer is backed by an IFile.

Specified by:
underlyingFileMoved in interface IFileBufferListener
Parameters:
file - the effected file buffer
newLocation - the new location (not just the container)

underlyingFileDeleted

public void underlyingFileDeleted(
IFileBuffer file)
Description copied from interface: IFileBufferListener
Informs the listener that the file underlying the given file buffer has been deleted.

Specified by:
underlyingFileDeleted in interface IFileBufferListener
Parameters:
file - the effected file buffer

stateChangeFailed

public void stateChangeFailed(
IFileBuffer file)
Description copied from interface: IFileBufferListener
Informs the listener that a state changing operation on the given file buffer failed.

Specified by:
stateChangeFailed in interface IFileBufferListener
Parameters:
file - the effected file buffer

bufferCreated

public void bufferCreated(
IFileBuffer buffer)
Description copied from interface: IFileBufferListener
Informs the listener about the creation of the given buffer.

Specified by:
bufferCreated in interface IFileBufferListener
Parameters:
buffer - the created file buffer

bufferDisposed

public void bufferDisposed(
IFileBuffer buffer)
Description copied from interface: IFileBufferListener
Informs the listener that the given buffer has been disposed. All state information has already been disposed and accessing it is forbidden. However, accessing the file buffer's content is still allowed during the notification.

Specified by:
bufferDisposed in interface IFileBufferListener
Parameters:
buffer - the disposed file buffer

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire