C# Class VisualHg.VisualHgService

Inheritance: IDisposable, IVsSccProvider, IVsSccGlyphs, IVsSccManager2, IVsSccManagerTooltip, IVsSolutionEvents, IVsUpdateSolutionEvents, IVsQueryEditQuerySave2, IVsTrackProjectDocumentsEvents2
Show file Open project: HexWrench/VisualHG2015 Class Usage Examples

Private Properties

Property Type Description
AddIf void
EnoughTimePassedSinceLastUpdate bool
GetStatusIcon VsStateIcon
GetStatusIcon VsStateIcon
GetStatusIcon VsStateIcon
GetToolTipText string
HasPendingChildren bool
IVsQueryEditQuerySave2 int
IVsQueryEditQuerySave2 int
IVsQueryEditQuerySave2 int
IVsQueryEditQuerySave2 int
IVsQueryEditQuerySave2 int
IVsQueryEditQuerySave2 int
IVsSccGlyphs int
IVsSccManager2 int
IVsSccManager2 int
IVsSccManager2 int
IVsSccManager2 int
IVsSccManager2 int
IVsSccManager2 int
IVsSccManager2 int
IVsSccManagerTooltip int
IVsSccProvider int
IVsSccProvider int
IVsSolutionEvents int
IVsSolutionEvents int
IVsSolutionEvents int
IVsSolutionEvents int
IVsSolutionEvents int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsTrackProjectDocumentsEvents2 int
IVsUpdateSolutionEvents int
IVsUpdateSolutionEvents int
IVsUpdateSolutionEvents int
IVsUpdateSolutionEvents int
InitializeStatusImageList void
IsProject bool
NeedToSearchChildren bool
OnAfterAddFiles void
OnAfterCloseSolution void
OnAfterLoadProject void
OnAfterOpenProject void
OnAfterOpenSolution void
OnAfterRemoveFiles void
OnAfterRenameFiles void
OnBeforeCloseOrUnloadProject void
OnFileSave void
OnProjectRegister void
OnRepositoryStatusChanged void
OnSolutionBuildEnded void
OnSolutionBuildStarted void
OverrideStatus bool
SetWindowText void
Update void
UpdateLastSeenProjectDirectory void
UpdateLoadedProjectsStatusIcons void
UpdateMainWindowCaption void
UpdateMainWindowCaption void
UpdatePendingChangesToolWindow void
UpdateProjectStatusIcons void
UpdateSolutionStatusIcon void
UpdateStatusIcons void

Public Methods

Method Description
Dispose ( ) : void
GetFileStatus ( string filename ) : HgFileStatus
VisualHgService ( ) : System

Private Methods

