Domanda

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?

È stato utile?

Soluzione

Got it:

ecore::EAttribute

or in the general form:

Module::Element

accesses public elements of a module.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top