Class PluginManagement
| Defined in: | lib/mixins/plugin-management.coffee |
| Inherits: | Mixin |
Overview
Provides methods to manage minimap plugins.
Minimap plugins are Atom packages that will augment the minimap. They have a secondary activation cycle going on constrained by the minimap package activation. A minimap plugin life cycle will generally look like this:
- The plugin module is activated by Atom through the
activatemethod - The plugin then register itself as a minimap plugin using
registerPlugin - The plugin is activated/deactivated according to the minimap settings.
- On the plugin module deactivation, the plugin must unregisters itself
from the minimap using the
unregisterPlugin.
Instance Method Summary
-
::registerPlugin(name, plugin)
Registers a minimap
pluginwith the givenname. - ::unregisterPlugin(name) Unregisters a plugin from the minimap.