Class ProcessingExtension

java.lang.Object
qupath.process.gui.ProcessingExtension
All Implemented Interfaces:
QuPathExtension

public class ProcessingExtension extends Object implements QuPathExtension
General-purpose processing and machine learning commands.
  • Constructor Details

    • ProcessingExtension

      public ProcessingExtension()
  • Method Details

    • installExtension

      public void installExtension(QuPathGUI qupath)
      Description copied from interface: QuPathExtension
      Install the extension for a QuPathGUI instance. This function is only called if the graphical user interface is used.

      This generally involves adding new commands to appropriate menus.

      Note that if an extension is only expected to be compatible with a specific QuPath version, this method provides an opportunity to test version compatibility before making any changes.

      See QuPathExtension.installHeadless() for installing the extension in headless mode.

      Specified by:
      installExtension in interface QuPathExtension
      Parameters:
      qupath -
      See Also:
    • getName

      public String getName()
      Description copied from interface: QuPathExtension
      A readable name for the extension.
      Specified by:
      getName in interface QuPathExtension
      Returns:
    • getDescription

      public String getDescription()
      Description copied from interface: QuPathExtension
      A short description of the extension for displaying in the main GUI.

      This could also contain licensing information.

      Specified by:
      getDescription in interface QuPathExtension
      Returns:
    • getVersion

      public Version getVersion()
      Description copied from interface: QuPathExtension
      Get the version of the current extension.
      Specified by:
      getVersion in interface QuPathExtension
      Returns:
      See Also:
    • getQuPathVersion

      public Version getQuPathVersion()
      Returns the version stored within this jar, because it is matched to the QuPath version.
      Specified by:
      getQuPathVersion in interface QuPathExtension
      Returns:
      a semantic version corresponding to a QuPath version, e.g. "0.3.0".
      See Also: