|Re: View file [.di] on external web project [message #1563877 is a reply to message #1562777]
||Wed, 14 January 2015 13:09
| Charles Rivet
Registered: May 2014
In Papyrus, the "di" file is just an Eclipse placeholder for the two actual files that make up the model: the ".notation" file containing the graphical information (e.g., diagram layouts, etc.) and the ".uml" file containing the actual model information. Note that all these files are plain XML files and, accordingly, not very interesting to show on a web site.
If all you want to do is display the diagrams, you could select the model (.di) file in Papyrus and then export all the diagrams as images. You could then easily display these on the web.
If you wanted to dynamically show the diagrams, you would have to create a Grails plug-in that would be able to read and decipher the information in the ".notation" and ".uml" files and then display the information, either on your own, which would be rather complex, or by transforming it from Papyrus format into a separate representation that would be easier to disply (e.g., into PlantUML or Yuml format for which Grails plugins are available).
Note that I am neither a Papyrus internals nor a Grails expert, so there might be other approaches that can be taken.
I do hope this helped.
Powered by FUDForum
. Page generated in 0.01607 seconds