Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Getting title of elements in EWL
Getting title of elements in EWL [message #504126] Thu, 17 December 2009 11:30 Go to next message
Bak Attila is currently offline Bak AttilaFriend
Messages: 29
Registered: December 2009
Junior Member
Hi,

I am using tools.select(t|t."title" in EWL and that seems to be the problem.

If i write tools.select(t|t.~title is that correct escaping or how should i escape correctly?

Many thanks
attila
Re: Getting title of elements in EWL [message #504629 is a reply to message #504126] Mon, 21 December 2009 20:34 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Bak Attila wrote on Thu, 17 December 2009 06:30
Hi,

I am using tools.select(t|t."title" in EWL and that seems to be the problem.

If i write tools.select(t|t.~title is that correct escaping or how should i escape correctly?

Many thanks
attila


Attila,

I'm terribly sorry for the delay in responding to your question. I had a problem using my RSS reader, which I believe I've now corrected.

Since Epsilon 0.8.8, the correct syntax is:
t.`title`


The tilde prefix is used to access "extended" properties of a model element. Extended properties are used to attach some kind of information (that is not supported by the metamodel) to particular model elements. Until now, we've been using Maps to achieve this (similarly to what we've done above).

A more thorough discussion of extended properties is available here:

http://epsilonblog.wordpress.com/2008/01/30/extended-propert ies-in-eol/

Best,
Louis.
Previous Topic:Error when running the standalone examples
Next Topic:Getting title of elements in EWL
Goto Forum:
  


Current Time: Thu Apr 25 23:23:04 GMT 2024

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

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

Back to the top