Beispiel #1
0
 def __init__(self):
     """ The plugin class is instantiated with no arguments.
         Instantiating is done regardless wheather a plugin is
         enabled or disabled. So it is recommended to have the
         resource allocation in the activate(...) method and
         deallocation of them in the deactivate(...) method.
     """
     CDMPluginBase.__init__(self)
     return
Beispiel #2
0
    def deactivate(self):
        """ The plugin may override the method to do specific
            plugin deactivation handling.

            Note: if overridden then first do the plugin specific deactivation
                  handling and then call the base class deactivate()
        """
        CDMPluginBase.deactivate(self)
        return
Beispiel #3
0
    def deactivate( self ):
        """ The plugin may override the method to do specific
            plugin deactivation handling.

            Note: if overridden then first do the plugin specific deactivation
                  handling and then call the base class deactivate()
        """
        CDMPluginBase.deactivate( self )
        return
Beispiel #4
0
 def __init__( self ):
     """ The plugin class is instantiated with no arguments.
         Instantiating is done regardless wheather a plugin is
         enabled or disabled. So it is recommended to have the
         resource allocation in the activate(...) method and
         deallocation of them in the deactivate(...) method.
     """
     CDMPluginBase.__init__( self )
     return
Beispiel #5
0
    def activate(self, ideSettings, ideGlobalData):
        """ The plugin may override the method to do specific
            plugin activation handling.

            ideSettings - reference to the IDE Settings singleton
                          see codimension/src/utils/settings.py
            ideGlobalData - reference to the IDE global settings
                            see codimension/src/utils/globals.py

            Note: if overridden then call the base class activate() first.
                  Plugin specific activation handling should follow it.
        """
        CDMPluginBase.activate(self, ideSettings, ideGlobalData)
        return
Beispiel #6
0
    def activate( self, ideSettings, ideGlobalData ):
        """ The plugin may override the method to do specific
            plugin activation handling.

            ideSettings - reference to the IDE Settings singleton
                          see codimension/src/utils/settings.py
            ideGlobalData - reference to the IDE global settings
                            see codimension/src/utils/globals.py

            Note: if overridden then call the base class activate() first.
                  Plugin specific activation handling should follow it.
        """
        CDMPluginBase.activate( self, ideSettings, ideGlobalData )
        return
Beispiel #7
0
 def getConfigFunction(self):
     """ The plugin can provide a function which will be called when the
         user requests plugin configuring.
         If a plugin does not require any config parameters then None
         should be returned.
         By default no configuring is required.
     """
     return CDMPluginBase.getConfigFunction(self)
Beispiel #8
0
 def getConfigFunction( self ):
     """ The plugin can provide a function which will be called when the
         user requests plugin configuring.
         If a plugin does not require any config parameters then None
         should be returned.
         By default no configuring is required.
     """
     return CDMPluginBase.getConfigFunction( self )