Meta-diagramming [message #1783132] |
Thu, 08 March 2018 10:48 |
Felix Dorner Messages: 392 Registered: December 2015 |
Senior Member |
|
|
Howdiheyho,
Can I use DDiagram as a node target in diagrams? I would like to create diagrams that outline the structure of the diagrams in my 'real' model, so that diagrams are nodes in the 'meta-diagram'. The nodes would just display the name of the targeted diagram for example.
What would be the pro way to do this?
Thanks,
Felix
[Updated on: Thu, 08 March 2018 11:28] Report message to a moderator
|
|
|
Re: Meta-diagramming [message #1783151 is a reply to message #1783132] |
Thu, 08 March 2018 14:22 |
|
Hi Felix,
> Can I use DDiagram as a node target in diagrams?
The first answer would be yes since the Sirius meta-model is not different from others but in that case, the semantic resource will be the *.aird resource. So I think you will meet some problems with that.
I don't have similar use case in mind. If it does not work, a solution could be to maintain an additional model with references toward the real DReprenstationDescriptor.
Regards,
Florian
|
|
|
|
|
Re: Meta-diagramming [message #1783458 is a reply to message #1783450] |
Tue, 13 March 2018 10:53 |
|
Hi Felix,
Sorry for the late answer,
We considered the possibility to use the GMF note to make possible to navigate toward representations but we did not go further. The only way today to navigate toward other representations is defining navigation tool in the *.odesign.
The navigation menu use org.eclipse.sirius.ui.tools.internal.editor.MenuHelper.buildOpenRepresentationActions(IMenuManager, IInterpreter, RepresentationNavigationDescription, DRepresentationElement, Session, AdapterFactory) to create the open representation action.
org.eclipse.sirius.diagram.ui.internal.edit.policies.OpenDiagramEditPolicy looks like an old GMF generated code.
Florian
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04303 seconds