[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] Delete Element in refining mode

Hello,

I found topics about how to delete an element from a model using superimposition.
I would like to know how to do it using refining mode execution.

In ATL 2004, deleting an element can be achieved by making sure no reference to it is left. Because the ATL 2004 refining mode works by copying the source model, the element to "delete" was actually "not copied".


In ATL 2006, the refining mode works by performing in-place changes. Therefore, an actual "delete" must be performed. This is not implemented yet.

In the mean time, you may try removing all references to the element you want to delete. Although it will still be in the model, you may ignore it later. For instance, the TCS extractor will ignore it because it is not reachable from the root.

Please, note that the ATL 2006 refining mode is still experimental.


Regards,

Frédéric Jouault