<?xml version="1.0" encoding="Windows-1255" ?><Rule name="canConnectFrom" modifier="restrictive" scope="public" sortGroup="true" id="core.gml2:canConnectFrom" sort="27" urn="core.gml2:rules.connection.canConnectFrom.xml" toc="\Rules\Connection rules"><Summary>Tests whether a connection can be started from the given source plug.</Summary><Parameters signature="restrictive rule::<div style="padding:6 0 0 16"><b>canConnectFrom</b>(<i>unit</i>, <i>board</i>, <i>source</i>) &rarr; Boolean</div>"><Param name="unit" type="core.gml2:Unit!" typeRef="<q ref="core.gml2:Unit">Unit</q>">The unit classifier.</Param><Param name="board" type="core.dev:IBoard!" typeRef="<q ref="core.dev:IBoard">IBoard</q>">The board classifier.</Param><Param name="source" type="core.gml2:Plug!" typeRef="<q ref="core.gml2:Plug">Plug</q>">The source plug classifier.</Param></Parameters><Classifiers><Classifier name="unit" type="gml2:Unit" expr="unit"></Classifier><Classifier name="board" type="dev:IBoard" expr="board"></Classifier><Classifier name="psource" type="gml2:Element" expr="source.parent">The source parent classifier.</Classifier><Classifier name="source" type="gml2:Plug" expr="source"></Classifier></Classifiers><Return type="Boolean">Indicates whether a connection can be started from the given source plug.</Return><Remarks><h2>Dependencies</h2><div class="INSET">None</div> <h2>Behavior</h2> Use this rule to control from which plugs connections can be started. By default, connections can be started from any plug.</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright> <Topics> </Topics> </Rule>