C# Class VsTeXProject.VisualStudio.Project.ReferenceContainerNode

Inheritance: HierarchyNode, IReferenceContainer
ファイルを表示 Open project: mimura1133/vstex

Private Properties

Property Type Description

Public Methods

Method Description
AddReferenceFromSelectorData ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool = null ) : ReferenceNode

Adds a reference to this container using the selector data structure to identify it.

EnumReferences ( ) : IList
GetAutomationObject ( ) : object

Returns an instance of the automation object for ReferenceContainerNode

GetEditLabel ( ) : string

Disable inline editing of Caption of a ReferendeContainerNode

GetIconHandle ( bool open ) : object
LoadReferencesFromBuildProject ( Microsoft.Build.Evaluation buildProject ) : void

Adds references to this container from a MSBuild project.

ReferenceContainerNode ( ProjectNode root ) : System

Protected Methods

Method Description
CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
CanShowDefaultIcon ( ) : bool

Defines whether this node is valid node for painting the refererences icon.

CreateAssemblyReferenceNode ( ProjectElement element ) : AssemblyReferenceNode

Creates an assembly refernce node from a project element.

CreateAssemblyReferenceNode ( string fileName ) : AssemblyReferenceNode

Creates an assembly reference node from a file path.

CreateComReferenceNode ( ProjectElement reference ) : ComReferenceNode

Creates a com reference node from the project element.

CreateComReferenceNode ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool = null ) : ComReferenceNode

Creates a com reference node from a selector data.

CreateFileComponent ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool = null ) : ReferenceNode

Creates an assemby or com reference node given a selector data.

CreateProjectReferenceNode ( ProjectElement element ) : ProjectReferenceNode

Creates a project reference node given an existing project element.

CreateProjectReferenceNode ( VSCOMPONENTSELECTORDATA selectorData ) : ProjectReferenceNode

Create a Project to Project reference given a VSCOMPONENTSELECTORDATA structure

CreateReferenceNode ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool = null ) : ReferenceNode
CreateReferenceNode ( string referenceType, ProjectElement element ) : ReferenceNode
ExcludeFromProject ( ) : int

Not supported.

ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
PrepareSelectedNodesForClipBoard ( ) : StringBuilder

References node cannot be dragged.

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

Method Details

AddReferenceFromSelectorData() public method

Adds a reference to this container using the selector data structure to identify it.
public AddReferenceFromSelectorData ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool = null ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA data describing selected component
wrapperTool string
return ReferenceNode

CanDeleteItem() protected method

protected CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
deleteOperation __VSDELETEITEMOPERATION
return bool

CanShowDefaultIcon() protected method

Defines whether this node is valid node for painting the refererences icon.
protected CanShowDefaultIcon ( ) : bool
return bool

CreateAssemblyReferenceNode() protected method

Creates an assembly refernce node from a project element.
protected CreateAssemblyReferenceNode ( ProjectElement element ) : AssemblyReferenceNode
element ProjectElement
return AssemblyReferenceNode

CreateAssemblyReferenceNode() protected method

Creates an assembly reference node from a file path.
protected CreateAssemblyReferenceNode ( string fileName ) : AssemblyReferenceNode
fileName string
return AssemblyReferenceNode

CreateComReferenceNode() protected method

Creates a com reference node from the project element.
protected CreateComReferenceNode ( ProjectElement reference ) : ComReferenceNode
reference ProjectElement
return ComReferenceNode

CreateComReferenceNode() protected method

Creates a com reference node from a selector data.
protected CreateComReferenceNode ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool = null ) : ComReferenceNode
selectorData VSCOMPONENTSELECTORDATA
wrapperTool string
return ComReferenceNode

CreateFileComponent() protected method

Creates an assemby or com reference node given a selector data.
protected CreateFileComponent ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool = null ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA
wrapperTool string
return ReferenceNode

CreateProjectReferenceNode() protected method

Creates a project reference node given an existing project element.
protected CreateProjectReferenceNode ( ProjectElement element ) : ProjectReferenceNode
element ProjectElement
return ProjectReferenceNode

CreateProjectReferenceNode() protected method

Create a Project to Project reference given a VSCOMPONENTSELECTORDATA structure
protected CreateProjectReferenceNode ( VSCOMPONENTSELECTORDATA selectorData ) : ProjectReferenceNode
selectorData VSCOMPONENTSELECTORDATA
return ProjectReferenceNode

CreateReferenceNode() protected method

protected CreateReferenceNode ( VSCOMPONENTSELECTORDATA selectorData, string wrapperTool = null ) : ReferenceNode
selectorData VSCOMPONENTSELECTORDATA
wrapperTool string
return ReferenceNode

CreateReferenceNode() protected method

protected CreateReferenceNode ( string referenceType, ProjectElement element ) : ReferenceNode
referenceType string
element ProjectElement
return ReferenceNode

EnumReferences() public method

public EnumReferences ( ) : IList
return IList

ExcludeFromProject() protected method

Not supported.
protected ExcludeFromProject ( ) : int
return int

ExecCommandOnNode() protected method

protected ExecCommandOnNode ( System.Guid cmdGroup, uint cmd, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
cmdGroup System.Guid
cmd uint
nCmdexecopt uint
pvaIn System.IntPtr
pvaOut System.IntPtr
return int

GetAutomationObject() public method

Returns an instance of the automation object for ReferenceContainerNode
public GetAutomationObject ( ) : object
return object

GetEditLabel() public method

Disable inline editing of Caption of a ReferendeContainerNode
public GetEditLabel ( ) : string
return string

GetIconHandle() public method

public GetIconHandle ( bool open ) : object
open bool
return object

LoadReferencesFromBuildProject() public method

Adds references to this container from a MSBuild project.
public LoadReferencesFromBuildProject ( Microsoft.Build.Evaluation buildProject ) : void
buildProject Microsoft.Build.Evaluation
return void

PrepareSelectedNodesForClipBoard() protected method

References node cannot be dragged.
protected PrepareSelectedNodesForClipBoard ( ) : StringBuilder
return StringBuilder

QueryStatusOnNode() protected method

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

ReferenceContainerNode() public method

public ReferenceContainerNode ( ProjectNode root ) : System
root ProjectNode
return System