DatabaseSchemaViewControllerBase Class

Abstract base class for Schema View controllers.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.SchemaModelViewerControllerBase
    Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.SchemaModelViewerControllerBaseInternal
      Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer.SchemaView.DatabaseSchemaViewControllerBase

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public MustInherit Class DatabaseSchemaViewControllerBase _
    Inherits SchemaModelViewerControllerBaseInternal _
    Implements IDatabaseSchemaViewController, IExtension
[CLSCompliantAttribute(false)]
public abstract class DatabaseSchemaViewControllerBase : SchemaModelViewerControllerBaseInternal, 
    IDatabaseSchemaViewController, IExtension
[CLSCompliantAttribute(false)]
public ref class DatabaseSchemaViewControllerBase abstract : public SchemaModelViewerControllerBaseInternal, 
    IDatabaseSchemaViewController, IExtension
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type DatabaseSchemaViewControllerBase =  
    class
        inherit SchemaModelViewerControllerBaseInternal
        interface IDatabaseSchemaViewController
        interface IExtension
    end
public abstract class DatabaseSchemaViewControllerBase extends SchemaModelViewerControllerBaseInternal implements IDatabaseSchemaViewController, IExtension

The DatabaseSchemaViewControllerBase type exposes the following members.

Constructors

  Name Description
Protected method DatabaseSchemaViewControllerBase Initializes a new instance of the DatabaseSchemaViewControllerBase class.

Top

Properties

  Name Description
Protected property EventsReceivedWhileToolWindowWasClosed Gets or sets the number of events handled while the tool window was closed. (Inherited from SchemaModelViewerControllerBase.)
Protected property HierarchyGenerator Gets or sets the schema hierarchy generator. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public property ProjectNode Returns the associated database project node. (Inherited from SchemaModelViewerControllerBase.)
Protected property RefreshWhenToolWindowIsShown Gets or sets a value that indicates whether to refresh the tool window the next time that it is shown. (Inherited from SchemaModelViewerControllerBase.)
Protected property RootNode Gets or sets the root node. (Inherited from SchemaModelViewerControllerBase.)
Protected property SchemaView Gets or sets the Schema View reference. (Inherited from SchemaModelViewerControllerBase.)
Protected property ToolWindowIsShowing Gets a value that indicates whether the tool window to which this controller is attached (Schema View or dependency view) is shown. (Inherited from SchemaModelViewerControllerBase.)
Protected property ToolWindowService Gets or sets the tool window service. (Inherited from SchemaModelViewerControllerBase.)

Top

Methods

  Name Description
