Package com._1c.g5.v8.dt.pw.ui.providers
Class LabelProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.pw.ui.providers.LabelProvider
-
- All Implemented Interfaces:
IBaseLabelProvider
,ITableLabelProvider
public class LabelProvider extends Object implements ITableLabelProvider
Label provider
-
-
Constructor Summary
Constructors Constructor Description LabelProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(ILabelProviderListener listener)
void
dispose()
org.eclipse.swt.graphics.Image
getColumnImage(Object element, int columnIndex)
String
getColumnText(Object element, int columnIndex)
static org.eclipse.swt.graphics.Image
getImage(QuerySchemaExpression item)
Get image for expressionboolean
isLabelProperty(Object element, String property)
void
removeListener(ILabelProviderListener listener)
-
-
-
Method Detail
-
getImage
public static org.eclipse.swt.graphics.Image getImage(QuerySchemaExpression item)
Get image for expression- Parameters:
item
- - expression- Returns:
- image
-
getColumnImage
public org.eclipse.swt.graphics.Image getColumnImage(Object element, int columnIndex)
- Specified by:
getColumnImage
in interfaceITableLabelProvider
-
getColumnText
public String getColumnText(Object element, int columnIndex)
- Specified by:
getColumnText
in interfaceITableLabelProvider
-
addListener
public void addListener(ILabelProviderListener listener)
- Specified by:
addListener
in interfaceIBaseLabelProvider
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceIBaseLabelProvider
-
isLabelProperty
public boolean isLabelProperty(Object element, String property)
- Specified by:
isLabelProperty
in interfaceIBaseLabelProvider
-
removeListener
public void removeListener(ILabelProviderListener listener)
- Specified by:
removeListener
in interfaceIBaseLabelProvider
-
-