Class OrderLabelProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
-
- com._1c.g5.v8.dt.qw.ui.labelproviders.OrderLabelProvider
-
- All Implemented Interfaces:
IBaseLabelProvider
,ITableLabelProvider
public class OrderLabelProvider extends AbstractQueryWizardLabelProvider
Label provider for order fields in query
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.qw.ui.labelproviders.AbstractQueryWizardLabelProvider
EMPTY_STRING
-
-
Constructor Summary
Constructors Constructor Description OrderLabelProvider(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
getDirectionText(QuerySchemaOrderDirection direction)
Get order direction textString
getToolTipText(Object element, int columnIndex)
Get tool tip textboolean
isToolTipTextRequired(Object element, int columnIndex)
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
-
OrderLabelProvider
public OrderLabelProvider(QueryWizardSource source)
- Parameters:
source
- - query wizard source
-
-
Method Detail
-
getDirectionText
public static String getDirectionText(QuerySchemaOrderDirection direction)
Get order direction text- Parameters:
direction
- - order direction- Returns:
- text presentation for order direction
-
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
-
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
-
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
-
-