ISchemaModelViewer Interface

Represents an abstract model viewer such as Schema View or Dependency Viewer.

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 ISchemaModelViewer
[CLSCompliantAttribute(false)]
public interface ISchemaModelViewer
[CLSCompliantAttribute(false)]
public interface class ISchemaModelViewer
[<CLSCompliantAttribute(false)>]
type ISchemaModelViewer =  interface end
public interface ISchemaModelViewer

The ISchemaModelViewer type exposes the following members.

Methods

  Name Description
Public method AddNodes(IList<IList<ISchemaModelViewerNode>>) Adds a list of nodes to Schema View.
Public method AddNodes(IList<IList<ISchemaModelViewerNode>>, Boolean, Boolean) Adds a list of nodes to Schema View.
Public method AddRootNode Adds a root node to Schema View that usually represents the project node.
Public method GetExpandedNodes Returns a list of expanded nodes.
Public method GetRootNodes Returns a list of root nodes.
Public method GetSelectedModelElementNodes From the selection, look for all the nodes, and return those that belong to ModelElementNodes.
Public method GetSelectedNodes Returns a list of selected nodes.
Public method ProjectNodeRenamed Updates the user interface to reflect the rename.
Public method Refresh Refreshes Schema View.
Public method RefreshNodes Refreshes the specified list of nodes.
Public method RegisterForCommandRouting Registers the specified object for OLE command target routing.
Public method RegisterForLimitedCommandRouting Registers the specified object for OLE command target routing.
Public method RemoveFromCommandRouting Removes the specified object from OLE command target routing.
Public method RemoveNode Removes the specified node from the tree.
Public method RemoveNodes Removes the list of nodes from Schema View.
Public method SelectAndExpandActiveProjectNode Selects and expands the node that represents the selected or active project.
Public method SelectAndExpandProjectNode Selects and expands the project node.
Public method SelectNode Selects and optionally expands the node for the specified model element.
Public method SelectNodes(IList<IModelElement>) Selects the nodes that are associated with the specified model element.
Public method SelectNodes(IList<IList<ISchemaModelViewerNode>>, Boolean) Selects and optionally expands nodes with the specified paths.

Top

See Also

Reference

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