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
Protected method CommandSet Initializes a new instance of the CommandSet class.

Top

Methods

  Name Description
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetMenuCommands Displays the commands on the shortcut menu.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Initialize Initializes the CommandSet class.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method IsAnyDocumentSelectionCompartment Verifies whether a compartment is selected in the active document window.
Protected method IsCurrentDiagramEmpty Verifies whether the diagram contains any shapes.
Protected method IsDiagramSelected Verifies whether the diagram is selected.
Protected method IsExpandableShape Verifies whether a user can expand the shape to reveal domain properties.
Protected method IsSingleDocumentSelection Verifies whether only one shape is selected in the active document window.
Protected method IsSingleSelection Verifies whether only one shape is selected in the active window.
Protected method MemberwiseClone Overloaded.
Protected method ProcessOnMenuDeleteCommand Deletes the selected shapes.
Protected method ProcessOnMenuEditCompartmentItemCommand Processes edits that a user makes to a compartment in the primary (first) selected shape.
Protected method ProcessOnMenuExpandCollapseCommand Expands or collapses a list of properties that is assigned to a shape.
Protected method ProcessOnMenuPageSetupCommand Opens the Page Setup dialog box.
Protected method ProcessOnMenuPrintCommand Opens the Print dialog box.
Protected method ProcessOnMenuRerouteLineCommand Restores the default position of a connector between two shapes.
Protected method ProcessOnMenuSelectAllCommand Selects all shapes in a diagram.
Protected method ProcessOnStatusDeleteCommand Verifies whether a user can delete a shape.
Protected method ProcessOnStatusEditCompartmentItemCommand Verifies whether a user can edit a compartment in a shape.
Protected method ProcessOnStatusExpandCollapseCommand Verifies whether the property list that is assigned to a shape is expanded or collapsed.
Protected method ProcessOnStatusPageSetupCommand Opens the Page Setup dialog box.
Protected method ProcessOnStatusPrintCommand Opens the Print dialog box.
Protected method ProcessOnStatusRerouteLineCommand Verifies whether a user can reroute the connector to its default position between two shapes.
Protected method ProcessOnStatusSelectAllCommand Verifies whether all shapes on a diagram are selected.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Protected property CurrentDocData Gets the data in the active document window.
Protected property CurrentDocumentSelection Gets the selected shapes in the active document window.
Protected property CurrentDocView Gets the view for the active document window.
Protected property CurrentSelection Gets the selected shapes in the active window.
Protected property MenuService Gets the command sequence and executes an event when a user clicks a command on the shortcut menu.
Protected property MonitorSelection Gets an instance of the IMonitorSelectionService service, which identifies which window is active.
Protected property ServiceProvider Gets the service provider that retrieves Visual Studio services.
Protected property SingleDocumentSelection Gets the primary selected shape in the active document window.
Protected property SingleSelection Gets the primary selected shape in the active window.

Top

See Also

Reference

CommandSet Class

Microsoft.VisualStudio.Modeling.Shell Namespace