Bug 296364 [context] The constructors used by the injection mechanism should have @Inject
examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/Preview.java
private Image currentImage;
	private IObservableValue parentSize;
	private IObservableValue inputFile;
	private IObservableValue rawImageData;
	private IObservableValue scaledImageData;
	private final Realm bgRealm;
	private Color borderColor;
	
	public Preview(final Composite parentComposite, Realm backgroundRealm) {
		this.parent = parentComposite;
		parent.setData("org.eclipse.e4.ui.css.id", "preview");
		this.bgRealm = backgroundRealm;
		this.inputFile = new WritableValue(bgRealm);
		this.rawImageData = new ComputedValue(bgRealm) {
			protected Object calculate() {
				IFile file = (IFile) inputFile.getValue();
				if (file == null) {
					return null;
				}
				InputStream contents;
				try {
					contents = new BufferedInputStream(file.getContents());
					try {
						return new ImageData(contents);
					}catch (SWTException e) {
						
					} finally {
						contents.close();
					}
				} catch (Exception e) {