Command and selection classes

The Compound Document framework provides standard command classes and introduces the concept of selections implemented by the selection classes. A selection is used to specify the data on which the standard command classes should operate.


TCommand is the base class from which data commands are derived.

TDocumentComponentCommandBinding is the base class that defines the interface for commands that are bound to a selection. All document commands must be bound to a selection (to permit collaboration, recovery, and undo). It provides the necessary mechanisms for managing and executing commands on model or presenter selections.

The following three classes all provide analogous interfaces. The data that commands operate on can be model data, presenter data, or both at the
same time:


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker