public class GraphNodeParameterReferenceGroupCollection extends AbstractJIPipeParameterCollection implements JIPipeValidatable
GraphNodeParameterReferenceGroup
and GraphNodeParameterCollectionReference
Stores references to parameters within an JIPipeGraph
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
Constructor and Description |
---|
GraphNodeParameterReferenceGroupCollection()
Creates a new instance
|
GraphNodeParameterReferenceGroupCollection(GraphNodeParameterReferenceGroupCollection other)
Makes a copy
|
Modifier and Type | Method and Description |
---|---|
void |
addGroups(Collection<GraphNodeParameterReferenceGroup> groups)
Adds multiple groups
|
GraphNodeParameterReferenceGroup |
addNewGroup()
Adds a new empty group
|
JIPipeGraph |
getGraph()
Returns the reference to the graph.
|
List<GraphNodeParameterReferenceGroup> |
getParameterReferenceGroups() |
Set<UUID> |
getUiRestrictToCompartments() |
void |
onReferencesChanged(ParameterReferencesChangedEvent event)
Triggered when some parameters were changed down the line
|
void |
removeGroup(GraphNodeParameterReferenceGroup group)
Removes the group
|
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
void |
setGraph(JIPipeGraph graph) |
void |
setParameterReferenceGroups(List<GraphNodeParameterReferenceGroup> parameterReferenceGroups) |
void |
setUiRestrictToCompartments(Set<UUID> uiRestrictToCompartments) |
getEventBus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateValidityReport
addParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, isParameterUIVisible, isParameterUIVisible, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChange
public GraphNodeParameterReferenceGroupCollection()
public GraphNodeParameterReferenceGroupCollection(GraphNodeParameterReferenceGroupCollection other)
other
- the originalpublic JIPipeGraph getGraph()
public void setGraph(JIPipeGraph graph)
public GraphNodeParameterReferenceGroup addNewGroup()
public void addGroups(Collection<GraphNodeParameterReferenceGroup> groups)
groups
- groupspublic List<GraphNodeParameterReferenceGroup> getParameterReferenceGroups()
public void setParameterReferenceGroups(List<GraphNodeParameterReferenceGroup> parameterReferenceGroups)
public void onReferencesChanged(ParameterReferencesChangedEvent event)
event
- the eventpublic void removeGroup(GraphNodeParameterReferenceGroup group)
group
- the grouppublic void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
report
- the report to be added toCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.