[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] method creation/deletion inside model

Greetings, i have a diagram editor (extends  ecorediagrameditor)  that 
programmatically needs to add/remove/change the methods inside the classes 
on the diagram.

I noticed that inside the EObject ( 
IGraphicalEditPart.getModel().getElement() ) i could get the methods using 
eobject.getEOperations()  but i dont know how to replace them inside the 
model with a new EList

Its possible to do that and refresh my diagram if needed?

getEOperations() is the right method to do it?

thanks for your time, bye.