Create a sirius diagram programmatically [message #1578515] |
Thu, 22 January 2015 07:50  |
Eclipse User |
|
|
|
Hi,
I'm trying to create a modeling environment and I want to use Sirius as graphical editor. I have a CTabFolder and in each item(CTabItem) I want a different kind of visualization. I have been searching and found https://www.eclipse.org/forums/index.php/t/633830/ so I think that DialectUIManager is the class that creates the diagram representation, but I still don't know how add this diagram representation to a parent Composite. Is there any way to do this?
Thanks for any help.
Cheers,
Anthony
|
|
|
|
Re: Create a sirius diagram programmatically [message #1585945 is a reply to message #1580472] |
Mon, 26 January 2015 10:29  |
Eclipse User |
|
|
|
Hello Steve,
First of all, thanks for the reply. I would like to open a Sirius editor in a CTabItem, add the diagram representation in a parent Composite. I understand that I have to create s Sirius session and create the editor.
For that I follow the steps from Alex Lagarde in
https://www.eclipse.org/forums/index.php/t/633830/
The thing is that I cannot find a method in which I can create the editor inside CTabItem. I would expect a method that has as a parameter, for example: (Composite parent) or maybe I have to do it in other way.
I searched the class, but I'm not sure what would I have to do?
Thanks.
Regards,
Antonio
|
|
|
Powered by
FUDForum. Page generated in 0.03614 seconds