C# Class VsTeXProject.VisualStudio.Project.FolderNode

Inheritance: HierarchyNode
Afficher le fichier Open project: mimura1133/vstex Class Usage Examples

Méthodes publiques

Méthode Description
DeleteFolder ( string path ) : void

Override if your node is not a file system folder so that it does nothing or it deletes it from your storage location.

FolderNode ( ProjectNode root, string relativePath, ProjectElement element ) : System

Constructor for the FolderNode

GetAutomationObject ( ) : object

Get the automation object for the FolderNode

GetIconHandle ( bool open ) : object
GetMkDocument ( ) : string
RenameDirectory ( string newPath ) : void

Rename the physical directory for a folder node Override if your node does not use file system folder

SetEditLabel ( string label ) : int

Rename Folder

Méthodes protégées

Méthode Description
CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
CreatePropertiesObject ( ) : NodeProperties
DeleteFromStorage ( string path ) : void
GetSccFiles ( IList files, IList flags ) : void

Enumerate the files associated with this node. A folder node is not a file and as such no file to enumerate.

QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, IntPtr pCmdText, QueryStatusResult &result ) : int
UpdateSccStateIcons ( ) : void

Recursevily walks the folder nodes and redraws the state icons

Private Methods

Méthode Description
CreateDirectory ( ) : void
CreateDirectory ( string newName ) : void
GetSccSpecialFiles ( string sccFile, IList files, IList flags ) : void
RenameFolder ( string newName ) : void
ShowFileOrFolderAlreadExistsErrorMessage ( string newPath ) : int

Show error message if not in automation mode, otherwise throw exception

Method Details

CanDeleteItem() protected méthode

protected CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
deleteOperation __VSDELETEITEMOPERATION
Résultat bool

CreatePropertiesObject() protected méthode

protected CreatePropertiesObject ( ) : NodeProperties
Résultat NodeProperties

DeleteFolder() public méthode

Override if your node is not a file system folder so that it does nothing or it deletes it from your storage location.
public DeleteFolder ( string path ) : void
path string Path to the folder to delete
Résultat void

DeleteFromStorage() protected méthode

protected DeleteFromStorage ( string path ) : void
path string
Résultat void

FolderNode() public méthode

Constructor for the FolderNode
public FolderNode ( ProjectNode root, string relativePath, ProjectElement element ) : System
root ProjectNode Root node of the hierarchy
relativePath string relative path from root i.e.: "NewFolder1\\NewFolder2\\NewFolder3
element ProjectElement Associated project element
Résultat System

GetAutomationObject() public méthode

Get the automation object for the FolderNode
public GetAutomationObject ( ) : object
Résultat object

GetIconHandle() public méthode

public GetIconHandle ( bool open ) : object
open bool
Résultat object

GetMkDocument() public méthode

public GetMkDocument ( ) : string
Résultat string

GetSccFiles() protected méthode

Enumerate the files associated with this node. A folder node is not a file and as such no file to enumerate.
protected GetSccFiles ( IList files, IList flags ) : void
files IList The list of files to be placed under source control.
flags IList The flags that are associated to the files.
Résultat void

QueryStatusOnNode() protected méthode

protected QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, IntPtr pCmdText, QueryStatusResult &result ) : int
cmdGroup System.Guid
cmd uint
pCmdText System.IntPtr
result QueryStatusResult
Résultat int

RenameDirectory() public méthode

Rename the physical directory for a folder node Override if your node does not use file system folder
public RenameDirectory ( string newPath ) : void
newPath string
Résultat void

SetEditLabel() public méthode

Rename Folder
public SetEditLabel ( string label ) : int
label string new Name of Folder
Résultat int

UpdateSccStateIcons() protected méthode

Recursevily walks the folder nodes and redraws the state icons
protected UpdateSccStateIcons ( ) : void
Résultat void