Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:07 Go to next message
Andreas Buchner is currently offline Andreas BuchnerFriend
Messages: 47
Registered: August 2017
Member
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 10:57 Go to previous message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 182
Registered: October 2014
Senior Member
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


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:[ANN] Obeo Designer Community Edition 10.1
Next Topic:Layering
Goto Forum:
  


Current Time: Thu Apr 25 08:17:36 GMT 2024

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

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

Back to the top