Class DcsTablesLabelProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.DcsTablesLabelProvider
-
- All Implemented Interfaces:
IBaseLabelProvider
,ITableLabelProvider
public class DcsTablesLabelProvider extends AbstractQueryWizardLabelProvider
DcsTables label provider
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description DcsTablesLabelProvider(QueryWizardControl queryWizardControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.graphics.Image
getColumnImage(Object element, int columnIndex)
String
getColumnText(Object element, int columnIndex)
String
getToolTipText(Object element, int columnIndex)
Get tool tip textboolean
isColumnHaveCustomLabelProvider(int column)
Is column have custom label providerboolean
isToolTipTextRequired(Object element, int columnIndex)
Show tool tips for every elementsvoid
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, isLabelProperty, removeListener
-
-
-
-
Constructor Detail
-
DcsTablesLabelProvider
public DcsTablesLabelProvider(QueryWizardControl queryWizardControl)
- Parameters:
queryWizardControl
- - query wizard control
-
-
Method Detail
-
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
-
isColumnHaveCustomLabelProvider
public boolean isColumnHaveCustomLabelProvider(int column)
Description copied from class:AbstractQueryWizardLabelProvider
Is column have custom label provider- Overrides:
isColumnHaveCustomLabelProvider
in classAbstractQueryWizardLabelProvider
- Returns:
- true if have custom label provider
-
update
public void update(int column, ViewerCell cell, org.eclipse.swt.widgets.Tree parent)
Description copied from class:AbstractQueryWizardLabelProvider
Update the label for cell. Using for extending "update" method in "CellLabelProvider" class- Overrides:
update
in classAbstractQueryWizardLabelProvider
- Parameters:
column
- - columncell
- - column cellparent
- - parent tree
-
isToolTipTextRequired
public boolean isToolTipTextRequired(Object element, int columnIndex)
Description copied from class:AbstractQueryWizardLabelProvider
Show tool tips for every elements- Overrides:
isToolTipTextRequired
in classAbstractQueryWizardLabelProvider
- Parameters:
element
- - element- Returns:
- true if show tool tips for every elements, false if show only multilines tool tips
-
getToolTipText
public String getToolTipText(Object element, int columnIndex)
Description copied from class:AbstractQueryWizardLabelProvider
Get tool tip text- Overrides:
getToolTipText
in classAbstractQueryWizardLabelProvider
- Parameters:
element
- - element- Returns:
- tool tip text or null if have no text
-
-