Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Yarblek

Pages: [1]
1
Hi

I'm developing a grammar and code templates for a bespoke language.  The grammar works OK, and code generation works OK.  What I can't figure out is how connectors get generated.  This is particularly important because I want to see the relationships between the generated classes (e.g. if ClassA has a reference to ClassB, then I'd like that to be a connector of some kind).

The AST documentation here doesn't seem to have anything obvious; http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/context_labels.html

The output from running "model synchronization" suggests that this is possible, because it includes lines like:

...
--relationships for ClassA
--linking with existing attributes
...



Am I missing something obvious?  The only option I can see is writing an addin, but that seems a little crazy.

Thanks!

Pages: [1]