Package ghidra.framework.plugintool
Class PluginConfigurationModel
java.lang.Object
ghidra.framework.plugintool.PluginConfigurationModel
-
Constructor Summary
ConstructorDescriptionPluginConfigurationModel
(PluginInstaller pluginInstaller, PluginPackagingProvider pluginPackagingProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlugin
(PluginDescription pluginDescription) void
addSupportedPlugins
(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) boolean
hasDependencies
(PluginDescription pluginDependency) Return whether the plugin corresponding to the given PluginDescription has other plugins depending on a service it provides.boolean
hasOnlyUnstablePlugins
(PluginPackage pluginPackage) boolean
isLoaded
(PluginDescription pluginDescription) void
removeAllPlugins
(PluginPackage pluginPackage) void
removePlugin
(PluginDescription pluginDescription) void
setChangeCallback
(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
-