Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Multiple delete dosn't work in my GEF editor
Multiple delete dosn't work in my GEF editor [message #219283] Mon, 10 July 2006 19:15 Go to next message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
Hi,

I have implemement a GEF editor with (to the surprise of all) ;-)
a DeleteCommand.

My Problem is the multiple delete. I select more than one element
(e.g with the marquee tool), after that I press the [del] key.
Now only ONE element will be delete. I must repeat the [del] key
to delete all elements.

Whats the key of success?!


Greetings

Andreas
Re: Multiple delete dosn't work in my GEF editor [message #219343 is a reply to message #219283] Tue, 11 July 2006 10:24 Go to previous message
Eclipse UserFriend
Originally posted by: ingo.koch[nospam].sap.com

Hi Andreas,

in the action which creates your delete command
create a delete command for each selected object and add them to a single
compound command.

Regards, Ingo



"FreeGroup" <a.herz@FreeGroup.de> wrote in message
news:e8u91c$9br$1@utils.eclipse.org...
> Hi,
>
> I have implemement a GEF editor with (to the surprise of all) ;-)
> a DeleteCommand.
>
> My Problem is the multiple delete. I select more than one element
> (e.g with the marquee tool), after that I press the [del] key.
> Now only ONE element will be delete. I must repeat the [del] key
> to delete all elements.
>
> Whats the key of success?!
>
>
> Greetings
>
> Andreas
Previous Topic:Connection Selection
Next Topic:Snap To Grid
Goto Forum:
  


Current Time: Tue Apr 23 16:17:06 GMT 2024

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

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

Back to the top