User Tools

Site Tools


rcp:eclipse_data_binding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rcp:eclipse_data_binding [2008/05/02 07:10]
djo
rcp:eclipse_data_binding [2014/10/17 22:08] (current)
Line 1: Line 1:
 +====== Overview ======
 +
 +Eclipse Data Binding solves the [[listener proliferation problem]] in RCP applications by making the flows of data and the business rules governing such flows explicit.
 +
 +Here are some links:
 +
 +  * [[eclipse>​JFace_Data_Binding|JFace Data Binding]] on the Eclipse Wiki
 +
 +====== Usage outline ======
 +
 +To use Eclipse Data Binding, the following path will help you understand the basics:
 +
 +  * Understand the [[listener proliferation problem]] in RCP applications
 +  * An [[Extended Observer Pattern]] can help solve this
 +  * [[Simple Binding|Bind a String property to a Text]]
 +  * [[Bind an Array or List]] to a [[eclipse>​JFace]] Viewer
 +
 +Once you understand the basics, you need to know about:
 +
 +  * [[Binding 1-M relationships]] (ie: Customer --> Order --> LineItem)
 +  * What is an [[IObservableValue]] anyway? ​ How/when do I create one?
 +  * [[Field-level validation]]
 +  * [[Business rule validation]]
 +
 +Really advanced stuff:
 +
 +  * [[Binding Non-UI Things]]
 +