public class MouseMaskDrawer2DTool extends MaskDrawer2DTool
Constructor and Description |
---|
MouseMaskDrawer2DTool(MaskDrawerPlugin2D plugin) |
Modifier and Type | Method and Description |
---|---|
Cursor |
getToolCursor()
Cursor for the tool
|
void |
onToolActivate(ImageViewerPanelCanvas2D canvas)
Executed on activation of this tool
|
void |
onToolDeactivate(ImageViewerPanelCanvas2D canvas)
Executed on deactivation of this tool
|
boolean |
showGuides() |
boolean |
toolAllowLeftMouseDrag()
Returns true if left mouse dragging should be allowed
|
boolean |
toolIsActive(ImageViewerPanelCanvas2D canvas)
Returns true if the tool is active
|
buildDock, buildRibbon, buildStatusBar, getDescription, getIcon, getMaskDrawerPlugin, getName, getPanelIcon, getPanelLocation, getPanelName, getToolName, onHighlightColorChanged, postMaskChangedEvent, toolIsActive
beforeDraw, draw, getCurrentSlice, getCurrentSlicePosition, getViewerPanel2D, onSliceChanged, postprocessDraw, postprocessDrawForExport, uploadSliceToCanvas
buildCustomPanel, buildPanel, getCurrentImage, getCurrentImagePlus, getDataSource, getDesktopWorkbench, getViewerPanel, getWorkbench, isActive, isBuildingCustomPanel, onImageChanged, onOverlayAdded, onOverlayRemoved, onOverlaysCleared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToggleButton, postprocessDraw
public MouseMaskDrawer2DTool(MaskDrawerPlugin2D plugin)
public Cursor getToolCursor()
ImageViewerPanelCanvas2DTool
public void onToolActivate(ImageViewerPanelCanvas2D canvas)
ImageViewerPanelCanvas2DTool
canvas
- the canvaspublic void onToolDeactivate(ImageViewerPanelCanvas2D canvas)
ImageViewerPanelCanvas2DTool
canvas
- the canvaspublic boolean toolAllowLeftMouseDrag()
ImageViewerPanelCanvas2DTool
public boolean toolIsActive(ImageViewerPanelCanvas2D canvas)
ImageViewerPanelCanvas2DTool
canvas
- the canvaspublic boolean showGuides()
showGuides
in class MaskDrawer2DTool
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.