public class MeasurementDrawerPlugin extends MaskDrawerPlugin
Modifier and Type | Class and Description |
---|---|
static class |
MeasurementDrawerPlugin.Settings |
MaskDrawerPlugin.MaskChangedEvent, MaskDrawerPlugin.MaskColor
Modifier and Type | Field and Description |
---|---|
static MeasurementDrawerPlugin.Settings |
SETTINGS |
STROKE_GUIDE_LINE
Constructor and Description |
---|
MeasurementDrawerPlugin(ImageViewerPanel viewerPanel) |
Modifier and Type | Method and Description |
---|---|
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
|
void |
measureCurrentMask() |
void |
onMaskChanged(MaskDrawerPlugin.MaskChangedEvent event) |
clearCurrentMask, getCurrentColor, getCurrentMaskSlice, getCurrentTool, getHighlightColor, getMask, getMaskColor, getMaskGenerator, getRibbon, installTool, onImageChanged, onSliceChanged, onToolChanged, postprocessDraw, postprocessDrawForExport, recalculateMaskPreview, setCurrentColor, setHighlightColor, setMask, setMaskColor, setMaskGenerator
beforeDraw, draw, getCurrentImage, getCurrentSlice, getCurrentSlicePosition, getViewerPanel, getWorkbench, uploadSliceToCanvas
public static final MeasurementDrawerPlugin.Settings SETTINGS
public MeasurementDrawerPlugin(ImageViewerPanel viewerPanel)
public void createPalettePanel(FormPanel formPanel)
ImageViewerPanelPlugin
createPalettePanel
in class MaskDrawerPlugin
formPanel
- the form panelpublic void measureCurrentMask()
public void onMaskChanged(MaskDrawerPlugin.MaskChangedEvent event)
public String getCategory()
ImageViewerPanelPlugin
getCategory
in class MaskDrawerPlugin
public Icon getCategoryIcon()
ImageViewerPanelPlugin
getCategoryIcon
in class MaskDrawerPlugin
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.