Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » create editor for my dsl(editor for my dsl)
create editor for my dsl [message #1015111] Wed, 27 February 2013 08:49 Go to next message
Dana Klein is currently offline Dana Klein
Messages: 63
Registered: October 2012
Member
Hi, I want to create a custom editor for my dsl.
how to begin and how can i make sure the plugin has the same editor preferences?
Re: create editor for my dsl [message #1015161 is a reply to message #1015111] Wed, 27 February 2013 10:37 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2496
Registered: July 2009
Senior Member
On 2013-27-02 14:49, Dana Klein wrote:
> Hi, I want to create a custom editor for my dsl.
> how to begin and how can i make sure the plugin has the same editor
> preferences?

Don't understand what you mean. Xtext generates an editor for you; that
editor is highly customizeable.

What is it you are trying to do?

Regards
- henrik
Re: create editor for my dsl [message #1015165 is a reply to message #1015161] Wed, 27 February 2013 10:46 Go to previous messageGo to next message
Dana Klein is currently offline Dana Klein
Messages: 63
Registered: October 2012
Member
oh okay, i'm still learning the abilities of xtext..
so what's the editor name? can i customize it by adding tabs like the plugin.xml have?

[Updated on: Wed, 27 February 2013 10:46]

Report message to a moderator

Re: create editor for my dsl [message #1015268 is a reply to message #1015165] Wed, 27 February 2013 19:14 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2496
Registered: July 2009
Senior Member
On 2013-27-02 16:46, Dana Klein wrote:
> oh okay, i'm still learning the power of xtext.. so what's the editor
> name? can i customize it by adding tabs like the plugin.xml have?

Anything is possible - only work is required.
Xtext generates a text editor for you - it works "out of the box". To
create a different kind of editor (like the plugin editor), you will
need to compose this configuration. (I think this question has been
asked before in this forum, so start by searching).

Then, the rest of the work is regular eclipse stuff, and then
customization of the generated text editor (some of that is covered in
the Xtext documentation; the typical things, but you may want to do more
- and again this is regular Eclipse stuff.

If you have not written any editors like the plugin editor before,
and/or not with Xtext, then you probably want to start with what you get
"out of the box", and get the hang of the basics first. There is quite a
lot to learn. (Or hire Itemis to help you get started).

Hope this helps.

Regards
- henrik
Re: create editor for my dsl [message #1015398 is a reply to message #1015268] Thu, 28 February 2013 08:43 Go to previous message
Dana Klein is currently offline Dana Klein
Messages: 63
Registered: October 2012
Member
great thank you Smile
Previous Topic:Splitting one DSL into 6
Next Topic:AFter F3 Open Declaration How does one go back to the previous location
Goto Forum:
  


Current Time: Fri Jul 11 21:07:32 EDT 2014

Powered by FUDForum. Page generated in 0.01644 seconds