SingleDiagramDocView Members

When overridden in a derived class, displays a single diagram in a document view.

The SingleDiagramDocView type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Protected method BaseLoadView (Inherited from ModelingDocView.)
Protected method CommitPendingEditForCommand Verifies whether outstanding edits should be committed before a command is executed. (Inherited from DiagramDocView.)
Protected method CountAllObjects Counts the number of elements that are in the model. (Inherited from DiagramDocView.)
Public method CountObjects Counts the number of elements in the modeling window or in the current selection. (Inherited from ModelingWindowPane.)
Protected method CountSelectedObjects Counts the number of elements in the current selection. (Inherited from ModelingWindowPane.)
Public method CreateDiagramView Creates a diagram view for the document window. (Inherited from DiagramDocView.)
Public method Dispose Overloaded.
Protected method DoSelectObjects Selects elements in the diagram view. (Inherited from DiagramDocView.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Not currently implemented. (Inherited from DiagramDocView.)
Protected method GetAllObjects Gets all elements in the model. (Inherited from DiagramDocView.)
Public method GetCapabilities Specifies which search options to support. (Inherited from DiagramDocView.)
Public method GetComponentSelected Verifies whether the specified element is selected. (Inherited from ModelingWindowPane.)
Public method GetContainerSelected Verifies whether the specified container is selected. (Inherited from ModelingWindowPane.)
Public method GetCurrentSpan Not currently implemented. (Inherited from DiagramDocView.)
Protected method GetDiagramFromPhysicalView Gets a model from the Store so that it can appear in the diagram view. (Inherited from DiagramDocView.)
Public method GetFindState Not currently implemented. (Inherited from DiagramDocView.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjects Returns either the elements that are selected or the elements that can be selected in the modeling window. (Inherited from ModelingWindowPane.)
Public method GetProperty Gets the properties that are assigned to an element in the model. (Inherited from DiagramDocView.)
Public method GetSearchImage Not currently implemented. (Inherited from DiagramDocView.)
Public method GetSelectedComponents Gets a read-only collection of elements that are selected in the modeling window. (Inherited from ModelingWindowPane.)
Protected method GetSelectedObjects Returns the elements that are selected in the modeling window. (Inherited from ModelingWindowPane.)
Protected method GetService Gets the menu command service that you want to implement. (Inherited from ModelingWindowPane.)
Public method GetSite Retrieves the site that was set most recently with SetSite. If no site is known, a failure code is returned. (Inherited from ModelingWindowPane.)
Public method GetToolboxItemFilterAttributes Gets a collection of filter strings and filter types for the Toolbox. (Inherited from DiagramDocView.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Hide Hides the modeling window. (Inherited from ModelingWindowPane.)
Protected method Initialize Initializes an instance of the ModelingDocView class. (Inherited from ModelingDocView.)
Public method IsDataObjectSupported Verifies whether an item in the Toolbox can be used with the document window. (Inherited from ModelingDocView.)
Public method IsSupported Verifies whether the document window supports an item in the Toolbox. (Inherited from ModelingDocView.)
Public method ItemPicked Notifies clients that a user clicked an item in the Toolbox or pressed ENTER to select the item. (Inherited from ModelingDocView.)
Protected method LoadView Verifies whether the document has loaded in a document window. (Inherited from ModelingDocView.)
Public method MarkSpan Not currently implemented. (Inherited from DiagramDocView.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NavigateTo Not currently implemented. (Inherited from DiagramDocView.)
Public method NotifyFindTarget This member is no longer used. (Inherited from DiagramDocView.)
Protected method OnClose Removes modeling window objects from the shortcut menu selection when the modeling window is closed. (Inherited from ModelingWindowPane.)
Protected method OnContextMenuRequested Processes a request for the shortcut menu. (Inherited from DiagramDocView.)
Protected method OnCreate When the document is loaded, creates a view for the document window. (Inherited from ModelingDocView.)
Protected method OnSelectionChanged Recalculates which Toolbox filters to use. (Inherited from DiagramDocView.)
Protected method OnSelectionChanging Notifies event listeners from the base class before the selection changes. (Inherited from ModelingWindowPane.)
Protected method OnToolboxItemSelected When a user clicks an item in the Toolbox, calls ToolboxItemSelected. (Inherited from ModelingDocView.)
Protected method PreProcessMessage Verifies whether Windows sent a message. (Inherited from ModelingWindowPane.)
Public method Replace Not currently implemented. (Inherited from DiagramDocView.)
Public method SelectObjects Selects elements in the modeling window. (Inherited from ModelingWindowPane.)
Public method SetFindState Not currently implemented. (Inherited from DiagramDocView.)
Public method SetInfo Updates the status bar for the document window. (Inherited from ModelingDocView.)
Public method SetSelectedComponents Overloaded.
Public method SetSite Initializes the modeling window in the environment. (Inherited from ModelingWindowPane.)
Public method Show Displays the modeling window, brings it to the top, and makes it the active window. (Inherited from ModelingWindowPane.)
Protected method ShowContextMenu Displays the shortcut menu at a specific location in the diagram view. (Inherited from DiagramDocView.)
Public method ShowNoActivate Displays the modeling window, brings it to the top, but does not make it the active window. (Inherited from ModelingWindowPane.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Protected method UpdateToolboxFilters Updates the collection of Toolbox filters to use with the active diagram view. (Inherited from DiagramDocView.)

Top

Properties

  Name Description
Public property ActiveInPlaceEditWindow Gets and sets the active window for in-place editing. (Inherited from ModelingWindowPane.)
Protected property ContextMenuId Gets the shortcut menu to display when a user right-clicks the diagram view. (Inherited from DiagramDocView.)
Public property ContextMenuMousePosition Gets the position of the mouse when the shortcut menu is invoked for the diagram view. (Inherited from DiagramDocView.)
Public property CurrentDesigner Gets the view for the diagram. (Overrides DiagramDocView.CurrentDesigner.)
Public property CurrentDiagram Gets the diagram. (Overrides DiagramDocView.CurrentDiagram.)
Protected property DefaultToolboxTabName Gets the name of the Toolbox tab that the user clicked. (Inherited from ModelingDocView.)
Protected property DefaultToolboxTabToolboxItemsCount (Inherited from ModelingDocView.)
Public property Diagram Gets a diagram.
Public property DocData Gets a document for the document window. (Inherited from ModelingDocView.)
Public property Frame Gets access to behavior and properties of the modeling window interface for both tool and document windows. (Inherited from ModelingWindowPane.)
Protected property HasSelectableObjects Gets the document window and if the document window is open, enables the Select Objects option. (Inherited from ModelingDocView.)
Protected property HelpService Gets support for Help topics, including adding and subtracting Help keywords. (Inherited from ModelingWindowPane.)
Public property IsContextMenuShowing Gets the shortcut menu and verifies whether it appears for the diagram view. (Inherited from DiagramDocView.)
Protected property IsPrimaryView Gets the document window and verifies whether this window is the primary document window. (Inherited from ModelingDocView.)
Public property MenuService Gets support to manage the global designer verbs, menu commands, and shortcut menus for the modeling window. (Inherited from ModelingWindowPane.)
Public property PrimarySelection Gets the primary selected element in the modeling window. If the window contains no primary element, the first element that was selected becomes the primary element. (Inherited from ModelingWindowPane.)
Protected property ProvideViewHelper Gets the document window and verifies whether a view helper should be created for the document window. (Inherited from ModelingDocView.)
Protected property SelectedElements Gets the elements that are selected in the modeling window. (Inherited from ModelingWindowPane.)
Public property SelectionCount Gets the number of elements that are selected in the modeling window. (Inherited from ModelingWindowPane.)
Protected property SelectionHelpService Gets support for displaying Help topics and adding and removing Help keywords for the elements that are selected. (Inherited from ModelingWindowPane.)
Protected property ServiceProvider Gets the service provider that is local to the modeling window. (Inherited from ModelingWindowPane.)
Protected property TargetToolboxItemFilterAttributes Gets a collection of filter attributes for a Toolbox item. (Inherited from DiagramDocView.)
Protected property ToolboxService Gets the Toolbox service. (Inherited from ModelingDocView.)
Public property Window Gets a window for the view. (Overrides WindowPane.Window.)

Top

Events

  Name Description
Public event SelectionChanged Occurs when the selection in the modeling window has changed. (Inherited from ModelingWindowPane.)
Public event SelectionChanging Occurs when the selection in the modeling window is about to change. (Inherited from ModelingWindowPane.)
Public event ToolboxItemSelected Occurs when the user drags the selected item from the Toolbox to the document window. (Inherited from ModelingDocView.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsWindowPane.ClosePane (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.CreatePaneWindow (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IOleCommandTarget.Exec (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.GetDefaultSize (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsFindTarget.GetMatchRect (Inherited from DiagramDocView.)
Explicit interface implemetationPrivate method IServiceProvider.GetService (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.LoadViewState (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsBroadcastMessageEvents.OnBroadcastMessage (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IOleCommandTarget.QueryStatus (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.SaveViewState (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsStatusbarUser.SetInfo (Inherited from ModelingDocView.)
Explicit interface implemetationPrivate method IVsWindowPane.SetSite (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.TranslateAccelerator (Inherited from WindowPane.)

Top

See Also

Reference

SingleDiagramDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace