public abstract class FileStatusManager
extends java.lang.Object
Constructor and Description |
---|
FileStatusManager() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addFileStatusListener(FileStatusListener listener) |
abstract void |
addFileStatusListener(FileStatusListener listener,
Disposable parentDisposable) |
abstract void |
fileStatusChanged(VirtualFile file) |
abstract void |
fileStatusesChanged() |
static FileStatusManager |
getInstance(Project project) |
abstract java.awt.Color |
getNotChangedDirectoryColor(VirtualFile file) |
FileStatus |
getRecursiveStatus(VirtualFile file) |
abstract FileStatus |
getStatus(VirtualFile file)
Returns color that is associated with passed file in vcs subsystem.
|
abstract void |
refreshFileStatusFromDocument(VirtualFile file,
Document doc) |
abstract void |
removeFileStatusListener(FileStatusListener listener) |
public static FileStatusManager getInstance(Project project)
public abstract FileStatus getStatus(VirtualFile file)
Users are discouraged from comparing returned value with a constant, because it might be vcs-specific (HgChangeProvider#RENAMED) or affected by other means (ChangelistConflictFileStatusProvider#MODIFIED_OUTSIDE).
public abstract void fileStatusesChanged()
public abstract void fileStatusChanged(VirtualFile file)
public abstract void addFileStatusListener(FileStatusListener listener)
public abstract void addFileStatusListener(FileStatusListener listener, Disposable parentDisposable)
public abstract void removeFileStatusListener(FileStatusListener listener)
public abstract java.awt.Color getNotChangedDirectoryColor(VirtualFile file)
public FileStatus getRecursiveStatus(VirtualFile file)
public abstract void refreshFileStatusFromDocument(VirtualFile file, Document doc)