Is it possible for a
ProgramNodeContribution to know if the user deleted it from the program list? Ideally, I’d like some sort of callback called when the user deletes a node, or some status flag that can be checked from withing a program node.
Thanks in advance,
I recently searched for something like that, but couldn’t find anything. I think we can’t
Another thing I found out is that whenever a program node is copied (copied only, not pasted), a new instance is created. When pasting, one more is created, so the one that is created when pressing
Copy is never placed in the program listing.
Perhaps what I’d need given that is a way to check if the program node is present in the robot program’s listing or not.