Apr
20
3:00pm
Diagram editors in Theia and VSCode with Eclipse GLSP - Cloud Tool Time (Philip Langer)
By Eclipse Foundation
Eclipse GLSP is an open-source framework for efficiently developing graphical diagram editors for web- and cloud-based tools. GLSP adapts the advantages of LSP to graphical diagram editors. Thus, it clearly encapsulates the underlying business logic of your graphical language on a server, which communicates over a defined protocol with one or more diagram clients. This architecture not only allows for a better separation of concerns, it also makes your diagram implementation more easily transferable to other technologies in the future and greatly facilitates the migration of existing diagram implementations (e.g. GMF- or Sirius-based editors) to a modern UI platform (HTML5, CSS3, and SVG).
In this talk, we introduce the basic architecture of GLSP and demonstrate with common examples of how the framework can efficiently support the creation of custom diagram editors. This includes examples available as open-source as well as industrial applications of GLSP. As Eclipse GLSP moved to Eclipse only about a year ago and has been very actively developed since then, we will spend time specially focusing on more recently added features of GLSP including:
GLSPs integration with Theia, such as
* native context menus, problem markers, navigation, …
* Copy & paste support and custom model integration or editing behaviors
* Custom protocol extensions to invoke domain-specific behavior on the server
Finally, we demonstrate one of the conceptual advantages of the architectural approach and show how the same GLSP editor can be integrated into Eclipse Theia, VS Code and even the Eclipse desktop IDE. Are you wondering how to replace GMF or similar frameworks in your cloud-based tool and how to migrate existing diagram editors to the web? Then join our talk and learn about the Eclipse Graphical Language Server Platform
hosted by
EF
Eclipse Foundation
share