Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to create programmatically a Papyrus Model ?
https://www.eclipse.org/forums/index.php/mv/msg/1071186/1711256/#msg_1711256
I am a recent Eclipse/Papyrus user. I need to create programmatically a Papyrus Model to implement a plugin.
I found how to create programmatically an Eclipse Project, put a uml file, but I didn't find how to consolidate the folder as a Papyrus model with expected resources .notation and .uml files.
Could you help me to find the suitable documentation or some examples ?
Many thanks in advance.]]>Eric Boccanfuso2015-10-14T11:31:32-00:00Re: How to create programmatically a Papyrus Model ?
https://www.eclipse.org/forums/index.php/mv/msg/1071186/1711267/#msg_1711267
You can create a simple txt file for the .notation and .di file with just the following in it:
Whether you need a diagram or not really depends on your use-case. If you don't need a diagram then you just really need the .uml file and in fact don't need a .di or .notation
Regards,
Ronan]]>Ronan B2015-10-14T13:07:17-00:00Re: How to create programmatically a Papyrus Model ?
https://www.eclipse.org/forums/index.php/mv/msg/1071186/1711269/#msg_1711269
I am going to investigate your response.]]>Eric Boccanfuso2015-10-14T13:30:16-00:00