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.
- 
Constructor SummaryConstructorsConstructorDescriptionWorkflowCommandLogView(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 SummaryModifier 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- 
WorkflowCommandLogViewConstruct a view to display the workflow for the currently-active ImageData within a running QuPath instance.- Parameters:
- qupath-
 
- 
WorkflowCommandLogViewConstruct a view displaying a static workflow (i.e. not dependent on any particular ImageData).- Parameters:
- qupath-
- workflow-
 
 
- 
- 
Method Details- 
getPaneGet the pane to add to a scene.- Returns:
 
- 
createPane
- 
showScriptShow a script in the script editor based on the specified workflow.- Parameters:
- scriptEditor-
- workflow-
 
- 
workflowUpdatedDescription copied from interface:WorkflowListenerCalled whenever a Workflow has been updated in some way, such as a new step added.- Specified by:
- workflowUpdatedin interface- WorkflowListener
- Parameters:
- workflow-
 
- 
changedpublic void changed(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) - Specified by:
- changedin interface- ChangeListener<ImageData<BufferedImage>>
 
 
-