Package qupath.lib.gui.commands
Class LogViewerCommand
java.lang.Object
qupath.lib.gui.commands.LogViewerCommand
A viewer for log messages.
- Author:
- Pete Bankhead
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a string expression to draw attention to error messages.qupath.ui.logviewer.ui.main.LogMessageCounts
Get the counts of all messages logged by the log viewer.Boolean binding indicating whether there are any unseen errors.void
show()
-
Constructor Details
-
LogViewerCommand
Constructor.- Parameters:
parent
-
-
-
Method Details
-
show
public void show() -
getLogMessageCounts
public qupath.ui.logviewer.ui.main.LogMessageCounts getLogMessageCounts()Get the counts of all messages logged by the log viewer.- Returns:
-
hasUnseenErrors
Boolean binding indicating whether there are any unseen errors. 'Unseen' here means errors that occur since the log viewer was visible.- Returns:
-
getInfoMessage
Get a string expression to draw attention to error messages.- Returns:
- a string expression that evaluates to the error message, or null if there are no errors
-