C# Класс nHydrate.Dsl.InheritanceConnectAction

Handles interaction between the ConnectionBuilder and the corresponding ConnectionTool.
Наследование: DslDiagrams::ConnectAction
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

InheritanceConnectAction ( global::Microsoft.VisualStudio.Modeling.Diagrams diagram )

Constructs a new InheritanceConnectAction for the given Diagram.

Защищенные методы

Метод Описание
GetConnectionTypes ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement ) : DslDiagrams::ConnectionType[]

Returns the InheritanceConnectionType associated with this action.

Описание методов

GetConnectionTypes() защищенный Метод

Returns the InheritanceConnectionType 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

InheritanceConnectAction() публичный Метод

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