Bug 296364 [context] The constructors used by the injection mechanism should have @Inject
examples/org.eclipse.e4.demo.contacts/src/org/eclipse/e4/demo/contacts/views/DetailComposite.java
}
	private void setTextEnabled(Composite composite, boolean enabled) {
		for (Control control : composite.getChildren()) {
			if (control instanceof Composite) {
				setTextEnabled((Composite) control, enabled);
			} else if (control instanceof Text) {
				control.setEnabled(enabled);
			}
		}
	}
	public void update(final Contact contact) {
		if (contact == null) {
			commitChanges = false;
			setTextEnabled(this, false);
			contactValue.setValue(null);
		} else {
			setTextEnabled(this, true);
			commitChanges = false;
			try {
				clonedContact = (Contact) contact.clone();
				originalContact = contact;
				contactValue.setValue(clonedContact);
				commitChanges = true;
			} catch (CloneNotSupportedException e) {
				throw new RuntimeException(e);
			}
		}
	}
}