-
Notifications
You must be signed in to change notification settings - Fork 263
ATF Tree List Editor Sample
Gary edited this page Mar 17, 2015
·
3 revisions
TreeListEditor is a sample editor that shows how to use various tree lists.
To learn about the programming of this sample, see Tree List Editor Programming Discussion.
- Use of Managed Extensibility Framework (MEF) to put applications together and to extend a tree list view.
- Use of the application shell framework, including CommandService, SettingsService, ControlHostService and WindowLayoutService.
- Use of TreeListView and TreeListViewEditor to display a list, a checked list, a virtual list and a tree list on the main dialog's tabs.
- Use of the ITreeListView, IItemView, and ISelectionContext interfaces to contain and select generated list items.
- Use of the IComparer interface to sort column lists.
- Double-click the TreeListEditor.exe in \bin\wws_atf\Release.
- A dialog appears with a tab for every list type demonstrated.
- File: choose Exit to exit TreeListEditor.
- Edit:
- Copy: Automatically added by ATF; does nothing in this sample.
- Select All: Automatically added by ATF; does nothing in this sample
- Keyboard Shortcuts: use the Customize Keyboard Shortcuts window to set up keyboard shortcuts.
- Load or Save Settings: use the Load and Save Settings window to save current TreeListEditor application settings or load application settings from a file.
- Preferences: set application preferences, such as command icon size.
- Window:
- Layouts:
- Save Layout As...: associate the current layout with a name.
- Manage Layouts...: show a list of layouts and manage the list.
- Tile Horizontal: tile the list type tabs horizontally.
- Tile Vertical: tile the list type tabs vertically.
- Tile Overlapping: overlap the list type tabs horizontally.
- List of checked menu items; check to display the corresponding control.
- Layouts:
Click on the tab of the list you want to try out. The four list tabs each have a set of buttons to randomly generate flat lists of items. In addition, the Tree List tab has a button to add a hierarchical list. The Raw TreeListView Usage tab allows you to select folders to display their file hierarchy. You can remove a selected item from the Tree List and Raw TreeListView Usage tabs.
Modules perform these functions:
- Program.cs: Contains the Main program. It creates a TypeCatalog listing the ATF and internal classes used.
- Editors.cs: Sets up the user interface elements on the List, Checked List, Virtual List and Tree List tabs.
- RawUsage.cs: Sets up the user interface elements on the Raw TreeListView Usage tab.
- DataGenerator.cs: Generates data for the tabs. Handles all button click events. Sets up sorting for column entries. Sets up the Property Editor.
- 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