public interface JIPipeWorkbench
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
|
default Path |
newTempDirectory()
Creates a new temporary directory.
|
default Path |
newTempDirectory(String baseName)
Creates a new temporary directory.
|
default Path |
newTemporaryFilePath(String baseName,
String suffix)
Creates a new temporary file path.
|
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
|
void sendStatusBarText(String text)
text
- The textorg.scijava.Context getContext()
JIPipeNotificationInbox getNotificationInbox()
void showMessageDialog(String message, String title)
message
- the messagetitle
- title of the messagevoid showErrorDialog(String message, String title)
message
- the messagetitle
- title of the messageJIPipeProject getProject()
default Path newTempDirectory()
default Path newTempDirectory(String baseName)
baseName
- the base namedefault Path newTemporaryFilePath(String baseName, String suffix)
baseName
- the base namesuffix
- the suffix (extensions must include the dot)Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.