OCCI Configuration designer deletes extension elements along with config elements
wpiers opened this issue · 2 comments
wpiers commented
Due to the fact that the default delete tool of Sirius deletes what is displayed by the mapping.
To fix that we must define a custom delete.
wpiers commented
To fix this issue on any other similar case:
add a simple delete service:
public void deleteElement(EObject eo) {
EcoreUtil.delete(eo);
}
in the .odesign, declare 2 delete tools:
Then apply the tools to the appropriate mapping. If the type is extensionRelated => no delete, delete otherwise.