Creating Data Instances - kaisu1986/ATF GitHub Wiki
Another fundamental editing task is to create new instances of data, which is what instancing is all about. The IInstancingContext
interface provides editing methods for instances, which can be used in any kind of editing application. For more information about IInstancingContext
, see IInstancingContext Interface. For instancing topics in general, see Instancing In ATF.
In addition to other interfaces, the EventContext
class discussed in Simple DOM Editor EventContext Class also implements IInstancingContext
to add resources to events. The user drags and drops a resource from the palette to the the Resources ListView
for the selected event. Of course, other editors may create instances in other ways. For details on how Simple DOM Editor uses instancing, see IInstancingContext Interface in Simple DOM Editor Programming Discussion. For information on creating instances by drag and drop, see Drag and Drop and Instancing in the Instancing In ATF section.