From aca44e277170fed72668ba18430c8b53c7f6f499 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 31 Mar 2003 15:11:14 +0000 Subject: Added a File->Generate OSA Suite command. --- Mac/Tools/IDE/PythonIDEMain.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py index fec8620..fa71cb7 100644 --- a/Mac/Tools/IDE/PythonIDEMain.py +++ b/Mac/Tools/IDE/PythonIDEMain.py @@ -86,6 +86,7 @@ class PythonIDE(Wapplication.Application): saveasappletitem = FrameWork.MenuItem(m, "Save as Applet"+ELIPSES, None, 'save_as_applet') FrameWork.Separator(m) instmgritem = FrameWork.MenuItem(m, "Package Manager", None, 'openpackagemanager') + gensuiteitem = FrameWork.MenuItem(m, "Generate OSA Suite...", None, 'gensuite') if not runningOnOSX(): # On OSX there's a special "magic" quit menu, so we shouldn't add # it to the File menu. @@ -352,6 +353,10 @@ class PythonIDE(Wapplication.Application): import PackageManager PackageManager.PackageBrowser() + def domenu_gensuite(self): + import gensuitemodule + gensuitemodule.main_interactive() + def makehelpmenu(self): hashelp, hasdocs = self.installdocumentation() self.helpmenu = m = self.gethelpmenu() -- cgit v0.12