@staticmethod
def addCouplings(connection):
    '\n        Add couplings to the :attr:`connection`.\n        \n        :param connection: an instance of :class:`Sea.adapter.baseclasses.Connection`\n        '
    for (comp_from, comp_to) in itertools.permutations(connection.Components, 2):
        coupling_sort = Connection.determineCouplingType(connection.ClassName, comp_from, comp_to)
        if (not coupling_sort):
            App.Console.PrintWarning('Cannot add coupling.\n')
            return
        for (sub_from, sub_to) in itertools.product(comp_from.subsystems(), comp_to.subsystems()):
            connection.makeCoupling(sub_from, sub_to, coupling_sort)
Add couplings to the :attr:`connection`.

:param connection: an instance of :class:`Sea.adapter.baseclasses.Connection`
@staticmethod
def addCouplings(connection):
    '\n        Add couplings to the :attr:`connection`.\n        \n        :param connection: an instance of :class:`Sea.adapter.baseclasses.Connection`\n        '
    for (comp_from, comp_to) in itertools.permutations(connection.Components, 2):
        coupling_sort = Connection.determineCouplingType(connection.ClassName, comp_from, comp_to)
        if (not coupling_sort):
            App.Console.PrintWarning('Cannot add coupling.\n')
            return
        for (sub_from, sub_to) in itertools.product(comp_from.subsystems(), comp_to.subsystems()):
            connection.makeCoupling(sub_from, sub_to, coupling_sort)