| Influence which methods are on which EMF interface [message #1440254] |
Wed, 08 October 2014 01:59  |
Eclipse User |
|
|
|
Hey,
Suppose I have a grammar like this:
ProcessVariant:
'process-variant' name=FQName '{'
(properties+=Property|elements+=ProcessVariantElement|states+=StateType)*
'}'
;
Process:
'process' name=FQName '{' (properties+=Property|elements+=ProcessElement|states+=StateType)* '}'
;
InlineProcess:
'inline-process' name=FQName '{' (properties+=Property|states+=StateType)* '}'
;
StateMachineContributor:
Process|InlineProcess|ProcessVariant
;
What happens is, that StateMachineContributor is an empty interface, and all the three process thingies have their own getStates() method. I'd like to have that common method on the common interface.
Is there any way to influence this without editing the models manually?
Cheers,
Markus
|
|
|
|
Powered by
FUDForum. Page generated in 0.03833 seconds