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
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
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
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
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
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
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)
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 )