Package com._1c.g5.v8.dt.ui.providers
Class BorderLabelProvider
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.viewers.BaseLabelProvider
-
- org.eclipse.jface.viewers.LabelProvider
-
- com._1c.g5.v8.dt.ui.providers.BorderLabelProvider
-
- All Implemented Interfaces:
IBaseLabelProvider
,ILabelProvider
public class BorderLabelProvider extends LabelProvider
Label provider forBorder
-
-
Field Summary
Fields Modifier and Type Field Description static BorderLabelProvider
WITH_PREFIX
static BorderLabelProvider
WITHOUT_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getBorderStyleLocalazedString(BorderStyle style)
Get border style localazed stringorg.eclipse.swt.graphics.Image
getImage(Object element)
String
getText(Object element)
-
Methods inherited from class org.eclipse.jface.viewers.LabelProvider
createImageProvider, createTextImageProvider, createTextProvider
-
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
-
-
-
-
Field Detail
-
WITH_PREFIX
public static final BorderLabelProvider WITH_PREFIX
-
WITHOUT_PREFIX
public static final BorderLabelProvider WITHOUT_PREFIX
-
-
Method Detail
-
getBorderStyleLocalazedString
public static String getBorderStyleLocalazedString(BorderStyle style)
Get border style localazed string- Parameters:
style
- the border style to localize, can bynull
- Returns:
- localazed string of given border style, localized "no border" value
if given style is
null
, nevernull
-
getImage
public org.eclipse.swt.graphics.Image getImage(Object element)
- Specified by:
getImage
in interfaceILabelProvider
- Overrides:
getImage
in classLabelProvider
-
getText
public String getText(Object element)
- Specified by:
getText
in interfaceILabelProvider
- Overrides:
getText
in classLabelProvider
-
-