Sdílet prostřednictvím


Diagram.HandleNewSwimLaneInsertion Method

Definition

Handles insertion of a new swimlane into the diagram.

public:
 virtual void HandleNewSwimLaneInsertion(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view, Microsoft::VisualStudio::Modeling::DomainClassInfo ^ selectedDomainClass, Microsoft::VisualStudio::Modeling::Diagrams::SwimlaneShape ^ selectedSwimLane, bool insertAfter);
public virtual void HandleNewSwimLaneInsertion (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view, Microsoft.VisualStudio.Modeling.DomainClassInfo selectedDomainClass, Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape selectedSwimLane, bool insertAfter);
abstract member HandleNewSwimLaneInsertion : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.DomainClassInfo * Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * bool -> unit
override this.HandleNewSwimLaneInsertion : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.DomainClassInfo * Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape * bool -> unit
Public Overridable Sub HandleNewSwimLaneInsertion (view As DiagramClientView, selectedDomainClass As DomainClassInfo, selectedSwimLane As SwimlaneShape, insertAfter As Boolean)

Parameters

view
DiagramClientView

Client view which originated the command.

selectedDomainClass
DomainClassInfo

Domain class of the model element to be inserted.

selectedSwimLane
SwimlaneShape

Swim lane specifying insertion position.

insertAfter
Boolean

Whether to insert before or after specified swimlane.

Applies to