-
Hi, I extended the GModelJsonDiagramModule by overwriting more and more methods like From the error message I guess it is something with the functionality of Edges. Can someone give me a hint what the error message below tries to tell me, or which part of my GLSP Server causes the issue?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Finally I found the issue. It looks that it was the missing method After I added the method like this: @Override
public EdgeTypeHint createDefaultEdgeTypeHint(final String elementId) {
EdgeTypeHint hint = super.createDefaultEdgeTypeHint(elementId);
hint.setSourceElementTypeIds(
Arrays.asList(ModelTypes.MANUAL_TASK));
hint.setTargetElementTypeIds(
Arrays.asList(ModelTypes.MANUAL_TASK));
return hint;
} the error is gone and every thing works as expected. By the way, this is one of two methods in the |
Beta Was this translation helpful? Give feedback.
Finally I found the issue. It looks that it was the missing method
createDefaultEdgeTypeHint
in myBaseDiagramConfiguration
After I added the method like this:
the error is gone and every thing works as expected.
By the way, this is one of two methods in the
DiagramConfiguration
Interface which are not documented in the source code. So I still…