Updated: November 2007
Represents the commands that are available in the shortcut menu for the generated designer of a domain-specific language.
<CLSCompliantAttribute(False)> _ Public MustInherit Class CommandSet _ Inherits MarshalByRefObject
Dim instance As CommandSet
[CLSCompliantAttribute(false)] public abstract class CommandSet : MarshalByRefObject
[CLSCompliantAttribute(false)] public ref class CommandSet abstract : public MarshalByRefObject
public abstract class CommandSet extends MarshalByRefObject
Commands appear to a user in the shortcut menu, which is available in the generated designer. The following table contains the default commands in the shortcut menu.
Command
Description
Select All
Select all shapes.
Reroute Line
Restore the default position of the selected connector.
Delete
Delete the selected shape.
Expand/Collapse
Expand a shape to show its properties, or collapse a shape to hide its properties.
Add Compartment Item
Add an item to a compartment in a shape.
Add Swimlane Before
Add a swimlane before the selected diagram. The swimlane appears to the left of or above the diagram.
Add Swimlane After
Add a swimlane after the selected diagram. The swimlane appears to the right of or under the diagram.
Add DynamicName
Add a custom component to the diagram.
You can define additional commands in the Commands.vsct file.