Jan Krakora Messages: 477 Registered: December 2009 Location: Prague
Hi, you should update your part's visual representation in AbstractEditPart.refreshVisuals().
If you need to remove an existing part and replace it with a new one, then I think it's its parent responsibility to do that.
You have to change the list returned from parent's getModelChildren() method and call refreshChildren()
or call removeChild(EditPart child) and addChild(EditPart child) for more efficient way.