Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How to open Table representation programmatically
How to open Table representation programmatically [message #1822168] Fri, 28 February 2020 11:19 Go to next message
Mohit Advani is currently offline Mohit AdvaniFriend
Messages: 28
Registered: May 2019
Junior Member
Hi,

I have created table representation in .odesign file, i want to open it problematically, i.e. i want to give one context menu option , it should open my tabular representation {like we open table editor from .aird file}, what will be steps {api/methods} which i need to use

Re: How to open Table representation programmatically [message #1822335 is a reply to message #1822168] Wed, 04 March 2020 09:29 Go to previous message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 246
Registered: August 2010
Senior Member
Hello,

You can take a look on org.eclipse.sirius.ui.business.api.dialect.DialectUIServices.openEditor(Session, DRepresentation, IProgressMonitor). You have an example in org.eclipse.sirius.ui.tools.internal.editor.NavigateToCommand which is called by the org.eclipse.sirius.ui.tools.internal.actions.session.OpenRepresentationAction.

Rergards,
Florian
Previous Topic:Create relations between different model
Next Topic:How to change layout programatically
Goto Forum:
  


Current Time: Sun Oct 25 00:34:50 GMT 2020

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

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

Back to the top