[Xpand] Having trouble accessing signals from enclosing package [message #671413] |
Tue, 17 May 2011 19:21 |
Eclipse User Messages: 14 Registered: January 2011 |
Junior Member |
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.01989 seconds