Project: Eclipse_Platform_UI
Bug 184818 [DataBinding] Typo in example 3
Reported: 2007-04-30 22:24:47 | Status: verified fixed

In the ViewModel.setText(String) method of the it's firing a change event for "test" and not "text". public void setText(String text) { String oldValue = this.text; this.text = text; firePropertyChange("test", oldValue, text); } This needs to be changed to "text".

Files changed in fix:
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet002UpdateComboRetainSelection.java examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet003UpdateComboBindUsingViewer.java