/**
* Handle the creation for earlier versions of Eclipse.
*/
protected static ILabelProvider createLabelProvider() {
try {
return new LabelProviderWithDecoration(new HierarchyLabelProvider(), PlatformUI.getWorkbench()
.getDecoratorManager().getLabelDecorator(), null);
} catch (Throwable e) {
return new ShowOutlineLabelProvider();
}
}