Class RichScriptEditorExtension
java.lang.Object
qupath.lib.gui.scripting.richtextfx.RichScriptEditorExtension
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionA short description of the extension for displaying in the main GUI.getName()
A readable name for the extension.Returns the version stored within this jar, because it is matched to the QuPath version.void
installExtension
(QuPathGUI qupath) Install the extension for a QuPathGUI instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface qupath.lib.gui.extensions.QuPathExtension
getVersion
-
Constructor Details
-
RichScriptEditorExtension
public RichScriptEditorExtension()
-
-
Method Details
-
installExtension
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 interfaceQuPathExtension
- Parameters:
qupath
-- See Also:
-
getName
Description copied from interface:QuPathExtension
A readable name for the extension.- Specified by:
getName
in interfaceQuPathExtension
- Returns:
-
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 interfaceQuPathExtension
- Returns:
-
getQuPathVersion
Returns the version stored within this jar, because it is matched to the QuPath version.- Specified by:
getQuPathVersion
in interfaceQuPathExtension
- Returns:
- a semantic version corresponding to a QuPath version, e.g. "0.3.0".
- See Also:
-