setLabelProvider(new DecoratingLabelProvider(baseLProvider, part.getSite().getDecoratorManager()));
setLabelProvider(new DecoratingLabelProvider(baseLProvider, PlatformUI.getWorkbench().getDecoratorManager()));
	public TypeHierarchyViewer(Composite parent, IContentProvider contentProvider, TypeHierarchyLifeCycle lifeCycle,  IWorkbenchPart part) {		super(new Tree(parent, SWT.SINGLE));		ILabelProvider baseLProvider= new StandardJavaUILabelProvider(			StandardJavaUILabelProvider.DEFAULT_TEXTFLAGS,			StandardJavaUILabelProvider.DEFAULT_IMAGEFLAGS,			StandardJavaUILabelProvider.getAdornmentProviders(true, new HierarchyAdornmentProvider(lifeCycle))		);				setLabelProvider(new DecoratingLabelProvider(baseLProvider, part.getSite().getDecoratorManager()));					setContentProvider(contentProvider);		setSorter(new ViewerSorter() {			public boolean isSorterProperty(Object element, Object property) {				return true;			}					public int category(Object element) {				if (element instanceof IType) {					try {						return (((IType)element).isInterface()) ? 2 : 1;					} catch (JavaModelException e) {					}				} else if (element instanceof IMember) {					return 0;				}				return 3;			}		});				fOpen= new OpenJavaElementAction(this);		addDoubleClickListener(new IDoubleClickListener() {			public void doubleClick(DoubleClickEvent event) {				fOpen.run();			}		});		fStandardGroups= new ContextMenuGroup[] {			new JavaSearchGroup(), new NewGroup(), new GenerateGroup()		};				JavaUIHelp.setHelp(this, IJavaHelpContextIds.TYPE_HIERARCHY_VIEW);	}