Dynamic EMF Views (not only) for OSGI Business Applications
Making For Eclipse · Standard (25 mins)
Tags: Modeling , UI / RCP
Thursday, 13:30, 25 minutes | Winchester
Overview ( 10 min)
ekke and flo will talk about redView (Riena EMF Dynamic Views) - an Open Source Project to ease development of Business UI.
Using redView its very comfortable to design UI, because redView provides a WYSIWYG SWT editor:
- the UI Designer can use Drag'n'Drop to reorder elements
- an Outline View can be used to insert or move elements
- from the Properties View all SWT properties can be changed
- Copy / Paste between different Views and EMF Undo functionality makes it easy to correct a mistake
redView UI is based on EMF Models – these Models can per ex. be generated using the Open Source Project red-open - a software manufactory, itself using openArchitectureWare (EMTF:MWE, M2T:Xpand/Xtend).
redView SWT Views are rendered dynamically and Design changes can be pushed live into running RCP Applications using CDO. You're not limited to one JVM - this is really a cool feature.
RCP Applications are not the only use-case - redView is also a great tool for Prototyping: Developer, Designer and Business Users can work distributed on the same View models.
Another use-case of redView is working with Web-Services:
- transforming models from WSDL and XSD
- redView generates glue code to combine Axis Stubs with SWT Views
- make WebServices run in a Riena RCP Application
redView also supports: Localizing (labels, enums, …), Lookup, Search, Navigation, CRUD UI and more. Views can be nested and a VisibilityProcessor manages what should be visible depending from Java Type, Collection size etc.
To be flexible redView uses Declarative Services (Equinox OSGI) and ExtensionPoints. redView's EMF models can be extended - so you can write your own Validators, Converters or VisibilityDescriptors.
redView provides customizable LookAndFeel, where Fonts, Sizes, Colors etc. depend on running OS (Windows, OSX, Linux).
Live Demo (10 min)
we'll demonstrate live - pushing design changes from editor (IDE) into running RCP applications. The magic in this case is done using a CDO repository.
You'll also see how easy it is to create redView Views using the WYSIWYG editor from scratch.
Q&A ( 5 min)
first time ekke and flo talked about redView at EclipseCon 2009: http://www.eclipsecon.org/2009/sessions?id=391 - in the meantime redView and red-open were tested in real projects and going Open Source (EPL) in February 2010.
ekke lives and works as an Independent Software Architect and Senior ERP Consultant in the south of germany.
ekke survived many technologies since more then 30 years- he started development in 1978 using Assembler, Cobol, ..., works with Apple PCs from the beginning and now is a fan of Eclipse, Open Source and Model-Driven-Software-Development.
ekke is Committer of the Eclipse Riena Project and in his customer projects he is using:
OSGI/Equinox, Eclipse RCP, Riena, UML2, EMF, CDO, EMFT:MWE, M2T:Xpand/Xtend and more.
together with Florian Pirchner he developed the Open Source Project redView (http://redview.org) Riena EMF Dynamic Views
If there is some time ;-) ekke likes:
- travelling as backpacker to the island of crete
- making photos of nature
- reading books, listening music...
and of course spend time with his wife and kids.
For many years I am working as an erp application developer. In my freetime i am spending a lot of hours for the development of redview, a project based on emf and riena to render dynamic views.
I guess, beeing java developer is the second best job i could imagine. Only astronaut would be better...