public class EnumParameterGenerator extends DefaultJIPipeParameterGenerator
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
Constructor and Description |
---|
EnumParameterGenerator() |
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
generate(JIPipeWorkbench workbench,
Component parent,
Class<T> klass)
Generates the values
|
<T> List<T> |
generateAfterDialog(JIPipeWorkbench workbench,
Component parent,
Class<T> klass)
This function generates the values after the dialog was confirmed
|
String |
getDescription() |
DynamicStringSetParameter |
getGeneratedValues() |
String |
getName() |
void |
setGeneratedValues(DynamicStringSetParameter generatedValues) |
getEventBus, reportValidity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, isParameterUIVisible, isParameterUIVisible, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChange
generateValidityReport
public <T> List<T> generate(JIPipeWorkbench workbench, Component parent, Class<T> klass)
JIPipeParameterGenerator
generate
in interface JIPipeParameterGenerator
generate
in class DefaultJIPipeParameterGenerator
T
- the generated field typeworkbench
- the workbenchparent
- the parent component for any dialogsklass
- the generated field classpublic <T> List<T> generateAfterDialog(JIPipeWorkbench workbench, Component parent, Class<T> klass)
DefaultJIPipeParameterGenerator
generateAfterDialog
in class DefaultJIPipeParameterGenerator
T
- the generated classparent
- the parentpublic DynamicStringSetParameter getGeneratedValues()
public void setGeneratedValues(DynamicStringSetParameter generatedValues)
public String getName()
public String getDescription()
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.