|
|
|
Re: [ATL] how to delete an element used do block in matched rules [message #34879 is a reply to message #33152] |
Fri, 27 April 2007 19:36  |
Eclipse User |
|
|
|
Hello,
Using (unique) lazy rules, you can generate elements only if their
corresponding source elements are referred to (i.e., if you call the
lazy rule on these source elements). This means that you generally do
not end up with too many elements that need to be deleted.
Regards,
Frédéric Jouault
jihed wrote:
> Hello;
> The problem is that making a filter seems to be very heavy(it takes time
> to evaluate the guard and compare values) that's why i want to generate
> needed elements using called rules applied to the generated model and
> after to delete elements i don't need !!
>
> a++
>
> Jihed
> Marcos Didonet Del Fabro a écrit :
>> Hello,
>>
>> usually you should not modify the output model.
>>
>> In your case I suggest to put a filter in the guard of the rule to not
>> allow creating the element.
>>
>> Regards,
>>
>> Marcos.
>>
>> jihed wrote:
>>> Hi..
>>> After using matched rules.. i want to know if it's possible to delete
>>> in do{} sections some elements genrated by matched rules...?
>>> IF yes How we can do it ?
>>> Thank you for answer ...
|
|
|
Powered by
FUDForum. Page generated in 0.02638 seconds