public class SetNodeHotkeyContextAction extends Object implements NodeUIContextAction
SEPARATOR
Constructor and Description |
---|
SetNodeHotkeyContextAction() |
Modifier and Type | Method and Description |
---|---|
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
disableOnNonMatch, getKeyboardShortcut, isHidden, showInCompartmentGraph, showInGraphCompartment
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
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.