[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: Using a matched rule from a lazy rule

Sorry for reviving this one but i have / had a similar problem. If i understand the execution semantics correctly this is not possible since the step of matching matched rules to the elements is done before the lazy rules are executed.

To me this i pretty annoying since once your start using lazy rules for some element within your models hierarchy everything below this element has to be created by lazy rules as well ( or it gets created as a root element).

I would be really interested in why it is that way. I mean why couldn't one first execute all the imperative stuff and apply the matching phase to whatever elements did not get handled?

I would be glad if someone with the bigger picture in mind could help me understand this behavior.

Thanks in advance,

Philipp