Documentation/4.2/SlicerApplication/ExtensionsManager

From Slicer Wiki
Revision as of 22:00, 31 October 2012 by UpdateBot (talk | contribs) (Nightly -> 4.2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation < 4.2 < SlicerApplication < ExtensionsManager
Extensions in the Extension manager.

An extension could be seen as a delivery package bundling together one or more Slicer modules. After installing an extension, the associated modules will be presented to the user as built-in ones

The Slicer community maintains a website referred to as the Slicer Extensions Catalog to support finding, downloading and installing of extensions. Access to this website is integral to Slicer and facilitated by the Extensions Manager functionality built into the distributed program.

The Catalog classifies extensions into three levels of compliance:

  1. Category 1: Fully compliant Slicer Extensions: Slicer license, open source, maintained.
  2. Category 2: Open source, contact exists.
  3. Category 3: All other extensions (work in progress, beta, closed source etc).

To publish extensions, developers should consider reading the following pages:


Prerequisites

ExtensionsManager must be enabled in the Application Settings (menu item "Edit -> Application Settings -> Extensions"). If you changed the setting, Slicer has to be restarted for it to become effective. Enable ExtensionsManager

Installing an extension

Uninstalling an extension

Disabling an extension

Incompatible extensions

Caveat: Considering that installed extensions are common to all Slicer version installed by a given user and that an extension is specific to a given revision of Slicer, it's currently not possible to have working extension installed for multiple version of Slicer. The issues has been reported as #1958 and is currently targeted for 4.2.0 release.

Extensions Manager Settings

  1. Extensions server URL: Address of the server used to download and install extensions
  2. Extensions installation path: Directory where extension packages should be extracted and installed
  1. After installing an extension, the directories containing the modules bundled within an extension will be visible as additional module paths.
  2. Modules associated with an extension can also be disabled one by one.

Whereas the module path is used to indicate Slicer where to look to load additional modules, the extension manager also takes care of updating the LibraryPaths / Paths / EnvironmentVariables in the launcher settings so that libraries associated with modules can be successfully loaded.