The Meta-Environment API

asf-editor-listeners.tb

Go to the documentation of this file.
00001 #ifndef __ASF_EDITOR_LISTENERS__
00002 #define __ASF_EDITOR_LISTENERS__
00003 
00004 #include <asf-namespace.h>
00005 
00006 process StartASFEditor(Path: str, Area: area) is
00007 let
00008   ModuleId: module-id,
00009   Pid: int,
00010   Sid: session-id
00011 in
00012   MM-GetModuleIdByAttribute(ASF_NAMESPACE, "path", path(Path), ModuleId?)
00013   . create(EditEquations(ModuleId), Pid?)
00014   . TODO("And what if it didn't start? See term-editor-utils.tb")
00015   . rec-msg(equations-editor-started(ModuleId, Sid?))
00016   . snd-msg(te-set-selection(Sid, Area))
00017   . GoToEditorArea(Sid, Area)
00018 endlet
00019 
00020 #endif /* __ASF_EDITOR_LISTENERS__ */

Generated on Fri Sep 12 13:16:07 2008 for asfsdf-meta by  doxygen 1.4.6