Skip to main content



      Home
Home » Modeling » TMF (Xtext) » DSL Maturing, next steps
DSL Maturing, next steps [message #1023014] Fri, 22 March 2013 22:06 Go to next message
Eclipse UserFriend
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 04:32 Go to previous message
Eclipse UserFriend
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: Tue Jul 01 14:14:10 EDT 2025

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

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

Back to the top