80 likes | 209 Views
XML Window Toolkit Ui Framework designed for Eclipse. Eclipse XWT. Eclipse XWT in Action. About XWT Custom Form generator Steps to creating a wizard Bean validation by JSR303 Advantages. Benedek István Bestest Kft. E-mail: istvan.benedek@bestest.hu Tel.: +36 (70) 275 9 275. About XWT.
E N D
XML Window ToolkitUi Framework designed for Eclipse Eclipse XWT
Eclipse XWT in Action About XWT Custom Form generator Steps to creating a wizard Bean validation by JSR303 Advantages Benedek István Bestest Kft. E-mail: istvan.benedek@bestest.hu Tel.: +36 (70) 275 9 275
About XWT XWT stands for eclipse XML Window Toolkit XWT is Part of eclipse 4 Declerative UI Composite vs Shell <Shellxmlns="http://www.eclipse.org/xwt/presentation"... Layout <FillLayout/> Event handling <Buttontext="Click Me!"SelectionEvent="clickButton"> Data binding <Labeltext="{binding path=Name}"/> Style (CSS) JFace integration More information: http://wiki.eclipse.org/E4/XWT
Steps to creating a wizard 50 min. 50 min. • Generate DAO + ServiceLocator entry 5 min. • Generate form 3 min. • Edit form (order, layout, etc.) 20 min. • Create new Wizard in plugin.xml 2 min. • Generate Wizard class + implementing addPages, performFinish 10 min. • Internationalization 10 min. 50 min. 50 min. 50 min. 50 min. 50 min. 50 min.
Bean validation by JSR 303 • We validate the bean instead of the form • Same validation on server side and client side • Serializable Entity bean = model ===> XWT form • Many forms for the same model => Using groups
Advantages of Eclipse XWT Forms • Rapid form development • Easy maintenance • Easy form validation by jsr 303 • Reusablity (same xwt form in wizard and editor)