Class WorkflowCommandLogView

java.lang.Object
qupath.lib.gui.panes.WorkflowCommandLogView
All Implemented Interfaces:
ChangeListener<qupath.lib.images.ImageData<BufferedImage>>, qupath.lib.plugins.workflow.WorkflowListener

public class WorkflowCommandLogView extends Object implements ChangeListener<qupath.lib.images.ImageData<BufferedImage>>, qupath.lib.plugins.workflow.WorkflowListener
Show logged commands, and optionally generate a script.
  • Constructor Details

    • WorkflowCommandLogView

      public WorkflowCommandLogView(QuPathGUI qupath)
      Construct a view to display the workflow for the currently-active ImageData within a running QuPath instance.
      Parameters:
      qupath -
    • WorkflowCommandLogView

      public WorkflowCommandLogView(QuPathGUI qupath, qupath.lib.plugins.workflow.Workflow workflow)
      Construct a view displaying a static workflow (i.e. not dependent on any particular ImageData).
      Parameters:
      qupath -
      workflow -
  • Method Details

    • getPane

      public Pane getPane()
      Get the pane to add to a scene.
      Returns:
    • createPane

      protected BorderPane createPane()
    • showScript

      public static void showScript(ScriptEditor scriptEditor, qupath.lib.plugins.workflow.Workflow workflow)
      Show a script in the script editor based on the specified workflow.
      Parameters:
      scriptEditor -
      workflow -
    • workflowUpdated

      public void workflowUpdated(qupath.lib.plugins.workflow.Workflow workflow)
      Specified by:
      workflowUpdated in interface qupath.lib.plugins.workflow.WorkflowListener
    • changed

      public void changed(ObservableValue<? extends qupath.lib.images.ImageData<BufferedImage>> source, qupath.lib.images.ImageData<BufferedImage> imageDataOld, qupath.lib.images.ImageData<BufferedImage> imageDataNew)
      Specified by:
      changed in interface ChangeListener<qupath.lib.images.ImageData<BufferedImage>>