Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "XWT/Running the demos"
< XWT
m (Yves.yang.soyatec.com moved page E4/XWT/Running the demos to XWT/Running the demos: new standalone project) |
|||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | == [http://dev.eclipse.org/blogs/yvesyang/2009/01/17/xwt-getting-started/ Getting started] == | |
− | + | ||
− | + | ||
− | + | First of all, your project must import at least the following plugins <source lang="java"> | |
+ | org.eclipse.swt | ||
+ | org.eclipse.jface | ||
+ | org.eclipse.e4.xwt | ||
+ | org.eclipse.jface.databinding | ||
+ | org.eclipse.core.databinding | ||
+ | org.eclipse.core.databinding.beans | ||
+ | org.eclipse.core.databinding.property | ||
+ | com.ibm.icu | ||
+ | </source> Here is the [http://www.soyatec.org/eclipse/xwt/getting-started/getting-started.html screencast]: | ||
− | + | [[Image:Getting-started.png|500px]] | |
− | + | == Data Binding == | |
− | + | === Java Bean === | |
− | + | Here is the [http://www.soyatec.org/eclipse/xwt/model/model.html screencast]: | |
− | + | [[Image:Model.png|500px]] | |
− | [[Image: | + | |
− | [ | + | Here is the [http://www.soyatec.org/eclipse/xwt/nested-model/model-person.html screencast]: |
− | + | [[Image:Model-nested.png|500px]] | |
− | [[Image:E4-contact.png]] | + | |
+ | === EMF integration === | ||
+ | |||
+ | == Control Binding == | ||
+ | |||
+ | Here is the [http://www.soyatec.org/eclipse/xwt/control-binding/ControlBinding.html screencast]: | ||
+ | |||
+ | [[Image:ControlBinding.png|500px]] | ||
+ | |||
+ | |||
+ | == CSS integration == | ||
+ | |||
+ | == Workbench integration == | ||
+ | === e4 photo demo in XWT === | ||
+ | |||
+ | Here is an integration of e4 workbench with XWT. The Exif view part and Exif edition dialog are developed in XWT. | ||
+ | |||
+ | This demo shows mainly the following features in XWT: | ||
+ | * Control/Viewer binding | ||
+ | * CSS integration | ||
+ | |||
+ | The Exif view in XWT: | ||
+ | |||
+ | [[Image:E4-photo.png|500px]] | ||
+ | |||
+ | The Exif edition dialog in XWT: | ||
+ | |||
+ | [[Image:E4-photo-edit.png|500px]] | ||
+ | |||
+ | The sources can be found in [https://bugs.eclipse.org/bugs/show_bug.cgi?id=263720 Bug 263720] | ||
+ | |||
+ | === e4 contact demo === | ||
+ | |||
+ | This is a demo of the integration of e4 workbench. Two view parts "Contacts List" and "Details" are developed in XWT with the CSS support. | ||
+ | |||
+ | [[Image:E4-contact.png|500px]] | ||
+ | |||
+ | The sources can be found in [https://bugs.eclipse.org/bugs/show_bug.cgi?id=279047 Bug 279047] |
Latest revision as of 11:32, 18 November 2013
Contents
Getting started
First of all, your project must import at least the following pluginsorg.eclipse.swt org.eclipse.jface org.eclipse.e4.xwt org.eclipse.jface.databinding org.eclipse.core.databinding org.eclipse.core.databinding.beans org.eclipse.core.databinding.property com.ibm.icu
Data Binding
Java Bean
Here is the screencast:
Here is the screencast:
EMF integration
Control Binding
Here is the screencast:
CSS integration
Workbench integration
e4 photo demo in XWT
Here is an integration of e4 workbench with XWT. The Exif view part and Exif edition dialog are developed in XWT.
This demo shows mainly the following features in XWT:
- Control/Viewer binding
- CSS integration
The Exif view in XWT:
The Exif edition dialog in XWT:
The sources can be found in Bug 263720
e4 contact demo
This is a demo of the integration of e4 workbench. Two view parts "Contacts List" and "Details" are developed in XWT with the CSS support.
The sources can be found in Bug 279047