<?xml version="1.0" encoding="Windows-1255" ?><Rule name="canInsert" modifier="restrictive" scope="public" sortGroup="true" id="core.gml2:canInsert" sort="27" urn="core.gml2:rules.composition.canInsert.xml" toc="\Rules\Composition rules"><Summary>Tests whether an element can be inserted into a given parent element.</Summary><Parameters signature="restrictive rule::&lt;div style=&quot;padding:6 0 0 16&quot;&gt;&lt;b&gt;canInsert&lt;/b&gt;(&lt;i&gt;unit&lt;/i&gt;, &lt;i&gt;board&lt;/i&gt;, &lt;i&gt;parent&lt;/i&gt;, &lt;i&gt;child&lt;/i&gt;) &amp;rarr; Boolean&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="parent" type="core.gml:GmlObject!" typeRef="&lt;q ref=&quot;core.gml:GmlObject&quot;&gt;GmlObject&lt;/q&gt;">The parent classifier. This is the candidate element class or instance into which the child element is to be inserted.</Param><Param name="child" type="core.gml2:Element!" typeRef="&lt;q ref=&quot;core.gml2:Element&quot;&gt;Element&lt;/q&gt;">The child classifier. This is the candidate element class or instance to be inserted.</Param></Parameters><Classifiers><Classifier name="unit" type="gml2:Unit" expr="unit"></Classifier><Classifier name="board" type="dev:IBoard" expr="board"></Classifier><Classifier name="parent" type="GmlObject" expr="parent"></Classifier><Classifier name="child" type="gml2:Element" expr="child"></Classifier></Classifiers><Return type="Boolean">Indicates whether the given child element can be inserted into the given parent element.</Return><Remarks>&lt;h2&gt;Dependencies&lt;/h2&gt;&lt;table class=&quot;WHITE&quot; style=&quot;width:auto; margin-top:0&quot; cellspacing=&quot;1&quot;&gt;&lt;tr&gt;&lt;td class=&quot;H V&quot;&gt;&lt;i&gt;post-action:&lt;/i&gt; &lt;/td&gt;&lt;td class=H&gt;&lt;q ref=&quot;core.gml2:doInsert&quot;&gt;doInsert&lt;/q&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
		&lt;h2&gt;Behavior&lt;/h2&gt;
		Use this rule to control where elements can be inserted.
		By default, all elements can be freely inserted into any parent with a compatible collection(s).</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
</Topics>
</Rule>