Class OpenSlideExtension

java.lang.Object
qupath.ext.openslide.OpenSlideExtension
All Implemented Interfaces:
QuPathExtension

@PrefCategory("category.openslide") public class OpenSlideExtension extends Object implements QuPathExtension
  • Field Details

    • openslidePathProperty

      @DirectoryPref("pref.openslide.path") public final StringProperty openslidePathProperty
    • openslideUseIccProfile

      @BooleanPref("pref.openslide.icc-profile") public final BooleanProperty openslideUseIccProfile
    • openslideCrop

      @BooleanPref("pref.openslide.crop") public final BooleanProperty openslideCrop
  • Constructor Details

    • OpenSlideExtension

      public OpenSlideExtension()
  • 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: