Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » DSL Maturing, next steps
DSL Maturing, next steps [message #1023014] Sat, 23 March 2013 02:06 Go to next message
Steve Kallestad is currently offline Steve KallestadFriend
Messages: 62
Registered: March 2013
Member
So my DSL work with XText is going well and I'm starting to think about next steps.

I'd like to work with some other UI things like:


  • Defining a new project type that will pre-generate some files and directories.
  • Give my DSL a default run configuration
  • Defining some preferences
  • Working on a Graphical editor
  • Adding different refactor choices
  • Activating or implementing Source menu choices (toggle comment, generate comment, etc.)


Where do I go for documentation/tutorials/etc. on these kinds of things?

I know this is outside the XText realm, but I figure these kinds of things are logical next steps and some people here probably have some good recommendations.
Re: DSL Maturing, next steps [message #1034279 is a reply to message #1023014] Fri, 05 April 2013 08:32 Go to previous message
Claudio Heeg is currently offline Claudio HeegFriend
Messages: 75
Registered: April 2013
Member
Maybe I can help with some things.

_Defining a new project type that will pre-generate some files and directories
I guess you'd have to look into Plugin/Expansion creation for that, specifically org.eclipse.ui.newWizards.
This is something that might help:
vogella.com/articles/EclipseWizards/article.html

_Give my DSL a default run configuration
I don't exactly know what you mean by this, surely it couldn't be as simple as editing the Run Configuration in Eclipse itself? (Run - Run Configurations...).
As for creating a whole product/export, you might wanna try here for a start:
kthoms.wordpress.com/2010/11/12/setting-up-a-rcp-product-for-a-dsl
Note that this is focused on Xtext 1.x, so you'll have to make adjustments.

_Working on a Graphical editor
The Documentation might give a starting point. The Editor linked works under 2.3.1, bidirectionally, but is a mere prototype.

Excuse the links in the way they are, site restrictions for new users.
Previous Topic:[Xbase 2.4] TypeComputer is not invoked
Next Topic:Problem Importing Other Languages
Goto Forum:
  


Current Time: Sat Apr 27 03:38:02 GMT 2024

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

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

Back to the top