C# 클래스 nHydrate.Dsl.AssociationConnectAction

Handles interaction between the ConnectionBuilder and the corresponding ConnectionTool.
상속: DslDiagrams::ConnectAction
파일 보기 프로젝트 열기: nHydrate/nHydrate

공개 메소드들

메소드 설명
AssociationConnectAction ( global::Microsoft.VisualStudio.Modeling.Diagrams diagram )

Constructs a new AssociationConnectAction for the given Diagram.

GetCursor ( global currentCursor, global::Microsoft.VisualStudio.Modeling.Diagrams diagramClientView, global::Microsoft.VisualStudio.Modeling.Diagrams mousePosition ) : global::System.Windows.Forms.Cursor

Gets the cursor corresponding to the given mouse position.

Changes the cursor to Cursors.No before the first mouse click if the source shape is not valid.

보호된 메소드들

메소드 설명
GetConnectionTypes ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement ) : DslDiagrams::ConnectionType[]

Returns the AssociationConnectionType associated with this action.

메소드 상세

AssociationConnectAction() 공개 메소드

Constructs a new AssociationConnectAction for the given Diagram.
public AssociationConnectAction ( global::Microsoft.VisualStudio.Modeling.Diagrams diagram )
diagram global::Microsoft.VisualStudio.Modeling.Diagrams

GetConnectionTypes() 보호된 메소드

Returns the AssociationConnectionType associated with this action.
protected GetConnectionTypes ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement ) : DslDiagrams::ConnectionType[]
sourceShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
targetShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
리턴 DslDiagrams::ConnectionType[]

GetCursor() 공개 메소드

Gets the cursor corresponding to the given mouse position.
Changes the cursor to Cursors.No before the first mouse click if the source shape is not valid.
public GetCursor ( global currentCursor, global::Microsoft.VisualStudio.Modeling.Diagrams diagramClientView, global::Microsoft.VisualStudio.Modeling.Diagrams mousePosition ) : global::System.Windows.Forms.Cursor
currentCursor global
diagramClientView global::Microsoft.VisualStudio.Modeling.Diagrams
mousePosition global::Microsoft.VisualStudio.Modeling.Diagrams
리턴 global::System.Windows.Forms.Cursor