Added a File->Generate OSA Suite command.

This commit is contained in:
Jack Jansen 2003-03-31 15:11:14 +00:00
parent 71ad9fb74f
commit aca44e2771
1 changed files with 5 additions and 0 deletions

View File

@ -86,6 +86,7 @@ class PythonIDE(Wapplication.Application):
saveasappletitem = FrameWork.MenuItem(m, "Save as Applet"+ELIPSES, None, 'save_as_applet') saveasappletitem = FrameWork.MenuItem(m, "Save as Applet"+ELIPSES, None, 'save_as_applet')
FrameWork.Separator(m) FrameWork.Separator(m)
instmgritem = FrameWork.MenuItem(m, "Package Manager", None, 'openpackagemanager') instmgritem = FrameWork.MenuItem(m, "Package Manager", None, 'openpackagemanager')
gensuiteitem = FrameWork.MenuItem(m, "Generate OSA Suite...", None, 'gensuite')
if not runningOnOSX(): if not runningOnOSX():
# On OSX there's a special "magic" quit menu, so we shouldn't add # On OSX there's a special "magic" quit menu, so we shouldn't add
# it to the File menu. # it to the File menu.
@ -352,6 +353,10 @@ class PythonIDE(Wapplication.Application):
import PackageManager import PackageManager
PackageManager.PackageBrowser() PackageManager.PackageBrowser()
def domenu_gensuite(self):
import gensuitemodule
gensuitemodule.main_interactive()
def makehelpmenu(self): def makehelpmenu(self):
hashelp, hasdocs = self.installdocumentation() hashelp, hasdocs = self.installdocumentation()
self.helpmenu = m = self.gethelpmenu() self.helpmenu = m = self.gethelpmenu()