Package ghidra.framework.plugintool
Class PluginConfigurationModel
java.lang.Object
ghidra.framework.plugintool.PluginConfigurationModel
-
Constructor Summary
ConstructorsConstructorDescriptionPluginConfigurationModel(PluginInstaller pluginInstaller, PluginPackagingProvider pluginPackagingProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(PluginDescription pluginDescription) voidaddSupportedPlugins(PluginPackage pluginPackage) Return the descriptions of the plugins that are dependent on some service that the plugin corresponding to the given PluginDescription provides.getPackageState(PluginPackage pluginPackage) getPluginDescriptions(PluginPackage pluginPackage) booleanhasDependencies(PluginDescription pluginDependency) Return whether the plugin corresponding to the given PluginDescription has other plugins depending on a service it provides.booleanhasOnlyUnstablePlugins(PluginPackage pluginPackage) booleanisLoaded(PluginDescription pluginDescription) voidremoveAllPlugins(PluginPackage pluginPackage) voidremovePlugin(PluginDescription pluginDescription) voidsetChangeCallback(Callback listener)
-
Constructor Details
-
PluginConfigurationModel
-
PluginConfigurationModel
public PluginConfigurationModel(PluginInstaller pluginInstaller, PluginPackagingProvider pluginPackagingProvider)
-
-
Method Details
-
setChangeCallback
-
getPluginPackages
-
getPluginDescriptions
-
isLoaded
-
getPackageState
-
addPlugin
-
removeAllPlugins
-
addSupportedPlugins
-
hasOnlyUnstablePlugins
-
removePlugin
-
hasDependencies
Return whether the plugin corresponding to the given PluginDescription has other plugins depending on a service it provides.- Parameters:
pluginDependency- PluginDescription of the plugin- Returns:
- true if the plugin corresponding to the given PluginDescription has at least one plugin depending on a service it provides
-
getDependencies
Return the descriptions of the plugins that are dependent on some service that the plugin corresponding to the given PluginDescription provides.- Parameters:
pd- PluginDescription of the plugin- Returns:
- the descriptions
-
getAllPluginDescriptions
-