+ All Categories
Home > Documents > Beautiful UIs With JFace Databinding

Beautiful UIs With JFace Databinding

Date post: 17-May-2015
Category:
Upload: lars-vogel
View: 3,107 times
Download: 1 times
Share this document with a friend
Popular Tags:
12
Generating beautiful UI‘s With EMF, JFace and Databinding Lars Vogel
Transcript
Page 1: Beautiful UIs With JFace Databinding

Generating beautiful UI‘s With EMF, JFace and Databinding

Lars Vogel

Page 2: Beautiful UIs With JFace Databinding

Most (Business)

UI‘s are horrible

Page 3: Beautiful UIs With JFace Databinding

• Mhotivation

• EMF as UI storage

• EMF as UI generator

• Future Plans & Discussion

… and I will show code & examples

The next 10 minutes

Page 4: Beautiful UIs With JFace Databinding

Typical UI Painpoints

• To complex• Unflexible• Overloaded• Too many opions

• Too simple• Not enough options• ….

Page 5: Beautiful UIs With JFace Databinding

Inspiration

• Modeled User Interfaces are becoming popular in e4

– Modeled Workbench– Toolkit Model

Page 6: Beautiful UIs With JFace Databinding

EMF can be used to store the UI state

• Load EMF model at startup• Save EMF model at shutdown

Some but not huge advantages (similar to Memento)

Page 7: Beautiful UIs With JFace Databinding

Approach

Use EMF domain model information to generate the UI automatically

Page 8: Beautiful UIs With JFace Databinding

Application Domain Model

UI Model (based on Toolkit Model)

Generate UI

Page 9: Beautiful UIs With JFace Databinding

Generate flexibility

• Rename fields• Hide fields• Remember last input• Re-arrange the UI‘s

Page 10: Beautiful UIs With JFace Databinding

Summary

• Generate new UI‘s Minutes• UI can be adjusted by the end user.• Future steps:

– Use CSS styling– in Migrate to Eclipse e4– Evaluate alternative approaches

• Waazabi, • Eclipse Presentation Modeling Framework

Page 11: Beautiful UIs With JFace Databinding

Contact & Future Questions• [email protected]

• http://www.vogella.de• www.twitter.com/vogella

Page 12: Beautiful UIs With JFace Databinding

Photo credits• Dog http://www.sxc.hu/photo/302062• Agenda: http://www.sxc.hu/photo/1089869• Elephant: http://www.sxc.hu/photo/103473• Mouse http://www.sxc.hu/photo/1097314• Book http://www.sxc.hu/photo/1184809• Student: http://www.sxc.hu/photo/660438• UML Diagram http://www.sxc.hu/photo/33012• Liquid http://www.sxc.hu/photo/1109534• Person with remote http://www.sxc.hu/photo/485640


Recommended