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 offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi, have a look at org.eclipse.xtext.ui.editor.model.IXtextModelListener

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: Fri Apr 26 02:56:15 GMT 2024

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

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

Back to the top