Uses of Record Class
sc.fiji.snt.PathNodeEditor.Result
Packages that use PathNodeEditor.Result
-
Uses of PathNodeEditor.Result in sc.fiji.snt
Methods in sc.fiji.snt that return PathNodeEditor.ResultModifier and TypeMethodDescriptionPathNodeEditor.connectToNode(Path parent, int nodeIdx, GuiUtils gui) Connects the active node of the editing path to a node of another path (e.g., the node snapped to by a 'magnetic' cursor).PathNodeEditor.connectToSecondaryPath(GuiUtils gui, boolean showDialog) Connects the active node of the editing path to the active node of the secondary path (the one edited previously).PathNodeEditor.deleteNode()Deletes the active node.PathNodeEditor.deleteNodeOrPath(GuiUtils gui) Deletes the active node or, if the editing path is too short to lose nodes (seePathNodeEditor.isTooShortToDeleteNode()), the entire path after asking for confirmationPathNodeEditor.deleteWholePath()Deletes the entire editing path from the Path Manager.PathNodeEditor.insertNode(double x, double y, double z) Inserts a node at the specified position, immediately before the active node.PathNodeEditor.moveNode(double x, double y, double z) Moves the active node to the specified positionPathNodeEditor.moveNode(double x, double y, double z, boolean recordUndo) Moves the active node to the specified positionPathNodeEditor.promptAndSetRadius(GuiUtils gui) Prompts for, and assigns, a radius to the active node (mirrors the dialog of the classic canvas)PathNodeEditor.setActiveNodeAsRoot(GuiUtils gui) Makes the active node the root of its tree.PathNodeEditor.splitTreeAtActiveNode(GuiUtils gui) Splits the tree at the active node.Assigns (or removes, if null) a color tag to the active nodeAsPathNodeEditor.tagNode(Color), for a node that was the active one when a color chooser was opened: the active node follows the cursor while a chooser is open, so it is restored firstPathNodeEditor.toggleLock()Toggles the locked state of the active node.PathNodeEditor.undo()Undoes the last node editMethod parameters in sc.fiji.snt with type arguments of type PathNodeEditor.ResultModifier and TypeMethodDescriptionvoidPathNodeEditor.Result.dispatch(Consumer<PathNodeEditor.Result> onPathsChanged, Consumer<PathNodeEditor.Result> onNodesChanged, Consumer<PathNodeEditor.Result> onRefused) Routes this outcome to the front-end reaction that applies, in order of precedence: paths changed (whether or not the operation succeeded), nodes changed, or operation refused/failed with the paths intact.