Create Diagram Model Programatically [message #708892] |
Wed, 03 August 2011 09:06 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Murthy Bhat![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=murthybhat%40gmail.com) Messages: 159 Registered: July 2009 |
Senior Member |
|
|
Hello,
I have a graphiti editor which i use to create/edit certain domain model. The diagram information is all stored in the same file when saved. However there are some old domain models which do not have the Diagram model within them. So when I load the old files, I want to create corresponding pictogram elements and other graphics programmatically.
I have created the diagram using:
Diagram diagram = Graphiti.getPeCreateService().createDiagram(diagramTypeId, diagramName, true);
Is there any way to create pictogram elements and graphics algorithms programmatically or should I create each element using the create features only?
Thanks in advance for help.
Best Regards,
Murthy
[Updated on: Wed, 03 August 2011 09:11] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04500 seconds