Class ExtensionManager

java.lang.Object
qupath.lib.gui.ExtensionManager

public class ExtensionManager extends Object
Manage loading extensions for a QuPathGUI instance.
Since:
v0.5.0
Author:
Pete Bankhead
  • Method Details

    • getLoadedExtensions

      public ObservableMap<Class<? extends QuPathExtension>,QuPathExtension> getLoadedExtensions()
      Returns:
      a collection of extensions that are currently loaded
    • getFailedExtensions

      public ObservableMap<Class<? extends QuPathExtension>,QuPathExtension> getFailedExtensions()
      Returns:
      a collection of extensions that could not be loaded
    • refreshingExtensions

      public ReadOnlyBooleanProperty 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

      public void promptToCopyFilesToExtensionsDirectory(Collection<File> files)
      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