How to open Table representation programmatically [message #1822168] |
Fri, 28 February 2020 06:19  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04913 seconds