Replaces a element with another element.The unit classifier.The board classifier.The parent classifier. This is the most immediate ancestor that contains the element to be replaced.The old element class or instance to be replaced.The new replacing element class or instance.Returns the rule's success/failure status.<h2>Dependencies</h2><table class="WHITE" style="width:auto; margin-top:0" cellspacing="1"><tr><td class="H V"><i>pre-condition:</i> </td><td class=H><q ref="core.gml2:canReplace">canReplace</q> == true </td></tr></table>
<h2>Behavior</h2>
The behavior can be extended to perform custom actions when an element is replaced.(c) SAP AG 2003-2006. All rights reserved.