Package qupath.lib.gui.panes
Class WorkflowCommandLogView
java.lang.Object
qupath.lib.gui.panes.WorkflowCommandLogView
- All Implemented Interfaces:
ChangeListener<ImageData<BufferedImage>>
,WorkflowListener
public class WorkflowCommandLogView
extends Object
implements ChangeListener<ImageData<BufferedImage>>, WorkflowListener
Show logged commands, and optionally generate a script.
- Author:
- Pete Bankhead
-
Constructor Summary
ConstructorDescriptionWorkflowCommandLogView
(QuPathGUI qupath) Construct a view to display the workflow for the currently-active ImageData within a running QuPath instance.WorkflowCommandLogView
(QuPathGUI qupath, Workflow workflow) Construct a view displaying a static workflow (i.e. -
Method Summary
Modifier and TypeMethodDescriptionvoid
changed
(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) protected BorderPane
getPane()
Get the pane to add to a scene.static void
showScript
(ScriptEditor scriptEditor, Workflow workflow) Show a script in the script editor based on the specified workflow.void
workflowUpdated
(Workflow workflow) Called whenever a Workflow has been updated in some way, such as a new step added.
-
Constructor Details
-
WorkflowCommandLogView
Construct a view to display the workflow for the currently-active ImageData within a running QuPath instance.- Parameters:
qupath
-
-
WorkflowCommandLogView
Construct a view displaying a static workflow (i.e. not dependent on any particular ImageData).- Parameters:
qupath
-workflow
-
-
-
Method Details
-
getPane
Get the pane to add to a scene.- Returns:
-
createPane
-
showScript
Show a script in the script editor based on the specified workflow.- Parameters:
scriptEditor
-workflow
-
-
workflowUpdated
Description copied from interface:WorkflowListener
Called whenever a Workflow has been updated in some way, such as a new step added.- Specified by:
workflowUpdated
in interfaceWorkflowListener
- Parameters:
workflow
-
-
changed
public void changed(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) - Specified by:
changed
in interfaceChangeListener<ImageData<BufferedImage>>
-