def initialize (self): global _ _ = get_() self._menuToolsController.initialize() self._commandController.initialize() self._owner.application.onPreferencesDialogCreate += self.__onPreferencesDialogCreate
def initialize(self): global _ _ = get_() self._menuToolsController.initialize() self._commandController.initialize() self._owner.application.onPreferencesDialogCreate += self.__onPreferencesDialogCreate
def initialize(self): global _ _ = get_() self._renamer = Renamer(self._application) self._application.onForceSave += self._renamer.RenamePage self._application.onPreferencesDialogCreate += self.__onPreferencesDialogCreate self._application.onPageViewCreate += self.__onPageViewCreate self._application.onPageViewDestroy += self.__onPageViewDestroy self._application.onWikiParserPrepare += self.__onWikiParserPrepare
def initialize (self): global _ _ = get_() self._renamer = Renamer(self._application) self._application.onForceSave += self._renamer.RenamePage self._application.onPreferencesDialogCreate += self.__onPreferencesDialogCreate self._application.onPageViewCreate += self.__onPageViewCreate self._application.onPageViewDestroy += self.__onPageViewDestroy self._application.onWikiParserPrepare += self.__onWikiParserPrepare
def __init__(self, parent, config): """ parent - родитель панели (должен быть wx.Treebook) config - настройки из plugin._application.config """ super(PreferencePanel, self).__init__(parent) global _ _ = get_() self.__createGui() self.__controller = PrefPanelController(self, config) self._setScrolling()
def __init__ (self, parent, config): """ parent - родитель панели (должен быть wx.Treebook) config - настройки из plugin._application.config """ super (PreferencePanel, self).__init__ (parent) global _ _ = get_() self.__createGui() self.__controller = PrefPanelController (self, config) self._setScrolling()
def initialize (self): global _ _ = get_() self._correctSysPath() self._application.onPageDialogPageFactoriesNeeded += self._onPageDialogPageFactoriesNeeded self._application.onPageViewDestroy += self._onPageViewDestroy self._application.onPageViewCreate += self._onPageViewCreate self._registerHtmlProcessors() if self._application.mainWindow is not None: self._registerActions () self._guiController.initialize() FactorySelector.addFactory (WebPageFactory())
def initialize(self): global _ _ = get_() self._correctSysPath() self._application.onPageDialogPageFactoriesNeeded += self._onPageDialogPageFactoriesNeeded self._application.onPageViewDestroy += self._onPageViewDestroy self._application.onPageViewCreate += self._onPageViewCreate self._application.onPageUpdateNeeded += self._onPageUpdateNeeded self._registerHtmlProcessors() if self._application.mainWindow is not None: self._registerActions() self._guiController.initialize() FactorySelector.addFactory(WebPageFactory())
def __init__ (self, application): self._application = application global _ _ = get_()