Skip to content

koegel/ecore-glsp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT: Ecore GLSP was moved to Eclipse, and this repository is no longer maintained. You can retrieve Ecore GLSP here: EMFCloud-Ecore GLSP

ecore-glsp

Build Status

Ecore GLSP provides a web-based editor for Ecore Models (including Diagrams), integrated with Eclipse Theia. It contains two components: one GLSP language server (Server-side, written in Java), and one GLSP client extension to actually present the diagrams (Using Sprotty).

Ecore GLSP can display an existing Ecore model. The diagram layout will be persisted in an .enotation file next to the .ecore file. The diagram editor also supports creation of new elements (EClasses, EAttributes, EReferences...), as well as partial support for editing existing elements (Renaming, deleting...).

Ecore GLSP Example

Server
Note: to build and run the Ecore GLSP Server, you need Java with version >= 11.

  • Build:

    • cd server
    • mvn install -U
  • Run:

    • Start the client as it is described in client readme. The backend is automatically launched by the project theia-glsp-server
    • If you want to start the backend manually - execute the Java main class: com.eclipsesource.glsp.ecore.EcoreServerLauncher For this to work with the client, you have to remove the dependency on theia-glsp-server in the browser-app's package.json

Building and deploying via Docker

The client repo contains a Dockerfile, that builds the entire client application. The image listens on 0.0.0.0:3000 for incoming requests from a browser.

For installing docker locally please consult docker's installation description for your OS.

The glsp-server needs to be build locally before you build the image

Building docker build -t <imagename>:<tagname> .

Running docker run -it -p 3000:3000 --rm <imagename>:<tagname>

After that you should be able to connect with your browser at localhost:3000.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 68.4%
  • TypeScript 29.5%
  • CSS 1.4%
  • Other 0.7%