home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
miscprog
/
actormdi
/
mdifilea.cls
< prev
next >
Wrap
Text File
|
1990-12-06
|
977b
|
31 lines
/* MDIFILEA.CLS - This class contains all necessary
methods to initialize an MDI File Window application.
It can be used to seal off the MDI File Window
classes and create a stand alone application. */!!
inherit(Application, #MDIFileApp, nil, 2, nil)!!
now(class(MDIFileApp))!!
/* Remove unwanted Globals and Classes that are
part of the Actor development environment. */
Def removeActor(self)
{ do(#(ClassList MethodList VarList ClVarDialog
ClassDialog DebugDialog DirtyCLD SealDialog
AboutWindow WorkWindow
ToolWindow Browser MethodBrowser DebugWindow
Inspector BrowEdit DBBrowEdit DebugEdit WorkSpace),
{using(g) removeGlobal(self, g);
});
}!!
now(MDIFileApp)!!
/* Create and show the application mainWindow
Load a data file, if necessary. */
Def init(self, cmdLine)
{ init(self:ancestor, cmdLine);
mainWindow := newMain(MDIFileFrame, "FileEditMenu", "File Editor", nil);
show(mainWindow, CmdShow);
}!!