public abstract class JIPipeDesktopLegacyImageViewerPlugin extends Object implements JIPipeDesktopWorkbenchAccess, org.scijava.Disposable
Constructor and Description |
---|
JIPipeDesktopLegacyImageViewerPlugin(JIPipeDesktopLegacyImageViewer viewerPanel) |
Modifier and Type | Method and Description |
---|---|
JComponent |
buildCustomPanel() |
abstract void |
buildDock(JIPipeDesktopDockPanel dockPanel) |
void |
buildPanel(JIPipeDesktopFormPanel formPanel) |
abstract void |
buildRibbon(JIPipeDesktopRibbon ribbon) |
abstract void |
buildStatusBar(JToolBar statusBar) |
ImagePlusData |
getCurrentImage() |
ij.ImagePlus |
getCurrentImagePlus() |
JIPipeDataSource |
getDataSource()
Gets the current data source if any is set
|
JIPipeDesktopWorkbench |
getDesktopWorkbench() |
abstract Icon |
getPanelIcon()
The icon for the category if a new one must be created
|
abstract JIPipeDesktopDockPanel.PanelLocation |
getPanelLocation() |
abstract String |
getPanelName()
The tool panel category where this tool is shown
|
JIPipeDesktopLegacyImageViewer |
getViewerPanel() |
JIPipeWorkbench |
getWorkbench() |
boolean |
isActive() |
boolean |
isBuildingCustomPanel() |
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
|
public JIPipeDesktopLegacyImageViewerPlugin(JIPipeDesktopLegacyImageViewer viewerPanel)
public JIPipeDesktopLegacyImageViewer getViewerPanel()
public ij.ImagePlus getCurrentImagePlus()
public ImagePlusData getCurrentImage()
public JIPipeDesktopWorkbench getDesktopWorkbench()
getDesktopWorkbench
in interface JIPipeDesktopWorkbenchAccess
public JIPipeWorkbench getWorkbench()
getWorkbench
in interface JIPipeWorkbenchAccess
public JIPipeDataSource getDataSource()
public void onImageChanged()
public abstract String getPanelName()
public abstract JIPipeDesktopDockPanel.PanelLocation getPanelLocation()
public abstract Icon getPanelIcon()
public void onOverlayAdded(Object overlay)
overlay
- the overlaypublic void onOverlayRemoved(Object overlay)
overlay
- the overlaypublic void onOverlaysCleared()
public abstract void buildRibbon(JIPipeDesktopRibbon ribbon)
public abstract void buildDock(JIPipeDesktopDockPanel dockPanel)
public abstract void buildStatusBar(JToolBar statusBar)
public void buildPanel(JIPipeDesktopFormPanel formPanel)
public boolean isActive()
public JComponent buildCustomPanel()
public boolean isBuildingCustomPanel()
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.