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
ConstructorsConstructorDescriptionWorkflowCommandLogView(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 TypeMethodDescriptionvoidchanged(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) protected BorderPanegetPane()Get the pane to add to a scene.static voidshowScript(ScriptEditor scriptEditor, Workflow workflow) Show a script in the script editor based on the specified workflow.voidworkflowUpdated(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:WorkflowListenerCalled whenever a Workflow has been updated in some way, such as a new step added.- Specified by:
workflowUpdatedin interfaceWorkflowListener
-
changed
public void changed(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) - Specified by:
changedin interfaceChangeListener<ImageData<BufferedImage>>
-