ISchemaHierarchyGenerator Interface

This interface is implemented by classes that can populate a tree view (such as the Database Schema View) with nodes.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Interface ISchemaHierarchyGenerator
[CLSCompliantAttribute(false)]
public interface ISchemaHierarchyGenerator
[CLSCompliantAttribute(false)]
public interface class ISchemaHierarchyGenerator
[<CLSCompliantAttribute(false)>]
type ISchemaHierarchyGenerator =  interface end
public interface ISchemaHierarchyGenerator

The ISchemaHierarchyGenerator type exposes the following members.

Properties

  Name Description
Public property DataSchemaModel Gets or sets the Schema Manager.
Public property UserInteractionServices Gets or sets the user interaction services object.

Top

Methods

  Name Description
Public method CreateRootNode Creates the root node of the hierarchy.
Public method ElementDeleted Called when an element has been deleted to provide an opportunity to update the cache.
Public method GetCaption Returns the caption for the specified element node.
Public method GetChildren Returns the child nodes of the specified parent node.
Public method GetElementNodesFromCache Returns only those element nodes that are found in the cache.
Public method NodeInUse Indicates whether the specified node is used by Schema View.
Public method NodeRemoved Called when a node is removed to provide an opportunity to update the cache.
Public method PathToElement(IModelElement) Returns a list of hierarchy nodes from the root node to the specified element. These nodes form a "path" to the given element.
Public method PathToElement(IModelElement, Object) Returns a list of hierarchy nodes from the root node to the specified element that form a "path" to the given element.

Top

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace