DSL Maturing, next steps [message #1023014] |
Fri, 22 March 2013 22:06  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02909 seconds