C# Class VsTeXProject.VisualStudio.Project.ReferenceNode

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

Méthodes publiques

Méthode Description
AddReference ( ) : void

Links a reference node to the project and hierarchy.

GetAutomationObject ( ) : object

Get an instance of the automation object for ReferenceNode

GetEditLabel ( ) : string

Disable inline editing of Caption of a ReferendeNode

GetIconHandle ( bool open ) : object
GetMkDocument ( ) : string

This method is called by the interface method GetMkDocument to specify the item moniker.

Méthodes protégées

Méthode Description
BindReferenceData ( ) : void
CanAddReference ( CannotAddReferenceErrorMessage &errorHandler ) : bool

Validates that a reference can be added.

CanDeleteItem ( __VSDELETEITEMOPERATION deleteOperation ) : bool
CreatePropertiesObject ( ) : NodeProperties
ExcludeFromProject ( ) : int

Not supported.

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

Checks if a reference is already added. The method parses all references and compares the Url.

IsAlreadyAdded ( ReferenceNode &existingEquivalentNode ) : bool

Checks if a reference is already added. The method parses all references and compares the Url.

PrepareSelectedNodesForClipBoard ( ) : StringBuilder

References node cannot be dragged.

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

constructor for the ReferenceNode

ReferenceNode ( ProjectNode root, ProjectElement element ) : System

constructor for the ReferenceNode

ResolveReference ( ) : void

Resolves references.

ShowObjectBrowser ( ) : int

Shows the Object Browser

Private Methods

Méthode Description
RefreshReference ( ) : void

Refreshes a reference by re-resolving it and redrawing the icon.

Method Details

AddReference() public méthode

Links a reference node to the project and hierarchy.
public AddReference ( ) : void
Résultat void

BindReferenceData() protected abstract méthode

protected abstract BindReferenceData ( ) : void
Résultat void

CanAddReference() protected méthode

Validates that a reference can be added.
protected CanAddReference ( CannotAddReferenceErrorMessage &errorHandler ) : bool
errorHandler CannotAddReferenceErrorMessage A CannotAddReferenceErrorMessage delegate to show the error message.
Résultat bool

CanDeleteItem() protected méthode

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

CreatePropertiesObject() protected méthode

protected CreatePropertiesObject ( ) : NodeProperties
Résultat NodeProperties

ExcludeFromProject() protected méthode

Not supported.
protected ExcludeFromProject ( ) : int
Résultat int

ExecCommandOnNode() protected méthode

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
Résultat int

GetAutomationObject() public méthode

Get an instance of the automation object for ReferenceNode
public GetAutomationObject ( ) : object
Résultat object

GetEditLabel() public méthode

Disable inline editing of Caption of a ReferendeNode
public GetEditLabel ( ) : string
Résultat string

GetIconHandle() public méthode

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

GetMkDocument() public méthode

This method is called by the interface method GetMkDocument to specify the item moniker.
public GetMkDocument ( ) : string
Résultat string

IsAlreadyAdded() protected méthode

Checks if a reference is already added. The method parses all references and compares the Url.
protected IsAlreadyAdded ( ) : bool
Résultat bool

IsAlreadyAdded() protected méthode

Checks if a reference is already added. The method parses all references and compares the Url.
protected IsAlreadyAdded ( ReferenceNode &existingEquivalentNode ) : bool
existingEquivalentNode ReferenceNode The existing reference, if one is found.
Résultat bool

PrepareSelectedNodesForClipBoard() protected méthode

References node cannot be dragged.
protected PrepareSelectedNodesForClipBoard ( ) : StringBuilder
Résultat StringBuilder

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

ReferenceNode() protected méthode

constructor for the ReferenceNode
protected ReferenceNode ( ProjectNode root ) : System
root ProjectNode
Résultat System

ReferenceNode() protected méthode

constructor for the ReferenceNode
protected ReferenceNode ( ProjectNode root, ProjectElement element ) : System
root ProjectNode
element ProjectElement
Résultat System

ResolveReference() protected méthode

Resolves references.
protected ResolveReference ( ) : void
Résultat void

ShowObjectBrowser() protected méthode

Shows the Object Browser
protected ShowObjectBrowser ( ) : int
Résultat int