public abstract class JIPipeImageViewerPlugin extends Object implements JIPipeWorkbenchAccess, Disposable
Constructor and Description |
---|
JIPipeImageViewerPlugin(JIPipeImageViewer viewerPanel) |
Modifier and Type | Method and Description |
---|---|
abstract String |
getCategory()
The tool panel category where this tool is shown
|
abstract Icon |
getCategoryIcon()
The icon for the category if a new one must be created
|
ImagePlusData |
getCurrentImage() |
ij.ImagePlus |
getCurrentImagePlus() |
JIPipeDataSource |
getDataSource()
Gets the current data source if any is set
|
JIPipeImageViewer |
getViewerPanel() |
JIPipeWorkbench |
getWorkbench() |
void |
initializeSettingsPanel(FormPanel formPanel)
Called when the form panel should be recreated
|
void |
onImageChanged()
Called when the current image is changed
|
void |
onOverlayAdded(Object overlay)
Called if an overlay was added
|
void |
onOverlayRemoved(Object overlay)
Called if an overlay was removed
|
void |
onOverlaysCleared()
Called if the overlays were cleared
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose
public JIPipeImageViewerPlugin(JIPipeImageViewer viewerPanel)
public JIPipeImageViewer getViewerPanel()
public ij.ImagePlus getCurrentImagePlus()
public ImagePlusData getCurrentImage()
public JIPipeWorkbench getWorkbench()
getWorkbench
in interface JIPipeWorkbenchAccess
public JIPipeDataSource getDataSource()
public void onImageChanged()
public void initializeSettingsPanel(FormPanel formPanel)
formPanel
- the form panelpublic abstract String getCategory()
public abstract Icon getCategoryIcon()
public void onOverlayAdded(Object overlay)
overlay
- the overlaypublic void onOverlayRemoved(Object overlay)
overlay
- the overlaypublic void onOverlaysCleared()
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.