ElementTreeNode Class

Definition

Abstract class of ExplorerTreeNodes that represent ModelElements

public ref class ElementTreeNode abstract : Microsoft::VisualStudio::Modeling::Shell::ExplorerTreeNode
public abstract class ElementTreeNode : Microsoft.VisualStudio.Modeling.Shell.ExplorerTreeNode
type ElementTreeNode = class
    inherit ExplorerTreeNode
Public MustInherit Class ElementTreeNode
Inherits ExplorerTreeNode
Inheritance
ElementTreeNode
Derived

Constructors

ElementTreeNode()

Constructor

Properties

Container

The explorer tree container hosting this node

(Inherited from ExplorerTreeNode)
DefaultImageIndex

Get/Set the index into the TreeView image list to be used for the icon representing this node if not overridden by an icon based on the node content

(Inherited from ExplorerTreeNode)
Disposed

Whether or not this node has been explicitly disposed of

(Inherited from ExplorerTreeNode)
KeepNode

Used to prune tree during updates

(Inherited from ExplorerTreeNode)
RepresentedElement

The ModelElement this node represents (if any)

(Inherited from ExplorerTreeNode)
RepresentedRole

The Domain Role this node is representing (if any)

(Inherited from ExplorerTreeNode)
ShowDomainClass

Get/Set whether to show the DomainClass Name right after the ModelElement name (e.g "foo (Foo)" in the tree node text) May be ignored if the node type does not represent model elements

Methods

Dispose() (Inherited from ExplorerTreeNode)
Dispose(Boolean)

Override Dispose to unhook observation of element name changes

GetRepresentedElement()
ProvideNodeText()

Supply the text for the node

(Inherited from ExplorerTreeNode)
SetRepresentedElement(ModelElement)
Update()

Force an update of the node's visual representation, i.e. text and icon

UpdateNodeText()

Force an update of the text of the node

(Inherited from ExplorerTreeNode)

Applies to