Skip to main content



      Home
Home » Eclipse Projects » Sirius » How to open Table representation programmatically
How to open Table representation programmatically [message #1822168] Fri, 28 February 2020 06:19 Go to next message
Eclipse UserFriend
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 04:29 Go to previous message
Eclipse UserFriend
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: Thu Jun 12 09:44:19 EDT 2025

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

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

Back to the top