How can I display a GMF diagram, with the file format “*.ecorediag” in Eclipse in a View?
The diagram should not be editable.
Is there a simple sample view that loads a diagram from say “/home/diagrams/test.ecorediag”
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The GMF diagrams (including ecorediag) are rendered on the editor with the help of “org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer”.
So the bare minimum code to make this work