Setuav Studio Developer Documentation 1.0
SDK and plugin development reference for Setuav Studio
Loading...
Searching...
No Matches
Plugin lifecycle

Discovery and activation contract for plugin packages. More...

Classes

class  setuav_studio_sdk.plugin.StudioPlugin
 Lifecycle contract implemented by every plugin. More...
 

Detailed Description

Discovery and activation contract for plugin packages.

Setuav Studio discovers installed plugins from the setuav_studio.plugins Python entry-point group. The entry-point value must resolve to a plugin class or an already-created plugin object exposing a stable id and an activate(api) method.

At startup the host loads bundled plugins and installed entry points, sorts them by ascending priority (when provided; otherwise 100) and then by plugin ID, and activates them in that order. A plugin should register all of its contributions and listeners in activate and release them in deactivate.

Loading or activation failures are isolated. The host records a PluginLoadIssue and continues starting the remaining plugins. A duplicate plugin ID is ignored after the first successful activation.