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

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.core.filebuffers
Interface IStateValidationSupport


public interface IStateValidationSupport

Implementers of IFileBuffer may also implement IStateValidationSupport in order to allow a IFileBufferManager to batch the stages of state validation when calling IFileBufferManager.validateState(IFileBuffer[], org.eclipse.core.runtime.IProgressMonitor, Object).

Since:
3.1
See Also:
IFileBuffer

Method Summary
 void validationStateAboutToBeChanged ()
          Tells this buffer that the validation state is about to be changed.
 void validationStateChanged (boolean validationState, IStatus status)
          Tells this buffer that the validation state has been changed to the given value.
 void validationStateChangeFailed ()
          Tells this buffer that a initiated state validation failed.
 

Method Detail

validationStateAboutToBeChanged

void validationStateAboutToBeChanged()
Tells this buffer that the validation state is about to be changed. File buffer listeners will receive a IFileBufferListener.stateChanging(IFileBuffer) notification in response.


validationStateChanged

void validationStateChanged(boolean validationState,
                            
IStatus status)
Tells this buffer that the validation state has been changed to the given value. After that call, IFileBuffer.isStateValidated() will return the given value. Also IFileBuffer.getStatus() will returns the provided status. File buffer listeners will receive a IFileBufferListener.stateValidationChanged(IFileBuffer, boolean) notification.

Parameters:
validationState - true if validated, false otherwise
status - the status of the executed validate state operation

validationStateChangeFailed

void validationStateChangeFailed()
Tells this buffer that a initiated state validation failed. File buffer listeners will receive a IFileBufferListener.stateChangeFailed(IFileBuffer) notification in response.


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