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
 
 public class RightLabelProvider extends LabelProvider Right name and image provider.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.graphics.ImagegetImage(Object element)static RightLabelProvidergetInstance()Returns the shared right label provider instance.StringgetSeparatedText(Right right)Returns the separated by lines text presentation of the right.StringgetSeparatedText(String rightName, String separator)Returns the separated by lines text presentation of the right based of right's name.StringgetText(Object element)- 
Methods inherited from class org.eclipse.jface.viewers.LabelProvidercreateImageProvider, createTextImageProvider, createTextProvider
 - 
Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvideraddListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener
 - 
Methods inherited from class org.eclipse.core.commands.common.EventManageraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvideraddListener, dispose, isLabelProperty, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getInstancepublic static RightLabelProvider getInstance() Returns the shared right label provider instance.- Returns:
- the shared right label provider instance, never null
 
 - 
getTextpublic String getText(Object element) - Specified by:
- getTextin interface- ILabelProvider
- Overrides:
- getTextin class- LabelProvider
 
 - 
getImagepublic org.eclipse.swt.graphics.Image getImage(Object element) - Specified by:
- getImagein interface- ILabelProvider
- Overrides:
- getImagein class- LabelProvider
 
 - 
getSeparatedTextpublic String getSeparatedText(Right right) Returns the separated by lines text presentation of the right.- Returns:
- the separated by lines text presentation of the right, never null
 
 - 
getSeparatedTextpublic String getSeparatedText(String rightName, String separator) Returns the separated by lines text presentation of the right based of right's name.- Parameters:
- rightName- the right's name
- separator- the separator
- Returns:
- the separated by lines text presentation of the right, never null
 
 
- 
 
-