public class InvertSelectionNodeUIContextAction extends Object implements NodeUIContextAction
SEPARATOR
Constructor and Description |
---|
InvertSelectionNodeUIContextAction() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
Icon |
getIcon() |
String |
getName() |
boolean |
matches(Set<JIPipeDesktopGraphNodeUI> selection)
Returns if the action shows up
|
void |
run(JIPipeDesktopGraphCanvasUI canvasUI,
Set<JIPipeDesktopGraphNodeUI> selection)
Runs the workload
|
boolean |
showInMultiSelectionPanel()
Determines if the item should be shown in the multi-node selection panel
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableOnNonMatch, getKeyboardShortcut, isDisplayedInToolbar, isHidden, showInCompartmentGraph, showInGraphCompartment
public boolean matches(Set<JIPipeDesktopGraphNodeUI> selection)
NodeUIContextAction
matches
in interface NodeUIContextAction
selection
- the list of algorithm UIspublic void run(JIPipeDesktopGraphCanvasUI canvasUI, Set<JIPipeDesktopGraphNodeUI> 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 showInMultiSelectionPanel()
NodeUIContextAction
showInMultiSelectionPanel
in interface NodeUIContextAction
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.