public class TracksManagerPlugin extends ImageViewerPanelPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
TracksManagerPlugin.SelectionContextPanel |
static class |
TracksManagerPlugin.SelectionInfoContextPanel |
| Constructor and Description |
|---|
TracksManagerPlugin(ImageViewerPanel viewerPanel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionContextPanel(TracksManagerPlugin.SelectionContextPanel panel) |
void |
createPalettePanel(FormPanel formPanel)
Called when the form panel should be recreated
|
String |
getCategory()
The tool panel category where this tool is shown
|
Icon |
getCategoryIcon()
The icon for the category if a new one must be created
|
TrackCollectionData |
getSelectedTracksOrAll(String title,
String message) |
List<TracksManagerPlugin.SelectionContextPanel> |
getSelectionContextPanels() |
TrackDrawer |
getTrackDrawer() |
TrackCollectionData |
getTracksCollection() |
JList<Integer> |
getTracksListControl() |
void |
onSliceChanged(boolean deferUploadSlice)
Called when the current slice is changed
|
void |
postprocessDraw(Graphics2D graphics2D,
Rectangle renderArea,
ImageSliceIndex sliceIndex)
Called after the image has been drawn after the image has been drawn
|
void |
postprocessDrawForExport(BufferedImage image,
ImageSliceIndex sliceIndex,
double magnification)
Called while exporting the image slice.
|
void |
removeSelectedTracks(boolean deferUploadSlice) |
void |
removeSelectionContextPanel(TracksManagerPlugin.SelectionContextPanel panel) |
void |
setTrackCollection(TrackCollectionData tracksCollection,
JIPipeDataTableDataSource dataSource,
boolean deferUploadSlice) |
beforeDraw, draw, getCurrentImage, getCurrentSlice, getCurrentSlicePosition, getViewerPanel, getWorkbench, onImageChanged, uploadSliceToCanvaspublic TracksManagerPlugin(ImageViewerPanel viewerPanel)
public void createPalettePanel(FormPanel formPanel)
ImageViewerPanelPlugincreatePalettePanel in class ImageViewerPanelPluginformPanel - the form panelpublic TrackCollectionData getSelectedTracksOrAll(String title, String message)
public List<TracksManagerPlugin.SelectionContextPanel> getSelectionContextPanels()
public void addSelectionContextPanel(TracksManagerPlugin.SelectionContextPanel panel)
public void removeSelectionContextPanel(TracksManagerPlugin.SelectionContextPanel panel)
public TrackDrawer getTrackDrawer()
public void postprocessDraw(Graphics2D graphics2D, Rectangle renderArea, ImageSliceIndex sliceIndex)
ImageViewerPanelPluginpostprocessDraw in class ImageViewerPanelPlugingraphics2D - the graphicsrenderArea - the render areasliceIndex - the index of the slicepublic void postprocessDrawForExport(BufferedImage image, ImageSliceIndex sliceIndex, double magnification)
ImageViewerPanelPluginpostprocessDrawForExport in class ImageViewerPanelPluginimage - the imagesliceIndex - the slicemagnification - the magnificationpublic void onSliceChanged(boolean deferUploadSlice)
ImageViewerPanelPluginonSliceChanged in class ImageViewerPanelPlugindeferUploadSlice - if true, uploading the slice to the canvas should be deferredpublic String getCategory()
ImageViewerPanelPlugingetCategory in class ImageViewerPanelPluginpublic Icon getCategoryIcon()
ImageViewerPanelPlugingetCategoryIcon in class ImageViewerPanelPluginpublic void setTrackCollection(TrackCollectionData tracksCollection, JIPipeDataTableDataSource dataSource, boolean deferUploadSlice)
public void removeSelectedTracks(boolean deferUploadSlice)
public TrackCollectionData getTracksCollection()
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.