Bug 184818 [DataBinding] Typo in example 3
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".
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/snippets/Snippet003UpdateComboBindUsingViewer.java
private String text = "beef";
		private List choices = new ArrayList();
		{
			choices.add("pork");
			choices.add("beef");
			choices.add("poultry");
			choices.add("vegatables");
		}
		public List getChoices() {
			return choices;
		}
		public void setChoices(List choices) {
			this.choices = choices;
			firePropertyChange("choices", null, null);
		}
		public String getText() {
			return text;
		}
		public void setText(String text) {
			String oldValue = this.text;
			this.text = text;
			firePropertyChange("test", oldValue, text);
		}
	}
	
	static class View {