[ATL] Delete element in refining mode [message #104137] |
Mon, 27 April 2009 06:23 |
micromilua 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
|
|
|
Powered by
FUDForum. Page generated in 0.02846 seconds