com.intellij.openapi.vcs
Class AbstractVcs

java.lang.Object
  extended by 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

Field Summary
protected  Project myProject
           
 
Constructor Summary
AbstractVcs(Project project)
           
 
Method Summary
protected  void activate()
           
 void attachModule(Module module)
           
protected  void deactivate()
           
 void detachModule(Module module)
           
 void doActivateActions(Module module)
           
 boolean fileExistsInVcs(FilePath path)
           
 boolean fileIsUnderVcs(FilePath filePath)
           
 AnnotationProvider getAnnotationProvider()
           
 CheckinEnvironment getCheckinEnvironment()
           
 VcsShowSettingOption getCheckinOptions()
           
abstract  Configurable getConfigurable()
           
 VcsConfiguration getConfiguration()
           
 DiffProvider getDiffProvider()
           
 DirectoryMoveProvider getDirectoryMover()
           
 DirectoryRenameProvider getDirectoryRenamer()
           
abstract  java.lang.String getDisplayName()
           
 EditFileProvider getEditFileProvider()
          Returns the interface for performing check out / edit file operations.
 FileMoveProvider getFileMover()
           
 FileRenameProvider getFileRenamer()
           
 FileStatusProvider getFileStatusProvider()
           
 FileViewEnvironment getFileViewEnvironment()
           
 java.lang.String getMenuItemText()
           
abstract  java.lang.String getName()
           
 FileStatus[] getProvidedStatuses()
           
 RevisionSelector getRevisionSelector()
          Returns the interface for selecting file version numbers.
 StandardOperationsProvider getStandardOperationsProvider()
           
 UpdateEnvironment getStatusEnvironment()
           
 VcsShowSettingOption getStatusOptions()
           
 TransactionProvider getTransactionProvider()
           
 UpdateEnvironment getUpdateEnvironment()
           
 VcsShowSettingOption getUpdateOptions()
           
 UpToDateRevisionProvider getUpToDateRevisionProvider()
           
 VcsHistoryProvider getVcsBlockHistoryProvider()
           
 VcsHistoryProvider getVcsHistoryProvider()
           
 void loadSettings()
           
 boolean markExternalChangesAsUpToDate()
           
 void shutdown()
           
 void start()
           
 boolean supportsMarkSourcesAsCurrent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myProject

protected final Project myProject
Constructor Detail

AbstractVcs

public AbstractVcs(Project project)
Method Detail

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