protected override void ProcessAddConnShape(ConnectionPort StartPort, ConnectionPort EndPort) { BaseConnShape Line = new AssociationConnShape(); Connection StartConn = new Connection(StartPort, Line); Connection EndConn = new Connection(EndPort, Line); StartPort.AddConnection(StartConn); EndPort.AddConnection(EndConn); Line.UpdateConeection(StartConn, EndConn); Panel.AddShape(Line); Line.setDepth(DefaultDepth); Panel.UpdateDepth(); }
public Connection(ConnectionPort _Port, BaseConnShape _Conn) { Port = _Port; Conn = _Conn; }
protected abstract void ProcessAddConnShape(ConnectionPort StartPort, ConnectionPort EndPort);