-
Notifications
You must be signed in to change notification settings - Fork 263
ATF Using Dom Sample
Gary edited this page Mar 17, 2015
·
3 revisions
The sample application UsingDom is a simple demo of basic DOM use. It illustrates loading a schema with a schema loader, creating a game using DomNodes then saving the game data using the schema loader. It has no UI, running in a command prompt window.
To see how this sample is programmed, see Using Dom Programming Discussion.
- Deriving from XmlSchemaTypeLoader to customize a schema loader.
- Creating game data using either DomNodes or DomNodeAdapters.
- Saving application data with DomXmlWriter.
- Double-click the UsingDom.exe in \bin\wws_atf\Release.
- A command prompt window appears briefly while the application is running.
There is no user interface. UsingDom automatically creates and saves the file game.xml XML file of game data.
Modules perform these functions:
- Program.cs: Contains the Main program. This loads the schema and creates and saves the game data.
- GameSchemaLoader.cs: Derive from XmlSchemaTypeLoader to customize a schema loader.
- Various files in the Schemas folder: Game object accessors.
- CircuitEditor: Editor for circuits, consisting of modules with input and output pins and connections between them.
- CodeEditor: Code editor that uses the ActiproSoftare SyntaxEditor to provide an editing Control.
- DiagramEditor: Combines the Circuit, Finite State Machine, and State Chart editors into a single application to show how multiple editors can share an application shell and editor components.
- DOMPropertyEditor: Demonstrates property editing, with a large variety of property editing controls and property descriptors.
- FileExplorer: Shows how to build a simple Windows® Explorer-like application to view the contents of a disk.
- FSMEditor: Finite state machine editor.
- ModelViewer: Shows how to use the ATF's ATGI and Collada file loaders and OpenGL® rendering.
- SimpleDOMEditor: Demonstrates the use of the DOM (Document Object Model) in WinForms, including defining a data model.
- SimpleDOMEditorWPF: Similar to ATF SimpleDOMEditor Sample, but implemented using ATF’s WPF framework.
- SimpleDOMNoXMLEditor: Very similar to the SimpleDOMEditor sample, but does not use XML.
- StateChartEditor: Editor for statecharts.
- TargetManager: Shows how to use the TargetEnumerationService to discover, add, configure and select targets, which are network endpoints, such as TCP/IP addresses, PS3™ DevKits or PlayStation®Vita DevKits.
- TimelineEditor: Relatively full-featured timeline editor whose components have been used in real production tools.
- TreeListControl: Demonstrates the usage of TreeListControl/TreeListItemRenderer classes to display and edit hierarchical data in a tree view with details in columns.
- TreeListEditor: Shows how to create and add entries to various kinds of Tree lists, including a hierarchical list to display selected folders' underlying folders and files.
- UsingDirect2D: Demonstrates how to use Direct2D and ATF classes that support Direct2D.
- UsingDom: Simple demo of basic DOM use.
- 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