Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » General question
General question [message #1174774] Thu, 07 November 2013 09:58 Go to next message
Klaus Garben is currently offline Klaus GarbenFriend
Messages: 1
Registered: November 2013
Junior Member
hey, i'm from germany and new to xText, so please ignore my grammar...

I have some questions. For my final exam I should build a DSL, which represents a library-system with Books, Members, Lending Cards and so on.
The model i got uses the Observer Pattern for changes in the GUI. So my question is:
is it possible to generate something like the obeserver pattern with xTend and can I generate a GUI?

I add a pictures for further information.

index.php/fa/16696/0/
Thats the model with the class tree and the gui.

My approach is to build a DSL with class/enum/primitive type and to generate the basic classes and imports so far. But I hope xText can generate more ;D

Thanks for helping
Klaus
Re: General question [message #1175099 is a reply to message #1174774] Thu, 07 November 2013 14:22 Go to previous message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13665
Registered: July 2009
Senior Member
Hi, have a look at org.eclipse.xtext.ui.editor.model.IXtextModelListener

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Generate Eclipse Application
Next Topic:Where to find org.eclipse.xtext.xtend_0.0.0
Goto Forum:
  


Current Time: Mon Nov 30 18:57:00 GMT 2020

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

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

Back to the top