|
Re: [acceleo]Accessing UML elements in SysML Model [message #639149 is a reply to message #638362] |
Mon, 15 November 2010 12:19 |
|
This is a multi-part message in MIME format.
--------------030200040808050803040801
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi Bill,
If you wish to use the type from multiple metamodels, you have to tell
Acceleo that you will. This is done in the [module/] block at the
beginning of all of your mtl files. For example if I wish for a module
to take types from both Ecore and GenModel :
[module Common('http://www.eclipse.org/emf/2002/GenModel',
'http://www.eclipse.org/emf/2002/Ecore')/]
Laurent Goubet
Obeo
On 11/11/2010 03:38, Bill Kinahan wrote:
> I am trying to transform a SysML model and am having difficulty getting
> access to some model elements such as standards, ports and packages. It
> appears to me from the list of items I see in the sytax completion menu,
> that only SysML extension elements (e.g., Block, FlowPort,
> ConstrintBlock) are recognized by the editor.
>
> Is this the correct behavior? What if I want to use a template on all of
> the standard ports present in a Block?
>
> Perhaps I need to include some other resource into either my SysML model
> or my Acceleo model?
>
> Thanks in advance for your help.
>
> Bill
--------------030200040808050803040801
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------030200040808050803040801--
|
|
|
Powered by
FUDForum. Page generated in 0.02441 seconds