Bug 296364 [context] The constructors used by the injection mechanism should have @Inject
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/SampleView.java
id = c.getAttribute("api"); 
					}
					if (id == null) {
						id = c.getAttribute("class"); 
					}
					return tag + "(" + id + ")"; 
				}
				return ""; 
			}
			@Override
			public Image getImage(Object element) {
				
				return super.getImage(element);
			}
		});
		IExtension input = null;
		IExtension[] extensions = registry
				.getExtensions("org.eclipse.e4.ui.workbench"); 
		for (int i = 0; i < extensions.length; i++) {
			if (extensions[i].getExtensionPointUniqueIdentifier().equals(
					"org.eclipse.e4.services")) { 
				input = extensions[i];
				break;
			}
		}
		viewer.setInput(input);
		GridLayoutFactory.fillDefaults().generateLayout(parent);
	}
}