Property | Type | Description | |
---|---|---|---|
CreateDirectory | void | ||
CreateDirectory | void | ||
GetSccSpecialFiles | void | ||
IProjectSourceNode | int | ||
IProjectSourceNode | int |
Method | Description | |
---|---|---|
CollapseFolder ( ) : void |
Collapses the folder.
|
|
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.
|
|
DeleteFromStorage ( string path ) : void | ||
ExpandFolder ( ) : void |
Expands the folder.
|
|
FolderNode ( |
Constructor for the FolderNode
|
|
GetAutomationObject ( ) : object |
Get the automation object for the FolderNode
|
|
GetEditLabel ( ) : string |
Provides the node name for inline editing of caption. Overriden to diable this fuctionality for non member fodler node.
|
|
GetIconHandle ( bool open ) : object | ||
GetMKDocument ( ) : string | ||
GetProperty ( int propId ) : object |
Gets the node property.
|
|
GetSccFiles ( System |
Enumerate the files associated with this node. A folder node is not a file and as such no file to enumerate.
|
|
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
|
|
SetProperty ( int propid, object value ) : int |
Sets the node property.
|
|
UpdateSccStateIcons ( ) : void |
Recursevily walks the folder nodes and redraws the state icons
|
Method | Description | |
---|---|---|
AddToMSBuild ( bool recursive ) : void |
Adds the this node to the build system.
|
|
CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool | ||
CreatePropertiesObject ( ) : |
||
ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT nCmdexecopt, |
||
QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, |
||
RenameFolder ( string newName ) : void | ||
SetExpanded ( bool expanded ) : void |
Sets the expanded state of the folder.
|
|
ShowFileOrFolderAlreadExistsErrorMessage ( string newPath ) : int |
Show error message if not in automation mode, otherwise throw exception
|
Method | Description | |
---|---|---|
CreateDirectory ( ) : void | ||
CreateDirectory ( string newName ) : void | ||
GetSccSpecialFiles ( string sccFile, IList |
||
IProjectSourceNode ( ) : int | ||
IProjectSourceNode ( bool recursive ) : int |
protected AddToMSBuild ( bool recursive ) : void | ||
recursive | bool | Flag to indicate if the addition should be recursive. |
return | void |
protected CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool | ||
deleteOperation | __VSDELETEITEMOPERATION | |
return | bool |
protected CreatePropertiesObject ( ) : |
||
return |
public DeleteFolder ( string path ) : void | ||
path | string | Path to the folder to delete |
return | void |
public DeleteFromStorage ( string path ) : void | ||
path | string | |
return | void |
protected ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT nCmdexecopt, |
||
cmdGroup | System.Guid | |
cmd | uint | |
nCmdexecopt | Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT | |
pvaIn | ||
pvaOut | ||
return | int |
public FolderNode ( |
||
root | Root node of the hierarchy | |
relativePath | string | relative path from root i.e.: "NewFolder1\\NewFolder2\\NewFolder3 |
element | Associated project element | |
return | System |
public GetProperty ( int propId ) : object | ||
propId | int | Property id. |
return | object |
public GetSccFiles ( System |
||
files | System |
The list of files to be placed under source control. |
flags | System |
The flags that are associated to the files. |
return | void |
protected QueryStatusOnNode ( System.Guid cmdGroup, uint cmd, |
||
cmdGroup | System.Guid | |
cmd | uint | |
pCmdText | ||
result | EnvDTE.vsCommandStatus | |
return | int |
public RenameDirectory ( string newPath ) : void | ||
newPath | string | |
return | void |
protected RenameFolder ( string newName ) : void | ||
newName | string | |
return | void |
public SetEditLabel ( string label ) : int | ||
label | string | new Name of Folder |
return | int |
protected SetExpanded ( bool expanded ) : void | ||
expanded | bool | Flag that indicates the expanded state of the folder. /// This should be 'true' for expanded and 'false' for collapsed state. |
return | void |
public SetProperty ( int propid, object value ) : int | ||
propid | int | Property id. |
value | object | Property value. |
return | int |
protected ShowFileOrFolderAlreadExistsErrorMessage ( string newPath ) : int | ||
newPath | string | path of file or folder already existing on disk |
return | int |