eclipsesource / graphical-lsp

Graphical language server platform for building web-based diagram editors
https://www.eclipse.org/glsp
Eclipse Public License 2.0
36 stars 8 forks source link

Protocol: add a flag on ChangeBoundsAction to distinguish resize vs move #392

Open CamilleLetavernier opened 4 years ago

CamilleLetavernier commented 4 years ago

While resize and move can generally be regrouped in a single "Change Bounds" action, it is sometimes useful to distinguish them, at least in two cases:

The client (ResizeTool/MoveTool) should add a flag in the ChangeBoundsAction to indicate the kind of ChangeBoundsAction that should be triggered. On the default server side, there is probably nothing special to do; I don't think such a distinction is necessary for the generic cases.