|
Re: View file [.di] on external web project [message #1563877 is a reply to message #1562777] |
Wed, 14 January 2015 08:09  |
Eclipse User |
|
|
|
Hi Francisco,
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.
/Charles
|
|
|
Powered by
FUDForum. Page generated in 0.04287 seconds