DiagramDocView Members
Include Protected Members
Include Inherited Members
Represents a diagram view in the Domain-Specific Language Designer or generated designer.
The DiagramDocView type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the DiagramDocView class.
Top
Methods
Name
Description
(Inherited from ModelingDocView.)
Verifies whether outstanding edits should be committed before a command is executed. (Overrides ModelingWindowPane.CommitPendingEditForCommand(CommandID).)
Counts the number of elements that are in the model. (Overrides ModelingWindowPane.CountAllObjects().)
Counts the number of elements in the window pane or in the current selection. (Inherited from ModelingWindowPane.)
Gets the number of elements in the current selection. (Inherited from ModelingWindowPane.)
Creates a diagram view for the document window.
Overloaded.
Selects elements in the diagram view. (Overrides ModelingWindowPane.DoSelectObjects(UInt32, array<Object[], UInt32).)
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Not currently implemented.
Gets all elements in the model. (Overrides ModelingWindowPane.GetAllObjects(UInt32, array<Object[]).)
Specifies which search options to support.
Specifies whether the given component is selected. (Inherited from ModelingWindowPane.)
Specifies whether the given container is selected. (Inherited from ModelingWindowPane.)
Not currently implemented.
Gets a model from the Store so that it can appear in the diagram view.
Not currently implemented.
Serves as a hash function for a particular type. (Inherited from Object.)
Gets either the elements that are currently selected or the elements that can be selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the properties that are assigned to an element in the model.
Not currently implemented.
Gets the components that are selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the elements that are selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the service of the specified type. Override this method to return the custom menu command service (Inherited from ModelingWindowPane.)
Gets the site that was set with SetSite. (Inherited from ModelingWindowPane.)
GetToolboxItemFilterAttributes
Gets a collection of filter strings and filter types for the Toolbox.
Gets the type of the current instance. (Inherited from Object.)
Hides the window pane. (Inherited from ModelingWindowPane.)
Initializes an instance of the ModelingDocView class. (Inherited from ModelingDocView.)
Verifies whether an item in the Toolbox can be used with the document window. (Inherited from ModelingDocView.)
Verifies whether the document window supports an item in the Toolbox. (Inherited from ModelingDocView.)
Notifies clients that a user clicked an item in the Toolbox or pressed ENTER to select the item. (Inherited from ModelingDocView.)
Verifies whether the document has loaded in a document window. (Inherited from ModelingDocView.)
Not currently implemented.
Creates a shallow copy of the current Object. (Inherited from Object.)
Not currently implemented.
This member is no longer used.
Removes window pane objects from the shortcut menu selection when the window pane is closed. (Inherited from ModelingWindowPane.)
Processes a request for the shortcut menu.
When the document is loaded, creates a view for the document window. (Inherited from ModelingDocView.)
Recalculates which Toolbox filters to use. (Overrides ModelingWindowPane.OnSelectionChanged(EventArgs).)
Notifies event listeners before the selection changes. (Inherited from ModelingWindowPane.)
When a user clicks an item in the Toolbox, calls ToolboxItemSelected. (Inherited from ModelingDocView.)
Handles window messages. (Inherited from ModelingWindowPane.)
Not currently implemented.
Selects elements in the window pane. (Inherited from ModelingWindowPane.)
Not currently implemented.
Updates the status bar for the document window. (Inherited from ModelingDocView.)
Overloaded. Puts the selected components into the selection container and replaces the currently-selected components, and notifies the shell of the change.
Initializes the window pane in the environment. (Inherited from ModelingWindowPane.)
Displays the window pane, brings it to the front, and makes it the active window. (Inherited from ModelingWindowPane.)
Displays the shortcut menu at a specific location in the diagram view.
Displays the window pane, brings it to the front, but does not make it the active window. (Inherited from ModelingWindowPane.)
Returns a string that represents the current object. (Inherited from Object.)
Updates the collection of Toolbox filters to use with the active diagram view.
Top
Properties
Name
Description
Gets and sets the active window for in-place editing. (Inherited from ModelingWindowPane.)
Gets the shortcut menu to display when a user right-clicks the diagram view.
Gets the position of the mouse when the shortcut menu is invoked for the diagram view.
Gets the active diagram view.
Gets the currently selected model in the active diagram view.
Gets the name of the Toolbox tab that the user clicked. (Inherited from ModelingDocView.)
DefaultToolboxTabToolboxItemsCount
(Inherited from ModelingDocView.)
Gets a document for the document window. (Inherited from ModelingDocView.)
Gets the IVsWindowFrame that corresponds to this window.. (Inherited from ModelingWindowPane.)
Gets the document window and if the document window is open, enables the Select Objects option. (Inherited from ModelingDocView.)
Gets the help service. (Inherited from ModelingWindowPane.)
Gets the shortcut menu and verifies whether it appears for the diagram view.
Gets the document window and verifies whether this window is the primary document window. (Inherited from ModelingDocView.)
Gets the menu command service. (Inherited from ModelingWindowPane.)
Gets the primary selected element in the window pane. (Inherited from ModelingWindowPane.)
Gets the document window and verifies whether a view helper should be created for the document window. (Inherited from ModelingDocView.)
Gets the elements that are selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the number of elements that are selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the selection help service. (Inherited from ModelingWindowPane.)
Gets the service provider that is local to this window pane. (Inherited from ModelingWindowPane.)
TargetToolboxItemFilterAttributes
Gets a collection of filter attributes for a Toolbox item. (Overrides ModelingDocView.TargetToolboxItemFilterAttributes.)
Gets the Toolbox service. (Inherited from ModelingDocView.)
(Inherited from WindowPane.)
Top
Events
Name
Description
Fired after the selection in the window pane has changed. (Inherited from ModelingWindowPane.)
Fired before the selection in the window pane changes. (Inherited from ModelingWindowPane.)
Occurs when the user drags the selected item from the Toolbox to the document window. (Inherited from ModelingDocView.)
Top
Explicit Interface Implementations
Name
Description
(Inherited from WindowPane.)
IVsWindowPane.CreatePaneWindow
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
IVsBroadcastMessageEvents.OnBroadcastMessage
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from ModelingDocView.)
(Inherited from WindowPane.)
IVsWindowPane.TranslateAccelerator
(Inherited from WindowPane.)
Top