Chapter 3 The Objective Edit Architecture

Class Hierarchy

Objective Edit is an MFC extension class library that combines several classes into a library of MFC classes that you can link into an MFC application. This chapter briefly describes some of the classes and methods available to you. For more information, please refer to the Objective Edit Class Reference.

Objective Edit is built on top of the model-view-controller (MVC) architecture. This architecture affords greater flexibility for customizing than the MFC document/view architecture does, and provides the framework necessary for multiple undo and redo operation support.

The Stingray Foundation Library's implementation of MVC is a scalable architecture that supports the development of lightweight graphical components, and provides a flexible supplement or alternative to MFC's document/view architecture. MVC is designed to complement and extend existing frameworks, and it works seamlessly with both ATL and MFC. In addition to providing a solid foundation on which to build graphical components and document management services, SFL's MVC adds support for scrolling, zooming, coordinate mapping, and command undo and redo.

Note: For details about the MVC architecture, please refer to the Stingray Foundation Library User Guide.

The major classes in Objective Edit include: SECEdit, SECEditBlockBuffer, SECEditCtrl, SECEditView, SECEditController, and SECEditLangConfig. We discuss each of these classes in the following sections.