<* PRAGMA LL *>A companion interface to
Editor.i3
that allows processing the
UI
declarations. This is separated from Editor.i3
to allow
it to import View
without creating a cycle of imports among
the interfaces.
INTERFACEEditorUI ; IMPORT View, Editor, VBT, JunoScope; PROCEDURE CompileUI( rt: View.Root; e: Editor.T; time: VBT.TimeStamp; scp: JunoScope.T; ): BOOLEAN;
Should be called immediately afterEditor.Compile(e, ts, scp, nm, ent)
returns TRUE, and should be called withscp := ent.scp
. Processes theUI
declarations ine
and creates and installs the appropriate buttons and menus and returnsTRUE
, or displays an error to the user and returnsFALSE
.
END EditorUI.