|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ltk.core.refactoring.participants.ResourceChangeChecker
A resource operation checker is a shared checker to collect all
changes done by the refactoring and the participants to resources
so that they can be validated as one change. A resource operation
checker supersedes the ValidateEditChecker
. So if clients
add their content changes to this checker there is no need to add
them to the ValidateEditChecker
as well.
Note: this class is not intended to be extended by clients.
ResourceChangeValidator
Constructor Summary | |
---|---|
ResourceChangeChecker()
|
Method Summary | |
---|---|
RefactoringStatus |
check(IProgressMonitor monitor)
Performs the actual condition checking. |
static RefactoringStatus |
checkFilesToBeChanged(IFile[] files,
IProgressMonitor monitor)
A helper method to check a set of changed files. |
IResourceChangeDescriptionFactory |
getDeltaFactory()
Returns the delta factory to be used to record resource operations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceChangeChecker()
Method Detail |
public static RefactoringStatus checkFilesToBeChanged(IFile[] files, IProgressMonitor monitor) throws CoreException
files
- the array of files that changemonitor
- a progress monitor to report progress or null
if progress reporting is not desired
CoreException
- a CoreException
if an error occursResourceChangeValidator.validateChange(IResourceDelta, IProgressMonitor)
public IResourceChangeDescriptionFactory getDeltaFactory()
public RefactoringStatus check(IProgressMonitor monitor) throws CoreException
IConditionChecker
check
in interface IConditionChecker
monitor
- a progress monitor to report progress
CoreException
- if an error occurred during condition
checking. The check is interpreted as failed if this happens
|
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.