|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
This is API to access individual file histories.
This interface is not intended to be implemented by clients. Clients can
instead subclass FileHistoryProvider
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is a guarantee neither that this API will work nor that it will remain the same. Please do not use this API without consulting with the Platform/Team team.
| Method Summary | |
|---|---|
IFileHistory |
getFileHistoryFor(IResource resource,
boolean singleLine,
IProgressMonitor monitor)
Returns the file history for the given in resource. |
IFileRevision |
getWorkspaceFileRevision(IResource resource)
Returns the file revision of the passed in resourrce or null if that file revision cannot be determined |
| Method Detail |
public IFileHistory getFileHistoryFor(IResource resource,
boolean singleLine,
IProgressMonitor monitor)
singleLine is true then the
resulting history will be restricted to a single line-of-descent
(e.g. a single branch). In this mode, the
IFileHistory.getContributors(IFileRevision) and
IFileHistory.getTargets(IFileRevision) should either
return zero or one revision.
resource - the resourcesingleLine - whether the returned history should be restricted to a single line of descentmonitor - a progress monitor
public IFileRevision getWorkspaceFileRevision(IResource resource)
resource - the resource
|
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, 2005. All rights reserved.