Class SavedScanDetailsLabelProvider
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
uk.ac.diamond.daq.mapping.ui.experiment.file.SavedScanDetailsLabelProvider
- All Implemented Interfaces:
ComparableStyledLabelProvider,org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.IStyledLabelProvider,org.eclipse.jface.viewers.IBaseLabelProvider,org.eclipse.jface.viewers.ILabelProvider,IComparableStyledLabelProvider
public class SavedScanDetailsLabelProvider
extends org.eclipse.jface.viewers.LabelProvider
implements IComparableStyledLabelProvider
Label provider for the Scan description column of the view which extracts its content from the pre-extension section
of the filename.
- Since:
- GDA 9.13
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jface.viewers.ViewerComparatorCompares the non-shape related part of the descriptororg.eclipse.jface.viewers.StyledStringgetStyledText(Object element) Operates on the text before the .map extension provided that that this is not the only other (dot delimited) part of the filename.Methods inherited from class org.eclipse.jface.viewers.LabelProvider
createImageProvider, createTextImageProvider, createTextProvider, getImage, getTextMethods 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.DelegatingStyledCellLabelProvider.IStyledLabelProvider
getImageMethods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListenerMethods inherited from interface uk.ac.gda.ui.tool.browser.IComparableStyledLabelProvider
penultimateOf, splitOnDot
-
Constructor Details
-
SavedScanDetailsLabelProvider
public SavedScanDetailsLabelProvider()
-
-
Method Details
-
getStyledText
Operates on the text before the .map extension provided that that this is not the only other (dot delimited) part of the filename.- Specified by:
getStyledTextin interfaceorg.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.IStyledLabelProvider
-
getComparator
public org.eclipse.jface.viewers.ViewerComparator getComparator()Compares the non-shape related part of the descriptor- Specified by:
getComparatorin interfaceComparableStyledLabelProvider
-