public class ModuleVcsPathPresenter extends VcsPathPresenter
| Constructor and Description |
|---|
ModuleVcsPathPresenter(Project project) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPresentableRelativePath(ContentRevision fromRevision,
ContentRevision toRevision) |
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.
|
getInstancepublic ModuleVcsPathPresenter(Project project)
public java.lang.String getPresentableRelativePathFor(VirtualFile file)
VcsPathPresentergetPresentableRelativePathFor in class VcsPathPresenterfile - the file for which the path is requested.public java.lang.String getPresentableRelativePath(ContentRevision fromRevision, ContentRevision toRevision)
getPresentableRelativePath in class VcsPathPresenter