public class OMEROAnnotationReferenceData extends Object implements JIPipeData
Constructor and Description |
---|
OMEROAnnotationReferenceData() |
OMEROAnnotationReferenceData(AnnotationData annotationData,
OMEROCredentialsEnvironment environment) |
OMEROAnnotationReferenceData(long annotationId) |
Modifier and Type | Method and Description |
---|---|
void |
display(String displayName,
JIPipeWorkbench workbench,
JIPipeDataSource source)
This function should display the data in the GUI.
|
JIPipeData |
duplicate(JIPipeProgressInfo progressInfo)
Duplicates the data
|
void |
exportData(JIPipeWriteDataStorage storage,
String name,
boolean forceName,
JIPipeProgressInfo progressInfo)
Saves the data to a folder
|
long |
getAnnotationId() |
String |
getName() |
String |
getUrl() |
static OMEROAnnotationReferenceData |
importData(JIPipeReadDataStorage storage,
JIPipeProgressInfo progressInfo) |
void |
setAnnotationId(long annotationId) |
void |
setName(String name) |
void |
setUrl(String url) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, createThumbnail, exportThumbnails, getDescriptionOf, getMenuPathOf, getNameOf, getSortedList, getStorageDocumentation, getStorageSchema, groupByMenuPath, isCommon, isHeavy, isHidden, preview, toDetailedString
public OMEROAnnotationReferenceData()
public OMEROAnnotationReferenceData(long annotationId)
public OMEROAnnotationReferenceData(AnnotationData annotationData, OMEROCredentialsEnvironment environment)
public static OMEROAnnotationReferenceData importData(JIPipeReadDataStorage storage, JIPipeProgressInfo progressInfo)
public long getAnnotationId()
public void setAnnotationId(long annotationId)
public String getName()
public void setName(String name)
public String getUrl()
public void setUrl(String url)
public void exportData(JIPipeWriteDataStorage storage, String name, boolean forceName, JIPipeProgressInfo progressInfo)
JIPipeData
exportData
in interface JIPipeData
storage
- The storage where the data should be writtenname
- A name reference that can be used to generate filename(s)forceName
- If enabled, the data is saved potentially destructively. Generated files must always contain the name parameter. This is used to collect results for humans or other algorithms.progressInfo
- the progresspublic JIPipeData duplicate(JIPipeProgressInfo progressInfo)
JIPipeData
duplicate
in interface JIPipeData
progressInfo
- the progress of duplicating the datapublic void display(String displayName, JIPipeWorkbench workbench, JIPipeDataSource source)
JIPipeData
JIPipeDataDisplayOperation
that can be registered separately.
This item will always be shown as "Default" in the list of operations.display
in interface JIPipeData
displayName
- a name that can be usedworkbench
- the workbenchsource
- optional source of the data. Can be null or any kind of data type (e.g. JIPipeDataSlot
)Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.