org.eclipse.egf.core.ui.internal.viewers
Class CustomTooltipLabelProvider
java.lang.Object
CellLabelProvider
org.eclipse.egf.common.ui.viewers.AbstractTooltipLabelProvider
org.eclipse.egf.core.ui.internal.viewers.CustomTooltipLabelProvider
public class CustomTooltipLabelProvider
- extends AbstractTooltipLabelProvider
Provides a custom tool tip label provider to use in TreeViewer.
It handles NamedModelElementWithId
objects.
The tool tip content is the description feature for given NamedModelElementWithId.getDescription()
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomTooltipLabelProvider
public CustomTooltipLabelProvider(ILabelProvider labelProvider_p)
- Constructor.
- Parameters:
labelProvider_p
- label provider that provides the text and the image for given element.
getToolTipText
public String getToolTipText(Object element_p)
- Specified by:
getToolTipText
in class AbstractTooltipLabelProvider
- See Also:
org.eclipse.jface.viewers.CellLabelProvider#getToolTipText(java.lang.Object)
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.