eclipse-sprotty / sprotty-server

Server implementation for the Sprotty diagramming framework
https://eclipse.org/sprotty
Eclipse Public License 2.0
24 stars 19 forks source link

Exposed the server for subclasses. #28

Closed kittaakos closed 5 years ago

kittaakos commented 5 years ago

Otherwise, subclasses cannot create the launcher in the overridden createLauncher method.

Signed-off-by: Akos Kitta kittaakos@typefox.io

kittaakos commented 5 years ago

Workaround for the time being:

@Inject
extension ReflectExtensions;
def private DiagramLanguageServer getLanguageServer() {
  return get('languageServer');
}