|Re: [eclipse-incubator-e4-dev] EMF based dynamic declarative UI
Olivier, It looks very nice!We are trying to do something similar with XSWT, without the EMF model. The developer manipulates XML, which is rendered by the XSWT engine. By using reflection instead of an explicit model, we can support more of the SWT API with less work.
However, there are a lot of advantages of having an EMF model. Among others, it will be easier to bind the UI to EMF data. Have you thought about generating the EMF model from the API, to avoid the manual modeling work?
Hallvard Olivier Moïses wrote:
Hi, Monthes ago, I started to work on a dynamic declarative UI engine.It allows the user to describe some parts of his application GUI using EMF model. Changes of the model are reflected into the view and users actions are reflected also into model. It is also extendable : a developper could add his own metamodel (extending or replacing existing parts.... SWING, eRCP ...). Runtime engine can be used in Eclipse IDE, RCP application or pure java standalone application.I will publish the project under Open Source license soon .Before to publish, I would like to finish my current work on test suite and clean the code ;-). Of course, I will add more components than the existing ones (actually there is only composite, button and text, which is enough for testing and validating most of the requirements)A demo could be find here : http://wiki2.wazaabi.org/externals/demo1.htmlThere is also few explanations on the wiki: http://wiki2.wazaabi.org (I will add more soon).I will be happy to receive any suggestions or comments (and to answer any questions if needed).Regards, Olivier Moises _______________________________________________ eclipse-incubator-e4-dev mailing list eclipse-incubator-e4-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev
Back to the top