Frage

I'm new to Acceleo, but I understand that modules have both private and public elements which can be accessed by other modules (via extending / importing those modules).

In my case I have

[module generate('my_model_URI')/]
[import com::example::ecore /]
...

where I'm importing another module which uses the ECore namespace.

I want to access the Ecore module's public elements - what is the notation for this?

War es hilfreich?

Lösung

Got it:

ecore::EAttribute

or in the general form:

Module::Element

accesses public elements of a module.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top