Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Select and delete ASMModelElement
[ATL] Select and delete ASMModelElement [message #71916] Tue, 15 January 2008 08:48 Go to next message
Eclipse UserFriend
Originally posted by: awiede01.univ-lr.fr

Is it possible to select by type (yes) and then delete particular
ASMModelElement instances from an ASMModel instance within Java (I suppose
yes since the standard eclipse .ecore editor can do so...)?

Regards..
Antoine
Re: [ATL] Select and delete ASMModelElement [message #73283 is a reply to message #71916] Thu, 24 January 2008 16:37 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hello,

> Is it possible to select by type (yes) and then delete particular
> ASMModelElement instances from an ASMModel instance within Java (I
> suppose yes since the standard eclipse .ecore editor can do so...)?

There is no abstract delete() method in ASMModelElement, and no
implementation in ASMEMFModelElement or ASMMDRModelElement.

However, it is possible to delete elements from EMF or MDR models.
Please, do not hesitate to contribute a delete() method.


Regards,

Frédéric Jouault
Previous Topic:[ATL] Group elements together in target model
Next Topic:[ATL] Is it possible to transform between two in-momery models?
Goto Forum:
  


Current Time: Wed Apr 14 16:12:08 GMT 2021

Powered by FUDForum. Page generated in 0.02358 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top