ViewRegistry Class TIBCO Spotfire 6.5 API Reference
The ViewRegistry maps model types to view types for a given category of view type.
Inheritance Hierarchy

System Object
  ReadOnlyService
    ExtensionRegistry
      Spotfire.Dxp.Framework.ApplicationModel ViewRegistry

Namespace: Spotfire.Dxp.Framework.ApplicationModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax

public class ViewRegistry : ExtensionRegistry
Remarks

A view of a model object is typically used to display the state of the model object and to translate the interaction of the user to manipulations of the model object. Views are registered by overriding the RegisterViews(AddIn ViewRegistrar) method of the AddIn class.

The ViewRegistry offers support for creation of view object given a model object and a view type. When a view object is created, the ViewRegistry passes the model object as an argument to the constructor and thus allows the view object to bind to the model object. The ViewRegistry does not keep track of the view created instances.

The ViewRegistry is typically used by view object to create cildren views of model object deeper down in the model structure. For instance, the view object that displays a page in the Windows.Forms view uses the ViewRegistry to create Windows.Forms.Control-views of the visualizations on the page.

The ViewRegistry is available as a service.

Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also