Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gendoc » Fragment reentrance
Fragment reentrance [message #1490468] Fri, 28 November 2014 07:03 Go to next message
Yves BERNARD is currently offline Yves BERNARDFriend
Messages: 69
Registered: July 2014
Member
Are GenDoc fragments reentrant?

In other words, is it possible to call a fragment directly or indirectly from itself?

Thanks

Yves


Yves
Re: Fragment reentrance [message #1560103 is a reply to message #1490468] Mon, 12 January 2015 11:47 Go to previous messageGo to next message
Anne Haugommard is currently offline Anne HaugommardFriend
Messages: 11
Registered: October 2013
Junior Member
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 Go to previous message
Yves BERNARD is currently offline Yves BERNARDFriend
Messages: 69
Registered: July 2014
Member
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. Wink

Yves


Yves
Previous Topic:Corrupted .docx file at output
Next Topic:GenDoc compatibility with Eclipse Luna SR1a?
Goto Forum:
  


Current Time: Sun Sep 23 08:16:35 GMT 2018

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

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

Back to the top