Hello, thank you for encouraging me. I will surely need your help and I appreciate that.
In fact, I have already checked out the sources (somewhere mid December) and found the Registry class in oaw and its use in Extension.ext. However, I thought this approach would only be useful for using multiple model files for one single metamodel. Could you point me to the "(incomplete) examples" for two metamodels? Many thanks Kambiz ----- Original Message ----- From: "Patrik Nordwall" <[EMAIL PROTECTED]> To: fornax-developer@lists.sourceforge.net Sent: Dienstag, 8. Januar 2008 21.03 Uhr (GMT+0100) Europe/Berlin Subject: Re: [Fornax-developer] How to add gui generation I totally agree with Andreas that this is a great idea and we will try to help you as much as we can. Here are some links to ideas of how to do it. I would guess that we need some help from the oAW xText experts, who are very helpful. Don't hesitate to ask at the oAW forum. http://www.openarchitectureware.org/forum/viewtopic.php?showtopic=6520 http://www.openarchitectureware.org/forum/viewtopic.php?showtopic=2893 /Patrik bear50 wrote: > > Hi, > Well, you are a bit ahead of us I'm afraid. > As of version 1.2, we only support a web client based on spring webflow. > In version 1.3 the plan is to have a gui meta model, i.e. not to misstake > with model (model.design file). > In version 1.4 the plan is to have a model and editor for the gui. > > Though, if you are to proceed anyway, I guess the best way is to check out > the code and see how we have done. > We are using contraints, and if you check outs from trunk, you will get > the ongoing work for 1.3 and there are (incomplete) examples of how to > have two meta-models. > > If you are going forward with this we are very interested in your work and > you are more than welcome as a developer. This would be a perfect match > for what we are aiming for in upcoming releases. > > regards.../Andreas > > > darabi wrote: >> >> Hello, >> >> I would like to create an eclipse rcp application whose business tier >> is created with sculptor. For the gui part, I would like to create a >> separate metamodel with its own xtext editor. >> >> Then I would need some way of linking the gui model to the sculptor >> model. >> >> I wonder whether it is possible to have a DSL editor which can constraint >> check the attributes of an Entity when they are entered in the GUI model >> file. >> >> To illustrate what I'm up to: >> >> - file model.design contains >> >> Entity User { >> scaffold >> String name; >> } >> >> - file model.guidesign contains >> >> View UserDetail { >> ModelObjectType User; >> TextField nameField <-> name width=50 readonly; >> } >> >> I want the DSL editor for the .guidesign file to be able to check that >> >> - there exists an Entity called User defined in model.design >> - there exists an attribute 'name' AND that it is changeable >> >> Any hints would be appreciated. >> >> Thanks >> >> >> Kambiz >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> _______________________________________________ >> Fornax-developer mailing list >> Fornax-developer@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fornax-developer >> >> > > -- View this message in context: http://www.nabble.com/How-to-add-gui-generation-tp14695768s17564p14697669.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer