Skip to content
Discussion options

You must be logged in to vote

Hi,
you can customize this behavior using the Typehints API. This allows you to define on the server side whether elements of a certain type should be deleteable,repositonable, resizeable etc.
For you usecase you should deactive the repositonable flag for all element types.
The type hints are configured in the DiagramConfiguration class : https://github.com/eclipse-glsp/glsp-server/blob/c1f7b8d0af052a5ac3ba2adc4590355519509255/examples/org.eclipse.glsp.example.workflow/src/org/eclipse/glsp/example/workflow/WorkflowDiagramConfiguration.java#L70

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tortmayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment