Class PropertiesLanguage
java.lang.Object
qupath.lib.scripting.languages.ScriptLanguage
qupath.lib.gui.scripting.languages.PropertiesLanguage
Class for the representation of properties and config files in QuPath.
- Since:
- v0.5.0
- Author:
- Pete Bankhead
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for a Java properties as a script editor language. -
Method Summary
Modifier and TypeMethodDescriptionGet theScriptAutoCompletorobject that takes care of this language's auto-completion.static PropertiesLanguageGet the static instance of this class.Methods inherited from class qupath.lib.scripting.languages.ScriptLanguage
getExtensions, getName, toString
-
Constructor Details
-
PropertiesLanguage
public PropertiesLanguage()Constructor for a Java properties as a script editor language. This constructor should never be called. Instead, use the staticgetInstance()method.Note: this has to be public for the
ServiceLoaderto work.
-
-
Method Details
-
getInstance
Get the static instance of this class.- Returns:
- instance
-
getAutoCompletor
Description copied from class:ScriptLanguageGet theScriptAutoCompletorobject that takes care of this language's auto-completion.Can return
nullif the script editor should not handle auto-completion for this language.- Overrides:
getAutoCompletorin classScriptLanguage- Returns:
- auto-completor
-