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.ltk.core.refactoring
Interface IValidationCheckResultQuery


public interface IValidationCheckResultQuery

A query interface to decide if a undo change whose validation check returned a status unequal RefactoringStatus.OK should be executed or not.

Clients should be aware that the methods defined by this interface can be called from a non UI thread.

The interface may be implemented by clients.

Since:
3.0

Method Summary
 boolean proceed ( RefactoringStatus status)
          Returns whether the undo proceeds or not.
 void stopped ( RefactoringStatus status)
          Called when the validation check returned a fatal error.
 

Method Detail

proceed

boolean proceed(
RefactoringStatus status)
Returns whether the undo proceeds or not. This method is called if the validation check returned a status greater than OK and less than FATAL.

Parameters:
status - the refactoring status returned from Change.isValid(IProgressMonitor)
Returns:
true if the undo should proceed; false otherwise

stopped

void stopped(
RefactoringStatus status)
Called when the validation check returned a fatal error. In this case the undo can't proceed. The hook can be used to present a corresponding dialog to the user.

Parameters:
status - the refactoring status returned from Change.isValid(IProgressMonitor)

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