|Invoke an action from tool(Entry) [message #690806]
||Thu, 30 June 2011 08:57
Registered: June 2011
I took over a projekt from a colleague. It is an PetriNet-Editor (to be more specific an Editor with an plugin that allows you to edit PetriNets). I already implemented some standard functions (add/move/...) but encounter some "problems" with deletion.
The problem is not to implement the deletion of objects but to invoke it the right way. I read in some tutorials that there is an DeletionAction and I already can invoke it from an context menu. But the way the editor is set up I have to invoke it from an ToolEntry.
Is there a way to call the DeletionAction from/with a Tool? Or is this the wrong way and I should just create an Request/Command for the deletion?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.01774 seconds