public class ExportCompartmentAsJsonNodeUIContextAction extends Object implements NodeUIContextAction
SEPARATOR
Constructor and Description |
---|
ExportCompartmentAsJsonNodeUIContextAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
disableOnNonMatch()
Determines if an item should be disabled or removed if it does not match
|
String |
getDescription() |
Icon |
getIcon() |
String |
getName() |
boolean |
matches(Set<JIPipeNodeUI> selection)
Returns if the action shows up
|
void |
run(JIPipeGraphCanvasUI canvasUI,
Set<JIPipeNodeUI> selection)
Runs the workload
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyboardShortcut, isHidden, showInCompartmentGraph, showInGraphCompartment
public ExportCompartmentAsJsonNodeUIContextAction()
public boolean matches(Set<JIPipeNodeUI> selection)
NodeUIContextAction
matches
in interface NodeUIContextAction
selection
- the list of algorithm UIspublic void run(JIPipeGraphCanvasUI canvasUI, Set<JIPipeNodeUI> selection)
NodeUIContextAction
run
in interface NodeUIContextAction
canvasUI
- the canvas that contains all algorithm UIsselection
- the current selection of algorithmspublic String getName()
getName
in interface NodeUIContextAction
public String getDescription()
getDescription
in interface NodeUIContextAction
public Icon getIcon()
getIcon
in interface NodeUIContextAction
public boolean disableOnNonMatch()
NodeUIContextAction
disableOnNonMatch
in interface NodeUIContextAction
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.