|GEF Delete-Command: Multi Selection [message #241014]
||Mon, 28 January 2008 00:13
Originally posted by: mail.bjoren.de|
it seems i have my gef-days this week :)
i am facing the following problem:
i have a gef modeller with edit parts similar to the gef-example modeller,
lets say the shape modeler. i have delete-support via an the
ActionFactory.DELETE-retargetable action and it works..
i use the componenteditpolicy for the edit parts:
if more than one editpart is selected and i press DEL, they will be
deleted. however, i would like to have a confirmation dialog for this
deletion (ok/cancel). How can I arrange that? If I do it in the editpart's
deleteCommand-execute method, the dialog pops up for _every_ selected item
instead of one ok/cancel dialog for all.
I read something in the web about the preferencestore to set that and that
gef internally uses an compoundCommand for the n single delete commands.
However, I didnt find a way to solve my prob.
thanks for your help!
Powered by FUDForum
. Page generated in 0.03626 seconds