Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gendoc » Dynamic context setting?(Setting a context element with a query.)
Dynamic context setting? [message #1731743] Mon, 09 May 2016 17:57 Go to next message
Chokri Mraidha is currently offline Chokri MraidhaFriend
Messages: 28
Registered: July 2009
Junior Member
The context tag defines the "root" element of the template.
<context model=xxx element =yyy... />

I would like to define the element value using a query. For instance the value could be an element with a given stereotype applied.
Is it possible to have this kind of computation for the element value instead of giving a static value?

Re: Dynamic context setting? [message #1733139 is a reply to message #1731743] Tue, 24 May 2016 17:47 Go to previous message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
Hi it is not possible but it is a good idea. A workaround using code is to override the context service or the EMF Model Loader Service of Gendoc to use your predefined query

Previous Topic:Problems when generating images from Papyrus diagrams
Next Topic:Activity and BPMN diagrams are not generated
Goto Forum:

Current Time: Tue Mar 05 05:11:32 GMT 2024

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

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

Back to the top