Class CommandFinderTools

java.lang.Object
qupath.lib.gui.tools.CommandFinderTools

public class CommandFinderTools extends Object
Helper tools for creating components that enable fast access to menu commands via a filtered list.
Author:
Pete Bankhead
  • Property Details

  • Constructor Details

    • CommandFinderTools

      public CommandFinderTools()
  • Method Details

    • commandBarDisplayProperty

      public static ObjectProperty<CommandFinderTools.CommandBarDisplay> commandBarDisplayProperty()
      Property specifying where the command bar should be displayed relative to the main viewer window.
      Returns:
    • createCommandFinderPane

      public static org.controlsfx.control.HiddenSidesPane createCommandFinderPane(QuPathGUI qupath, Node node, ObjectProperty<CommandFinderTools.CommandBarDisplay> displayMode)
      Create a component that contains a TextField for entering menu commands to run quickly. This component is a container that holds a main Node, and displays the TextField only when requested.
      Parameters:
      qupath -
      node -
      displayMode -
      Returns:
    • createCommandFinderDialog

      public static Stage createCommandFinderDialog(QuPathGUI qupath)
      Create a dialog showing a filtered list of menu commands, for fast selection.
      Parameters:
      qupath -
      Returns:
    • createRecentCommandsDialog

      public static Stage createRecentCommandsDialog(QuPathGUI qupath)
      Create a dialog showing a filtered list of recently-used commands, for fast selection.
      Parameters:
      qupath -
      Returns: