CommandSet Members
Include Protected Members
Include Inherited Members
Represents the commands that are available in the shortcut menu for the generated designer of a domain-specific language.
The CommandSet type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the CommandSet class.
Top
Methods
Name
Description
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
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.)
Serves as a hash function for a particular type. (Inherited from Object.)
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Displays the commands on the shortcut menu.
Gets the type of the current instance. (Inherited from Object.)
Initializes the CommandSet class.
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
IsAnyDocumentSelectionCompartment
Verifies whether a compartment is selected in the active document window.
Verifies whether the diagram contains any shapes.
Verifies whether the diagram is selected.
Verifies whether a user can expand the shape to reveal domain properties.
Verifies whether only one shape is selected in the active document window.
Verifies whether only one shape is selected in the active window.
Overloaded.
Deletes the selected shapes.
ProcessOnMenuEditCompartmentItemCommand
Processes edits that a user makes to a compartment in the primary (first) selected shape.
ProcessOnMenuExpandCollapseCommand
Expands or collapses a list of properties that is assigned to a shape.
Opens the Page Setup dialog box.
Opens the Print dialog box.
ProcessOnMenuPrintPreviewCommand
ProcessOnMenuRerouteLineCommand
Restores the default position of a connector between two shapes.
Selects all shapes in a diagram.
Verifies whether a user can delete a shape.
ProcessOnStatusEditCompartmentItemCommand
Verifies whether a user can edit a compartment in a shape.
ProcessOnStatusExpandCollapseCommand
Verifies whether the property list that is assigned to a shape is expanded or collapsed.
ProcessOnStatusPageSetupCommand
Opens the Page Setup dialog box.
Opens the Print dialog box.
ProcessOnStatusPrintPreviewCommand
ProcessOnStatusRerouteLineCommand
Verifies whether a user can reroute the connector to its default position between two shapes.
ProcessOnStatusSelectAllCommand
Verifies whether all shapes on a diagram are selected.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets the data in the active document window.
Gets the selected shapes in the active document window.
Gets the view for the active document window.
Gets the selected shapes in the active window.
Gets the command sequence and executes an event when a user clicks a command on the shortcut menu.
Gets an instance of the IMonitorSelectionService service, which identifies which window is active.
Gets the service provider that retrieves Visual Studio services.
Gets the primary selected shape in the active document window.
Gets the primary selected shape in the active window.
Top