CDViewerBase.mesa
Copyright © 1983, 1985 by Xerox Corporation. All rights reserved.
by Christian Jacobi, October 13, 1983 2:51 pm
last edited by Christian Jacobi, November 13, 1985 12:40:50 pm PST
DIRECTORY
ViewerClasses USING [GetProc, SetProc];
CDViewerBase: CEDAR DEFINITIONS =
BEGIN
This module allows independent implementation of different op atoms for usage of ViewerOps.GetViewer or ViewerOps.SetViewer to be used on ChipNDale viewers
Manual registration of op atoms is required to avoid collisions.
See ChipNDale's documentation for the appropriate file.
--To be used by the implementation of any particular op feature.
ImplementGetProc: PROC [op: ATOM, proc: ViewerClasses.GetProc];
ImplementSetProc: PROC [op: ATOM, proc: ViewerClasses.SetProc];
--To be used by the implementation of ChipNDale's viewer class only.
GetProc: ViewerClasses.GetProc;
SetProc: ViewerClasses.SetProc;
END.