|
Re: Create a sirius diagram programmatically [message #1580472 is a reply to message #1578515] |
Fri, 23 January 2015 14:12 |
|
Hello,
I think that you should take a look in the code of
DiagramDialectUIServices.openEditor to see how is created a DDiagramEditor.
Out of curiosity, you want to display several representations in a
containing CTabFolder, what is represented by this containing
CTabFolder? A Sirius session?
Regards,
Steve
Le 22/01/2015 13:50, Anthony Garmendia a écrit :
> 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
--
Steve Monnier - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03965 seconds