Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:21
Eclipse User is currently offline Eclipse UserFriend
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>>

<<DEFINE DoSomethingForSignals FOR MyProfile::MySignal>>

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.


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

Current Time: Tue Nov 28 11:26:58 GMT 2023

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

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

Back to the top