Package qupath.lib.gui.scripting
Class ScriptTab
java.lang.Object
qupath.lib.gui.scripting.ScriptTab
Class representing a script tab (e.g. on the right side of the script editor).
 
 A ScriptTab object has:
 
- A main editor
- A console
- A language
ScriptEditor.- Since:
- v0.4.0
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturnReturn theisModifiedPropertyof this script tab (true if the script is modified, i.e.protected voidRead the file, set the editor's text area with the content of the file and return the detected language (based on the file extension).protected voidtoString()
- 
Method Details- 
readFileRead the file, set the editor's text area with the content of the file and return the detected language (based on the file extension).- Parameters:
- file- the file to read
- Throws:
- IOException
 
- 
refreshFileContentsprotected void refreshFileContents()
- 
isModifiedpublic boolean isModified()Return- Returns:
 
- 
isModifiedPropertyReturn theisModifiedPropertyof this script tab (true if the script is modified, i.e. it isn't the same as the last saved version).- Returns:
- isModifiedProperty
 
- 
toString
 
-