C# Класс nHydrate.Dsl.ViewLinkConnectAction.ViewLinkConnectionTypeBase

Наследование: DslDiagrams::ConnectionType
Показать файл Открыть проект

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

Метод Описание
CanCreateConnection ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement, string &connectionWarning ) : bool

Called by the base ConnectAction class to determine if the given shapes can be connected.

This implementation delegates calls to the ConnectionBuilder EntityHasViewsBuilder.

CreateConnection ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams paintFeedbackArgs ) : void

Called by the base ConnectAction class to create the underlying relationship.

This implementation delegates calls to the ConnectionBuilder EntityHasViewsBuilder.

IsValidSourceAndTarget ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement ) : bool

Called by the base ConnectAction class to ask whether the given source and target are valid.

Always return true here, to give CanCreateConnection a chance to decide.

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

Метод Описание
ViewLinkConnectionTypeBase ( )

Constructs a new the ViewLinkConnectionType with the given ConnectionBuilder.

Приватные методы

Метод Описание
RemovePassThroughShapes ( global::Microsoft.VisualStudio.Modeling.Diagrams shape ) : DslDiagrams::ShapeElement

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

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

Called by the base ConnectAction class to determine if the given shapes can be connected.
This implementation delegates calls to the ConnectionBuilder EntityHasViewsBuilder.
public CanCreateConnection ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement, string &connectionWarning ) : bool
sourceShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
targetShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
connectionWarning string
Результат bool

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

Called by the base ConnectAction class to create the underlying relationship.
This implementation delegates calls to the ConnectionBuilder EntityHasViewsBuilder.
public CreateConnection ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams paintFeedbackArgs ) : void
sourceShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
targetShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
paintFeedbackArgs global::Microsoft.VisualStudio.Modeling.Diagrams
Результат void

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

Called by the base ConnectAction class to ask whether the given source and target are valid.
Always return true here, to give CanCreateConnection a chance to decide.
public IsValidSourceAndTarget ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement ) : bool
sourceShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
targetShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
Результат bool

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

Constructs a new the ViewLinkConnectionType with the given ConnectionBuilder.