Granularity of selection

The Compound Document framework manages data at the granularity of whole models and presenter states, and provides default functionality that operates at this granularity. Selections are no exception. Model selection provides protocol and implementation for specifying the selected model while presenter state selections provide a similar interface for specifying a selected presenter state.

For example, an implementor of a derived class of TModel will provide a corresponding derived class of TModelSelection that supports specification of the data contained within the model at a finer granularity than the whole model. This allows commands to be applied to a subset of the data in a model, rather than the entire model.


[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