public interface IChangeGroupingRequestor
ChangeTracker class to
track changes and request that they be grouped when appropriate. Clients may obtain an
instance of this interface from a repository provider plug-in using the adapter manager in the
following way:
RepositoryProvderType type = ....
Object o = type.getAdapter(IChangeGroupingRequestor.class);
if (o instanceof IChangeGroupingRequestor) {
return (IChangeGroupingRequestor) o;
}
Clients may implement this interface.
ChangeTracker| Modifier and Type | Method and Description |
|---|---|
void |
ensureChangesGrouped(IProject project,
IFile[] files,
String nameHint)
Issue a request to group the provided files together when the changes
are committed or checked-in to the repository.
|
boolean |
isModified(IFile file)
Return whether the given file is modified with respect to the repository.
|
void ensureChangesGrouped(IProject project, IFile[] files, String nameHint) throws CoreException
project - the project that contains the filesfiles - the filesnameHint - a name hint for the resulting setCoreException - if an error occursboolean isModified(IFile file) throws CoreException
file - the fileCoreException - if an error occurs while trying to determine the modification state
of the file
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.