C# Class Nitra.VisualStudio.LibraryNode

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

Public Methods

Method 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

Protected Methods

Method 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

Method 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 method

protected CategoryField ( LIB_CATEGORY category ) : uint
category LIB_CATEGORY
return uint

Clone() protected method

protected Clone ( ) : LibraryNode
return LibraryNode

Delete() protected method

Performs the operations needed to delete this node.
protected Delete ( ) : void
return void

DoDragDrop() protected method

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
return void

EnumClipboardFormats() protected method

protected EnumClipboardFormats ( _VSOBJCFFLAGS flags, VSOBJCLIPFORMAT formats ) : uint
flags _VSOBJCFFLAGS
formats VSOBJCLIPFORMAT
return uint

FillDescription() protected method

protected FillDescription ( _VSOBJDESCOPTIONS flags, IVsObjectBrowserDescription3 description ) : void
flags _VSOBJDESCOPTIONS
description IVsObjectBrowserDescription3
return void

FilterView() protected method

protected FilterView ( LibraryNodeType filterType ) : IVsSimpleObjectList2
filterType LibraryNodeType
return IVsSimpleObjectList2

GetSourceContextWithOwnership() protected method

protected GetSourceContextWithOwnership ( string &fileName, uint &pulLineNum ) : void
fileName string
pulLineNum uint
return void

GetTextWithOwnership() protected method

protected GetTextWithOwnership ( VSTREETEXTOPTIONS tto ) : string
tto VSTREETEXTOPTIONS
return string

GotoSource() protected method

protected GotoSource ( VSOBJGOTOSRCTYPE gotoType ) : void
gotoType VSOBJGOTOSRCTYPE
return void

LibraryNode() public method

public LibraryNode ( LibraryNode node ) : System
node LibraryNode
return System

LibraryNode() public method

public LibraryNode ( string name ) : System
name string
return System

LibraryNode() public method

public LibraryNode ( string name, LibraryNodeType type ) : System
name string
type LibraryNodeType
return System

LibraryNode() public method

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

Rename() protected method

protected Rename ( string newName, uint flags ) : void
newName string
flags uint
return void

SetCapabilityFlag() protected method

protected SetCapabilityFlag ( LibraryNodeCapabilities flag, bool value ) : void
flag LibraryNodeCapabilities
value bool
return void

SourceItems() protected method

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.
return void