Extending a language


forgive my ignorance, but how do I extend existing language with new constructs by means of creating another language? Are there ready examples for doing just this?

For instance, I'd like to create a custom statement in the "baseLanguage" which would have its own custom structure and corresponding editor. So far I've been able to create a "Statement" (sub)concept, which shows up in the class editor, but I can go no further: there's apparently no way I can insert children into my concept. Doing the same thing in a stand-alone editor seems to be quite easy  and straightforward.

Any help would be appreciated.


1 comment
Comment actions Permalink

Alright, I figured if change the kind of the link declaration in my root concept from "reference" to "aggregation" I can finally do something that makes sense, meaning children are being created.   

Very foolish of me to miss this point.



Please sign in to leave a comment.