Fragment reentrance [message #1490468] |
Fri, 28 November 2014 07:03  |
Eclipse User |
|
|
|
Are GenDoc fragments reentrant?
In other words, is it possible to call a fragment directly or indirectly from itself?
Thanks
Yves
|
|
|
Re: Fragment reentrance [message #1560103 is a reply to message #1490468] |
Mon, 12 January 2015 11:47   |
Eclipse User |
|
|
|
Hi Yves,
No it is not the case. A fragment does not recognize its own name and cycling dependancies between fragments are not possible.
Have you tried to formulate your fragment differently : for example a recursive OCL query + a not recursive fragment ?
Anne
|
|
|
Re: Fragment reentrance [message #1560256 is a reply to message #1560103] |
Mon, 12 January 2015 13:42  |
Eclipse User |
|
|
|
Hi Anne,
Thank you.
I have no specific issue there. I was just wanting to investigate about the possibility to create more compact and flexible GenDoc template.
One point which makes difficult to create templates that are really generic is that the depth of the package hierarchy have to be known in advance in most cases. Being able to rely on reentrant fragments could have help in solving this issue. 
Yves
|
|
|
Powered by
FUDForum. Page generated in 0.03038 seconds