Class RightLabelProvider
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
com._1c.g5.v8.dt.rights.ui.providers.RightLabelProvider
- All Implemented Interfaces:
IBaseLabelProvider,ILabelProvider
Right name and image provider.
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.graphics.Imagestatic RightLabelProviderReturns the shared right label provider instance.getSeparatedText(Right right) Returns the separated by lines text presentation of the right.getSeparatedText(String rightName, String separator) Returns the separated by lines text presentation of the right based of right's name.Methods inherited from class org.eclipse.jface.viewers.LabelProvider
createImageProvider, createTextImageProvider, createTextProviderMethods 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
-
Method Details
-
getInstance
Returns the shared right label provider instance.- Returns:
- the shared right label provider instance, never
null
-
getText
- Specified by:
getTextin interfaceILabelProvider- Overrides:
getTextin classLabelProvider
-
getImage
- Specified by:
getImagein interfaceILabelProvider- Overrides:
getImagein classLabelProvider
-
getSeparatedText
Returns the separated by lines text presentation of the right.- Returns:
- the separated by lines text presentation of the right, never
null
-
getSeparatedText
Returns the separated by lines text presentation of the right based of right's name.- Parameters:
rightName- the right's nameseparator- the separator- Returns:
- the separated by lines text presentation of the right, never
null
-