Package qupath.lib.gui.dialogs
Class ProjectDialogs
java.lang.Object
qupath.lib.gui.dialogs.ProjectDialogs
Dialogs specifically related to managing projects.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.controlsfx.control.ListSelectionView<ProjectImageEntry<BufferedImage>> createImageChoicePane(QuPathGUI qupath, List<ProjectImageEntry<BufferedImage>> availableImages, List<ProjectImageEntry<BufferedImage>> selectedImages, String openImageWarning) Populates a givenListSelectionViewwith all the project entries.static Collection<ProjectImageEntry<BufferedImage>> getCurrentImages(QuPathGUI qupath) Get theProjectImageEntryfor each of the current images open in QuPath, if available.
- 
Constructor Details- 
ProjectDialogspublic ProjectDialogs()
 
- 
- 
Method Details- 
createImageChoicePanepublic static org.controlsfx.control.ListSelectionView<ProjectImageEntry<BufferedImage>> createImageChoicePane(QuPathGUI qupath, List<ProjectImageEntry<BufferedImage>> availableImages, List<ProjectImageEntry<BufferedImage>> selectedImages, String openImageWarning) Populates a givenListSelectionViewwith all the project entries.- Parameters:
- qupath- variable used to understand which image(s) is/are opened in viewer(s).
- availableImages- all available images
- selectedImages- set some images to be selected initially (optional; can be null)
- openImageWarning- warning shown if image(s) to process is/are currently opened in viewer(s).
- Returns:
- a ListSelectionViewsuitable for selecting entries
 
- 
getCurrentImagesGet theProjectImageEntryfor each of the current images open in QuPath, if available.- Parameters:
- qupath-
- Returns:
- a collection of currently-open project entries
 
 
-