[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] overload add operation in EMF generated editor

Hello

I'm in need of overloading add operation in my generated EMF editor. I have pretty standard code generated from an ECore model. Without modifications.

Generaly. I'd like to do some things upon the addition on objects to my model. I traced the whole "add" process to AddCommand class and am wondering if it is ok, to overload it. And if yes, how should I do it correctly.

The same thinkg I'd like to do with other commands, like Delete, or Copy. So I'm especially looking for more generic solutions.

Thanks in advance for any answers.

Marcin