Class RichScriptEditorExtension

java.lang.Object
qupath.lib.gui.scripting.richtextfx.RichScriptEditorExtension
All Implemented Interfaces:
QuPathExtension

public class RichScriptEditorExtension extends Object implements QuPathExtension
QuPath extension to add a more attractive script editor with syntax highlighting, making use of RichTextFX, Copyright (c) 2013-2014, Tomas Mikula (BSD 2-clause license).
Author:
Pete Bankhead
  • Constructor Details

    • RichScriptEditorExtension

      public RichScriptEditorExtension()
  • Method Details

    • installExtension

      public void installExtension(QuPathGUI qupath)
      Description copied from interface: QuPathExtension
      Install the extension for a QuPathGUI instance.

      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.

      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:
    • 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: