Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Deferring Notifications of a Compound Command
Deferring Notifications of a Compound Command [message #760806] Mon, 05 December 2011 10:32 Go to next message
Michael  Mühlberg is currently offline Michael MühlbergFriend
Messages: 33
Registered: July 2009
Member
Hello,

we currently have a set and an add command in a compound command and don't
want the change notifications triggerred after each command but after the
whole compound
command has finished.

Is there a possibility to defer the single command change notifications to
the end of the
compound command?

Ciao, Michael
Re: Deferring Notifications of a Compound Command [message #760862 is a reply to message #760806] Mon, 05 December 2011 13:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Michael,

Notifications always happen right after the model is changed. You can
listen to the commands stack to trigger something after the command
itself completes.


On 05/12/2011 2:32 AM, Michael Mühlberg wrote:
> Hello,
>
> we currently have a set and an add command in a compound command and
> don't
> want the change notifications triggerred after each command but after
> the whole compound
> command has finished.
>
> Is there a possibility to defer the single command change
> notifications to the end of the
> compound command?
>
> Ciao, Michael


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] DB Store duplicate key violation
Next Topic:Extended Models
Goto Forum:
  


Current Time: Sat Apr 27 05:16:28 GMT 2024

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

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

Back to the top