Class SourcesLabelProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.SourcesLabelProvider
-
- All Implemented Interfaces:
IBaseLabelProvider,ITableLabelProvider
public class SourcesLabelProvider extends AbstractQueryWizardLabelProvider
Sources label provider
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description SourcesLabelProvider(QueryWizardSource source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.graphics.ImagegetColumnImage(Object element, int columnIndex)StringgetColumnText(Object element, int columnIndex)static StringgetToolTipForSource(QuerySchemaSource tableSource, QueryWizardSource qwSource)Get tool tip text for sourceStringgetToolTipText(Object element, int columnIndex)Get tool tip textbooleanisToolTipTextRequired(Object element, int column)Show tool tips for every elements-
Methods inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
addIssueMessage, addListener, addOverlayIcon, dispose, isColumnHaveCustomLabelProvider, isLabelProperty, removeListener, update
-
-
-
-
Constructor Detail
-
SourcesLabelProvider
public SourcesLabelProvider(QueryWizardSource source)
- Parameters:
source- - query wizard source
-
-
Method Detail
-
getToolTipForSource
public static String getToolTipForSource(QuerySchemaSource tableSource, QueryWizardSource qwSource)
Get tool tip text for source- Parameters:
tableSource- - table sourceqwSource- - query wizard source- Returns:
- tool tip text
-
getColumnImage
public org.eclipse.swt.graphics.Image getColumnImage(Object element, int columnIndex)
- Specified by:
getColumnImagein interfaceITableLabelProvider- Specified by:
getColumnImagein classAbstractQueryWizardLabelProvider
-
getColumnText
public String getColumnText(Object element, int columnIndex)
- Specified by:
getColumnTextin interfaceITableLabelProvider- Specified by:
getColumnTextin classAbstractQueryWizardLabelProvider
-
isToolTipTextRequired
public boolean isToolTipTextRequired(Object element, int column)
Description copied from class:AbstractQueryWizardLabelProviderShow tool tips for every elements- Overrides:
isToolTipTextRequiredin 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:AbstractQueryWizardLabelProviderGet tool tip text- Overrides:
getToolTipTextin classAbstractQueryWizardLabelProvider- Parameters:
element- - element- Returns:
- tool tip text or null if have no text
-
-