Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » XPand migration - Xtend to QVTO
XPand migration - Xtend to QVTO [message #509419] Fri, 22 January 2010 12:00 Go to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
Hi,

during migration of custom XPand aspect templates Xtend is being replaced by
QVTO usage. Is there any example out there how to rewrite selections of
lists/collections? One certain functionality I am looking for is how to do
* myList.typeSelect(myType)
* myList.select(elem | elem.myAttribute)
* myList.reject(elem | elem.myAttribute)

Maybe somebody figured that out already? Thanks for any help.

Regards,
Axel
Re: XPand migration - Xtend to QVTO [message #510044 is a reply to message #509419] Tue, 26 January 2010 09:49 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
Does anybody have an idea about that question, please?
Re: XPand migration - Xtend to QVTO [message #510216 is a reply to message #510044] Tue, 26 January 2010 12:52 Go to previous message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
For anybody having the same problem: some examples are available in *.qvto
files in org.eclipse.gmf.tests.xpand.migration/
resources/org/eclipse/gmf/tests/xpand/migration/

Greetings
Axel
Previous Topic:Double border
Next Topic:Advanced GMF - GMF Tools vs. Manual Code
Goto Forum:
  


Current Time: Wed Apr 24 23:58:09 GMT 2024

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

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

Back to the top