C# Class Nitra.VisualStudio.LibraryNode

Single node inside the tree of the libraries in the object browser or class view.
Inheritance: IVsSimpleObjectList2, IVsNavInfoNode
Afficher le fichier Open project: rsdn/nitra Class Usage Examples

Méthodes publiques

Méthode Description
LibraryNode ( LibraryNode node ) : System
LibraryNode ( string name ) : System
LibraryNode ( string name, LibraryNodeType type ) : System
LibraryNode ( string name, LibraryNodeType type, LibraryNodeCapabilities capabilities, CommandID contextMenuID ) : System

Méthodes protégées

Méthode Description
CategoryField ( LIB_CATEGORY category ) : uint
Clone ( ) : LibraryNode
Delete ( ) : void

Performs the operations needed to delete this node.

DoDragDrop ( Microsoft.VisualStudio.Shell.OleDataObject dataObject, uint keyState, uint effect ) : void

Perform a Drag and Drop operation on this node.

EnumClipboardFormats ( _VSOBJCFFLAGS flags, VSOBJCLIPFORMAT formats ) : uint
FillDescription ( _VSOBJDESCOPTIONS flags, IVsObjectBrowserDescription3 description ) : void
FilterView ( LibraryNodeType filterType ) : IVsSimpleObjectList2
GetSourceContextWithOwnership ( string &fileName, uint &pulLineNum ) : void
GetTextWithOwnership ( VSTREETEXTOPTIONS tto ) : string
GotoSource ( VSOBJGOTOSRCTYPE gotoType ) : void
Rename ( string newName, uint flags ) : void
SetCapabilityFlag ( LibraryNodeCapabilities flag, bool value ) : void
SourceItems ( IVsHierarchy &hierarchy, uint &itemId, uint &itemsCount ) : void

Finds the source files associated with this node.

Private Methods

Méthode Description
AddNode ( LibraryNode node ) : void
IVsNavInfoNode ( string &pbstrName ) : int
IVsNavInfoNode ( uint &pllt ) : int
IVsSimpleObjectList2 ( IVsNavInfoNode pNavInfoNode, uint &pulIndex ) : int
IVsSimpleObjectList2 ( VSTREECLOSEACTIONS ptca ) : int
IVsSimpleObjectList2 ( uint &pgrfCapabilities ) : int
IVsSimpleObjectList2 ( uint index, System.Guid &pclsidActive, int &pnMenuId, IOleCommandTarget &ppCmdTrgtActive ) : int
IVsSimpleObjectList2 ( uint index, IDataObject pDataObject, uint grfKeyState, uint &pdwEffect ) : int
IVsSimpleObjectList2 ( uint index, IVsHierarchy &ppHier, uint &pItemid, uint &pcItems ) : int
IVsSimpleObjectList2 ( uint index, IVsNavInfo &ppNavInfo ) : int
IVsSimpleObjectList2 ( uint index, IVsNavInfoNode &ppNavInfoNode ) : int
IVsSimpleObjectList2 ( uint index, VSOBJGOTOSRCTYPE SrcType ) : int
IVsSimpleObjectList2 ( uint index, VSOBJGOTOSRCTYPE SrcType, int &pfOK ) : int
IVsSimpleObjectList2 ( uint index, VSTREEDISPLAYDATA pData ) : int
IVsSimpleObjectList2 ( uint index, VSTREETEXTOPTIONS tto, string &pbstrText ) : int
IVsSimpleObjectList2 ( uint index, VSTREETOOLTIPTYPE eTipType, string &pbstrText ) : int
IVsSimpleObjectList2 ( uint index, int &pfOK ) : int
IVsSimpleObjectList2 ( uint index, int propid, object &pvar ) : int
IVsSimpleObjectList2 ( uint index, int Category, uint &pfCatField ) : int
IVsSimpleObjectList2 ( uint index, object &ppdispBrowseObj ) : int
IVsSimpleObjectList2 ( uint index, string pszNewName, int &pfOK ) : int
IVsSimpleObjectList2 ( uint index, string pszNewName, uint grfFlags ) : int
IVsSimpleObjectList2 ( uint index, uint grfFlags ) : int
IVsSimpleObjectList2 ( uint index, uint grfFlags, FORMATETC pFormatetc, STGMEDIUM pMedium ) : int
IVsSimpleObjectList2 ( uint index, uint grfOptions, IVsObjectBrowserDescription3 pobDesc ) : int
IVsSimpleObjectList2 ( uint index, uint grfFlags, VSOBJCLIPFORMAT pcfFormat, object &pvarFormat ) : int
IVsSimpleObjectList2 ( uint index, uint ListTypeExcluded, int &pfExpandable ) : int
IVsSimpleObjectList2 ( uint index, uint grfGSI, uint cItems, VSITEMSELECTION rgItemSel ) : int
IVsSimpleObjectList2 ( uint index, uint grfFlags, uint celt, VSOBJCLIPFORMAT rgcfFormats, uint pcActual ) : int
IVsSimpleObjectList2 ( uint index, uint ListType, uint flags, VSOBSEARCHCRITERIA2 pobSrch, IVsSimpleObjectList2 &ppIVsSimpleObjectList2 ) : int
RemoveNode ( LibraryNode node ) : void

