-
Notifications
You must be signed in to change notification settings - Fork 263
What is Instancing
The Instancing Framework works with object instances that can be edited, that is, copied, inserted, or deleted. For example, it enables inserting objects, such as typing text onto a page, pasting from a clipboard, or dropping a circuit element onto a canvas. This framework allows making copies or clones of objects and deleting instances.
In ATF, such instancing is done through the IInstancingContext
interface, which provides methods to determine if objects can be edited and to perform editing operations. Most ATF editing applications should implement IInstancingContext
.
Because selected objects are the ones edited with IInstancingContext
, an editing application needs to have a selection mechanism. It can do this by creating a context class that derives from EditingContext
or SelectionContext
, or implements ISelectionContext
. For more general information on contexts, see ATF Contexts.
- What is Instancing: Generally describes instancing, which also requires instances to be selectable.
-
IInstancingContext and IHierarchicalInsertionContext Interfaces: Discuss the
IInstancingContext
interface and its editing methods. -
StandardEditCommands and Instancing: Show how the
StandardEditCommands
component works with instancing. - Drag and Drop and Instancing: Explain how drag and drop is used with instancing.
- Implementing Instancing: Point to examples of implementing instancing in the ATF Simple DOM Editor Sample.
- Home
- Getting Started
- Features & Benefits
- Requirements & Dependencies
- Gallery
- Technology & Samples
- Adoption
- News
- Release Notes
- ATF Community
- Searching Documentation
- Using Documentation
- Videos
- Tutorials
- How To
- Programmer's Guide
- Reference
- Code Samples
- Documentation Files
© 2014-2015, Sony Computer Entertainment America LLC