Package qupath.lib.gui.tools
Class CommandFinderTools
java.lang.Object
qupath.lib.gui.tools.CommandFinderTools
Helper tools for creating components that enable fast access to menu commands via a filtered list.
- Author:
- Pete Bankhead
-
Property Summary
PropertiesTypePropertyDescriptionProperty specifying where the command bar should be displayed relative to the main viewer window. -
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAvailable modes for displaying the command bar.static classHelper class to wrap summary data for a command to display in the list. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProperty specifying where the command bar should be displayed relative to the main viewer window.static StagecreateCommandFinderDialog(QuPathGUI qupath) Create a dialog showing a filtered list of menu commands, for fast selection.static org.controlsfx.control.HiddenSidesPanecreateCommandFinderPane(QuPathGUI qupath, Node node, ObjectProperty<CommandFinderTools.CommandBarDisplay> displayMode) Create a component that contains aTextFieldfor entering menu commands to run quickly.static StagecreateRecentCommandsDialog(QuPathGUI qupath) Create a dialog showing a filtered list of recently-used commands, for fast selection.static StringCreate a markdown representation of the menus for inclusion in the documentation, using the current QuPath instance.static voidmenusToMarkdown(QuPathGUI qupath, Writer writer) Write a markdown representation of the menus for inclusion in the documentation.
-
Property Details
-
commandBarDisplay
Property specifying where the command bar should be displayed relative to the main viewer window.
-
-
Constructor Details
-
CommandFinderTools
public CommandFinderTools()
-
-
Method Details
-
commandBarDisplayProperty
Property specifying where the command bar should be displayed relative to the main viewer window. -
createCommandFinderPane
public static org.controlsfx.control.HiddenSidesPane createCommandFinderPane(QuPathGUI qupath, Node node, ObjectProperty<CommandFinderTools.CommandBarDisplay> displayMode) Create a component that contains aTextFieldfor entering menu commands to run quickly. This component is a container that holds a mainNode, and displays theTextFieldonly when requested.- Parameters:
qupath-node-displayMode-- Returns:
-
createCommandFinderDialog
Create a dialog showing a filtered list of menu commands, for fast selection.- Parameters:
qupath-- Returns:
-
createRecentCommandsDialog
Create a dialog showing a filtered list of recently-used commands, for fast selection.- Parameters:
qupath-- Returns:
-