Method Description
AddIf ( bool condition, string files ) : void
EnoughTimePassedSinceLastUpdate ( ) : bool
GetStatusIcon ( HgFileStatus status ) : VsStateIcon
GetStatusIcon ( int iconIndex ) : VsStateIcon
GetStatusIcon ( string fileName ) : VsStateIcon
GetToolTipText ( IVsHierarchy hierarchy, uint itemId ) : string
HasPendingChildren ( IVsHierarchy hierarchy ) : bool
IVsQueryEditQuerySave2 ( ) : int
IVsQueryEditQuerySave2 ( string pszMkDocument, int &pbResult ) : int
IVsQueryEditQuerySave2 ( string pszMkDocument, uint rgf, VSQEQS_FILE_ATTRIBUTE_DATA pFileInfo ) : int
IVsQueryEditQuerySave2 ( string pszMkDocument, uint rgf, VSQEQS_FILE_ATTRIBUTE_DATA pFileInfo, uint &pdwQSResult ) : int
IVsQueryEditQuerySave2 ( uint rgfQuerySave, int cFiles, string rgpszMkDocuments, uint rgrgf, VSQEQS_FILE_ATTRIBUTE_DATA rgFileInfo, uint &pdwQSResult ) : int
IVsQueryEditQuerySave2 ( uint rgfQueryEdit, int cFiles, string rgpszMkDocuments, uint rgrgf, VSQEQS_FILE_ATTRIBUTE_DATA rgFileInfo, uint &pfEditVerdict, uint &prgfMoreInfo ) : int
IVsSccGlyphs ( uint BaseIndex, uint &pdwImageListHandle ) : int
IVsSccManager2 ( ) : int
IVsSccManager2 ( IVsSccProject2 pscp2Project ) : int
IVsSccManager2 ( IVsSccProject2 pscp2Project, string pszSccProjectName, string pszSccAuxPath, string pszSccLocalPath, string pszProvider ) : int
IVsSccManager2 ( int &pbInstalled ) : int
IVsSccManager2 ( int cFiles, string rgpszFullPaths, VsStateIcon rgsiGlyphs, uint rgdwSccStatus ) : int
IVsSccManager2 ( string &pbstrDirectory, int &pfOK ) : int
IVsSccManager2 ( uint dwSccStatus, VsStateIcon psiGlyph ) : int
IVsSccManagerTooltip ( IVsHierarchy phierHierarchy, uint itemidNode, string &pbstrTooltipText ) : int
IVsSccProvider ( ) : int
IVsSccProvider ( int &pfResult ) : int
IVsSolutionEvents ( IVsHierarchy pStubHierarchy, IVsHierarchy pRealHierarchy ) : int
IVsSolutionEvents ( IVsHierarchy pHierarchy, int fAdded ) : int
IVsSolutionEvents ( IVsHierarchy pHierarchy, int fRemoving, int &pfCancel ) : int
IVsSolutionEvents ( object pUnkReserved ) : int
IVsSolutionEvents ( object pUnkReserved, int fNewSolution ) : int
IVsTrackProjectDocumentsEvents2 ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYADDDIRECTORYFLAGS rgFlags, VSQUERYADDDIRECTORYRESULTS pSummaryResult, VSQUERYADDDIRECTORYRESULTS rgResults ) : int
IVsTrackProjectDocumentsEvents2 ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYADDFILEFLAGS rgFlags, VSQUERYADDFILERESULTS pSummaryResult, VSQUERYADDFILERESULTS rgResults ) : int
IVsTrackProjectDocumentsEvents2 ( IVsProject pProject, int cDirectories, string rgpszMkDocuments, VSQUERYREMOVEDIRECTORYFLAGS rgFlags, VSQUERYREMOVEDIRECTORYRESULTS pSummaryResult, VSQUERYREMOVEDIRECTORYRESULTS rgResults ) : int
IVsTrackProjectDocumentsEvents2 ( IVsProject pProject, int cFiles, string rgpszMkDocuments, VSQUERYREMOVEFILEFLAGS rgFlags, VSQUERYREMOVEFILERESULTS pSummaryResult, VSQUERYREMOVEFILERESULTS rgResults ) : int
IVsTrackProjectDocumentsEvents2 ( IVsProject pProject, int cDirs, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEDIRECTORYFLAGS rgFlags, VSQUERYRENAMEDIRECTORYRESULTS pSummaryResult, VSQUERYRENAMEDIRECTORYRESULTS rgResults ) : int
IVsTrackProjectDocumentsEvents2 ( IVsProject pProject, int cFiles, string rgszMkOldNames, string rgszMkNewNames, VSQUERYRENAMEFILEFLAGS rgFlags, VSQUERYRENAMEFILERESULTS pSummaryResult, VSQUERYRENAMEFILERESULTS rgResults ) : int
IVsTrackProjectDocumentsEvents2 ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDDIRECTORYFLAGS rgFlags ) : int
IVsTrackProjectDocumentsEvents2 ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSADDFILEFLAGS rgFlags ) : int
IVsTrackProjectDocumentsEvents2 ( int cProjects, int cDirectories, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEDIRECTORYFLAGS rgFlags ) : int
IVsTrackProjectDocumentsEvents2 ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, VSREMOVEFILEFLAGS rgFlags ) : int
IVsTrackProjectDocumentsEvents2 ( int cProjects, int cDirs, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEDIRECTORYFLAGS rgFlags ) : int
IVsTrackProjectDocumentsEvents2 ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgszMkOldNames, string rgszMkNewNames, VSRENAMEFILEFLAGS rgFlags ) : int
IVsTrackProjectDocumentsEvents2 ( int cProjects, int cFiles, IVsProject rgpProjects, int rgFirstIndices, string rgpszMkDocuments, uint rgdwSccStatus ) : int
IVsUpdateSolutionEvents ( ) : int
IVsUpdateSolutionEvents ( IVsHierarchy pIVsHierarchy ) : int
IVsUpdateSolutionEvents ( int &pfCancelUpdate ) : int
IVsUpdateSolutionEvents ( int fSucceeded, int fModified, int fCancelCommand ) : int
InitializeStatusImageList ( uint baseIndex ) : void
IsProject ( string fileName ) : bool
NeedToSearchChildren ( string fileName, HgFileStatus status ) : bool
OnAfterAddFiles ( string fileNames ) : void
OnAfterCloseSolution ( ) : void
OnAfterLoadProject ( IVsHierarchy hierarchy ) : void
OnAfterOpenProject ( IVsHierarchy hierarchy ) : void
OnAfterOpenSolution ( ) : void
OnAfterRemoveFiles ( string fileNames ) : void
OnAfterRenameFiles ( string fileNames, string newFileNames ) : void
OnBeforeCloseOrUnloadProject ( IVsHierarchy hierarchy ) : void
OnFileSave ( ) : void
OnProjectRegister ( IVsSccProject2 project ) : void
OnRepositoryStatusChanged ( object sender, EventArgs e ) : void
OnSolutionBuildEnded ( ) : void
OnSolutionBuildStarted ( ) : void
OverrideStatus ( string fileName, HgFileStatus status ) : bool
SetWindowText ( IntPtr handle, string text ) : void
Update ( ) : void
UpdateLastSeenProjectDirectory ( IVsHierarchy hierarchy ) : void
UpdateLoadedProjectsStatusIcons ( ) : void
UpdateMainWindowCaption ( ) : void
UpdateMainWindowCaption ( string text ) : void
UpdatePendingChangesToolWindow ( ) : void
UpdateProjectStatusIcons ( IVsHierarchy hierarchy ) : void
UpdateSolutionStatusIcon ( ) : void
UpdateStatusIcons ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetFileStatus() public method

public GetFileStatus ( string filename ) : HgFileStatus
filename string
return HgFileStatus

VisualHgService() public method

public VisualHgService ( ) : System
return System