public abstract class VcsPathPresenter
extends java.lang.Object
Constructor and Description |
---|
VcsPathPresenter() |
Modifier and Type | Method and Description |
---|---|
static VcsPathPresenter |
getInstance(Project project) |
abstract java.lang.String |
getPresentableRelativePath(ContentRevision fromRevision,
ContentRevision toRevision) |
abstract java.lang.String |
getPresentableRelativePathFor(VirtualFile file)
Returns the user-visible relative path from the content root under which the
specified file is located to the file itself, prefixed by the module name in
angle brackets.
|
public static VcsPathPresenter getInstance(Project project)
public abstract java.lang.String getPresentableRelativePathFor(VirtualFile file)
file
- the file for which the path is requested.public abstract java.lang.String getPresentableRelativePath(ContentRevision fromRevision, ContentRevision toRevision)