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 "JFace Data Binding/Snippets"
(added Snippet014) |
|||
Line 4: | Line 4: | ||
=== Basic === | === Basic === | ||
* [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet000HelloWorld.java?view=markup Hello World] - the most basic of bindings | * [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet000HelloWorld.java?view=markup Hello World] - the most basic of bindings | ||
+ | |||
+ | === WizardPage === | ||
+ | * [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet014WizardDialog.java?view=markup Wizard Dialog] - Shows how to use data binding in a wizard dialog so that validation results are displayed in the dialog's title area | ||
=== ComputedValue === | === ComputedValue === |
Revision as of 13:06, 2 October 2007
Snippets that display common use cases and how they are satisfied with the JFace Data Binding API.
JFace Data Binding |
Home |
How to Contribute |
FAQ |
Snippets |
Concepts |
Binding |
Converter |
Observable |
Realm |
Basic
- Hello World - the most basic of bindings
WizardPage
- Wizard Dialog - Shows how to use data binding in a wizard dialog so that validation results are displayed in the dialog's title area
ComputedValue
- Spreadsheet - fills a Table updating cells upon change
- Name Formatter - observable value that updates when the first or last name changes
Bindings
Master Detail
- Master detail - display the detail of the selection of a ListViewer in a Text widget
- Nested Selection With ComboViewer
SWT
Viewers
- Model to TableViewer binding - basic binding to a TableViewer
- TableViewer binding with colors - label provider that provides Colors and auto updates the viewer
- TableViewer inline editing - TableViewer editing with the Eclipse 3.3 JFace viewer APIs. (requires Eclipse 3.3)