Method Details

CategoryField() protected méthode

protected CategoryField ( LIB_CATEGORY category ) : uint
category LIB_CATEGORY
Résultat uint

Clone() protected méthode

protected Clone ( ) : LibraryNode
Résultat LibraryNode

Delete() protected méthode

Performs the operations needed to delete this node.
protected Delete ( ) : void
Résultat void

DoDragDrop() protected méthode

Perform a Drag and Drop operation on this node.
protected DoDragDrop ( Microsoft.VisualStudio.Shell.OleDataObject dataObject, uint keyState, uint effect ) : void
dataObject Microsoft.VisualStudio.Shell.OleDataObject
keyState uint
effect uint
Résultat void

EnumClipboardFormats() protected méthode

protected EnumClipboardFormats ( _VSOBJCFFLAGS flags, VSOBJCLIPFORMAT formats ) : uint
flags _VSOBJCFFLAGS
formats VSOBJCLIPFORMAT
Résultat uint

FillDescription() protected méthode

protected FillDescription ( _VSOBJDESCOPTIONS flags, IVsObjectBrowserDescription3 description ) : void
flags _VSOBJDESCOPTIONS
description IVsObjectBrowserDescription3
Résultat void

FilterView() protected méthode

protected FilterView ( LibraryNodeType filterType ) : IVsSimpleObjectList2
filterType LibraryNodeType
Résultat IVsSimpleObjectList2

GetSourceContextWithOwnership() protected méthode

protected GetSourceContextWithOwnership ( string &fileName, uint &pulLineNum ) : void
fileName string
pulLineNum uint
Résultat void

GetTextWithOwnership() protected méthode

protected GetTextWithOwnership ( VSTREETEXTOPTIONS tto ) : string
tto VSTREETEXTOPTIONS
Résultat string

GotoSource() protected méthode

protected GotoSource ( VSOBJGOTOSRCTYPE gotoType ) : void
gotoType VSOBJGOTOSRCTYPE
Résultat void

LibraryNode() public méthode

public LibraryNode ( LibraryNode node ) : System
node LibraryNode
Résultat System

LibraryNode() public méthode

public LibraryNode ( string name ) : System
name string
Résultat System

LibraryNode() public méthode

public LibraryNode ( string name, LibraryNodeType type ) : System
name string
type LibraryNodeType
Résultat System

LibraryNode() public méthode

public LibraryNode ( string name, LibraryNodeType type, LibraryNodeCapabilities capabilities, CommandID contextMenuID ) : System
name string
type LibraryNodeType
capabilities LibraryNodeCapabilities
contextMenuID System.ComponentModel.Design.CommandID
Résultat System

Rename() protected méthode

protected Rename ( string newName, uint flags ) : void
newName string
flags uint
Résultat void

SetCapabilityFlag() protected méthode

protected SetCapabilityFlag ( LibraryNodeCapabilities flag, bool value ) : void
flag LibraryNodeCapabilities
value bool
Résultat void

SourceItems() protected méthode

Finds the source files associated with this node.
protected SourceItems ( IVsHierarchy &hierarchy, uint &itemId, uint &itemsCount ) : void
hierarchy IVsHierarchy The hierarchy containing the items.
itemId uint The item id of the item.
itemsCount uint Number of items.
Résultat void