[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] Processing GMF

Thank you. That could be. In GMF, there is an abstract class Style and the specialized styles (e.g. LineStyle, FillStyle, FontStyle, etc.) inherit from it.

Tomas

Goetz Botterweck wrote:
Tomas Bures wrote:

SEVERE: ****** BEGIN Stack Trace
SEVERE: message: trying to register several rules as default for element inM!<unnamed>: 'R_FillStyle' and 'R_LineStyle'

Could it be that the problem is caused by a specialization relationship between the two classes?


In that case a rule that matches the more generic class also matches the specialized class.

If that is undesired you should add an additional condition with
oclIsTypeOf() to the more general rule.

HTH,
Goetz