PluginManager class
Plugin manager for loading and managing plugins
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAllPluginInfos(
) → List< PluginInfo> - Get all plugin infos
-
getPluginInfo(
String pluginName) → PluginInfo? - Get plugin info
-
initialize(
{required StateManager stateManager, required ServiceLocator serviceLocator, required WidgetRegistry widgetRegistry, required ActionHandler actionHandler}) → void - Initialize the plugin manager
-
isPluginLoaded(
String pluginName) → bool - Check if a plugin is loaded
-
loadAllPlugins(
) → Future< void> - Load all registered plugins
-
loadPlugin(
String pluginName) → Future< void> - Load a plugin
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerPlugin(
MCPPlugin plugin) → Future< void> - Register a plugin
-
toString(
) → String -
A string representation of this object.
inherited
-
unloadAllPlugins(
) → Future< void> - Unload all plugins
-
unloadPlugin(
String pluginName) → Future< void> - Unload a plugin
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → PluginManager
-
no setter