Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
qt_gui.plugin_manager.PluginManager Class Reference
Inheritance diagram for qt_gui.plugin_manager.PluginManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def close_application
def discover
def find_plugins_by_name
def get_plugin_descriptor
def get_plugins
def is_plugin_running
def load_plugin
def reload_plugin
def restore_settings
def restore_settings_without_plugins
def save_settings
def set_main_window
def set_minimized_dock_widgets_toolbar
def unload_plugin

Static Public Attributes

tuple close_application_signal = Signal()
int discovery_cache_max_age = 60
tuple plugin_help_signal = Signal(object)
tuple plugins_about_to_change_signal = Signal()
tuple plugins_changed_signal = Signal()
tuple save_settings_completed_signal = Signal()

Private Member Functions

def _add_running_plugin
def _close_application_save_callback
def _close_application_shutdown_callback
def _close_application_shutdown_plugins
def _close_application_signal
def _discover
def _emit_load_plugin_completed
def _emit_plugin_help_signal
def _load_plugin_completed
def _load_plugin_load
def _load_plugin_restore
def _next_serial_number
def _reload_plugin_load
def _reload_plugin_restore
def _reload_plugin_save
def _reload_plugin_schedule_load
def _reload_plugin_shutdown
def _reload_plugin_unload
def _remove_running_plugin
def _restore_plugin_settings
def _restore_running_plugins_get_plugins
def _restore_settings_load_missing
def _restore_settings_load_missing_callback
def _restore_settings_restore
def _restore_settings_restore_callback
def _restore_settings_save_obsolete
def _restore_settings_unload_obsolete
def _restore_settings_unload_obsolete_callback
def _save_plugin_settings
def _save_settings
def _save_settings_callback
def _shutdown_plugin
def _store_running_plugins
def _unload_plugin
def _unload_plugin_completed
def _unload_plugin_shutdown
def _unload_plugin_unload

Private Attributes

 _application_context
 _container_manager
 _dbus_service
 _global_settings
 _main_window
 _minimized_dock_widgets_toolbar
 _number_of_ongoing_calls
 _perspective_settings
 _plugin_descriptors
 _plugin_menu
 _plugin_provider
 _running_plugins
 _settings

Static Private Attributes

tuple _deferred_reload_plugin_signal = Signal(str)

Detailed Description

Manager of plugin life cycle.
It creates a specific `PluginHandler` for each plugin instance and maintains the perspective specific set of running plugins.

Definition at line 46 of file plugin_manager.py.


Constructor & Destructor Documentation

def qt_gui.plugin_manager.PluginManager.__init__ (   self,
  plugin_provider,
  settings,
  application_context,
  settings_prefix = '' 
)

Definition at line 62 of file plugin_manager.py.


Member Function Documentation

def qt_gui.plugin_manager.PluginManager._add_running_plugin (   self,
  instance_id,
  handler 
) [private]

Definition at line 231 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._close_application_save_callback (   self,
  instance_id = None 
) [private]

Definition at line 423 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._close_application_shutdown_callback (   self,
  instance_id = None 
) [private]

Definition at line 437 of file plugin_manager.py.

Definition at line 428 of file plugin_manager.py.

Definition at line 445 of file plugin_manager.py.

Definition at line 128 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._emit_load_plugin_completed (   self,
  instance_id 
) [private]

Definition at line 284 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._emit_plugin_help_signal (   self,
  instance_id_str 
) [private]

Definition at line 269 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._load_plugin_completed (   self,
  handler,
  exception 
) [private]

Definition at line 250 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._load_plugin_load (   self,
  instance_id,
  callback,
  argv = None 
) [private]

Definition at line 201 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._load_plugin_restore (   self,
  handler,
  exception 
) [private]

Definition at line 243 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._next_serial_number (   self,
  plugin_id 
) [private]

Definition at line 186 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._reload_plugin_load (   self,
  instance_id_str 
) [private]

