Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Is Xtext good solution for my project?
Is Xtext good solution for my project? [message #761689] Tue, 06 December 2011 22:15 Go to next message
Alex Kravets is currently offline Alex KravetsFriend
Messages: 561
Registered: November 2009
Senior Member
Hello,

We currently have a GEF+EMF based solution to create a process flow that describes relationships between objects. This works well for small to medium flows, but for flows that are getting too big (100+ objects) GUI solution does not work quite well sometimes. I was thinking about using Xtext to create a DSL that would allow users to express their process flows through code.

My question is would I be able to create both graphical and code representations of the flow? Would the user be able to edit GUI flow and the change be applied to DSL counterpart and vise-versa? Is this even a good approach for GUI flows or should I spend time introducing logical blocks to the flow where parts of it could be moved to different subflows?

Thanks,
Alex
Re: Is Xtext good solution for my project? [message #762539 is a reply to message #761689] Thu, 08 December 2011 09:10 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Jep, that's all possible, thanks to the fact that Xtext is based on EMF.
Have a look at the docs, especially
http://www.eclipse.org/Xtext/documentation/2_1_0/210-emf-integration.php

Nevertheless, the deeper you integrate the different editors (textual
and graphical) the better you have to know the underlying technologies.
Building a GMF editor that actually writes its semantic model in an
Xtext based syntax is easy, making two different editors edit the same
model at the same time is a lot harder.

Am 06.12.11 23:15, schrieb Alex:
> Hello,
>
> We currently have a GEF+EMF based solution to create a process flow that
> describes relationships between objects. This works well for small to
> medium flows, but for flows that are getting too big (100+ objects) GUI
> solution does not work quite well sometimes. I was thinking about using
> Xtext to create a DSL that would allow users to express their process
> flows through code.
>
> My question is would I be able to create both graphical and code
> representations of the flow? Would the user be able to edit GUI flow and
> the change be applied to DSL counterpart and vise-versa? Is this even a
> good approach for GUI flows or should I spend time introducing logical
> blocks to the flow where parts of it could be moved to different subflows?
>
> Thanks,
> Alex


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:Dynamic grammar
Next Topic:separate spec generation from model
Goto Forum:
  


Current Time: Thu Apr 25 06:24:32 GMT 2024

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

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

Back to the top