|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used to allow model tooling to request that a particular set of modified files
be committed together to the repository. It is used by the 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
Method Summary | |
---|---|
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. |
Method Detail |
public 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 set
CoreException
- if an error occurspublic boolean isModified(IFile file) throws CoreException
file
- the file
CoreException
- if an error occurs while trying to determine the modification state
of the file
|
Eclipse Platform Release 3.3 |
|||||||||||
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, 2007. All rights reserved.