class documentation

class InlineCalculatorPlugin(PluginClass): (source)

View In Hierarchy

Undocumented

Method process_text Takes a piece of text and parses it for expressions to evaluate. Returns the text with result inserted or replaced. Will raise an exception on errors.
Method safe_eval Safe evaluation of a python expression
Class Variable plugin_info Undocumented
Method _process_line Undocumented
Method _process_multiline Undocumented

Inherited from PluginClass:

Class Method check_dependencies Checks what dependencies are met and gives details for display in the preferences dialog
Class Method check_dependencies_ok Checks minimum dependencies are met
Class Method discover_classes Yields a list of classes derived from baseclass and defined in the same module as the plugin
Class Method lookup_subclass No summary
Static Method form_fields Undocumented
Method __init__ Undocumented
Method destroy Destroy the plugin object and all extensions It is only called when a user actually disables the plugin, not when the application exits.
Method notebook_properties Undocumented
Method teardown Cleanup method called by destroy(). Can be implemented by sub-classes.
Class Variable plugin_notebook_properties Undocumented
Class Variable plugin_preferences Undocumented
Instance Variable extension_classes Undocumented
Instance Variable extensions Undocumented
Instance Variable preferences Undocumented
Property config_key The name of section used in the config files to store the preferences for this plugin.
Static Method _init_config Undocumented

Inherited from ConnectorMixin (via PluginClass):

Method connectto Connect to signals of another object E.g.:
Method connectto_all Convenience method to combine multiple calls to connectto().
Method disconnect_all Disconnect all signals that have been connected with connectto and friends. Typically called when you want to destroy this object.
Method disconnect_from Disc all signals that have been connected with connectto and friends to a specific object.
Method _disconnect_from Undocumented
Instance Variable _connected_signals Undocumented
def process_text(self, text): (source)
Takes a piece of text and parses it for expressions to evaluate. Returns the text with result inserted or replaced. Will raise an exception on errors.
def safe_eval(self, expression): (source)
Safe evaluation of a python expression
plugin_info = (source)

Undocumented

def _process_line(self, line): (source)

Undocumented

def _process_multiline(self, text): (source)

Undocumented