Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [JET] Switching on eClass()
[JET] Switching on eClass() [message #610230] Tue, 06 November 2007 06:35
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

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
Previous Topic:[CDO] No client notifications when changes saved
Next Topic:EMF plugin
Goto Forum:

Current Time: Thu Apr 25 08:12:50 GMT 2024

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

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

Back to the top