[Model2Doc] Make a template simply available [message #1820554] |
Wed, 22 January 2020 12:25  |
Eclipse User |
|
|
|
Hello,
I would know if there is a mean to make a model2doc template easily available. I can convert a template into prototype. The next step is to make the prototype available in an other model.
Can I distribute this prototype by another way that a Eclipse plugin referencing an existing architecture?
Regards.
Yoann.
|
|
|
Re: [Model2Doc] Make a template simply available [message #1820642 is a reply to message #1820554] |
Fri, 24 January 2020 04:11   |
Eclipse User |
|
|
|
Hello Yoann,
I think you can write your own action (Eclipse Command, Handler and Menu) to select your prototype in the workspace, in order to :
- load it in the ResourceSet of your Papyrus model,
- create a Template from the prototype,
- define the semanticContext and the graphicalContext in the template
- launch the generation
but I'm not sure a such template will appears easily in the ModelExplorer...
So, I'm pretty sure, this behavior can be implemented, but I'm not sure of the troubles you will find bypassing the normal integration.
Regards,
/Vincent
|
|
|
|
|
|
|
Re: [Model2Doc] vs [GenDoc] [message #1823717 is a reply to message #1820797] |
Tue, 31 March 2020 11:08  |
Eclipse User |
|
|
|
Hello,
I just add a point which I didn't specified and can be important for some users : Model2Doc is very fast (generation in less than 1 minute) even for large documents (hundreds of pages and diagrams). If I remeber well, it was not the case for GenDoc.
Regards.
Yoann.
|
|
|
Powered by
FUDForum. Page generated in 0.08818 seconds