<?xml version="1.0" encoding="Windows-1255" ?><Rule name="defineControlMapping" modifier="restrictive" scope="public" sortGroup="true" id="core.gml2:defineControlMapping" sort="27" urn="core.gml2:rules.editing.defineControlMapping.xml" toc="\Rules\Editing rules"><Summary>Defines Field-Control mapping.</Summary><Parameters signature="restrictive rule::&lt;div style=&quot;padding:6 0 0 16&quot;&gt;&lt;b&gt;defineControlMapping&lt;/b&gt;(&lt;i&gt;unit&lt;/i&gt;, &lt;i&gt;board&lt;/i&gt;, &lt;i&gt;interactor&lt;/i&gt;, &lt;i&gt;interactive&lt;/i&gt;) &amp;rarr; Object&lt;/div&gt;"><Param name="unit" type="core.gml2:Unit!" typeRef="&lt;q ref=&quot;core.gml2:Unit&quot;&gt;Unit&lt;/q&gt;">The unit classifier.</Param><Param name="board" type="core.dev:IBoard!" typeRef="&lt;q ref=&quot;core.dev:IBoard&quot;&gt;IBoard&lt;/q&gt;">The board classifier.</Param><Param name="interactor" type="core.gml2:Interactor!" typeRef="&lt;q ref=&quot;core.gml2:Interactor&quot;&gt;Interactor&lt;/q&gt;">The interactor to define the mapping for.</Param><Param name="interactive" type="Boolean">If &lt;code&gt;false,&lt;/code&gt; the mapping should be done automatically without asking the user.</Param></Parameters><Classifiers><Classifier name="unit" type="gml2:Unit" expr="unit"></Classifier><Classifier name="board" type="dev:IBoard" expr="board"></Classifier><Classifier name="interactor" type="gml2:Interactor" expr="interactor"></Classifier></Classifiers><Return type="Object">Object that defines the field-control mapping strategy.</Return><Remarks>&lt;h2&gt;Dependencies&lt;/h2&gt;&lt;div class=&quot;INSET&quot;&gt;None&lt;/div&gt;
		&lt;h2&gt;Behavior&lt;/h2&gt;
		The default behavior returns empty object, meaning no controls should be created/deleted/bound/unbound.
		The behavior can be extended to define different mapping strategy.</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
</Topics>
</Rule>