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.Image
getColumnImage(Object element, int columnIndex)
String
getColumnText(Object element, int columnIndex)
static String
getToolTipForSource(QuerySchemaSource tableSource, QueryWizardSource qwSource)
Get tool tip text for sourceString
getToolTipText(Object element, int columnIndex)
Get tool tip textboolean
isToolTipTextRequired(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:
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
-
isToolTipTextRequired
public boolean isToolTipTextRequired(Object element, int column)
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
-
-