|Multiple models in one diagram representation [message #1829986]
||Wed, 15 July 2020 09:54
| Bastian Haverkamp
Registered: July 2020
I am trying to build an application where I have two models that are connected in some way.
The first model contains a component model, similar to an UML model representation. It is pretty fleshed out and contains some additional information and fields for elements.
In a second step, I now want to add a "MappingModel", which is basically just a model that maps components to strings (will be Java Classes at some point) and specific elements of the components to other strings.
I now want to be able to edit these mappings inside my diagram representation on a new Properties Page.
How can I add multiple models to a representation?
I tried to load the model in a service call, which worked, but I can not edit any information then. I think it has to do with Sirius not being able to "find" the EObject after the initial loading of the resource, but this is just guessing;
I had a properties view for mappingModel::ComponentMapping, with sementic candidates coming from service which I called on a component, i.e. component.getMapping().
Any ideas would be greatly appreciated.
Powered by FUDForum
. Page generated in 0.01784 seconds