public class ROIDrawerFormData extends FormData
FormData
for drawing ROIsFormData.Serializer, FormData.TabSettings
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
ROIDrawerFormData(List<JIPipeMultiIterationStep> iterationSteps,
DrawROIAlgorithm drawROIAlgorithm) |
Modifier and Type | Method and Description |
---|---|
void |
customCopy(FormData source,
CustomValidationReportContext context,
JIPipeValidationReport report)
A custom copy function that copies the contents from source into this form.
|
void |
customReset()
A custom reset method
|
JIPipeData |
duplicate(JIPipeProgressInfo progressInfo)
Duplicates the data
|
Component |
getEditor(JIPipeDesktopWorkbench workbench)
Gets a component that acts as the editor for the form data.
|
JIPipeDesktopLegacyImageViewer |
getImageViewerPanel() |
boolean |
isUsingCustomCopy()
Determines whether this form data uses a custom copy method for the "Apply to ..." function
If false, duplicate() is used
If true, customCopy(src) is used
|
boolean |
isUsingCustomReset()
Determines whether this form data uses a custom reset method
If false, a new copy of the original data is created
If true, customReset() is called
|
void |
loadData(JIPipeMultiIterationStep iterationStep)
This method is called by the form processor nodes on loading data into this form.
|
void |
reportValidity(JIPipeValidationReportContext reportContext,
JIPipeValidationReport report)
Generates a validity report
|
void |
writeData(JIPipeMultiIterationStep iterationStep)
This method should write any changes into the iteration step
|
exportData, fromJson, getTabSettings, importData, isImmutable, preview
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, createThumbnail, exportThumbnails, getDescriptionOf, getMenuPathOf, getNameOf, getSortedList, getStorageDocumentation, getStorageSchema, groupByMenuPath, isCommon, isHeavy, isHidden, toDetailedString
generateValidityReport
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
public ROIDrawerFormData(List<JIPipeMultiIterationStep> iterationSteps, DrawROIAlgorithm drawROIAlgorithm)
public JIPipeDesktopLegacyImageViewer getImageViewerPanel()
public boolean isUsingCustomCopy()
FormData
isUsingCustomCopy
in class FormData
public void customCopy(FormData source, CustomValidationReportContext context, JIPipeValidationReport report)
FormData
JIPipeValidationReport
to report issues.customCopy
in class FormData
source
- the source datacontext
- the contextreport
- the error reportpublic boolean isUsingCustomReset()
FormData
isUsingCustomReset
in class FormData
public void customReset()
FormData
customReset
in class FormData
public void reportValidity(JIPipeValidationReportContext reportContext, JIPipeValidationReport report)
JIPipeValidatable
reportContext
- the report contextreport
- the report to be added topublic JIPipeData duplicate(JIPipeProgressInfo progressInfo)
JIPipeData
progressInfo
- the progress of duplicating the datapublic Component getEditor(JIPipeDesktopWorkbench workbench)
FormData
public void loadData(JIPipeMultiIterationStep iterationStep)
FormData
public void writeData(JIPipeMultiIterationStep iterationStep)
FormData
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.