C# Class GitMenu.Services.GitSccProvider

Inheritance: IVsSccProvider, IVsSccManager2, IVsQueryEditQuerySave3, IVsSccGlyphs
Afficher le fichier Open project: kthompson/gitmenu

Méthodes publiques

Méthode Description
AnyItemsUnderSourceControl ( int &pfResult ) : int
BrowseForProject ( string &pbstrDirectory, int &pfOK ) : int
CancelAfterBrowseForProject ( ) : int
GetCustomGlyphList ( uint baseIndex, uint &pdwImageListHandle ) : int
GetGlyphFromPath ( string path ) : GitGlyph
GetSccGlyph ( int cFiles, string rgpszFullPaths, VsStateIcon rgsiGlyphs, uint rgdwSccStatus ) : int
GetSccGlyphFromStatus ( uint dwSccStatus, VsStateIcon psiGlyph ) : int
GetSolutionFileName ( ) : string

Returns the filename of the solution

GitSccProvider ( GitMenuPackage package ) : System
IsInstalled ( int &pbInstalled ) : int
QuerySaveFile2 ( string pszMkDocument, uint rgf, VSQEQS_FILE_ATTRIBUTE_DATA pFileInfo, uint &pdwQSResult, uint &prgfMoreInfo ) : int
QuerySaveFiles2 ( uint rgfQuerySave, int cFiles, string rgpszMkDocuments, uint rgrgf, VSQEQS_FILE_ATTRIBUTE_DATA rgFileInfo, uint &pdwQSResult, uint &prgfMoreInfo ) : int
RefreshAllGlyphs ( ) : void
RefreshGlyphs ( IList selectedNodes ) : void

Refreshes the glyphs of the specified hierarchy nodes

RefreshGlyphs ( List names ) : void
RegisterSccProject ( IVsSccProject2 pscp2Project, string pszSccProjectName, string pszSccAuxPath, string pszSccLocalPath, string pszProvider ) : int
SetActive ( ) : int
SetInactive ( ) : int
UnregisterSccProject ( IVsSccProject2 pscp2Project ) : int

Private Methods

Méthode Description
EnumHierarchyItems ( IVsHierarchy hierarchy, uint itemid, int recursionLevel, bool hierIsSolution, bool visibleNodesOnly, Action processNodeFunc ) : void

Enumerates over the hierarchy items for the given hierarchy traversing into nested hierarchies.

GetAllItems ( bool>.Func where ) : List

Enumerate all hierarchy project items recursively traversing nested hierarchies.

GetItemId ( object pvar ) : uint

Gets the item id.

GetNodeFiles ( IVsSccProject2 pscp2, uint itemid ) : IList

Returns a list of source controllable files associated with the specified node

UpdateNode ( VSITEMSELECTION vsItemSel ) : void

Method Details

AnyItemsUnderSourceControl() public méthode

public AnyItemsUnderSourceControl ( int &pfResult ) : int
pfResult int
Résultat int

BrowseForProject() public méthode

public BrowseForProject ( string &pbstrDirectory, int &pfOK ) : int
pbstrDirectory string
pfOK int
Résultat int

CancelAfterBrowseForProject() public méthode

public CancelAfterBrowseForProject ( ) : int
Résultat int

GetCustomGlyphList() public méthode

public GetCustomGlyphList ( uint baseIndex, uint &pdwImageListHandle ) : int
baseIndex uint
pdwImageListHandle uint
Résultat int

GetGlyphFromPath() public méthode

public GetGlyphFromPath ( string path ) : GitGlyph
path string
Résultat GitGlyph

GetSccGlyph() public méthode

public GetSccGlyph ( int cFiles, string rgpszFullPaths, VsStateIcon rgsiGlyphs, uint rgdwSccStatus ) : int
cFiles int
rgpszFullPaths string
rgsiGlyphs VsStateIcon
rgdwSccStatus uint
Résultat int

GetSccGlyphFromStatus() public méthode

public GetSccGlyphFromStatus ( uint dwSccStatus, VsStateIcon psiGlyph ) : int
dwSccStatus uint
psiGlyph VsStateIcon
Résultat int

GetSolutionFileName() public méthode

Returns the filename of the solution
public GetSolutionFileName ( ) : string
Résultat string

GitSccProvider() public méthode

public GitSccProvider ( GitMenuPackage package ) : System
package GitMenuPackage
Résultat System

IsInstalled() public méthode

public IsInstalled ( int &pbInstalled ) : int
pbInstalled int
Résultat int

QuerySaveFile2() public méthode

public QuerySaveFile2 ( string pszMkDocument, uint rgf, VSQEQS_FILE_ATTRIBUTE_DATA pFileInfo, uint &pdwQSResult, uint &prgfMoreInfo ) : int
pszMkDocument string
rgf uint
pFileInfo VSQEQS_FILE_ATTRIBUTE_DATA
pdwQSResult uint
prgfMoreInfo uint
Résultat int

QuerySaveFiles2() public méthode

public QuerySaveFiles2 ( uint rgfQuerySave, int cFiles, string rgpszMkDocuments, uint rgrgf, VSQEQS_FILE_ATTRIBUTE_DATA rgFileInfo, uint &pdwQSResult, uint &prgfMoreInfo ) : int
rgfQuerySave uint
cFiles int
rgpszMkDocuments string
rgrgf uint
rgFileInfo VSQEQS_FILE_ATTRIBUTE_DATA
pdwQSResult uint
prgfMoreInfo uint
Résultat int

RefreshAllGlyphs() public méthode

public RefreshAllGlyphs ( ) : void
Résultat void

RefreshGlyphs() public méthode

Refreshes the glyphs of the specified hierarchy nodes
public RefreshGlyphs ( IList selectedNodes ) : void
selectedNodes IList
Résultat void

RefreshGlyphs() public méthode

public RefreshGlyphs ( List names ) : void
names List
Résultat void

RegisterSccProject() public méthode

public RegisterSccProject ( IVsSccProject2 pscp2Project, string pszSccProjectName, string pszSccAuxPath, string pszSccLocalPath, string pszProvider ) : int
pscp2Project IVsSccProject2
pszSccProjectName string
pszSccAuxPath string
pszSccLocalPath string
pszProvider string
Résultat int

SetActive() public méthode

public SetActive ( ) : int
Résultat int

SetInactive() public méthode

public SetInactive ( ) : int
Résultat int

UnregisterSccProject() public méthode

public UnregisterSccProject ( IVsSccProject2 pscp2Project ) : int
pscp2Project IVsSccProject2
Résultat int