com.intellij.openapi.vcs
Class AbstractVcs
java.lang.Object
com.intellij.openapi.vcs.AbstractVcs
public abstract class AbstractVcs
- extends java.lang.Object
The base class for a version control system integrated with IDEA.
- See Also:
ProjectLevelVcsManager,
ModuleLevelVcsManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myProject
protected final Project myProject
AbstractVcs
public AbstractVcs(Project project)
getName
public abstract java.lang.String getName()
getDisplayName
public abstract java.lang.String getDisplayName()
getConfigurable
public abstract Configurable getConfigurable()
getStandardOperationsProvider
public StandardOperationsProvider getStandardOperationsProvider()
getFileRenamer
public FileRenameProvider getFileRenamer()
getDirectoryRenamer
public DirectoryRenameProvider getDirectoryRenamer()
getFileMover
public FileMoveProvider getFileMover()
getDirectoryMover
public DirectoryMoveProvider getDirectoryMover()
getTransactionProvider
public TransactionProvider getTransactionProvider()
getFileStatusProvider
public FileStatusProvider getFileStatusProvider()
getConfiguration
public final VcsConfiguration getConfiguration()
getEditFileProvider
@Nullable
public EditFileProvider getEditFileProvider()
- Returns the interface for performing check out / edit file operations.
- Returns:
- the interface implementation, or null if none is provided.
supportsMarkSourcesAsCurrent
public boolean supportsMarkSourcesAsCurrent()
getUpToDateRevisionProvider
public UpToDateRevisionProvider getUpToDateRevisionProvider()
doActivateActions
public void doActivateActions(Module module)
activate
protected void activate()
attachModule
public void attachModule(Module module)
detachModule
public void detachModule(Module module)
deactivate
protected void deactivate()
markExternalChangesAsUpToDate
public boolean markExternalChangesAsUpToDate()
start
public void start()
throws VcsException
- Throws:
VcsException
shutdown
public void shutdown()
throws VcsException
- Throws:
VcsException
getFileViewEnvironment
public FileViewEnvironment getFileViewEnvironment()
getCheckinEnvironment
public CheckinEnvironment getCheckinEnvironment()
getVcsHistoryProvider
public VcsHistoryProvider getVcsHistoryProvider()
getVcsBlockHistoryProvider
public VcsHistoryProvider getVcsBlockHistoryProvider()
getMenuItemText
public java.lang.String getMenuItemText()
getUpdateEnvironment
public UpdateEnvironment getUpdateEnvironment()
fileIsUnderVcs
public boolean fileIsUnderVcs(FilePath filePath)
fileExistsInVcs
public boolean fileExistsInVcs(FilePath path)
getStatusEnvironment
public UpdateEnvironment getStatusEnvironment()
getAnnotationProvider
public AnnotationProvider getAnnotationProvider()
getDiffProvider
public DiffProvider getDiffProvider()
getCheckinOptions
public VcsShowSettingOption getCheckinOptions()
getUpdateOptions
public VcsShowSettingOption getUpdateOptions()
getStatusOptions
public VcsShowSettingOption getStatusOptions()
loadSettings
public void loadSettings()
getProvidedStatuses
public FileStatus[] getProvidedStatuses()
getRevisionSelector
@Nullable
public RevisionSelector getRevisionSelector()
- Returns the interface for selecting file version numbers.
- Returns:
- the revision selector implementation, or null if none is provided.
- Since:
- 5.0.2