ISequenceDiagram Interface

 

Represents a UML sequence diagram. It can display an IInteraction, which must be attached to it using the Bind method. An Interaction depicts the exchange of messages between a set of objects. Each Interaction can be displayed on at most one diagram, and the objects and messages can appear on only one Interaction. The diagram itself does not form part of the UML model.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

public interface class ISequenceDiagram : IDiagram, IShape

NameDescription
System_CAPS_pubpropertyChildShapes

Shapes that are contained within this shape. For example, the attribute and operation rows of a class shape; class shapes contained inside a package shape; ports and parts inside a component. For each ChildShape, ParentShape == this.(Inherited from IShape.)

System_CAPS_pubpropertyColor

Gets or sets the color of the shape. (Inherited from IShape.)

System_CAPS_pubpropertyDiagram

The diagram that contains this shape.(Inherited from IShape.)

System_CAPS_pubpropertyFileName

The path of the modeling project file on which the diagram is stored. This is the name of the principal of the two files.(Inherited from IDiagram.)

System_CAPS_pubpropertyHeight

(Inherited from IShape.)

System_CAPS_pubpropertyInteraction

The Interaction that has been bound to the diagram. May be null.

System_CAPS_pubpropertyModelStore

The UML model store which contains the diagram and the model that it shows. (Inherited from IDiagram.)

System_CAPS_pubpropertyName

The name of the diagram. It is not always the same as the file name.(Inherited from IDiagram.)

System_CAPS_pubpropertyParentShape

The shape that contains this shape, or null. If ParentShape is not null, this shape is a member of ParentShape.ChildShapes.(Inherited from IShape.)

System_CAPS_pubpropertySelectedShapes

The collection of shapes that are currently selected. If no individual shape is selected, the collection will contain the diagram as its only member. If other shapes are selected, the diagram will not appear in the collection.(Inherited from IDiagram.)

System_CAPS_pubpropertyTypeName

A string indicating what kind of diagram this is, such as "ComponentDiagram". (Inherited from IDiagram.)

System_CAPS_pubpropertyUmlMode

If true, the diagram is part of a UML model. If false, the diagram has been generated from program code and is not part of a UML model.

System_CAPS_pubpropertyWidth

(Inherited from IShape.)

System_CAPS_pubpropertyXPosition

(Inherited from IShape.)

System_CAPS_pubpropertyYPosition

(Inherited from IShape.)

NameDescription
System_CAPS_pubmethodBind(IInteraction^)

Display an Interaction on this diagram. The Interaction must not already be bound to a diagram. Sets the Interaction property.

System_CAPS_pubmethodDelete()

Removes the shape from the diagram. This might or might not remove from the model the element that the shape displays. For example, removing a class shape from a class diagram does not remove the UML class from the model.(Inherited from IShape.)

System_CAPS_pubmethodEnsureVisible(IEnumerable<IShape^>^, Boolean)

(Inherited from IDiagram.)

System_CAPS_pubmethodGetObject<T>()

Gets the model element represented by this shape. Supply the type of the result that you want.(Inherited from IShape.)

System_CAPS_pubmethodLayout(SequenceDiagramLayoutKinds)

Rearrange the shapes on the diagram.

System_CAPS_pubmethodMove(Double, Double, Double, Double)

Changes the position and size of the shape.(Inherited from IShape.)

System_CAPS_pubmethodSelectShapes(IEnumerable<IShape^>^)

Sets the current selection to the given collection of shapes, and sets the Selection property. This does not activate the window that displays the diagram. (Inherited from IDiagram.)

System_CAPS_pubmethodToIShape<T>()

Cast to a type that specifies the type of the element that the shape represents.(Inherited from IShape.)

System_CAPS_pubmethodUpdateShapePositions()

NameDescription
System_CAPS_pubmethodGetChildShapes<T>()

Get child shapes that display the specified type of model element.(Defined by PresentationHelpers.)

System_CAPS_pubmethodGetElement()

The model element that this shape represents.(Defined by IShapeExtensions.)

System_CAPS_pubmethodGetSelectedShapes<T>()

Get all the selected shapes that display UML model elements of the specified type.(Defined by PresentationHelpers.)

System_CAPS_pubmethodSelectShapes(array<IShape^>^)

Select a collection of shapes on the diagram. The shapes must be selectable. The diagram's SelectedShapes property will be updated.(Defined by PresentationHelpers.)

Return to top
Show: