<?xml version="1.0" encoding="Windows-1255" ?><Class name="ObjectSet" inherit="core.gml:Object" alias="objectset" hierarchy="GMLDOM" id="core.gml:ObjectSet" sort="21" urn="core.gml:core.ObjectSet.gs" toc="\Core"><Summary>A logical group of objects. This object implements some methods that
   help deal with object groups.</Summary><Inherit>&lt;q ref=&quot;core.gml:Object&quot;&gt;Object&lt;/q&gt;</Inherit><Remarks>&lt;h2&gt;How does the clone work?&lt;/h2&gt;
   The clone operation behaves as follows:
   &lt;ol&gt;&lt;li&gt;First you select a group of elements through the Storyboard's UI either by marking each element, or by marking rectangular area. &lt;/li&gt;&lt;li&gt;You copy the selection into the clipboard and then select &quot;paste&quot;. alternatively, select &quot;duplicate&quot;. &lt;/li&gt;&lt;li&gt;The group of visual elements is translated to a group of base objects. &lt;BR/&gt; At this point it is also expanded to include additional elements (e.g. members of selected states, links connecting members of selected states) &lt;BR/&gt; &lt;/li&gt;&lt;li&gt;The selected elements are tested whether each can be cloned, using the canCloneElement. Some elements may be removed from the collection of elements to clone &lt;BR/&gt; (e.g. a selected link whose target interactor was not selected) &lt;/li&gt;&lt;li&gt;The following events and callbacks are then called:   &lt;ol&gt;&lt;li&gt;&lt;b&gt;onClone()&lt;/b&gt; - to actually clone every member of the selected elements.&lt;BR/&gt; This callback is responsible to update a collection that stores the mapping between IDs of the original elements and the newly cloned elements.&lt;BR/&gt; This mapping collection is required for the onFixClonedReferences callback.&lt;BR/&gt; &lt;/li&gt;&lt;li&gt;&lt;b&gt;onFixClonedReferences()&lt;/b&gt; - every object goes over its properties and recognizes every property that actually points to another element. &lt;BR/&gt;   If this element is one of the cloned, it updates the property to point to the newly cloned element. &lt;BR/&gt; &lt;q ref=&quot;core.gml:GmlObject&quot;&gt;GmlObject&lt;/q&gt; provides a default implementation for this method, and derived classes may enhance it to deal with specific properties.&lt;BR/&gt; &lt;/li&gt;&lt;li&gt;&lt;b&gt;onLoad()&lt;/b&gt; - the onLoad callback is called for every cloned element, and markes the end of the clone operation. &lt;/li&gt;&lt;/ol&gt; &lt;/li&gt;&lt;/ol&gt;</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
</Topics>
</Class>