NaviNIBS.Navigator.Model.Addons module

Bases: ABC

Base class to define an addon’s configuration parameters that will be saved in session config

Return type:

dict[str, Any]

Bases: Generic[ACE]

Parameters:
  • _ClassName

  • _importModule

  • _key

  • isBuiltIn (bool)

Return type:

Type[~ACE]

Return type:

Dict[str, Any]

Bases: ABC

Base class to define optional custom code for an addon.

Use this when an addon needs to provide custom code not part of a main view panel, navigation view layer, etc. This may be used for code-only addon pieces (such as providing a data output stream), or for patching existing GUI functionality (using the reference to the root NavigatorGUI instance).

Any AddonCode class elements defined in an addon configuration will be instantiated and passed references to the root NavigatorGUI instance and the session model when the addon is loaded.

Parameters:
  • _navigatorGUI

  • _session

Bases: GenericCollectionDictItem[str]

Parameters:
  • _key

  • _addonInstallPath

  • _addonVersion

  • _MainViewPanels

  • _NavigationViews

  • _NavigationViewLayers

  • _Extras

  • _SessionAttrs

  • _sessionAttrs

  • _isActive

Return type:

Dict[str, Any]

Return type:

str

Return type:

str

Return type:

Addon

Bases: GenericCollection[str, Addon]

Parameters:

_items

Return type:

List[str]

Return type:

Addons