Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Invoke an action from tool(Entry)
Invoke an action from tool(Entry) [message #690806] Thu, 30 June 2011 08:57
rem is currently offline remFriend
Messages: 1
Registered: June 2011
Junior Member
Hi everyone,

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,

Sebastian
Previous Topic:Listen on view resize
Next Topic:Custom Figure does not show
Goto Forum:
  


Current Time: Mon Nov 19 07:35:04 GMT 2018

Powered by FUDForum. Page generated in 0.02348 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top