コード例 #1
0
ファイル: webserver.py プロジェクト: kohnle-lernmodule/palama
 def __init__(self, application):
     """
     Initialize
     """
     self.application = application
     self.config      = application.config
     self.tempWebDir  = application.tempWebDir
     self.root        = PackageRedirectPage(self)   
     self.editor      = EditorPage(self.root)
     self.preferences = PreferencesPage(self.root)
     self.xliffexportpreferences = XliffExportPreferencesPage(self.root)
     self.xliffimportpreferences = XliffImportPreferencesPage(self.root)
     self.about       = AboutPage(self.root)
コード例 #2
0
 def __init__(self, application, packagePath=None):
     """
     Initialize
     """
     self.application = application
     self.config = application.config
     self.tempWebDir = application.tempWebDir
     self.root = PackageRedirectPage(self, packagePath)
     self.editor = EditorPage(self.root)
     self.stylemanager = StyleManagerPage(self.root)
     self.preferences = PreferencesPage(self.root)
     self.xliffexportpreferences = XliffExportPreferencesPage(self.root)
     self.xliffimportpreferences = XliffImportPreferencesPage(self.root)
     self.dirtree = DirTreePage(self.root)
     self.about = AboutPage(self.root)
     self.quit = QuitPage(self.root)
     self.iecmwaring = IECMWarningPage(self.root)
     self.monitoring = False
コード例 #3
0
ファイル: webserver.py プロジェクト: jsanchez91/iteexe
 def __init__(self, application, packagePath=None):
     """
     Initialize
     """
     self.application = application
     self.config = application.config
     self.tempWebDir = application.tempWebDir
     self.root = PackageRedirectPage(self, packagePath)
     self.editor = EditorPage(self.root)
     self.stylemanager = StyleManagerPage(self.root)
     self.preferences = PreferencesPage(self.root)
     self.xliffimportpreferences = XliffImportPreferencesPage(self.root)
     self.dirtree = DirTreePage(self.root)
     self.about = AboutPage(self.root)
     self.releasenotes = ReleaseNotesPage(self.root)
     self.styledesigner = StyleDesigner(self.root)
     # jrf - legal notes
     self.legal = LegalPage(self.root)
     self.quit = QuitPage(self.root)
     self.iecmwaring = IECMWarningPage(self.root)
     self.oauth = OauthPage(self.root)
     self.monitoring = False