Hello, I am getting some problems while displaying my diagrams using GenDoc2. All our models are created using Topcased.
I have a model which has class diagrams. However when I try to display the class diagrams using <image> tag, I always get blank. On further debugging, I tried to load the model myself using the below code just to see what is happening inside IContextService contextService = GendocServices.getDefault().getService(IContextService.class); contextService.setModel(umlFile.getLocationPath()); IEMFModelLoaderService modelLoaderService = GendocServices.getDefault().getService(IEMFModelLoaderService.class); EObject object = modelLoaderService.getModel(URI.createURI(contextService.getModelPath() + "di")); Diagrams dig = (Diagrams) object; System.out.println("diagrams " + dig.getDiagrams()); System.out.println("EObject is " + dig.getActiveDiagram()); List<Diagram> diagrams = DiagramsUtils.findAllExistingDiagramForElement(dig, true); System.out.println("diagrams " + diagrams); Using the above code, I always get Diagrams as empty list. I get no exceptions, I can see the model being loaded, but every time Diagrams is an empty list. I tried this with multiple files, but same result. Am I doing something wrong here? Thanks and Regards, Dhananjay Ghanwat Technical Architect M +91 9960556644 dhananjay.ghan...@atos.net<mailto:dhananjay.ghan...@atos.net> Pune, Phase 2 www.atos.net<http://www.atos.net> [Description: atos_logotype] 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 group liability cannot be triggered for the message content. Although the sender endeavors 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.
<<inline: image001.gif>>
<<inline: image002.gif>>
_______________________________________________ Topcased-users mailing list Topcased-users@lists.gforge.enseeiht.fr http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users