Diagram.HandleNewSwimLaneInsertion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.