Beispiel #1
0
 def __init__(self, application):
     self._application = application
     self._appearancePanel = None
     self._appearanceController = None
     self._spellController = SimpleSpellController(
         self._application,
         HtmlWikiPage.getTypeString())
 def __onPageDialogPageTypeChanged(self, page, params):
     if params.pageType == HtmlWikiPage.getTypeString():
         self._addTab(params.dialog)
     elif self._appearancePanel is not None:
         params.dialog.removeController(self._appearanceController)
         params.dialog.removePanel(self._appearancePanel)
         self._appearancePanel = None
         self._appearanceController = None
Beispiel #3
0
 def __onPageDialogPageTypeChanged(self, page, params):
     if params.pageType == HtmlWikiPage.getTypeString():
         self._addTab(params.dialog)
     elif self._appearancePanel is not None:
         params.dialog.removeController(self._appearanceController)
         params.dialog.removePanel(self._appearancePanel)
         self._appearancePanel = None
         self._appearanceController = None
 def initialize(self, page):
     if page.getTypeString() == HtmlWikiPage.getTypeString():
         self._bindEvents()
Beispiel #5
0
 def __init__(self, application):
     self._application = application
     self._appearancePanel = None
     self._appearanceController = None
     self._spellController = SimpleSpellController(
         self._application, HtmlWikiPage.getTypeString())
Beispiel #6
0
 def initialize (self, page):
     if page.getTypeString() == HtmlWikiPage.getTypeString():
         self._bindEvents()