Class OslcLabelProvider
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.viewers.BaseLabelProvider
-
- org.eclipse.jface.viewers.LabelProvider
-
- com.sodius.oslc.client.ui.viewers.OslcLabelProvider
-
- All Implemented Interfaces:
IBaseLabelProvider
,ILabelProvider
public class OslcLabelProvider extends LabelProvider
A label provider to display OSLC resources.- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description OslcLabelProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getText(Object element)
Returns the title of the specified OSLC resource, if any.protected String
getTitle(Object element)
Returns the title of the specified OSLC resource, if any.-
Methods inherited from class org.eclipse.jface.viewers.LabelProvider
createImageProvider, createTextImageProvider, createTextProvider, getImage
-
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
-
-
-
-
Method Detail
-
getText
public String getText(Object element)
Returns the title of the specified OSLC resource, if any. The title is unescaped, so that HTML special characters are correctly displayed in JFace user interfaces (e.g. '>' is transformed to '>').- Specified by:
getText
in interfaceILabelProvider
- Overrides:
getText
in classLabelProvider
- See Also:
getTitle(Object)
-
-