public class VcsImplUtil
extends java.lang.Object
VcsUtil
extension that needs access to the intellij.platform.vcs.impl
module.
Constructor and Description |
---|
VcsImplUtil() |
Modifier and Type | Method and Description |
---|---|
static IgnoredFileContentProvider |
findIgnoredFileContentProvider(AbstractVcs vcs) |
static IgnoredFileContentProvider |
findIgnoredFileContentProvider(Project project,
VcsKey vcsKey) |
static void |
generateIgnoreFileIfNeeded(Project project,
AbstractVcs vcs,
VirtualFile ignoreFileRoot) |
static java.lang.String |
getShortVcsRootName(Project project,
VirtualFile root) |
static boolean |
isProjectSharedInVcs(Project project) |
static void |
proposeUpdateIgnoreFile(Project project,
AbstractVcs vcs,
VirtualFile ignoreFileRoot) |
static void |
showErrorMessage(Project project,
java.lang.String message,
java.lang.String title)
Shows error message with specified message text and title.
|
public static void showErrorMessage(Project project, java.lang.String message, java.lang.String title)
project
- Current project componentmessage
- information messagetitle
- Dialog titlepublic static java.lang.String getShortVcsRootName(Project project, VirtualFile root)
public static IgnoredFileContentProvider findIgnoredFileContentProvider(AbstractVcs vcs)
public static IgnoredFileContentProvider findIgnoredFileContentProvider(Project project, VcsKey vcsKey)
public static void proposeUpdateIgnoreFile(Project project, AbstractVcs vcs, VirtualFile ignoreFileRoot)
public static void generateIgnoreFileIfNeeded(Project project, AbstractVcs vcs, VirtualFile ignoreFileRoot)
public static boolean isProjectSharedInVcs(Project project)