Bug 263544 [context] Add dependency injection context -> user object
examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/Location.java
private Browser browser;
	private Composite browserParent;
	public Location(Composite parent) {
		parent.setLayout(new FillLayout());
		parent.setData("id", "location");
		browserParent = parent;
	}
	public Class getInputType() {
		return Exif.class;
	}
	public void setInput(Object input) {
		Exif exif = (Exif) input;
		
		
		if (exif == null || exif.getGpsLatitude() == null) {
			if (browser != null) {
				browser.dispose();
				browser = null;
			}
		} else {
			if (browser == null) {
				browser = new Browser(browserParent, SWT.NONE);
				browserParent.layout();
			}
			browser.setUrl("http://maps.google.com/maps?q="
					+ exif.getGpsLatitude() + "+" + exif.getGpsLongitude());
		}
	}
}