Skip to content

ATF Namespaces

Gary edited this page Sep 29, 2014 · 4 revisions

ATF is organized under a single namespace, Sce.Atf, which contains numerous nested namespaces.

Each namespace has an emphasis, although this is not rigid. Key namespaces are described below. Those marked * are especially important.

Some namespaces, such as Sce.Atf and Sce.Atf.Applications, are in more than one assembly. Others, such as Sce.Atf.Wpf, are in a single assembly (Atf.Gui.Wpf).

  • *Sce.Atf: Provide a variety of components, utilities, and interfaces. For example, it contains general purpose file dialogs, loggers, file utilities, GDI utilities, Windows® interoperability functions, LINQ (Language Integrated Query) classes, and math utilities. It contains major interfaces, such as IDocument, IInitializable, and the context interfaces IValidationContext, IObservableContext, ITransactionContext, and ILockingContext.
  • *Sce.Atf.Adaptation: Classes that specialize in adapting objects to other types. It contains the interfaces IAdaptable and the key extension methods As<T>() and Cast<T>(). The Adaptation framework resides in this and the Sce.Atf.Controls.Adaptable namespace, so these namespaces provide adaptation support in ATF.
  • *Sce.Atf.Applications: This is the key namespace. Many key ATF components and interfaces reside here. This namespace provides a great variety of services, including many MEF components you can easily incorporate into applications.
  • Sce.Atf.Controls: Many of ATF's controls are here, including special purpose dialogs and various tree related controls. This namespace provides many controls not in standard .NET Windows® Forms, including controls for editing numbers and file paths, a canvas, and tree controls. Sce.Atf.Controls.Adaptable and Sce.Atf.Controls.Adaptable.Graphs also contain many controls.
    • *Sce.Atf.Controls.Adaptable: Controls with adapters, including the fundamental AdaptableControl. The Adaptation framework resides in this and the Sce.Atf.Adaptation namespace, so these namespaces provide adaptation support in ATF.
    • Sce.Atf.Controls.Adaptable.Graphs: Many classes that work with graphs, various controls using Direct2D. For more details, see Graphs in ATF.
    • Sce.Atf.Controls.PropertyEditing: Property editor controls and associated classes to edit many kinds of data.
    • Sce.Atf.Controls.Timelines: Timeline classes and interfaces that are UI-platform-agnostic (such as Windows® Forms or WPF).
    • Sce.Atf.Controls.Timelines.Direct2D: Classes for working with timeline elements, including a renderer, control, and manipulators, that are dependent on the Windows® Forms UI platform and use Direct2D to render timeline objects.
  • *Sce.Atf.Dom: Classes that allow you to use a DOM for application data, including the very important DomNode, DomNodeAdapter, and DomNodeType. The Document Object Model (DOM) framework is defined here.
  • Sce.Atf.Rendering: Facilities for rendering 3D graphics. These are used by the Level Editor tool in the WWS SDK.
    • Sce.Atf.Rendering.Dom: Classes that render data typically stored in a DOM, such as a 3D Scene. These are used by the Level Editor tool in the WWS SDK.
  • *Sce.Atf.Wpf: This and its nested namespaces provide WPF facilities.
    • Sce.Atf.Wpf.Applications: Variety of classes, components, and utilities for WPF. This namespace provides the Application Shell framework components used for WPF.
    • Sce.Atf.Wpf.Behaviors: Classes to adapt WPF behavior to ATF.
    • Sce.Atf.Wpf.Models: Provide services to manage controls that use the Model-View-Controller (MVC) design pattern in WPF. With the MVC control framework, you attach data controls to an underlying data model (usually the DOM) through adapter client classes that you define. The adapter client exposes, filters, and presents the data model in a way the control understands.

Topics in this section

Clone this wiki locally