Replies: 1 comment 1 reply
-
Hi @dmm9, as far as I know we haven't had a usecase with multiple diagram types for the same model yet. Typically we use diagramTypes to provide multiple orthogonal diagram languages that operate on different source models. So it might be possible that there are some conceptual issues at the moment that prevent your usecase from working as expected. I need to look into this to gain more insights and will come back to you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to create different diagrams based on the same model, each showing different views of the model, and open them within the same Theia instance. But I am getting some errors in the java glsp-server when I try to add more than one DiagramModule to the same ServerModule. My environment is java-emf-theia. And this is how my approach looks like, please tell me if the concept is wrong:
On the glsp-server (Java):
I have created two different DiagramModules, including SourceModelStorage, GModelFactory and so on. Both are configured to the same ServerModule.
On the glsp-client (Theia):
When executed individually, they work as expected. The problem is when I try to get them running at the same time in the glsp-server. I have added the
OtherDiagramModule
to the ServerModule like this:And when I try to open the diagram in Theia, several Java exceptions like this one occur (I have shortened the log):
Theia opens an empty widget, without the diagram, and also throws
Uncaught (in promise) Error: Internal error.
Beta Was this translation helpful? Give feedback.
All reactions