Menu

OverridingCommands

Tom Swain

Commands are part of the EMF editing domain, which implements a fully functional undo/redo command stack. Typically commands can be overridden in any class that implements the IEditingDomainProvider interface (item providers). One thing to be wary of while overriding commands is the use of intermediate item providers. Commands for adding objects should be overridden using the parent or container object's item provider, however commands for removing objects need be overridden using the intermediate item provider.


Related

Wiki: Home

MongoDB Logo MongoDB