Selection causes GroupRequest of Type "delete" [message #142276] |
Fri, 09 July 2004 16:05 |
Eclipse User |
|
|
|
Originally posted by: torsten-winkler.web.de
Hello all,
I am trying to delete EditParts from my GraphicalEditorWithPalette. For this
I am using GEF's DeleteAction. I can display the delete-menu entry in
eclipse's Edit Menu and selecting the Delete Entry causes the
ComponentEditPolicy of the selected edit part to create a DeleteCommand in
the method createDeleteCommand(GroupRequest request).
This is how I expect it to be.
My Problem is, that every selection (I am using a SelectionTool) causes the
same effect in the ComponentEdit Policy. This means GEF somehow creates an
GroupRequest and this Request is of the type "delete" upon each selection.
This Request is caught by the ComponentEditPolicy of the selected EditPart
and the DeleteCommand is created.
BTW: the same effect appears by selecting an EditPart by means of the
marquee tool.
Does anyone know why the selection creates these strange Requests?
Cheers
Torsten
|
|
|
Powered by
FUDForum. Page generated in 0.03091 seconds