-
Notifications
You must be signed in to change notification settings - Fork 263
ATF Tree List Control Sample
TreeListControl demonstrates the usage of TreeListControl/TreeListItemRenderer classes that can display and edit hierarchical data in a tree view with details in columns. This sample application does not use MEF or the ATF DOM and has no menus or tool buttons.
To learn about the programming of this sample, see Tree List Control Programming Discussion.
- Demonstrate using ATF's TreeListControl, which is a tree view on the left side; the right side has multiple columns to display data details for each tree item.
- Use TreeControlAdapter to populate hierarchical data to the TreeListControl.
- Open and load the CoolSUVs.xml file containing hierarchical SUV data by using the LINQ to XML API.
- Use StringDataEditor to display and edit string values.
- Use FloatDataEditor to display and edit float values (with optional slider support).
- Use ColorDataEditor to showcase editing data values using an external, arbitrary control to pick colors.
- Double-click the TreeListControl.exe in \bin\wws_atf\Release.
- A dialog appears displaying SUV data.
You can edit SUV names under the area nodes, as well as their weights under the "Weight" column. In the "Color" column, click on one of the colors to display a color picker in which you can select a new color and click "OK" to display the new color in the main dialog. Drag the slider to change the MSRP value displayed. Changed values are not saved to the XML file.
Modules perform these functions:
- Program.cs: Contains the Main program, which displays the Form.
- Form1.cs: Form class that creates and sets up the TreeListControl. It opens and loads the CoolSUVs.xml file containing SUV data.
- TreeView.cs: Provides a tree view of the XML document.
- 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