Programming Reference


Appendix B. OpenDoc Shell Classes and Methods

This appendix describes the classes composing the OpenDoc shell. This information is separated from the main body of the Class Reference for these reasons.

The OpenDoc shell is implemented as a class hierarchy in which shell behavior is abstracted into layers that provide differing amounts of control over the application environment.

With three levels in the shell hierarchy, there are three scenarios for creating new shell applications. An application with substantially different behavior than the provided shell would likely need to be a new subclass of OpenDocShell, providing an alternative to ApplicationShell. An application with minor changes in behavior could be a subclass of the ApplicationShell or one of the platform shells, depending on how platform-dependent issues are addressed.

There is also an associated class, DocumentManager, that is not a part of the shell class hierarchy, but is used by the shell to manage individual documents. An object of the DocumentManager class manages an active OpenDoc document. It provides interfaces for creating, opening, saving, and closing documents.


[ Top | Previous | Next | Contents | Index | Documentation Homepage ]