本文整理汇总了Python中outwiker.core.pluginbase.Plugin.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Plugin.__init__方法的具体用法?Python Plugin.__init__怎么用?Python Plugin.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类outwiker.core.pluginbase.Plugin
的用法示例。
在下文中一共展示了Plugin.__init__方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__ (self, application):
"""
application - экземпляр класса core.application.ApplicationParams
"""
Plugin.__init__ (self, application)
self.__version = u"1.7"
self.__controler = Controller(self, application)
示例2: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__(self, application):
"""
application - экземпляр класса core.application.ApplicationParams
"""
Plugin.__init__(self, application)
self.__maxCommandIndex = 9
self.SPOILER_TOOL_ID = u"PLUGIN_SPOILER_TOOL_ID"
示例3: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__(self, application):
"""
application - instance of core.application.ApplicationParams
"""
from .controller import Controller
Plugin.__init__(self, application)
self.__controller = Controller(self, application)
示例4: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__(self, application):
"""
application - экземпляр класса core.application.ApplicationParams
"""
Plugin.__init__(self, application)
self._correctSysPath()
from .controller import Controller
self.__controller = Controller(self, application)
示例5: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__ (self, application):
"""
application - экземпляр класса core.application.ApplicationParams
"""
Plugin.__init__ (self, application)
self.ID_TOOLBAR = u"livejournal"
self.ID_LJUSER = u"PLUGIN_LIVEJOURNAL_LJUSER_ID"
self.ID_LJCOMMUNITY = u"PLUGIN_LIVEJOURNAL_LJCOMMUNITY_ID"
self.__toolbarCreated = False
示例6: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__ (self, application):
Plugin.__init__ (self, application)
self._url = u"http://jenyay.net/Outwiker/DebugPlugin"
self._watcher = EventsWatcher (self._application)
self._timer = Timer()
self.ID_PLUGINSLIST = wx.NewId()
self.ID_BUTTONSDIALOG = wx.NewId()
self.ID_START_WATCH_EVENTS = wx.NewId()
self.ID_STOP_WATCH_EVENTS = wx.NewId()
示例7: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__ (self, application):
Plugin.__init__ (self, application)
self._url = u"http://jenyay.net/Outwiker/DebugPlugin"
self._watcher = EventsWatcher (self._application)
self._enablePreProcessing = False
self._enablePostProcessing = False
self._enableOnHoverLink = False
self._enableOnLinkClick = False
self._enableOnEditorPopup = False
self._enableOnSpellChecking = True
示例8: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__ (self, application):
"""
application - экземпляр класса core.application.ApplicationParams
"""
Plugin.__init__ (self, application)
self.ID_PAGE_STAT = wx.NewId()
self.ID_TREE_STAT = wx.NewId()
self._separatorMenuItem = None
self._pageStatMenuItem = None
self._treeStatMenuItem = None
示例9: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__(self, application):
Plugin.__init__(self, application)
self._url = u"https://jenyay.net/Outwiker/DebugPlugin"
self._watcher = EventsWatcher(self._application)
self._timer = Timer()
self._startWikiOpenTime = None
self._prePostContentPrefix = "'''DEBUG PrePostContent'''"
self.ID_PLUGINSLIST = wx.NewId()
self.ID_BUTTONSDIALOG = wx.NewId()
self.ID_START_WATCH_EVENTS = wx.NewId()
self.ID_STOP_WATCH_EVENTS = wx.NewId()
self.ID_RAISE_EXCEPTION = wx.NewId()
self.ID_SHOW_TOASTER = wx.NewId()
示例10: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__ (self, application):
"""
application - экземпляр класса core.application.ApplicationParams
"""
Plugin.__init__ (self, application)
示例11: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__(self, application):
Plugin.__init__(self, application)
示例12: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__ (self, application):
Plugin.__init__ (self, application)
self._url = u"http://jenyay.net/Outwiker/DebugPlugin"
示例13: __init__
# 需要导入模块: from outwiker.core.pluginbase import Plugin [as 别名]
# 或者: from outwiker.core.pluginbase.Plugin import __init__ [as 别名]
def __init__(self, application):
"""
application - экземпляр класса core.application.ApplicationParams
"""
Plugin.__init__(self, application)
self.LIGHTBOX_TOOL_ID = u"PLUGIN_LIGHTBOX_TOOL_ID"