Skip to main content



      Home
Home » Eclipse Projects » Sirius » Diagram in a Dialog(I want to show a diagram in a diolog )
Diagram in a Dialog [message #1777755] Mon, 04 December 2017 05:07 Go to next message
Eclipse UserFriend
Hi everyone.

I have created 2 representations.
1. a diagram representation
2. a table representation.

via a "create line Tool" (table rep.) I can open a Dialog.

In that Dialog I want to represent the diagram.
Is that possible? and how?

And if not, is there an other way, to access the diagram from the table.

Thanks a lot
Andreas
Re: Diagram in a Dialog [message #1777760 is a reply to message #1777755] Mon, 04 December 2017 05:57 Go to previous message
Eclipse UserFriend
Hello

It is not possible to have a diagram in a dialog box, natively. But as it is already done in an editor, it should be possible with hard work.

You can easily access any representations of your Sirius session using DialectManager API.
DialectManager.getAllRepresentations(Session.of(table))


You may open an editor on your representation with org.eclipse.sirius.ui.business.api.dialect.DialectUIServices.openEditor(Session, DRepresentation, IProgressMonitor)

Regards
Laurent
Previous Topic:[ANN] Obeo Designer Community Edition 10.1
Next Topic:Layering
Goto Forum:
  


Current Time: Fri Jul 04 21:08:33 EDT 2025

Powered by FUDForum. Page generated in 0.03121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top