-
Notifications
You must be signed in to change notification settings - Fork 263
ATF Diagram Editor Sample
Gary edited this page Mar 17, 2015
·
4 revisions
DiagramEditor combines the Circuit, FSM, and Statechart editors in a single application to show how multiple editors can share an application shell.
For a description of this editor's internals, see Diagram Editor Programming Discussion.
The newest features of each of the other editors may not be included, so if you are mainly interested in circuits, for example, please take a look at the CircuitEditor Sample.
- Multiple editors sharing the same ATF application shell and editor components.
- Double-click the DiagramEditor.exe in \bin\wws_atf\Release.
- The DiagramEditor window appears.
- Palette (Circuit Modules, FSM, Statecharts): the parts palette: this is the combined parts palette containing parts for designing circuit modules, finite state machines, and statecharts for your diagrams.
- Property Editor: edit the selected element's property in a list control.
- Grid Property Editor: edit the selected element's property in a grid control.
- Prototypes: lists the custom fragments that you define for use in your diagrams.
- Layers: lists layers and their elements.
- Canvas: define, view, and edit diagrams.
- File: create a new circuit, finite state machine, or statechart, open an existing circuit, finite state machine, or statechart, Save, Save as, Save all, Close, Print, Page Set-up, Print Preview, and Exit DiagramEditor.
- Edit: in addition to the standard editing functions (cut, copy, paste, undo/redo, and so on), Edit provides:
- 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 StatechartEditor application settings, or to load application settings from a file.
- Preferences: set application and document preferences, such as command icon size and auto-load the last active documents.
- View: choose Frame Selection or Frame All
- Format: determine the alignment and size of state elements.
- Window: select and deselect panes.
DiagramEditor opens with an empty canvas grid. Drag elements from the Palette onto the canvas to work with them. Click the tabs for the various panes to view and edit element properties.
To create a group within the circuit canvas:
- Select the circuit elements to be grouped.
- Select either Edit > Group, or click the Group button on the toolbar.
- Select the group.
- Click the Ungroup button on the toolbar.
- Select the diagram element(s) to include in the layer.
- Copy the selected diagram element (s) to the clipboard.
- Paste the diagram element(s) in the Layers pane.
- 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