Package | Description |
---|---|
org.freehep.application.studio |
Classes used by interactive applications that can be extended with plugins.
|
org.freehep.application.studio.pluginmanager |
Plugin that handles installing, updating, and removing other plugins.
|
Modifier and Type | Method and Description |
---|---|
PluginInfo |
PluginMap.getPlugin(String name)
Returns active plugin descriptor with the specified name.
|
PluginInfo |
Studio.getPlugin(String name)
Returns plugin descriptor from the list of loaded plugins with the specified name.
|
PluginInfo |
PluginMap.getPlugin(String name,
PluginDir dir)
Returns a plugin descriptor for the specified plugin name and directory.
|
Modifier and Type | Method and Description |
---|---|
Map<String,PluginInfo> |
PluginMap.getActivePlugins()
Returns a map of names to descriptors for all currently active plugins.
|
Set<PluginInfo> |
PluginMap.getDependentPlugins(PluginInfo plugin)
Returns a set of dependents (direct and transient) of the specified plugin.
|
Map<String,PluginInfo> |
PluginMap.getLoadablePlugins()
Returns a map of names to descriptors for all currently active non-broken load-at-start plugins and their dependencies.
|
List<PluginInfo> |
PluginMap.getPlugins()
Returns a list of all plugin descriptors in this map.
|
List<PluginInfo> |
Studio.getPlugins()
Return a list of loaded plugins.
|
Map<String,PluginInfo> |
PluginMap.getPlugins(PluginDir dir)
Returns a map of plugin names to descriptors in the specified directory.
|
Modifier and Type | Method and Description |
---|---|
int |
PluginInfo.compareTo(PluginInfo o) |
Map<String,LibInfo> |
PluginMap.getActiveLibraries(PluginInfo plugin)
Returns a map of IDs to descriptors for currently active libraries claimed by the specified plugin.
|
Set<PluginInfo> |
PluginMap.getDependentPlugins(PluginInfo plugin)
Returns a set of dependents (direct and transient) of the specified plugin.
|
Plugin |
PluginFactory.getInstance(Studio studio,
PluginInfo plugin,
ClassLoader loader) |
boolean |
Studio.isBlacklisted(PluginInfo plugin)
Returns true if the specified plugin is blacklisted and should be ignored by this application.
|
boolean |
PluginInfo.isRequiredPluginValid(PluginInfo required) |
static boolean |
PluginException.reportMissingLibrary(PluginInfo plugin,
String missing) |
static boolean |
PluginException.reportMissingPlugin(PluginInfo plugin,
String missing) |
static boolean |
PluginException.reportNoMissingLibraries(PluginInfo plugin) |
static boolean |
PluginException.reportNoMissingPlugins(PluginInfo plugin) |
void |
Studio.startPlugin(PluginInfo plugin)
Starts and initializes a plugin.
|
void |
Studio.stopPlugin(PluginInfo plugin)
Stops a plugin.
|
Modifier and Type | Method and Description |
---|---|
PluginMap |
PluginMap.add(Collection<PluginInfo> plugins)
Creates a PluginMap that can be used to download and install the specified plugins.
|
List<LibInfo> |
PluginMap.getDownloads(Collection<PluginInfo> plugins)
Returns a list of libraries that need to be downloaded to install specified plugins.
|
List<LibInfo> |
PluginMap.getDownloads(Collection<PluginInfo> plugins,
Map<String,PluginInfo> available)
Returns a list of libraries that need to be downloaded to install specified plugins.
|
List<LibInfo> |
PluginMap.getDownloads(Collection<PluginInfo> plugins,
Map<String,PluginInfo> available)
Returns a list of libraries that need to be downloaded to install specified plugins.
|
void |
PluginMap.insertPlugins(Collection<PluginInfo> plugins)
Insert specified plugins into this map without downloading or replacing libraries.
|
boolean |
Studio.loadPlugins(Collection<PluginInfo> plugins)
Loads and initializes the specified plugins using the default extensions class loader.
|
boolean |
Studio.loadPlugins(Collection<PluginInfo> plugins,
ExtensionClassLoader loader)
Loads and initializes the specified plugins.
|
boolean |
PluginMap.remove(Collection<PluginInfo> plugins)
Removes the specified plugins from this map and deletes (or marks for deletion) the files that are no longer needed.
|
Constructor and Description |
---|
PluginException(PluginInfo plugin) |
PluginInfo(PluginInfo original)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
List<PluginInfo> |
PluginListHandler.getAvailablePlugins(URL url,
Logger logger,
Studio application)
Called by
PluginManager to download a list of available plugins. |
Modifier and Type | Method and Description |
---|---|
boolean |
PluginManager.install(Component parent,
Collection<PluginInfo> plugins)
Installs specified plugins into the application extensions directories.
|
boolean |
PluginManager.uninstall(Component parent,
Collection<PluginInfo> plugins)
Uninstall specified plugins.
|
boolean |
PluginManager.update(Component parent,
Collection<PluginInfo> plugins)
Downloads, installs, and loads latest versions of files for the specified plugins.
|
Copyright © 2000–2017 FreeHEP. All rights reserved.