Skip to main content


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 13:49 Go to next message
Dana Klein is currently offline Dana KleinFriend
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 15:37 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
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 15:46 Go to previous messageGo to next message
Dana Klein is currently offline Dana KleinFriend
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 15:46]

Report message to a moderator

Re: create editor for my dsl [message #1015268 is a reply to message #1015165] Thu, 28 February 2013 00:14 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
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 13:43 Go to previous message
Dana Klein is currently offline Dana KleinFriend
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: Tue Apr 23 15:52:52 GMT 2024

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

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

Back to the top