Class TotalsControlsPointsLabelProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.TotalsControlsPointsLabelProvider
-
- All Implemented Interfaces:
IBaseLabelProvider
,ITableFontProvider
,ITableLabelProvider
public class TotalsControlsPointsLabelProvider extends AbstractQueryWizardLabelProvider implements ITableFontProvider
Label provider for totals controls points
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description TotalsControlsPointsLabelProvider(QueryWizardSource source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getAlias(QueryWizardSource source, QuerySchemaTotalControlPoint controlPoint)
Get alias for total control pointorg.eclipse.swt.graphics.Image
getColumnImage(Object element, int columnIndex)
String
getColumnText(Object element, int columnIndex)
static String
getControlPointTypeText(QuerySchemaControlPointType type)
Get control point type textorg.eclipse.swt.graphics.Font
getFont(Object element, int columnIndex)
static String
getPeriodAdditionTypeText(QuerySchemaPeriodAdditionType type)
Get period addition type text-
Methods inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
addIssueMessage, addListener, addOverlayIcon, dispose, getToolTipText, isColumnHaveCustomLabelProvider, isLabelProperty, isToolTipTextRequired, removeListener, update
-
-
-
-
Constructor Detail
-
TotalsControlsPointsLabelProvider
public TotalsControlsPointsLabelProvider(QueryWizardSource source)
- Parameters:
source
- - query wizard sourcetotalsControlsImageCache
- - images cache
-
-
Method Detail
-
getAlias
public static String getAlias(QueryWizardSource source, QuerySchemaTotalControlPoint controlPoint)
Get alias for total control point- Parameters:
source
- - query wizard sourcecontrolPoint
- - control point- Returns:
- alias
-
getControlPointTypeText
public static String getControlPointTypeText(QuerySchemaControlPointType type)
Get control point type text- Parameters:
type
- - control point type- Returns:
- text
-
getPeriodAdditionTypeText
public static String getPeriodAdditionTypeText(QuerySchemaPeriodAdditionType type)
Get period addition type text- Parameters:
type
- period addition type- Returns:
- text
-
getColumnImage
public org.eclipse.swt.graphics.Image getColumnImage(Object element, int columnIndex)
- Specified by:
getColumnImage
in interfaceITableLabelProvider
- Specified by:
getColumnImage
in classAbstractQueryWizardLabelProvider
-
getColumnText
public String getColumnText(Object element, int columnIndex)
- Specified by:
getColumnText
in interfaceITableLabelProvider
- Specified by:
getColumnText
in classAbstractQueryWizardLabelProvider
-
getFont
public org.eclipse.swt.graphics.Font getFont(Object element, int columnIndex)
- Specified by:
getFont
in interfaceITableFontProvider
-
-