well, we have some progress and I hope that we can soon reach the final stage : display the diagram ;-)
First check: can you confirm that the diagram you mention (scenarioClassDiagram) is really in the package whose full path is 'ScenarioClasses::Scenario::Scenario'? If confirmed, could you send us your model so that we can understand what happens? => to [email protected] Thanks raphaël Date du message : févr. 17 2010, 07:24 PM De : [email protected] A : "[email protected]" <[email protected]> Copie : Sujet : Re: [Topcased-users] Doc Generation Thanks! no more errors now. But (sorry :) ) the picture is not appearing (and no error thrown). I have 2 linefeeds instead. My tag looks like that: <gendoc:generatedFragment name='scenarioClassDiagram' template='display_diagram' model='Scenario' container='ScenarioClasses::Scenario::Scenario' /> Best Regards, Eric ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Wednesday, February 17, 2010 5:02 PM To: [email protected] Cc: [email protected] Subject: Re: [Topcased-users] Doc Generation You have to open your umldi and then open the outline view (Windows > Show View > Other... > General > Outline). In this view you can see all your model elements with your diagrams included. [cid:[email protected]] Best regards, Caroline [email protected]<mailto:[email protected]> a écrit : Hi Caroline, In fact the problem is that my diagram does not appear in the ".uml" file but in a ".umldi" file as you can see: [cid:[email protected]] I don't know how to associate the diagram with the ".uml" file. Regards, Eric ________________________________ From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of [email protected]<mailto:[email protected]> Sent: Wednesday, February 17, 2010 3:35 PM To: [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]> Subject: Re: [Topcased-users] Doc Generation Hi Eric, To display a diagram using the template display_diagram you have to give as container the element in the model that contains the diagram. For example in the following model, if you want to display the diagram UseCaseView you have to insert the following fragment: [cid:[email protected]] <gendoc:generatedFragment name='1' template='display_diagram' model='MyModel' container='EquipmentMonitoring::Use Case View'/> Best regards, Caroline [email protected]<mailto:[email protected]> a écrit : Thanks a lot Raphaël, Now it's getting work with this new method... I've just a last question about Class Diagram. I don't understand how to insert them inside my template. They're stored in .umldi files, and there is no reference to my diagrams inside .uml file (I've also tried to reference the umldi file with registerModelDataSource tag... but after it's searching for a umldidi file :) ) I'am using that kind of tags : <gendoc:registerModelDataSource name='Scenario' modelPath='platform:/resource/DMC4BasicSettings/Models/API/DMCCore/Scenario/Scenario.uml'/> <gendoc:generatedFragment name='scenarioClassDiagram' template='display_diagram' model='Scenario' container='Diagram Scenario' /> So I don't quite understand how to insert them in my template. Help please. Best Regards, Eric -- [cid:[email protected]] Caroline Bourdeu d'Aguerre Atos Origin Tel : 05 34 36 32 90 www.atosorigin.fr<http://www.atosorigin.fr> Développement durable, anticipons pour notre avenir / Sustainibility, advance our future P N'imprimez ce mail que si nécessaire / please consider your environmental responsibility before printing this e-mail. Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. ________________________________ _______________________________________________ Topcased-users mailing list [email protected]<mailto:[email protected]> http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users -- [cid:[email protected]] Caroline Bourdeu d'Aguerre Atos Origin Tel : 05 34 36 32 90 www.atosorigin.fr<http://www.atosorigin.fr> Développement durable, anticipons pour notre avenir / Sustainibility, advance our future P N'imprimez ce mail que si nécessaire / please consider your environmental responsibility before printing this e-mail. Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. 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 delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. [ (pas de nom de fichier) (0.2 Ko) ] Raphaël Faudou Innovation & method definition Critical systems Atos Origin Integration _______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
