Share via


BaseUIHierarchy Members

Include Protected Members
Include Inherited Members

The BaseUIHierarchy type exposes the following members.

Constructors

 

Name

Description

Public method

BaseUIHierarchy

Top

Methods

 

Name

Description

Public method

AddTreeToHierarchy

Adds the specified node and all its children recursively to this hierarchy. If isRoot is true, sets the node as the root of the hierarchy.

Public method

AdviseHierarchyEvents

Public methodStatic member

BeginFindNode

Finds a node in a hierarchy given a path that has been parsed into its constituent segments.

Public method

BeginWaitForRefresh

Allows the caller to wait for refreshing of this hierarchy to complete. Like with the normal aync pattern, the caller can use the returned async result to poll or block or they can pass a callback and recieve a notification upon completion.

Public method

ClearHierarchyDataObject

Clears the HierarchyData out of the clipboard.

Public method

Close

Protected method

ConfirmReplace

Used by hierarchies to confirm that the user wants to overwrite a node.

Protected method

DeleteCutSelection

Protected method

DetermineDropEffect

Determines which drop operation the user is trying to do, based on the key state and what the target object will allow.

Public method

Dispose

Overloaded.

Public method

DragEnter

Public method

DragLeave

Public method

DragOver

Public method

Drop

Public methodStatic member

EndFindNode

Returns the node found by BeginFindNode.

Public method

EndWaitForRefresh

Waits for the completion of a refresh operation. Uses the IAsyncResult returned from BeginWaitForRefresh.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Public method

ExecCommand

Overloaded. Executes a command on the specified item.

Protected method

ExecCopyCommand

Performs a copy operation on the specified items.

Protected method

ExecCutCommand

Performs a cut operation on the specified items.

Protected method

ExecPasteCommand

Overloaded. Pastes the current clipboard onto the specified items.

Public method

ExpandItemId

Returns the list of selections for itemId.

Protected method

Finalize

(Overrides Object.Finalize().)

Public methodStatic member

FindNode

Wrapper around BeginFindNode/EndFindNode that always waits for the node to be found.

Public method

GetCanonicalName

Protected method

GetCurrentSelection

Protected method

GetDataObjectForItems

Creates a clipboard object for the specified items.

Public method

GetDropInfo

Called on the source of a drag operation to determine what will be allowed.

Public method

GetGuidProperty

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected method

GetItemsForDataObject

Overloaded.

Protected method

GetMultiSelectMenuID

Public method

GetNestedHierarchy

Allows a leaf node of this hierarchy to be a "short-cut" into some other IVsHierarchy.

Public method

GetPropertiesObject

Get the properties object associated with a node in this hierarchy.

Public method

GetProperty

Gets properties from the hierarchy.

Public method

GetSite

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

IsItemDirty

Public methodStatic member

IsItemUnderItem

true if item occurs somewhere below parent in the hierarchy; otherwise false.

Public methodStatic member

ItemsContainItem

true if the array of items contains the specified item; otherwise false.

Public methodStatic member

ItemsContainParentAndChild

true if the list of items contains both a node and a child; otherwise false.

Public methodStatic member

ItemsContainRoot

true if any of the items is a root node in any hierarchy; otherwise false.

Public methodStatic member

LinkFromItem

Creates a link string from the given hierarchy item.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

NodeFromItemId

Public method

OnClear

Called any time the clipboard is cleared to clean up associated state data.

Public method

OnDropNotify

Public method

OnInvalidateItems

Public method

OnItemAdded

Public method

OnItemDeleted

Public method

OnItemsAppended

Public method

OnPaste

Called when a paste has completed to clean up data from any cut operation.

Public method

OnPropertyChanged

Public method

ParseCanonicalName

Finds the node associated with the specified canonical name.

Public methodStatic member

ParseLink

Parse a link, as created by LinkFromItem, into an array of node names.

Public method

QueryClose

Public method

QueryStatusCommand

Evaluates whether or not the specified command should be available for the specified selection.

Protected method

QueryStatusCutCopyLink

Protected method

QueryStatusOpen

Protected method

QueryStatusPaste

Public method

ResetUIHierarchy

Clear all nodes out of this UI hierarchy.

Public method

SaveItem

Public method

SetGuidProperty

Public method

SetPropertiesObject

Sets the properties object associated with a node in this hierarchy.

Public method

SetProperty

Called by Visual Studio to set properties in the hierarchy.

Public method

SetSite

Protected method

ShowPropertyBrowser

Protected method

Succeeded

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

UnadviseHierarchyEvents

Public method

Unused0

Public method

Unused1

Public method

Unused2

Public method

Unused3

Public method

Unused4

Public method

WaitForRefresh

Synchronous method to wait for the hierarchy to refresh.

Top

Properties

 

Name

Description

Protected property

BasicHelper

Public property

HierarchyNode

Gets or sets the root node for this hierarchy.

Public property

HostPackage

Public property

IVsTeamExplorer

Public property

ParentHierarchy

Public property

ParentHierarchyItemId

Public property

Plugin

Gets the plugin that owns this hierarchy.

Public property

ProjectContext

Public property

ProjectName

Public property

ProjectUri

Public property

ServerName

Public property

ServerUrl

Public property

State

Gets or sets the value that indicates whether this hierarchy is busy loading or refreshing, or is idle.

Top

See Also

Reference

BaseUIHierarchy Class

Microsoft.TeamFoundation.Common Namespace