Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Delete element in refining mode
[ATL] Delete element in refining mode [message #104137] Mon, 27 April 2009 06:23
micromilua  is currently offline micromilua Friend
Messages: 20
Registered: July 2009
Junior Member
Hi, I serach the old post and find the sample code

rule Class {
from
input : UML!Class
to
refined : UML!Class (
name <- input.name
),
added : UML!Interface(
package <- input.package,
name <- 'I' + input.name
)
}

It helps me adding new elemnets in refining mode.
but, if I want to delete element , what should I do?

I serach the old post,the keyword is "destory()"

For example, I want to delete "fork" element from a Satechart

before I use refining method, I use UML2Copy example.

I delete the fork rule,and the fork element will be not "trasformated"

But , I think , the solution is bad.


Anybody offer some help or suggestion please

Very Thanks

milua
Previous Topic:[ATL] Model Copy
Next Topic:[ATL] Strange behavior with resolveTemp
Goto Forum:
  


Current Time: Thu Apr 25 22:54:46 GMT 2024

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

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

Back to the top