Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JFace Data Binding"

 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Warning|This page has been migrated to to https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/docs/JFaceDataBinding.md.}}
 +
 
__NOTOC__
 
__NOTOC__
 
JFace Data Binding is a multi-threaded set of abstractions that allow for automated validation and synchronization of values between objects.  This is commonly used for, but not limited to, the binding of user interface components to model attributes.  The core concepts behind the project are [[Observables]] and [[Binding | Bindings]].  We provide IObservable implementations for SWT,  JFace, and JavaBeans but the core is void of references to these in anticipation of implementations for other projects (e.g. EMF, Swing, etc.).
 
JFace Data Binding is a multi-threaded set of abstractions that allow for automated validation and synchronization of values between objects.  This is commonly used for, but not limited to, the binding of user interface components to model attributes.  The core concepts behind the project are [[Observables]] and [[Binding | Bindings]].  We provide IObservable implementations for SWT,  JFace, and JavaBeans but the core is void of references to these in anticipation of implementations for other projects (e.g. EMF, Swing, etc.).
Line 8: Line 10:
 
<h3>Tutorials & Presentations</h3>
 
<h3>Tutorials & Presentations</h3>
 
* [[/Getting started | Getting Started]]
 
* [[/Getting started | Getting Started]]
* [[/Tutorial | Tutorial]]
+
* [http://www.vogella.com/articles/EclipseDataBinding/article.html Tutorial]
 
* [[/Snippets | Snippets]]
 
* [[/Snippets | Snippets]]
* [http://www.vogella.de/articles/EclipseDataBinding/article.html Eclipse JFace Databinding and Validation - Tutorial]
 
 
* [[JFace Data Binding Introduction|High-Level Description of Data Binding]]
 
* [[JFace Data Binding Introduction|High-Level Description of Data Binding]]
* [http://it-republik.de/jaxenter/artikel/Eclipse-DataBinding-fuer-die-Kommunikation-zwischen-Modell-und-GUI-1353.html#toplink/  Eclipsemagazin 04 / 2007 (German)]
 
  
 
<h3>Concepts</h3>
 
<h3>Concepts</h3>
Line 30: Line 30:
 
* [http://fire-change-event.blogspot.com/  fireChangeEvent() Blog]
 
* [http://fire-change-event.blogspot.com/  fireChangeEvent() Blog]
 
* [[/How to Contribute | How to Contribute]]
 
* [[/How to Contribute | How to Contribute]]
* [[/Wiki Guidelines|Wiki Guidelines]]
 
 
* [[/Conformance Tests|Conformance Tests]]
 
* [[/Conformance Tests|Conformance Tests]]
 
* [[/EMF|Binding to EMF]]
 
* [[/EMF|Binding to EMF]]
Line 36: Line 35:
 
* [[/DOM|Binding to DOM (experimental work)]]
 
* [[/DOM|Binding to DOM (experimental work)]]
 
* [[/SSE|Binding to SSE (DOM, EMF, CSS) (experimental work)]]
 
* [[/SSE|Binding to SSE (DOM, EMF, CSS) (experimental work)]]
* [[/Rhino|Binding to Rhino (Javascript Scriptable Object) (experimental work)]]
 
 
* [[/PojoBindable|Binding to Pojo (by using NOT BeansObservable) (experimental work)]]
 
* [[/PojoBindable|Binding to Pojo (by using NOT BeansObservable) (experimental work)]]
 
* [[/JSR303BeanJFaceDatabindingValidation|JFace Databinding Validation with JSR-303 (experimental work)]]
 
* [[/JSR303BeanJFaceDatabindingValidation|JFace Databinding Validation with JSR-303 (experimental work)]]
Line 62: Line 60:
 
* [[/Original Design | Original Design Document]]
 
* [[/Original Design | Original Design Document]]
 
* [[/Scenarios | Scenarios Document]]
 
* [[/Scenarios | Scenarios Document]]
 +
* [[/The New Binding API|Bind]]: A prototype for a new and improved binding API, which was never finished
  
 
== Project Release Status ==
 
== Project Release Status ==

Latest revision as of 10:30, 12 January 2024


JFace Data Binding is a multi-threaded set of abstractions that allow for automated validation and synchronization of values between objects. This is commonly used for, but not limited to, the binding of user interface components to model attributes. The core concepts behind the project are Observables and Bindings. We provide IObservable implementations for SWT, JFace, and JavaBeans but the core is void of references to these in anticipation of implementations for other projects (e.g. EMF, Swing, etc.).

JFace Data Binding
Home
How to Contribute
FAQ
Snippets
Concepts
Binding
Converter
Observable
Realm

Tutorials & Presentations

Concepts

  • Observable: value, list, set, or map whose state changes can be observed
  • Binding: keeps the state of two observables in sync, uni- or bidirectional
  • Data Binding Context: a container for bindings
  • Converter: used by a binding to convert values
  • Validators: used by a binding to validate values
  • Realm: serializes access to observables (every observable belongs to a realm)
  • Tracked Getter: makes the system aware of observables that a piece of code depends on
  • Master-Detail: used when you want to bind to attributes of the currently selected object, rather than a fixed object

Miscellaneous

Contact Us

The JFace newsgroup is the place for discussions and questions relating to JFace Data Binding. When posting please prefix the subject with "[DataBinding]" to allow us to easily find posts related to the project.

Design discussions and bugs are located on Eclipse bugzilla with a the values...

Classification 
Eclipse
Product 
Platform
Component 
UI

Like posts to the newsgroup when logging bugs please prefix the summary with "[DataBinding]" to allow for easier identification.

Getting Involved

There are many ways to get involved with JFace Data Binding. To find out how you can contribute see How to Contribute.

Historical Documents

Project Release Status

JFace Data Binding 1.0 was released with Eclipse 3.3, Europa. The Eclipse 3.3.1 release (Europa Fall Maintenance Release) contains a number of bug fixes.

Back to the top