Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Xpand] Having trouble accessing signals from enclosing package
[Xpand] Having trouble accessing signals from enclosing package [message #671413] Tue, 17 May 2011 15:21
Eclipse UserFriend
I'm referencing a custom UML profile in my Xpand templates that has stereotypes for Signals and Packages, and I'm having trouble accessing the signals within the package.

This is a snippet of what I'm trying:


<<DEFINE DoSomething FOR MyProfile::MyPackage>>
<<FOREACH this.ownedType.typeSelect(MyProfile::MySignal) AS signal>>
<<EXPAND DoSomethingForSignal FOR signal>>
<<ENDDEFINE>>

<<DEFINE DoSomethingForSignals FOR MyProfile::MySignal>>
<<this.propertyName>>
<<ENDDEFINE>>

When I try to run the templates, I'm getting no output. Am I trying to access the signals incorrectly with Xpand? Any recommendations would be appreciated.

Regards,

Lourdes
Previous Topic:Acceleo Remove Annotation Error
Next Topic:[Acceleo] Bug in Acceleo ?
Goto Forum:
  


Current Time: Thu Jul 10 04:27:11 EDT 2025

Powered by FUDForum. Page generated in 0.07082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top