Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext web editor -- as Orion plugin?
Xtext web editor -- as Orion plugin? [message #1726286] Fri, 11 March 2016 05:43 Go to next message
Mary Komor is currently offline Mary KomorFriend
Messages: 61
Registered: July 2009
Member
I have the generated Xtext web editor working and customized for my DSL. I
am using the Orion editor.

I'm now wondering if it is possible to package this up as an Orion plugin so
that it can be installed on an existing Orion editor.

Mary
Re: Xtext web editor -- as Orion plugin? [message #1726487 is a reply to message #1726286] Mon, 14 March 2016 09:42 Go to previous messageGo to next message
Miro Spönemann is currently offline Miro SpönemannFriend
Messages: 74
Registered: March 2015
Location: Kiel, Germany
Member

It is certainly possible, but you will have to write the plugins yourself. The Orion integration shipped with Xtext just uses the Orion editor as a widget, similarly as Ace or CodeMirror are used. The editor services are registered programmatically, without the plugin interface of Orion:

https://github.com/eclipse/xtext/blob/master/web/org.eclipse.xtext.web/src/main/js/xtext/xtext-orion.js

Maybe there will be some reusable Orion plugin code for Xtext in some future release...
Re: Xtext web editor -- as Orion plugin? [message #1726591 is a reply to message #1726487] Mon, 14 March 2016 21:17 Go to previous message
Mary Komor is currently offline Mary KomorFriend
Messages: 61
Registered: July 2009
Member
Thanks, Miro.

I am currently restrained in terms of time and resource to take this on.

Anybody else up for the challenge? ;-)

Mary


"Miro Spoenemann" wrote in message news:nc611s$bpc$1@xxxxxxxxe.org...

It is certainly possible, but you will have to write the plugins yourself.
The Orion integration shipped with Xtext just uses the Orion editor as a
widget, similarly as Ace or CodeMirror are used. The editor services are
registered programmatically, without the plugin interface of Orion:

https://github.com/eclipse/xtext/blob/master/web/org.eclipse.xtext.web/src/main/js/xtext/xtext-orion.js

Maybe there will be some reusable Orion plugin code for Xtext in some future
release...
Previous Topic:Xtext Validation Error Markers
Next Topic:Creating Cross-Reference between XExpression and XVariableDeclaration outside of XBlockExpression
Goto Forum:
  


Current Time: Tue Sep 21 16:27:26 GMT 2021

Powered by FUDForum. Page generated in 0.01583 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top