Web Link subsystem

The Web Link subsystem is a document component that displays its corresponding range of styled text and responds to user activation.


Most of the functionality supplied by this subsystem is provided by existing CommonPoint frameworks. The TTextControl object displays a range of styled text in the view. For selection and model semantics, it uses a TAtomicModelOn object which provides cut-and-paste and drag and drop features. MGUIBundle provides support for the Presentation framework and TURL provides data
access functions.

In addition to these features, this subsystem needs to:

When this subsystem instantiates a link, it stores a model reference that doesn't point to an existing model. When TWebModel inserts all the links into its text, it indicates the model in which they are contained (after creation), and sets each TModelReference.

When an end user activates a link, WebRunner Sample needs to check its TModelReference to determine whether to use in- or out-of-place semantics for the activating link. It accomplishes this by calling TModelReference::IsDefined. If the reference is undefined, this link is not embedded within a WebRunner Sample document.


[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