Class CssLanguage
java.lang.Object
qupath.lib.scripting.languages.ScriptLanguage
qupath.lib.gui.scripting.languages.CssLanguage
Class for representing CSS in QuPath.
- Since:
- v0.4.0
- Author:
- Pete Bankhead
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet theScriptAutoCompletor
object that takes care of this language's auto-completion.static CssLanguage
Get the static instance of this class.Methods inherited from class qupath.lib.scripting.languages.ScriptLanguage
getExtensions, getName, toString
-
Constructor Details
-
CssLanguage
public CssLanguage()Constructor for JSON language. This constructor should never be called. Instead, use the staticgetInstance()
method.Note: this has to be public for the
ServiceLoader
to work.
-
-
Method Details
-
getInstance
Get the static instance of this class.- Returns:
- instance
-
getAutoCompletor
Description copied from class:ScriptLanguage
Get theScriptAutoCompletor
object that takes care of this language's auto-completion.Can return
null
if the script editor should not handle auto-completion for this language.- Overrides:
getAutoCompletor
in classScriptLanguage
- Returns:
- auto-completor
-