[furcas-discussion] Houston...
Thomas Goldschmidt
thomas.goldschmidt at de.abb.com
Tue Feb 22 08:28:23 CET 2011
Hi Axel,
Sorry, but I currently do not understand what the difference between
storing the template and storing the parser rule name in the
ForEachContext is, from my point of view this should be equivalent, right?
If not, why is that so?
Cheers,
Thomas
Thomas Goldschmidt
ABB AG
Forschungszentrum
Wallstadter Straße 59
68526 Ladenburg
Office Phone: +49 6203 716134
Office Fax: +49 6203 716253
e-mail: thomas.goldschmidt at de.abb.com
ABB AG
Sitz/Head Office: Mannheim
Registergericht/Registry Court: Mannheim
Handelsregisternummer/Commercial Register No.: HRB 4664
Geschäftsführung/Managing Board: Peter Smits (Vorsitzender), Joachim
Schneider, Markus Ochsner, Hans-Georg Krabbe
Vorsitzender des Aufsichtsrats/Chairman of Supervisory Board: Bernhard
Jucker
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
"Uhl, Axel" <axel.uhl at sap.com>
Sent by: furcas-discussion-bounces at lists.furcas.org
21.02.2011 22:20
To
furcas-discussion <furcas-discussion at lists.furcas.org>
cc
Subject
[furcas-discussion] Houston...
...we have a problem. After my attempt to execute the delayed reference
resolving loop twice for the foreach propinits, a test in the
TestForeachPredicateProperty class failed. It turns out that it runs
without textblocks generation support. This in turn seems to cause the
ParserTextBlocksHandler not to be subscribed as an observer during the
parsing process. Yet in turn, the property init elements are not set on
DelayedReferences in their queryElement attribute.
Now, when executing the foreach propinit, I'm trying to determine the
template used to produce the foreach target. However, there is no property
init attached to the Reference.
It turns out that it's not such a good idea to try to remember the
Template in the ForEachContext for later comparison for re-use. Instead,
I'm now storing the parser rule name / method name in the ForEachContext.
This way, I can also perform a comparison whether or not to re-use a model
element without having the text blocks handy.
So, as a heads-up, I've changed the ForEachContext part of the textblocks
metamodel. Commit hopefully coming soon.
-- Axel
_______________________________________________
Furcas-discussion mailing list
Furcas-discussion at lists.furcas.org
http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.furcas.org/pipermail/furcas-discussion/attachments/20110222/c2dc9ccc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 454 bytes
Desc: not available
URL: <http://lists.furcas.org/pipermail/furcas-discussion/attachments/20110222/c2dc9ccc/attachment.gif>
More information about the Furcas-discussion
mailing list