-
Notifications
You must be signed in to change notification settings - Fork 263
Context Related Classes
Gary edited this page Aug 27, 2014
·
1 revision
Some classes use context interfaces or classes for their operation, so are good examples of context usage. The classes discussed here fall in a few general categories. These classes are nearly all MEF components.
These classes list various items in a tree type control.
Class | Context Interfaces or Classes Used | Description |
---|---|---|
LayerLister
|
ILayeringContext
|
Editor that presents an ILayeringContext using a TreeControl .
|
ProjectLister
|
IHierarchicalInsertionContext
|
Editor providing a hierarchical tree control, listing the contents of a loaded document. |
PrototypeLister
|
IPrototypingContext
|
Editor that presents an IPrototypingContext using a TreeControl .
|
TemplateLister
|
ITemplatingContext
|
Editor that presents an ITemplatingContext using a TreeControl .
|
These classes provide commands for applications.
Class | Context Interfaces or Classes Used | Description |
---|---|---|
GroupingCommands
|
ViewingContext
|
Component that defines circuit-specific commands for Group and Ungroup commands. Grouping takes modules and the connections between them and turns them into a single element that is equivalent. |
LayeringCommands
|
LayeringContext
|
Component to add an "Add Layer" command to an application. |
SourceControlCommands
|
ISourceControlContext
|
Component that implements source control commands. |
StandardLayoutCommands
|
ILayoutContext
|
Component that provides standard layout commands, like align left, or make widths equal. The component tries to work with the active context, and requires both the ISelectionContext and ILayoutContext interfaces to be implemented on the context. Further, it examines the selected items to see if the layout context can set their x, y, width, and height. Any commands that can be done on the selection are enabled in the GUI. All commands are also available programmatically through public methods.
|
StandardLockCommands
|
ILockingContext
|
Implements standard Lock and Unlock commands on contexts implementing the ILockingContext interface.
|
StandardShowCommands
|
IVisibilityContext
|
Class that implements the standard Show commands: Show Selected, Hide Selected, Show Last Hidden, Show All, Isolate. |
StandardViewCommands
|
IViewingContext
|
Class that implements the standard viewing commands on contexts implementing the IViewingContext interface.
|
TemplatingCommands
|
TemplatingContext
|
Component to add an "Add Template Folder" command to an application. |
These classes provide property editing functionality for applications.
Class | Context Interfaces or Classes Used | Description |
---|---|---|
GridControl
|
PropertyEditingContext
|
Wrapper control for the spreadsheet-style GridView control, combining it with a toolbar. Use this as a replacement for the .NET System.Windows.Forms.DataGridView .
|
GridPropertyEditor
|
SelectionPropertyEditingContext
|
Component to edit DOM object values and attributes using GridControl .
|
PropertyEditingCommands
|
SelectionPropertyEditingContext
|
Component to provide property editing commands that can be used inside PropertyGrid -like controls. It defines context-menu commands to reset the current property and all properties.
|
PropertyEditingControl
|
PropertyEditorControlContext , TypeDescriptorContext
|
Universal property editing control that can be embedded in complex property editing controls. It uses TypeConverter s and UITypeEditor s to provide a GUI for every kind of .NET property.
|
PropertyEditor
|
SelectionPropertyEditingContext
|
Component to edit DOM object values and attributes using PropertyGrid .
|
PropertyGrid
|
PropertyEditingContext
|
Wrapper control for a two-column PropertyGridView combined with a toolbar. Use this as a replacement for the .NET System.Windows.Forms.PropertyGrid .
|
PropertyGridView
|
TypeDescriptorContext
|
Control for displaying properties in a two-column grid, with property names on the left and property values on the right. |
PropertyView
|
IPropertyEditingContext
|
Base class for complex property editing controls, providing formats, fonts, data binding, persistent settings, and category/property information. |
Various value editors |
PropertyEditorControlContext
|
A value editor calls the IPropertyEditor interface's GetEditingControl() method, which takes a PropertyEditorControlContext as its parameter. GetEditingControl() uses the context to construct the associated control. For more information, see Value Editors.
|
A few other classes that use contexts are mentioned here.
Class | Context Interfaces or Classes Used | Description |
---|---|---|
CircuitControlRegistry
|
ViewingContext , CircuitEditingContext
|
Component to provide a convenient service to register/unregister circuit controls created for circuit groups, to synchronize UI updates for circuit controls due to group renaming, to insert/delete circuit elements, and to close documents/controls. |
DomNodeQueryable
|
IQueryableContext , IQueryableReplaceContext , IQueryableResultContext
|
DOM adapter enabling DomNode s to be searched, to supply the search results, and to have those results replaced with other data.
|
- What is a Context: Define contexts and discuss how ATF provides services for them.
-
Context Registry: The
ContextRegistry
component tracks all context objects in an application. - Context Interfaces: ATF's context interfaces and their usage.
- Context Classes: Classes that implement services for a context.
- Context Related Classes: Classes that use context interfaces and classes for their operation.
- Implementing a Context Interface: Implementing context interfaces.
- 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