|Obtaining all subrules from a rule to ease <Grammar>Formatter [message #988459]
||Fri, 30 November 2012 00:25
| Barrie Treloar
Registered: July 2009
I have a rule which I can find via is *Access() method|
Is there a way to find out what sub rules this rule contains?
I can call .getGroup() but I'm not sure what is in that.
The generated code says
which looks like EMF magic I dont yet understand.
private final Group cGroup = (Group)rule.eContents().get(1);
I'm trying to avoid having to know (and specify) the formatting rules for stuff contained within this rule. So I want to iterate over the sub rules and specify the formatting without manually specifying everything.
Can I do this?
Powered by FUDForum
. Page generated in 0.02912 seconds