当前位置: 首页>>代码示例>>Python>>正文


Python pluginbase.Plugin类代码示例

本文整理汇总了Python中outwiker.core.pluginbase.Plugin的典型用法代码示例。如果您正苦于以下问题:Python Plugin类的具体用法?Python Plugin怎么用?Python Plugin使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Plugin类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

 def __init__ (self, application):
     """
     application - экземпляр класса core.application.ApplicationParams
     """
     Plugin.__init__ (self, application)
     self.__version = u"1.7"
     self.__controler = Controller(self, application)
开发者ID:Jenyay,项目名称:outwiker,代码行数:7,代码来源:source_utf8.py

示例2: __init__

 def __init__(self, application):
     """
     application - экземпляр класса core.application.ApplicationParams
     """
     Plugin.__init__(self, application)
     self.__maxCommandIndex = 9
     self.SPOILER_TOOL_ID = u"PLUGIN_SPOILER_TOOL_ID"
开发者ID:theoden-dd,项目名称:outwiker,代码行数:7,代码来源:spoiler.py

示例3: __init__

 def __init__(self, application):
     """
     application - instance of core.application.ApplicationParams
     """
     from .controller import Controller
     Plugin.__init__(self, application)
     self.__controller = Controller(self, application)
开发者ID:Jenyay,项目名称:outwiker,代码行数:7,代码来源:plugin.py

示例4: __init__

    def __init__(self, application):
        """
        application - экземпляр класса core.application.ApplicationParams
        """
        Plugin.__init__(self, application)
        self._correctSysPath()

        from .controller import Controller
        self.__controller = Controller(self, application)
开发者ID:Jenyay,项目名称:outwiker,代码行数:9,代码来源:plugin.py

示例5: __init__

        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
开发者ID:s200999900,项目名称:outwiker,代码行数:10,代码来源:livejournal.py

示例6: __init__

    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()
开发者ID:LihMeh,项目名称:outwiker,代码行数:10,代码来源:testdebug.py

示例7: __init__

    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
开发者ID:theoden-dd,项目名称:outwiker,代码行数:11,代码来源:testdebug.py

示例8: __init__

        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
开发者ID:qyqx,项目名称:outwiker,代码行数:12,代码来源:statistics.py

示例9: __init__

    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()
开发者ID:Jenyay,项目名称:outwiker,代码行数:14,代码来源:plugin.py

示例10: __init__

 def __init__ (self, application):
     """
     application - экземпляр класса core.application.ApplicationParams
     """
     Plugin.__init__ (self, application)
开发者ID:Jenyay,项目名称:outwiker,代码行数:5,代码来源:testinvalid1.py

示例11: __init__

 def __init__(self, application):
     Plugin.__init__(self, application)
开发者ID:Jenyay,项目名称:outwiker,代码行数:2,代码来源:plugin.py

示例12: __init__

 def __init__ (self, application):
     Plugin.__init__ (self, application)
     self._url = u"http://jenyay.net/Outwiker/DebugPlugin"
开发者ID:qyqx,项目名称:outwiker,代码行数:3,代码来源:testdebug.py

示例13: __init__

 def __init__(self, application):
     """
     application - экземпляр класса core.application.ApplicationParams
     """
     Plugin.__init__(self, application)
     self.LIGHTBOX_TOOL_ID = u"PLUGIN_LIGHTBOX_TOOL_ID"
开发者ID:theoden-dd,项目名称:outwiker,代码行数:6,代码来源:lightbox.py


注:本文中的outwiker.core.pluginbase.Plugin类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。