C# Class hoTools.EAServicesPort.PortServices

Datei anzeigen Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools Class Usage Examples

Public Methods

Method 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

Method 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 method

public ChangeLabelGui ( LabelStyle style ) : void
style LabelStyle
return void

ConnectPortsGui() public method

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
return void

ConnectPortsInsideGui() public method

public ConnectPortsInsideGui ( ) : void
return void

ConnectPortsOf2Classes() public method

public ConnectPortsOf2Classes ( EA.Element srcEl, EA.Element trgtEl ) : void
srcEl EA.Element
trgtEl EA.Element
return void

CopyPortsGui() public method

Copy Ports
public CopyPortsGui ( ) : void
return void

DeletePortsGui() public method

public DeletePortsGui ( ) : void
return void

DeletePortsMarkedPorts() public method

public DeletePortsMarkedPorts ( ) : void
return void

DoChangeLabelGui() public method

public DoChangeLabelGui ( LabelStyle style ) : void
style LabelStyle
return void

DoConnectPortGui() public method

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

DoConnectPortsInsideGui() public method

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

DoCopyPortsGui() public method

public DoCopyPortsGui ( ) : int
return int

DoDeleteMarkedPortsGui() public method

public DoDeleteMarkedPortsGui ( ) : void
return void

DoDeletePortsGui() public method

public DoDeletePortsGui ( ) : int
return int

DoOrderDiagramObjectsGui() public method

public DoOrderDiagramObjectsGui ( ) : void
return void

OrderDiagramObjectsGui() public method

public OrderDiagramObjectsGui ( ) : void
return void

PortServices() public method

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

RemovePortFromDiagramGui() public method

public RemovePortFromDiagramGui ( ) : void
return void

SetConnectionDirectionUnspecifiedGui() public method

public SetConnectionDirectionUnspecifiedGui ( ) : void
return void

ShowPortsInDiagram() public method

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
return void