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.about = AboutPage(self.root)
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
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