Definition at line 371 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._reload_plugin_restore (   self,
  handler,
  exception 
) [private]

Definition at line 376 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._reload_plugin_save (   self,
  instance_id 
) [private]

Definition at line 354 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._reload_plugin_schedule_load (   self,
  instance_id 
) [private]

Definition at line 366 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._reload_plugin_shutdown (   self,
  instance_id 
) [private]

Definition at line 358 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._reload_plugin_unload (   self,
  instance_id 
) [private]

Definition at line 362 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._remove_running_plugin (   self,
  instance_id 
) [private]

Definition at line 338 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._restore_plugin_settings (   self,
  instance_id,
  callback 
) [private]

Definition at line 274 of file plugin_manager.py.

Definition at line 471 of file plugin_manager.py.

Definition at line 495 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._restore_settings_load_missing_callback (   self,
  handler = None,
  exception = None 
) [private]

Definition at line 510 of file plugin_manager.py.

Definition at line 526 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._restore_settings_restore_callback (   self,
  instance_id = None 
) [private]

Definition at line 535 of file plugin_manager.py.

Definition at line 456 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._restore_settings_unload_obsolete (   self,
  instance_id 
) [private]

Definition at line 481 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._restore_settings_unload_obsolete_callback (   self,
  instance_id = None 
) [private]

Definition at line 485 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._save_plugin_settings (   self,
  instance_id,
  callback 
) [private]

Definition at line 303 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._save_settings (   self,
  global_settings,
  perspective_settings,
  callback 
) [private]

Definition at line 387 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._save_settings_callback (   self,
  instance_id = None 
) [private]

Definition at line 411 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._shutdown_plugin (   self,
  instance_id,
  callback 
) [private]

Definition at line 317 of file plugin_manager.py.

Definition at line 400 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._unload_plugin (   self,
  instance_id,
  callback = None 
) [private]

Definition at line 328 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._unload_plugin_completed (   self,
  instance_id 
) [private]

Definition at line 334 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._unload_plugin_shutdown (   self,
  instance_id 
) [private]

Definition at line 313 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager._unload_plugin_unload (   self,
  instance_id 
) [private]

Definition at line 324 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.close_application (   self,
  global_settings,
  perspective_settings 
)

Definition at line 420 of file plugin_manager.py.

Definition at line 108 of file plugin_manager.py.

Definition at line 153 of file plugin_manager.py.

Definition at line 167 of file plugin_manager.py.

Definition at line 160 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.is_plugin_running (   self,
  plugin_id,
  serial_number 
)

Definition at line 170 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.load_plugin (   self,
  plugin_id,
  serial_number = None,
  argv = None 
)

Definition at line 177 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.reload_plugin (   self,
  instance_id_str 
)

Definition at line 347 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.restore_settings (   self,
  global_settings,
  perspective_settings 
)

Definition at line 450 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.restore_settings_without_plugins (   self,
  global_settings,
  perspective_settings 
)

Definition at line 520 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.save_settings (   self,
  global_settings,
  perspective_settings 
)

Definition at line 384 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.set_main_window (   self,
  main_window,
  menu_bar,
  container_manager 
)

Definition at line 96 of file plugin_manager.py.

Definition at line 105 of file plugin_manager.py.

def qt_gui.plugin_manager.PluginManager.unload_plugin (   self,
  instance_id_str 
)

Definition at line 291 of file plugin_manager.py.


Member Data Documentation

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 58 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 62 of file plugin_manager.py.

Definition at line 57 of file plugin_manager.py.

Definition at line 60 of file plugin_manager.py.

Definition at line 55 of file plugin_manager.py.

Definition at line 53 of file plugin_manager.py.

Definition at line 54 of file plugin_manager.py.

Definition at line 56 of file plugin_manager.py.


The documentation for this class was generated from the following file:


qt_gui
Author(s): Dirk Thomas
autogenerated on Fri Feb 3 2017 03:42:13