-
Notifications
You must be signed in to change notification settings - Fork 263
Creating Data Instances
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 SimpleDOMEditor 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 the SimpleDOMEditor sample 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.
Creating an Editor Application
- Designing the Application Data Model with the DOM: Define an application data model that works with the ATF DOM in a data definition language, such as an XML Schema.
- Creating Documents for Application Data: Develop classes that work with documents, using the ATF document interfaces.
- Editing and Selecting Data with Contexts: Create contexts with services for editing and selecting data.
- Creating Data Instances: Create new data instances with the instancing framework.
- Editing Data Properties: Edit properties of data types using property editor components.
-
Role Playing with Adaptation: DOM adapters allow
DomNode
s to play many roles.
- 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