C# Класс hoTools.EAServicesPort.PortServices

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ChangeLabelGui ( LabelStyle style ) : void
ConnectPortsGui ( ) : void

Connect Ports between selected Elements from GUI with Mouse Wait It connects Ports of different elements with the same name with a not directed connector

ConnectPortsInsideGui ( ) : void
ConnectPortsOf2Classes ( EA.Element srcEl, EA.Element trgtEl ) : void
CopyPortsGui ( ) : void

Copy Ports

DeletePortsGui ( ) : void
DeletePortsMarkedPorts ( ) : void
DoChangeLabelGui ( LabelStyle style ) : void
DoConnectPortGui ( ) : void

Connect all ports of: - all selected Class / Components to each other - recursive selected packages

DoConnectPortsInsideGui ( ) : int

Connect all ports of all selected Class / Components to each other.

DoCopyPortsGui ( ) : int
DoDeleteMarkedPortsGui ( ) : void
DoDeletePortsGui ( ) : int
DoOrderDiagramObjectsGui ( ) : void
OrderDiagramObjectsGui ( ) : void
PortServices ( Repository rep ) : System

Port services like: Label, Connect, Copy, Delete,..

RemovePortFromDiagramGui ( ) : void
SetConnectionDirectionUnspecifiedGui ( ) : void
ShowPortsInDiagram ( bool isOptimizePortLayout = false ) : void

Show Ports of selected elements in Diagram. The ports are on the right side of the element. If isOptimized=true: - Receiving Ports on the left side (Server, Receiver) - Sending Ports on the right side (Client, Sender)

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

Метод Описание
ChangeLabel ( EA.DiagramObject portObj, string from, string to ) : void
CopyPort ( EA.Element srcPort, EA.Element trgEl ) : void

Copy port to target element

DelPort ( EA.Element port ) : void
DoChangeLabelStyle ( EA.DiagramObject portObj, LabelStyle style ) : void
DoRemovePortFromDiagramGui ( ) : void
RemovePortFromDiagram ( Diagram dia, EA.Element port ) : void
SetElementConnectorDirectionUnspecified ( EA.Element el ) : void

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

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

public ChangeLabelGui ( LabelStyle style ) : void
style LabelStyle
Результат void

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

Connect Ports between selected Elements from GUI with Mouse Wait It connects Ports of different elements with the same name with a not directed connector
public ConnectPortsGui ( ) : void
Результат void

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

public ConnectPortsInsideGui ( ) : void
Результат void

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

public ConnectPortsOf2Classes ( EA.Element srcEl, EA.Element trgtEl ) : void
srcEl EA.Element
trgtEl EA.Element
Результат void

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

Copy Ports
public CopyPortsGui ( ) : void
Результат void

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

public DeletePortsGui ( ) : void
Результат void

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

public DeletePortsMarkedPorts ( ) : void
Результат void

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

public DoChangeLabelGui ( LabelStyle style ) : void
style LabelStyle
Результат void

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

Connect all ports of: - all selected Class / Components to each other - recursive selected packages
public DoConnectPortGui ( ) : void
Результат void

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

Connect all ports of all selected Class / Components to each other.
public DoConnectPortsInsideGui ( ) : int
Результат int

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

public DoCopyPortsGui ( ) : int
Результат int

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

public DoDeleteMarkedPortsGui ( ) : void
Результат void

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

public DoDeletePortsGui ( ) : int
Результат int

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

public DoOrderDiagramObjectsGui ( ) : void
Результат void

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

public OrderDiagramObjectsGui ( ) : void
Результат void

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

Port services like: Label, Connect, Copy, Delete,..
public PortServices ( Repository rep ) : System
rep Repository
Результат System

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

public RemovePortFromDiagramGui ( ) : void
Результат void

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

public SetConnectionDirectionUnspecifiedGui ( ) : void
Результат void

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

Show Ports of selected elements in Diagram. The ports are on the right side of the element. If isOptimized=true: - Receiving Ports on the left side (Server, Receiver) - Sending Ports on the right side (Client, Sender)
public ShowPortsInDiagram ( bool isOptimizePortLayout = false ) : void
isOptimizePortLayout bool
Результат void