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
Nested ClassesModifier and TypeClassDescriptionprotected static enumEnumeration of the columns in the call location table. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LocationTableLabelProvider.ColumngetColumn(int columnIndex) Given a column index in the call location table, returns the correspondingLocationTableLabelProvider.Column.org.eclipse.swt.graphics.ImagegetColumnImage(Object element, int columnIndex) getColumnText(Object element, int columnIndex) Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListenerMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
-
Constructor Details
-
LocationTableLabelProvider
public LocationTableLabelProvider()
-
-
Method Details
-
getColumnImage
- Specified by:
getColumnImagein interfaceorg.eclipse.jface.viewers.ITableLabelProvider
-
getColumnText
- Specified by:
getColumnTextin 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
nullif there is no such constant.- Parameters:
columnIndex- the index of the column in the call location table- Returns:
- the corresponding column, or
nullif none
-