public class JIPipeDummyWorkbench extends Object implements JIPipeWorkbench
JIPipeWorkbench
that will trigger no errors, but will not work for various functions.
Use at own discretion.Constructor and Description |
---|
JIPipeDummyWorkbench() |
Modifier and Type | Method and Description |
---|---|
org.scijava.Context |
getContext() |
JIPipeNotificationInbox |
getNotificationInbox()
Allows to send notifications on a workbench-level
|
JIPipeProject |
getProject()
Returns the current project if this workbench has an associated project
|
void |
sendStatusBarText(String text)
Sends a text to the status bar
|
void |
showErrorDialog(String message,
String title)
Shows an error dialog
|
void |
showMessageDialog(String message,
String title)
Shows a message dialog
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newTempDirectory, newTempDirectory, newTemporaryFilePath
public void sendStatusBarText(String text)
JIPipeWorkbench
sendStatusBarText
in interface JIPipeWorkbench
text
- The textpublic org.scijava.Context getContext()
getContext
in interface JIPipeWorkbench
public JIPipeNotificationInbox getNotificationInbox()
JIPipeWorkbench
getNotificationInbox
in interface JIPipeWorkbench
public void showMessageDialog(String message, String title)
JIPipeWorkbench
showMessageDialog
in interface JIPipeWorkbench
message
- the messagetitle
- title of the messagepublic void showErrorDialog(String message, String title)
JIPipeWorkbench
showErrorDialog
in interface JIPipeWorkbench
message
- the messagetitle
- title of the messagepublic JIPipeProject getProject()
JIPipeWorkbench
getProject
in interface JIPipeWorkbench
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.