Class LocationTableLabelProvider
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.handly.ui.callhierarchy.LocationTableLabelProvider
- All Implemented Interfaces:
org.eclipse.jface.viewers.IBaseLabelProvider
,org.eclipse.jface.viewers.ITableLabelProvider
public class LocationTableLabelProvider
extends org.eclipse.jface.viewers.BaseLabelProvider
implements org.eclipse.jface.viewers.ITableLabelProvider
Default implementation of a label provider for the call location table.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
Enumeration of the columns in the call location table. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LocationTableLabelProvider.Column
getColumn
(int columnIndex) Given a column index in the call location table, returns the correspondingLocationTableLabelProvider.Column
.org.eclipse.swt.graphics.Image
getColumnImage
(Object element, int columnIndex) getColumnText
(Object element, int columnIndex) Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
-
Constructor Details
-
LocationTableLabelProvider
public LocationTableLabelProvider()
-
-
Method Details
-
getColumnImage
- Specified by:
getColumnImage
in interfaceorg.eclipse.jface.viewers.ITableLabelProvider
-
getColumnText
- Specified by:
getColumnText
in interfaceorg.eclipse.jface.viewers.ITableLabelProvider
-
getColumn
Given a column index in the call location table, returns the correspondingLocationTableLabelProvider.Column
.Default implementation returns the enumeration constant with the ordinal that is equal to the given index, or
null
if there is no such constant.- Parameters:
columnIndex
- the index of the column in the call location table- Returns:
- the corresponding column, or
null
if none
-