Protected method CacheToolWindowService Gets and caches the SchemaModelViewerService service. (Inherited from SchemaModelViewerControllerBase.)
Public method CanBeDisplayed Returns whether the specified model element can be displayed in the Schema View. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method CanDeleteObjects Determines whether the list of model element nodes can be deleted. (Inherited from SchemaModelViewerControllerBase.)
Public method CanExtend Returns true if this contributor can extend the extendee under the extender name that was specified. (Inherited from SchemaModelViewerControllerBase.)
Protected method CreateGenerator Abstract method that returns the Schema View generator for this controller. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method CreateRootNode Creates the root node in Schema View (the database project node). (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method DeleteObjects (Overrides SchemaModelViewerControllerBase.DeleteObjects(IList<ISchemaModelViewerElementNode>, IList<Tuple<String, String>>%).)
Protected method DisconnectFromDataSchemaModelEvents Disconnects from schema model (store) events. (Inherited from SchemaModelViewerControllerBase.)
Protected method DisconnectFromProjectEvents Disconnects from project events. (Inherited from SchemaModelViewerControllerBase.)
Protected method DisconnectFromSchemaViewEvents Disconnect from Schema View events. Set cached Schema View property to null. (Inherited from SchemaModelViewerControllerBase.)
Protected method DisconnectFromSolutionEvents Disconnects from solution events. (Inherited from SchemaModelViewerControllerBase.)
Protected method DisconnectFromToolWindowEvents Disconnects from SchemaModelViewerService events and sets the cached tool window property to null. (Inherited from SchemaModelViewerControllerBase.)
Public method Dispose() Releases resources. (Inherited from SchemaModelViewerControllerBase.)
Protected method Dispose(Boolean) Releases resources associated with the Schema Model Viewer Controller. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAdditionalObjectsToDelete Called by DeleteObjects to get additional elements to delete. (Inherited from SchemaModelViewerControllerBase.)
Public method GetCaption Returns the caption for the specified element node. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method GetChildren Returns the list of child nodes for the specified parent node. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method GetExtender Returns an extender for the extendee. (Inherited from SchemaModelViewerControllerBase.)
Public method GetExtenderNames Returns the names for any available extenders for the extendee. (Inherited from SchemaModelViewerControllerBase.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetModelElement Returns the model element that this node represents or under which it is a node. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method GetPathsFromCache Returns the path from the Schema View node that is contained in the annotations of the specified model element. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method GetPathsFromGeneratorPaths(IModelElement, IList<IList<ISchemaModelViewerNode>>%, IList<IList<ISchemaModelViewerNode>>%, IList<IList<ISchemaModelViewerNode>>%) Returns the Schema View node paths for the specified model element. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method GetPathsFromGeneratorPaths(IModelElement, IList<IList<ISchemaModelViewerNode>>, IList<IList<ISchemaModelViewerNode>>%, IList<IList<ISchemaModelViewerNode>>%, IList<IList<ISchemaModelViewerNode>>%) Returns the Schema View node paths for the specified hierarchy generator node paths. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method GetPathsToElement Gets the path to the element from the hierarchy generator. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method GetSelectionPathToElement Gets the path that is used to select the element in Schema View from the hierarchy generator. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize Creates a Schema View persistence support object. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method InitializeRootNode Adds the root node to Schema View. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method ListenToDataSchemaModelEvents Listens to data schema model events. (Inherited from SchemaModelViewerControllerBase.)
Protected method ListenToProjectEvents Listens to project events. (Inherited from SchemaModelViewerControllerBase.)
Protected method ListenToSchemaViewEvents Listens to Schema View events. (Inherited from SchemaModelViewerControllerBase.)
Protected method ListenToSolutionEvents Creates a solution listener and listens to solution events. (Inherited from SchemaModelViewerControllerBase.)
Protected method ListenToToolWindowEvents Listens to events from the SchemaModelViewerService. (Inherited from SchemaModelViewerControllerBase.)
Protected method LoadState Load state. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method ModelChanged (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method ModelElementAdded A model element was added to the store. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method ModelElementDeleted A model element was deleted from the store. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method ModelElementUpdated A model element was updated by the store. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method NodeCreated Sets the sorter for the node to delegate to the hierarchy node. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method NodeInUse Provides notification whether the given node is in use by the Schema View. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method OnAfterOpenProject After the project has been opened, adds the root node to Schema View. (Inherited from SchemaModelViewerControllerBase.)
Protected method OnBeforeCloseProject Before the project closed, called to provide an opportunity to remove the project (root) node from Schema View. (Inherited from SchemaModelViewerControllerBase.)
Protected method OnDatabaseSchemaViewInitialized Initializes the controller with Schema View. (Inherited from SchemaModelViewerControllerBase.)
Protected method OnDatabaseSchemaViewShown Handles the Schema View shown event. (Inherited from SchemaModelViewerControllerBase.)
Protected method OnDataSchemaModelRecycled Handles the DataSchemaModel recycled event. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method OnDataSchemaModelRecycling Handles the DataSchemaModel recycling event. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method OnProjectClosed Handles the close of the project by disconnecting from events. (Inherited from SchemaModelViewerControllerBase.)
Protected method OnProjectClosing Calls SaveState() and calls the following virtual methods, in order: DisconnectFromSchemaViewEvents; DisconnectFromStoreEvents; DisconnectFromProjectEvents; DisconnectFromSolutionEvents; and DisconnectFromToolWindowEvents. (Inherited from SchemaModelViewerControllerBase.)
Protected method OnProjectLoaded Occurs when the model has finished deserialization. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method OnProjectRenamed Project node was renamed. (Inherited from SchemaModelViewerControllerBase.)
Protected method ReadStateValueAsInt Reads an integer value from the persistent storage for Schema View. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method Refresh Refreshes Schema View by removing old nodes and adding new ones. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method RemoveOurRootNode Removes the root node. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method SaveState Saves state for the Schema Model Viewer Controller. (Inherited from SchemaModelViewerControllerBaseInternal.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method UninitializeRootNode Removes the root node. (Inherited from SchemaModelViewerControllerBaseInternal.)
Protected method WriteStateValue Writes a value to the persistent storage for Schema View. (Inherited from SchemaModelViewerControllerBaseInternal.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

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