Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » Xtend: How to collect all visible instances of xpand::Type?(I need to retrieve all the visible xpand2::Type elements.)
Xtend: How to collect all visible instances of xpand::Type? [message #491620] Thu, 15 October 2009 05:33 Go to next message
Eclipse UserFriend
Hi all,

I need to retrieve all the visible elements of xpand2::Type and not ecore::EClass. Basically, I need to collect in a list of all my ecore metaobjects, but in the form of xpand2::Type and not ecore::EClass. How to achieve this?

Another question: is there a way to get an xpand2::Type element given the corresponding ecore::EClass?

Cheers,
Cédric

[Updated on: Thu, 15 October 2009 05:33] by Moderator

Re: Xtend: How to collect all visible instances of xpand::Type? [message #492228 is a reply to message #491620] Mon, 19 October 2009 10:04 Go to previous message
Eclipse UserFriend
xpand2::Type is the type for all types (comparable to java.lang.Class)
There's no way to get all instances of a certain type.

What exactly do you want to achieve?

Sven


C schrieb:
> Hi all,
>
> I need to retrieve all the visible elements of xpand2::Type and not
> ecore::EClass. Basically, I need to collect in a list all my ecore
> metaobjects, but in the form of xpand2::Type and not ecore::EClass. How
> to achieve this?
>
> Another question: is there a way to get an xpand2::Type element given
> the corresponding ecore::EClass?
>
> Cheers,
> Cédric


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Previous Topic:Any update site for plugin org.eclipse.emf.mwe.ewm.core ?
Next Topic:How to escape ${expr} in JET templates?
Goto Forum:
  


Current Time: Wed Jul 23 00:20:31 EDT 2025

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

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

Back to the top