Class DcsFieldsLabelProvider
java.lang.Object
com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
com._1c.g5.v8.dt.qw.ui.labelproviders.FieldsLabelProvider
com._1c.g5.v8.dt.qw.ui.labelproviders.DcsFieldsLabelProvider
- All Implemented Interfaces:
IBaseLabelProvider
,IColorProvider
,ITableFontProvider
,ITableLabelProvider
Label provider for dcs fields
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
EMPTY_STRING, source
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.graphics.Image
getColumnImage
(Object element, int columnIndex) getColumnText
(Object element, int columnIndex) static FieldsMapping
getDcsFieldFieldsMapping
(Object element, QueryWizardSource source) Get fields mapping for dcs fieldorg.eclipse.swt.graphics.Font
getToolTipText
(Object element, int column) Get tool tip textboolean
isColumnHaveCustomLabelProvider
(int column) Is column have custom label providervoid
update
(int column, ViewerCell cell, org.eclipse.swt.widgets.Tree parent) Update the label for cell.Methods inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
addIssueMessage, addListener, addOverlayIcon, dispose, getBackground, getForeground, getSystemColorDarkGrey, isLabelProperty, isToolTipTextRequired, removeListener
-
Field Details
-
COLUMN_FIELD
public static final int COLUMN_FIELD- See Also:
-
COLUMN_USE_CHILD
public static final int COLUMN_USE_CHILD- See Also:
-
COLUMN_ALIAS
public static final int COLUMN_ALIAS- See Also:
-
-
Constructor Details
-
DcsFieldsLabelProvider
- Parameters:
queryWizardControl
- - query wizard control
-
-
Method Details
-
getDcsFieldFieldsMapping
Get fields mapping for dcs field- Parameters:
element
- - dcs field expression- Returns:
- source query wizard source
-
getColumnImage
- Specified by:
getColumnImage
in interfaceITableLabelProvider
- Overrides:
getColumnImage
in classFieldsLabelProvider
-
getColumnText
- Specified by:
getColumnText
in interfaceITableLabelProvider
- Overrides:
getColumnText
in classFieldsLabelProvider
-
getFont
- Specified by:
getFont
in interfaceITableFontProvider
-
isColumnHaveCustomLabelProvider
public boolean isColumnHaveCustomLabelProvider(int column) Description copied from class:AbstractQueryWizardLabelProvider
Is column have custom label provider- Overrides:
isColumnHaveCustomLabelProvider
in classAbstractQueryWizardLabelProvider
- Parameters:
column
- - actual column index in tree viewer- Returns:
true
if have custom label provider,false
otherwise
-
update
Description copied from class:AbstractQueryWizardLabelProvider
Update the label for cell. Using for extending "update" method in "CellLabelProvider" class- Overrides:
update
in classAbstractQueryWizardLabelProvider
- Parameters:
column
- - actual column index in tree viewercell
- -ViewerCell
for updating label, cannot benull
parent
- - parentTree
, cannot benull
-
getToolTipText
Description copied from class:AbstractQueryWizardLabelProvider
Get tool tip text- Overrides:
getToolTipText
in classFieldsLabelProvider
- Parameters:
element
- - element for show tooltipcolumn
- - actual column index in tree viewer- Returns:
- tool tip text or null if have no text
-