Re: [JET] Switching on eClass() [message #35400] |
Tue, 06 November 2007 12:27 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Jörn,
I'll redirect your JET question to the M2T newsgroup which I've added to
the "to" list of the reply.
Jörn Guy Süß wrote:
> I am trying to use EMF JET to traverse an EMF model. I am able to access the
> members of the model, but I need the equivalent of the EMF Switch utility
> class to distinguish instances of subclasses. I would like to use the
> built-in XPath functions, if possible.
>
> Concrete case: I have a Script metaclass, which has an eReference to a Steps
> Metaclass, that are of different subtypes. I have to produce different
> output for each case. How can I write this in EMF JET?
>
> What is the test predicate of the conditional?
>
> <c:when test="value">
> content to process if tag condition is satisfied
> </c:when>
>
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03123 seconds