C# Class hoTools.EAServicesPort.PortServices

Afficher le fichier Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools Class Usage Examples

Méthodes publiques

Méthode Description
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)

Private Methods

Méthode Description
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

Method Details

ChangeLabelGui() public méthode

public ChangeLabelGui ( LabelStyle style ) : void
style LabelStyle
Résultat void

ConnectPortsGui() public méthode

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
Résultat void

ConnectPortsInsideGui() public méthode

public ConnectPortsInsideGui ( ) : void
Résultat void

ConnectPortsOf2Classes() public méthode

public ConnectPortsOf2Classes ( EA.Element srcEl, EA.Element trgtEl ) : void
srcEl EA.Element
trgtEl EA.Element
Résultat void

CopyPortsGui() public méthode

Copy Ports
public CopyPortsGui ( ) : void
Résultat void

DeletePortsGui() public méthode

public DeletePortsGui ( ) : void
Résultat void

DeletePortsMarkedPorts() public méthode

public DeletePortsMarkedPorts ( ) : void
Résultat void

DoChangeLabelGui() public méthode

public DoChangeLabelGui ( LabelStyle style ) : void
style LabelStyle
Résultat void

DoConnectPortGui() public méthode

Connect all ports of: - all selected Class / Components to each other - recursive selected packages
public DoConnectPortGui ( ) : void
Résultat void

DoConnectPortsInsideGui() public méthode

Connect all ports of all selected Class / Components to each other.
public DoConnectPortsInsideGui ( ) : int
Résultat int

DoCopyPortsGui() public méthode

public DoCopyPortsGui ( ) : int
Résultat int

DoDeleteMarkedPortsGui() public méthode

public DoDeleteMarkedPortsGui ( ) : void
Résultat void

DoDeletePortsGui() public méthode

public DoDeletePortsGui ( ) : int
Résultat int

DoOrderDiagramObjectsGui() public méthode

public DoOrderDiagramObjectsGui ( ) : void
Résultat void

OrderDiagramObjectsGui() public méthode

public OrderDiagramObjectsGui ( ) : void
Résultat void

PortServices() public méthode

Port services like: Label, Connect, Copy, Delete,..
public PortServices ( Repository rep ) : System
rep Repository
Résultat System

RemovePortFromDiagramGui() public méthode

public RemovePortFromDiagramGui ( ) : void
Résultat void

SetConnectionDirectionUnspecifiedGui() public méthode

public SetConnectionDirectionUnspecifiedGui ( ) : void
Résultat void

ShowPortsInDiagram() public méthode

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
Résultat void