Package qupath.lib.gui
Class ExtensionManager
java.lang.Object
qupath.lib.gui.ExtensionManager
Manage loading extensions for a QuPathGUI instance.
- Since:
- v0.5.0
- Author:
- Pete Bankhead
-
Method Summary
Modifier and TypeMethodDescriptionObservableMap
<Class<? extends QuPathExtension>, QuPathExtension> ObservableMap
<Class<? extends QuPathExtension>, QuPathExtension> void
Copy a collection of files to QuPath's extensions directory, notifying the user about what is done and prompting to create a user directory if needed.void
refreshExtensions
(boolean showNotification) Check the extensions directory, loading any new extensions found there.Property indicating whether extensions are in the process of being refreshed.
-
Method Details
-
getLoadedExtensions
- Returns:
- a collection of extensions that are currently loaded
-
getFailedExtensions
- Returns:
- a collection of extensions that could not be loaded
-
refreshingExtensions
Property indicating whether extensions are in the process of being refreshed. -
refreshExtensions
public void refreshExtensions(boolean showNotification) Check the extensions directory, loading any new extensions found there.- Parameters:
showNotification
- if true, display a notification if a new extension has been loaded
-
promptToCopyFilesToExtensionsDirectory
Copy a collection of files to QuPath's extensions directory, notifying the user about what is done and prompting to create a user directory if needed.- Parameters:
files
- a collection of jar files for installation
-